Repository navigation
Conversation
The OPEN FOLDER link in the invite email opens the home page with the invite popup. Accepting shows You have joined with VIEW FOLDER, and declining closes the popup and stays on the home page. People who aren't signed in are asked to sign in first.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Member
|
[diff-counting] Significant lines: 291. |
6 of 9 tasks
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Where the OPEN FOLDER button in the invite email goes. It opens the home page with the invite popup from the Figma: "___ invited you to join ___" with ACCEPT and DECLINE, then "You have joined ___" with VIEW FOLDER. Declining closes the popup and stays on the home page.
Part 6 of 7 of this week's Shared Folders work, stacked on #461. Merge order: #440, #452, #453, then:
Changes
components/Folder/FolderInviteModal.tsx(new): accept/decline, joined, sign in, and unavailable versions of the popupApp.tsx:/folder-invite/:inviteIdroute showingHomePagewith the popup on toputils/firebase.ts:onUserChange, so the popup waits for Firebase to restore the session before asking anyone to sign inutils/folderSharing.ts: calls to get an invite and accept or decline itDesign decisions
Screenshots
All from localhost, on the invited test account.
Signed out: asks to sign in first:

The invite popup:

After accepting:

VIEW FOLDER opens the shared folder:

Test Plan
Notes
The email links to
https://www.cuapts.org/folder-invite/<id>, so this needs to be live before invite emails go out for real. For local testing, swap the start of the link forhttp://localhost:3000.Breaking Changes
None.