Skip to content
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(SILVA-570): recent openings history for the nr-silva application front-end Only #463

Merged
merged 37 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3f4f9bd
added the PUT request query for recording user recent openings when c…
jazzgrewal Nov 12, 2024
a297fb3
added the recent Openings view table component
jazzgrewal Nov 13, 2024
6e3c63a
added recent openings test from previous pr
jazzgrewal Nov 13, 2024
fc8c106
Merge branch 'main' into feat/userRecentOpeningsFront
jazzgrewal Nov 13, 2024
a01e6cb
fixed test files
jazzgrewal Nov 13, 2024
bf9c41b
Merge branch 'main' into feat/userRecentOpeningsFront
jazzgrewal Nov 13, 2024
f99932f
fixed the cuttingPermit line
jazzgrewal Nov 13, 2024
7c3c791
fixed SearchScreenDataTable test
jazzgrewal Nov 13, 2024
bac31bb
fixed the test for the OpeningSearchTab.test
jazzgrewal Nov 13, 2024
4bd9db1
removed the test for deleted component openingScreenDataTable
jazzgrewal Nov 13, 2024
825fdd0
fix(SILVA-550): added description to orgunit and category (#457)
paulushcgcj Nov 13, 2024
fcb0e44
fix(SILVA-567): fixing label (#465)
paulushcgcj Nov 13, 2024
bc2c547
fix(SILVA-538): fixing checkbox label (#466)
paulushcgcj Nov 13, 2024
a152a9d
added the PUT request query for recording user recent openings when c…
jazzgrewal Nov 12, 2024
3dbe899
added the recent Openings view table component
jazzgrewal Nov 13, 2024
28c2cd5
Merge branch 'main' into feat/userRecentOpeningsFront
jazzgrewal Nov 13, 2024
7b97015
fixed the build issue, setOpeningId not required
jazzgrewal Nov 13, 2024
becdc28
added test for OpeningsTab
jazzgrewal Nov 14, 2024
36cd8db
added the test file for dashboardQueries
jazzgrewal Nov 14, 2024
e9e4d0d
swtiched to Notification context for following notifications
jazzgrewal Nov 14, 2024
96029c1
removed the toasText
jazzgrewal Nov 14, 2024
cb3d619
cgheck if table is rendered test
jazzgrewal Nov 14, 2024
7bd6d7d
added more test for the opening.tst file
jazzgrewal Nov 14, 2024
f51de24
testing the column data
jazzgrewal Nov 14, 2024
0172b33
removed lil unreachable code
jazzgrewal Nov 14, 2024
d04f728
added more checks in the recentOpening table test
jazzgrewal Nov 14, 2024
c2f14d0
resolved import for testData
jazzgrewal Nov 14, 2024
b5237ec
added moretests
jazzgrewal Nov 14, 2024
5e78e42
Merge branch 'main' into feat/userRecentOpeningsFront
paulushcgcj Nov 14, 2024
0a69402
removed the nested ternory making code more readable ans split into s…
jazzgrewal Nov 14, 2024
cc4ff7a
added more test and resolve headerData duplication
jazzgrewal Nov 14, 2024
f0c1e3c
Merge branch 'main' into feat/userRecentOpeningsFront
jazzgrewal Nov 14, 2024
a5f0fd1
added the truncatedText, and changed test for that
jazzgrewal Nov 14, 2024
3c4e989
made flyway changes and some resolutions
jazzgrewal Nov 14, 2024
043719b
resolved all conversations from Paulo
jazzgrewal Nov 14, 2024
229ad5d
updated imports
jazzgrewal Nov 14, 2024
8ca2443
changed the way env is consumed
jazzgrewal Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions backend/src/main/resources/db/migration/V1__create_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,19 @@ CREATE TABLE IF NOT EXISTS silva.oracle_extraction_logs (
CONSTRAINT oracle_extraction_logs_pk
PRIMARY KEY(id)
);

-- Create sequence if it doesn't exist for User Recent Openings
CREATE SEQUENCE IF NOT EXISTS silva.user_recent_openings_seq
START WITH 1
INCREMENT BY 1
MINVALUE 1
NO MAXVALUE
CACHE 30;

-- Use the sequence in your table creation or insert statements
CREATE TABLE IF NOT EXISTS silva.user_recent_openings (
id BIGINT PRIMARY KEY DEFAULT nextval('silva.user_recent_openings_seq'),
opening_id VARCHAR(255) NOT NULL,
user_id VARCHAR(255) NOT NULL,
last_viewed TIMESTAMP DEFAULT NOW()
);
Loading
Loading