-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: user onboarding flow (#426) * feat: redirect to home on skip onboarding * chore: go to interested topic page * feat(graphql): add add user store path mutation * feat(graphql): add user interested topic mutation * feat(graphql): add user news letter subscription mutation * feat: integrate mutation to selected topics * chore: change auth state * feat: integrate newsletter subscricption * chore:change user flow * chore: change to user id * chore: add category number in interested topics * chore: change data type * feat: add update user profile picture * fix: user profile image path and mid * feat: add get firebase user * chore: change verify email flow * feat: webmail authentication userflow (#440) * feat: addNITRMail mutation * feat: imagekit config file * chore: update onboarding placeholders * fix: standardise user mutations * fix: add null check for firebaseToken * feat: sign in and sign up auth user flows * feat: implement sign in and signup auth user flows * chore: rectify imports for used and unused * feat: handle migrated accounts * fix(migrated-user): add missing field * fix: uncomment useRouter * feat: user onboarding experience (#441) * feat: add loading fallback * feat: check already registered nitr mail * fix: restore deleted imports * feat: add default profile picture * refactor: auth for server and client-side with middleware checks (#447) * feat: create auth middleware for article pages * chore(icons): use precise imports to reduce build * fix: use defaultValue instead of selected * fix: no div inside p * fix: missing key prop in home * chore: configure dev and prod for debugger * refactor: apollo context provider * refactor: apollo client for server side queries * chore: update env sample for server key * fix(middleware): retrieve correct cookies * refactor: consume client side graphClient context * refactor: merge auth context and state as provider * refactor: remove redundant files * fix(import): wrong path for checkNITRMail * fix(auth-context-provider): typo in graphClient * fix(auth-context): typo in variable name * fix(auth-context): send email link prod switch * feat: add sign in button (#425) * feat: add sign in button * fix * fixed * feat: add signIn button in mobile view * feat: add signin and signout feature (#461) * feat: add sign in button * fix * fixed * feat: add signIn button in mobile view * feat: add user avatar * feat: add signin signout --------- Co-authored-by: anish <[email protected]> Co-authored-by: G.Anish Kumar Patro <[email protected]> * fix: missing pagination component (#469) * chore: rename pagination to _pagination * chore: rename _pagination to Pagination * fix: gsi call after script load (#472) * chore: remove gsi script (#473) * feat: rebase with main (#474) * chore: update CC info 2023 (#451) * feat(home): increase number of displayed articles on the home page (#453) chore(home): increase display articles * chore: delete repo docs (#455) * chore: delete repo docs * chore: format html templete * fix(home): remove duplicate article in home page (#456) * fix(photostory): optimise the state update in photostory (#444) * fix(photostory): optimise the state update * fix(photostory): update right side image in carousel * chore: update sac info page (#467) * fix: search bar (#460) * fix: search bar * fix: serach bar * fix: search bar --------- Co-authored-by: Anish Sarawgi <[email protected]> Co-authored-by: Dibendu Sahani <[email protected]> Co-authored-by: SUNNY KUMAR <[email protected]> --------- Co-authored-by: Rutaj Dash <[email protected]> Co-authored-by: Ashish Padhy <[email protected]> Co-authored-by: G.Anish Kumar Patro <[email protected]> Co-authored-by: anish <[email protected]> Co-authored-by: Anish Sarawgi <[email protected]> Co-authored-by: Dibendu Sahani <[email protected]> Co-authored-by: SUNNY KUMAR <[email protected]>
- Loading branch information
1 parent
05e8eac
commit 57a6e02
Showing
65 changed files
with
1,382 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,8 @@ export const ONBOARDING = Object.freeze({ | |
EMAIL_PLACEHOLDER: '[email protected]', | ||
BUTTON: { | ||
PRIMARY: 'Get Verification Link', | ||
SECONDARY: 'Check again and continue', | ||
MOBILE: 'Next', | ||
SECONDARY: 'Open webmail', | ||
FINALLY: 'Confirm Verification', | ||
}, | ||
NOTE: 'Note: This only works if you’re a current student/ employee of \n NIT Rourkela with a valid institute email id.', | ||
}, | ||
|
@@ -28,27 +28,26 @@ export const ONBOARDING = Object.freeze({ | |
TITLE: 'Interested Topics', | ||
CONTENT: | ||
"Select the topics you're interested in, and get smarter article suggestions on the MM website!", | ||
LOADING_CONTENT: | ||
"Give us a moment while we save your choices. Wouldn't want to mix them up.", | ||
}, | ||
TOPICS: [ | ||
'Witsdom', | ||
'Campus Buzz', | ||
'Alumni Affairs', | ||
'Student Activities', | ||
'Halls', | ||
'Interviews', | ||
'SAC Speaks', | ||
'Dean Speaks', | ||
'Videos', | ||
'Guest Interviews', | ||
"Director's Desk", | ||
"Chief Warden's Column", | ||
'Comics', | ||
'Alumnus Speaks', | ||
'Editorial', | ||
'Placements', | ||
'Internships', | ||
'Higher Education', | ||
'Photostories', | ||
['Campus Buzz', 12], | ||
['Alumni Affairs', 52], | ||
['Student Activities', 14], | ||
['Halls', 15], | ||
['Interviews', 21], | ||
['SAC Speaks', 22], | ||
['Guest Interviews', 24], | ||
["Director's Desk", 31], | ||
["Chief Warden's Column", 32], | ||
['Alumnus Speaks', 51], | ||
['Editorial', 66], | ||
['Placements', 41], | ||
['Internships', 42], | ||
['Higher Education', 43], | ||
['Photostories', 62], | ||
['Witsdom', 61], | ||
], | ||
}, | ||
NEWSLETTER: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.