-
-
Notifications
You must be signed in to change notification settings - Fork 33
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: Project Invite Flow (Screens Only) and Practice Mode #695
base: master
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.
Overall looks solid so far! left some relatively minor comments but can re-review when remaining items are addressed
}, | ||
"renderer.components.Settings.ProjectConfig.joinProject": { | ||
"description": "Button to join a new project", | ||
"message": "Join A Project" |
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.
confirm that A
is capitalized in the copy deck?
font-size: 0.8rem; | ||
color: ${buildConfig.variant === 'icca' ? '#eeeeee' : '#aaaaaa'}; | ||
` | ||
// {buildConfig.variant === 'icca' ? '#eeeeee' : '#aaaaaa'}; |
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.
assuming used for debugging?
src/renderer/components/Home.js
Outdated
const resetInvite = useCallback(() => { | ||
setInvite(null) | ||
}, [setInvite]) |
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.
probably somewhat premature to useCallback here?
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.
I suppose it is premature, but we should eventually use usecallback
here when we deal with the invite. I don't think adding it now adds to much overhead, and I think it will be a good reminder for the future.
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.
Actually im going to name this handleInvite...to be a little more explicit
Description
2 new (but related) features:
Practice Mode
When user is using the default config, they will be in practice mode. Practice Mode is indicated by an orange strip across the bottoms of the screen.
Invite to a new Project
With the upcoming refactor of Mapeo core users will have the have a more streamlined approach to join a project.
Users will be able to request to join a project. In Mapeo Desktop, user will be able to join a project through a url or QR code (scanned by the project admin through Mapeo mobile).
Screen Shots
Settings Menu

Practice Mode

Join Project Flow

Linked Sprint Item
Closes #694 #650 #652
To Do