-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/user recent openings new #431
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this PR achieve? Is there an issue number, since this one hasn't been provided yet?
If the PR isn't ready for review please change status to draft.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
...d/src/main/java/ca/bc/gov/restapi/results/oracle/repository/OpeningRecentViewRepository.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/ca/bc/gov/restapi/results/postgres/dto/UserRecentOpeningDto.java
Show resolved
Hide resolved
...end/src/main/java/ca/bc/gov/restapi/results/postgres/endpoint/UserRecentOpeningEndpoint.java
Outdated
Show resolved
Hide resolved
...end/src/main/java/ca/bc/gov/restapi/results/postgres/endpoint/UserRecentOpeningEndpoint.java
Show resolved
Hide resolved
backend/src/main/java/ca/bc/gov/restapi/results/postgres/entity/UserRecentOpeningEntity.java
Show resolved
Hide resolved
backend/src/main/resources/db/migration/V2__create_user_recent_openings_table.sql
Outdated
Show resolved
Hide resolved
frontend/src/components/Dashboard/Opening/RecentOpeningsDataTable/index.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/Dashboard/Opening/RecentOpeningsDataTable/testData.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There a few things that can be improved yet. I will check out the code later to test a few other things as well
Description
PR Description
Feature: Recent Openings History for the nr-silva Application
This pull request introduces a new feature that implements a browser history-like functionality for openings in the nr-silva application.
Changes Made:
User Interaction Tracking:
Whenever a user searches for openings and selects one to view, a request is sent to the backend. This interaction is logged in the user_recent_openings table within the User Preference database (PostgreSQL).
Recent Openings Dashboard:
Users can now see a "Recent Openings" table on the Openings Dashboard. This table displays the openings that the user has recently viewed, sorted by lastViewTime.
Details for each opening are fetched from the Oracle database, providing users with comprehensive information about their recent activities.
Database Modifications:
Added the necessary tables and fields in the PostgreSQL database to support the new functionality.
Frontend and Backend Integration:
This feature involves updates to both the frontend and backend components, ensuring seamless interaction and data flow between the two. By implementing this feature, we enhance user experience by allowing users to easily track and revisit their recently viewed openings.
Fixes # (issue)
This feature addresses the following tickets:
SILVA-524: https://apps.nrs.gov.bc.ca/int/jira/browse/SILVA-524
SILVA-534: https://apps.nrs.gov.bc.ca/int/jira/browse/SILVA-534
SILVA-537: https://apps.nrs.gov.bc.ca/int/jira/browse/SILVA-537
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Further comments
Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend: https://nr-silva-431-backend.apps.silver.devops.gov.bc.ca/actuator/health
Frontend: https://nr-silva-31-frontend.apps.silver.devops.gov.bc.ca
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow
Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend: https://nr-silva-431-backend.apps.silver.devops.gov.bc.ca/actuator/health
Frontend: https://nr-silva-31-frontend.apps.silver.devops.gov.bc.ca
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow