-
Notifications
You must be signed in to change notification settings - Fork 107
feat: add friends and schedule linking #1511
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
Open
brelieu05
wants to merge
258
commits into
main
Choose a base branch
from
911-suggestion-view-friends-schedules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 191 commits
Commits
Show all changes
258 commits
Select commit
Hold shift + click to select a range
ce9a5c9
fix: add to schedule merge
brelieu05 60519a1
fix: empty sharedschedule after adding bug
brelieu05 269d227
feat: exit button + loading
brelieu05 b1ae03e
fix: non-logged-in user schedule add bug
brelieu05 ca4aaa1
Merge branch 'main' into 1346-sharable-course-schedule-links
brelieu05 204264e
fix: custom events test type error
brelieu05 726eeed
fix: add schedule id issue + removed dialog for copy link
brelieu05 7916165
feat: stop user from saving in sharedschedule
brelieu05 162ae3d
feat: disabled search
brelieu05 66bb40d
feat: remove class delete from sharedschedule
brelieu05 415d96c
fix: peter portal icon
brelieu05 5ee9ca8
refactor: disabled -> not show
brelieu05 aeb9967
fix: finals button
brelieu05 98713af
fix: schedule dropdown + bold schedule name
brelieu05 b9def85
fix: go Home button blank issue
brelieu05 c432486
fix: invalid schedule loading twice issue
brelieu05 14842d6
fix: remove search button in section table
brelieu05 73dbc6c
fix: sharedschdule map search for class issue
brelieu05 b278f27
refactor: shared schedule hook
brelieu05 448689e
refactor: appstore opensnackbar
brelieu05 da207cb
feat: disabled button if not signed in
brelieu05 9624b14
nit: remove comment
brelieu05 791467b
refactor: implemented updateSession
brelieu05 7b9fe4c
refactor: implemented updateSession + comment
brelieu05 3295310
fix: header responsiveness
brelieu05 6cb3660
ci: add `remove` and `unlock` sst commands (#1389)
KevinWu098 945a975
ci: validate sst commands (#1390)
KevinWu098 5b76cb6
ci: sst slash commands (#1391)
KevinWu098 f424d7c
ci: sst commands
KevinWu098 ad449ec
feat: deploy command
KevinWu098 706e2a0
ci: replace chronorm with myrotvorets
KevinWu098 622a72d
Broken Precommit Hook (#1383)
alexespejo 88fb195
Show RecruitmentBanner over HelpMenu and use MUI theme z-indexes (#1394)
Choollol 3fc6cd9
feat: Missing Sections Warning (#1376)
calebwongg fb356c4
Fix: Duplicate users created on sign up (#1385)
alexespejo f913074
ci: sst deploy environment (#1406)
KevinWu098 84b0ac3
fix: increased lazy loading offset (#1393)
brelieu05 48f2d79
chore: add next-env.d.ts to .gitignore (#1395)
dsnsgithub 8019a4d
Update favicon (#1408)
xgraceyan 727ce10
fix: sat display (#1380)
AureliaSindhu caacfb2
Merge branch 'main' into 1346-sharable-course-schedule-links
brelieu05 0e6155b
refactor: remove old backend
brelieu05 8933748
chore: removed unnecessary comments + files
brelieu05 9688fea
fix: prevent duplicate schedule names in mergeShortCourseSchedules
brelieu05 8b6e9be
chore: remove TODO comment
brelieu05 d210451
chore: consolidated imports
brelieu05 de1f3a9
chore: containerize repeating logic
brelieu05 b674950
Merge branch 'main' into 1346-sharable-course-schedule-links
brelieu05 a1fa97a
chore: eslint move import
brelieu05 26bc507
chore: eslint useeffect warnings
brelieu05 07f25fe
chore: eslint useCallback dependency
brelieu05 8aacdc1
fix: pass userInfo correctly to autoSaveSchedule
brelieu05 8b4b088
fix: add missing id to skeleton ShortCourseSchedule
brelieu05 ac1374c
fix: added missing id property to convertLegacySchedule
brelieu05 7f443e2
Merge branch 'main' into 1346-sharable-course-schedule-links
brelieu05 50cd4b3
refactor: Extract schedule ID update logic into a new `setSchedules` …
brelieu05 cfc6d31
refactor: extract schedule name into a shared utility
brelieu05 f7eef78
refactor: shared and imported const
brelieu05 cd614bc
fix: replace console error with snackbar for schedule loading failures
brelieu05 3a9608d
Sharable course schedule links sub-branch changes (#1492)
Choollol fe98ed1
fix: enable user to navigate to map and not leave sharedschedulepage
brelieu05 4181c76
fix: changed clearScheduleButton from no-render to disabled for consi…
brelieu05 480a094
refactor: removed unnecessary skeletonmode on SharedScheduleBanner an…
brelieu05 f1bf0ac
refactor: remove nullish type wfrom skeletonSchedule
brelieu05 eb4dd2e
refactor: changed deleteCourse button from no-render to disabled
brelieu05 0ce212b
feat: added notification to user if session isn't valid
brelieu05 2aca480
More schedule link sharing sub-branch changes (#1495)
Choollol 339a5e7
refactor: replace share location heck with `useIsSharedSchedulePage` …
brelieu05 3989ded
refactor: Disable calendar toolbar buttons, including undo, redo, cle…
brelieu05 497bb6c
refactor: update map link to use home page path check instead of shar…
brelieu05 e87b425
refactor: abstract disable variable for calendar action buttons
brelieu05 53711fe
fix: skip schedule load on shared pages and explicitly load user data…
brelieu05 0fe152e
feat: disable quick search button in read-only view
brelieu05 1a655bc
feat: add shared schedule analytics category
brelieu05 c38bed3
feat: posthog log copy schedule events
brelieu05 4ebafb2
feat: posthog log analytics event when a shared schedule is opened
brelieu05 6d04c70
feat: posthog logging for add shared schedule
brelieu05 39c0d93
fix: eslint `useEffect` and `useCallback` dependency arrays in Signin…
brelieu05 a7070b7
Even more sharable course schedule sub-branch changes (#1499)
Choollol 163b416
temp: frontend mockup
sicn4rf cd878a1
feat: card layout design and emails below names
sicn4rf 841d453
feat: implement friendship schema and friends + friendship routes + m…
brelieu05 3c432ae
feat: add send friend request functionality
brelieu05 ca28303
feat: implement unfriend
brelieu05 b704a37
feat: block user
brelieu05 5c5bd0b
feat: prevent already requested friends from sending duplicate friend…
brelieu05 2c6866b
feat: view friends schedules
brelieu05 95c8874
feat: logged out sign in warning
brelieu05 44c4aaf
feat: friends skeleton menu + reduce redundant fetching
brelieu05 7b1b2eb
feat: restrict non-friends from looking at friend's schedules
brelieu05 cccf811
feat: enter keydown
brelieu05 fad591a
feat: invalid email error
brelieu05 f151946
refactor: upsertSchedule to persistent schedule links
brelieu05 417e9a3
feat: always go to friend's first-indexed schedule
brelieu05 6e2c537
feat: disable save on sharedSchedule
brelieu05 65da132
Merge branch '1346-sharable-course-schedule-links' into 911-suggestio…
brelieu05 56b1e2d
feat: validate session on direct visits and update session handling i…
brelieu05 093031c
refactor: holy cubic fixes + direct link friend name fix
brelieu05 0db9475
feat: add provider ID check for friend requests and updates to user I…
brelieu05 35823f5
feat: implement schedule sharing functionality and enhance friend dat…
brelieu05 0c2aab8
refactor: replace provider ID with session token for friend-related o…
brelieu05 2ba022a
Merge remote-tracking branch 'origin/main' into 911-suggestion-view-f…
brelieu05 b109eff
Merge branch 'main' of https://github.com/icssc/AntAlmanac into 911-s…
brelieu05 86bc543
feat: enhance schedule insertion by preserving sharing statuses durin…
brelieu05 bfa89c9
feat: add polling for friends and pending requests in FriendsButton c…
brelieu05 279dfad
feat: implement blocked users section in FriendsMenu with toggle func…
brelieu05 6e2843f
feat: add block user functionality to FriendsMenu
brelieu05 d10883d
feat: update sharing icons in ScheduleSelect component to use visibil…
brelieu05 5b65871
feat: enhance shared schedule import functionality to include friend …
brelieu05 6713bbc
refactor: simplify button label in FriendsMenu component
brelieu05 fd94bba
feat: add scrollable friends list in FriendsMenu component
brelieu05 eaee00f
feat: add friend request button on shared page
brelieu05 3655754
fix: include setWarning in dependency array of useEffect in SharedSch…
brelieu05 2e48645
fix: reset friend state and update dependency array in SharedSchedule…
brelieu05 c225426
fix: streamline snackbar options in ShareScheduleButton component
brelieu05 e8002b1
feat: enhance schedule creation by adding unique schedule IDs and imp…
brelieu05 a368d4a
refactor: rename schedule retrieval method and update related documen…
brelieu05 573314e
feat: add method to resolve userId from session token in RDS class an…
brelieu05 117886c
refactor: replace direct database query with RDS method for user retr…
brelieu05 d304fe4
feat: implement friendship management methods in RDS class and refact…
brelieu05 cf34899
Revert "Extracted notifications from RDS class (#1577)" (#1587)
alexespejo bb30c67
Fix db package index imports (#1584)
Choollol 79b0163
Ignore Starting and Ending Whitespaces in Course Search (#1571)
robotman40 eea8bb2
FIx mobile notification snackbar blocking navigation bug (#1594)
Choollol 65398ab
Prevent entire home page from rerendering when switching between root…
Choollol 299335d
ci: detected new quarter or section count update
github-actions[bot] 711b54d
fix: update privacy policy to reflect PostHog analytics (#1599)
KevinWu098 fa07ac0
feat: add server-rendered SEO content for search engine indexing (#1600)
KevinWu098 86bf46d
feat: add EmptyState to calendar and added courses pane (#1531)
rob-9 0ce2c6b
Use fetchAnteaterAPI for all AAPI calls (#1581)
Choollol 488ea4c
fix: use recommended db settings (#1603)
KevinWu098 379b6c1
fix: remove Pulumi workaround from CI workflows (#1598)
KevinWu098 939629d
fix: Remove coursenumasdecimal (#1569)
xgraceyan a95feb4
ci: detected new quarter or section count update
github-actions[bot] 67d95a6
ci: detected new quarter or section count update
github-actions[bot] 7cfa778
chore: remove unused dependencies and align @types/node with Node 22 …
KevinWu098 39a3b8c
fix: use transaction object (tx) instead of root db client in upsertU…
KevinWu098 56faeac
ci: detected new quarter or section count update
github-actions[bot] 861f87a
refactor: simplify getUserIdBySessionToken to directly check session …
brelieu05 c0d6248
refactor: extract friend request validation logic into a separate fun…
brelieu05 f8a51a1
refactor: split getFriends into getFriendshipsSent and getFriendships…
brelieu05 61df177
fix: ensure user unblocking only occurs for blocked friendships
brelieu05 d512640
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 9c30b68
refactor: simplify loadScheduleAndSetLoadingAuth function by removing…
brelieu05 a973b19
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 43854f2
fix: handle errors without logging in ShareScheduleButton and Signin …
brelieu05 8ef6d18
feat: add session token validation for friends-related queries in the…
brelieu05 c90c123
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 1b26172
refactor: remove session token check logic due to cookie session refa…
brelieu05 c19114a
fix: added unique key assignment in meetings mapping for LocationsCel…
brelieu05 cc3f1ab
fix: reposition FriendsButton component in Header for improved layout
brelieu05 8b7398a
refactor: seapate Friends Menu into individual components/files inste…
brelieu05 a4d1109
feat: add FriendDropdownCard and FriendSearchDropdown components for …
brelieu05 2afd15e
feat: include avatar field in friend-related queries and components f…
brelieu05 bcc7300
feat: add autoComplete attribute to FriendsTab search input for impro…
brelieu05 e049d52
feat: add avatar support to FriendCard component for enhanced friend …
brelieu05 04801b1
feat: implement received sent blocked tabs in friends menu
brelieu05 590fb33
refactor: simplify RequestsTab component by removing count display fr…
brelieu05 7b8f8f0
feat: enhance friend request handling with error management and UI up…
brelieu05 1e72321
refactor: update FriendsMenu and RequestsTab components for improved …
brelieu05 52f3338
refactor: light mode for friends menu
brelieu05 eaef723
style: update button styles to improve disabled state visibility in I…
brelieu05 998adb3
style: adjust FriendsTab input styling to use array syntax for better…
brelieu05 089f40e
style: enhance hover background color for FriendDropdownCard and add …
brelieu05 255323a
fix: validate email format before sending friend requests and streaml…
brelieu05 f04b72f
style: simplify NotificationSnackbar styling by removing theme color …
brelieu05 cd64c5d
style: update placeholder text in RequestsTab input for clarity
brelieu05 4231357
refactor: streamline session validation and update user data query in…
brelieu05 2208d12
style: update placeholder text in RequestsTab input for improved clarity
brelieu05 91793c7
refactor: remove ShareScheduleButton from ScheduleSelect component to…
brelieu05 ed32a6f
refactor: replace useIsSharedSchedulePage with useIsReadonlyView for …
brelieu05 548c40c
style: adjust padding in ColorPicker component for improved layout co…
brelieu05 b067b15
refactor: reorganize imports and replace useMediaQuery with useIsMobi…
brelieu05 0aef5b1
style: update FriendsMenu component to set minimum height and width f…
brelieu05 db4070b
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 3d6363e
style: remove minimum height from FriendsMenu component for improved …
brelieu05 0d6cef2
fix: issue with schedule not loading on initial sign in
brelieu05 8c31d5e
fix: correct avatar assignment logic in RDS class to ensure fallback …
brelieu05 9818fb0
feat: enhance friend request handling in RDS class to support updatin…
brelieu05 efcec93
feat: implement transaction handling in unblockUser method to restore…
brelieu05 eeafbed
refactor: update insertFriendRequest method to prevent overwriting de…
brelieu05 61d165a
feat: enhance friend request validation and user data retrieval by up…
brelieu05 de6f7cd
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 8e82dce
refactor: update import paths for friend-related components to use ab…
brelieu05 39ce6bf
style: update button background colors in SharedScheduleBanner compon…
brelieu05 bba3ad3
refactor: rename loadContent function to loadFriendsData for clarity …
brelieu05 90df580
feat: introduce HomeLayout component to encapsulate common layout ele…
brelieu05 d5e107b
fix: ensure consistent avatar rendering in FriendIdentity component b…
brelieu05 f2f8f1f
fix: enhance avatar rendering in FriendIdentity component by adding r…
brelieu05 dcc981f
refactor: remove warning state from SharedScheduleBanner and related …
brelieu05 e02bbb9
fix: add error handling to handleViewSchedule for friend schedules in…
brelieu05 4ab2ead
style: update NotificationSnackbar component to set text and icon col…
brelieu05 e072eee
refactor: remove handleGoHome function and replace with handleExitSha…
brelieu05 68c117c
refactor: simplify condition for displaying added sections grid in Ad…
brelieu05 c5be71e
feat: implement readonly view logic in CalendarCourseEventWrapper and…
brelieu05 ae544b0
fix: adjust active tab logic in ScheduleManagement for mobile and rea…
brelieu05 bbc80a4
Merge branch 'main' into 911-suggestion-view-friends-schedules
brelieu05 df4e6d2
style: update RequestsTab component to adjust icon button dimensions …
brelieu05 42e9ba3
style: update tooltip text in ScheduleSelect component for clarity on…
brelieu05 421520b
style: update FriendsMenu component to adjust tab colors based on the…
brelieu05 73de396
feat: add unfriend confirmation dialog to FriendsMenu component for i…
brelieu05 b065ad2
refactor: remove blocked friends functionality from FriendsButton, Fr…
brelieu05 4a2c76b
Merge remote-tracking branch 'origin/main' into 911-suggestion-view-f…
brelieu05 818ca36
Merge remote-tracking branch 'origin/main' into 911-suggestion-view-f…
brelieu05 3829b59
Merge branch 'main' into 911-suggestion-view-friends-schedules
KevinWu098 984ffb8
chore: file capitalization
KevinWu098 df0f8c8
fix: migration idempotency
KevinWu098 5338bdf
fix: fix
KevinWu098 991e968
fix: update import path to be absolute import for user schema in frie…
brelieu05 9113df5
refactor: rename getNextScheduleName to getNonConflictingName method …
brelieu05 20f77bc
refactor: remove unused setSchedules method to streamline AppStore fu…
brelieu05 64d1512
Merge branch 'main' into 911-suggestion-view-friends-schedules
KevinWu098 47c7765
feat: gen migration
KevinWu098 274baf6
Merge branch '911-suggestion-view-friends-schedules' of https://githu…
brelieu05 5043e56
chore: revert absolute import to relative import because of tsconfig …
brelieu05 0e9a04f
refactor: simplify active tab logic in ScheduleManagementTabs component
brelieu05 26d1984
style: undid padding change in ColorPicker
brelieu05 8402a56
refactor: update SectionTable to use isReadonlyView for conditional r…
brelieu05 ab4ea87
refactor: initialize schedule name state using a function for improve…
brelieu05 9f0a0dd
refactor: change error handling in SignInDialog to use finally for co…
brelieu05 ba9ec6f
fix: correct typo in HomeLayout component documentation
brelieu05 76c4738
refactor: update getNextScheduleName method to use getNonConflictingName
brelieu05 10ecc87
refactor: enhance empty state messaging in ScheduleCalendar for reado…
brelieu05 31806fc
refactor: remove DeleteAndNotifications component to streamline actio…
brelieu05 a660a5f
fix: idiomatic
KevinWu098 6545a9a
fix: remove extra migration
KevinWu098 ca3283c
refactor: remove unused getUserAndAccount method to clean up RDS class
brelieu05 f56ba10
refactor: remove getScheduleIdByName method to streamline RDS and use…
brelieu05 1b90799
Merge branch '911-suggestion-view-friends-schedules' of https://githu…
brelieu05 5edff7d
feat: enhance mobile responsiveness of Import and FriendsButton compo…
brelieu05 adfa73d
Merge remote-tracking branch 'origin/main' into 911-suggestion-view-f…
brelieu05 f155aee
fix: sign in dialog title
KevinWu098 1249a0d
feat: some work
KevinWu098 424db00
refactor: types
KevinWu098 b3261c1
refactor: some work
KevinWu098 1807611
refactor: toggle button group
KevinWu098 6ffc3ed
refactor: move code around
KevinWu098 8aa9ef2
refactor: move code around
KevinWu098 c4991b6
refactor: lots of work
KevinWu098 4ca1434
feat: some more work
KevinWu098 f3ed707
feat: cards
KevinWu098 f70e9e6
feat: request styling
KevinWu098 6cbff12
feat: lowercase
KevinWu098 941a028
style: tweak
KevinWu098 f208450
fix: fix
KevinWu098 15c0530
Merge branch 'main' into 911-suggestion-view-friends-schedules
KevinWu098 c93796b
chore: db migration
KevinWu098 2312f82
fix: immediately clear on load friends
KevinWu098 cfa96fc
fix: misc
KevinWu098 d8ae60f
style: gap
KevinWu098 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
issue: why are we calling auto save schedule