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
[OMN-189] : Settings View - Emails #286
Conversation
This pull request is being automatically deployed with Vercel (learn more). omnivore-demo – ./🔍 Inspect: https://vercel.com/omnivore/omnivore-demo/2ELiLTyxCMGXdy83rGTg5sKW93rr omnivore-prod – ./🔍 Inspect: https://vercel.com/omnivore/omnivore-prod/HShE2WHLDEQss2CMgdHbPTjStYaU |
Deploying this one to the demo environment. |
On mobile because there is no header, we need to round the top corners of the first item. You can see in our version we have straight lines on the top row on mobile. |
@@ -7,48 +9,9 @@ type MoreOptionsIconProps = { | |||
} | |||
|
|||
export function MoreOptionsIcon(props: MoreOptionsIconProps): JSX.Element { | |||
const dots = |
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.
Nice 👍
@@ -23,6 +23,7 @@ | |||
"@radix-ui/react-id": "^0.1.1", | |||
"@radix-ui/react-popover": "^0.1.1", | |||
"@radix-ui/react-separator": "^0.1.0", | |||
"@radix-ui/react-tooltip": "^0.1.7", |
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.
👍
@@ -48,7 +49,9 @@ function OmnivoreApp({ Component, pageProps }: AppProps): JSX.Element { | |||
defaultLocale="en" | |||
messages={englishTranslations} | |||
> | |||
<Component {...pageProps} /> | |||
<TooltipProvider delayDuration={200}> |
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.
Ah this is handy. Should be able to use these a lot more now.
On desktop the |
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.
added some comments regarding visual issues, mostly on mobile
@jacksonh we've effected the requested review changes, please take a look |
Thanks, taking a look. |
Deploying this to the demo environment |
Fixed |
This looks good. I'll merge/deploy it in the morning. |
There's one last small issue here. On mobile, if you have a single email, you don't get rounded corners, because this loop here doesn't account for the case where
|
Fixed |
nice work. |
Spec Checklist
Description
This is part of the base issue Settings View
Omnivore allows users to create addresses that receive email and add it to a user's inbox. A user can create multiple email addresses. There is a temporary version of this page available at settings/emails.
A new design for this page has been created here:
https://www.figma.com/file/ILgs6aXrPfukXOMf5Yibra/Omnivore---Deliverables?node-id=444%3A33319
Notes
The design for this view is slightly off. Visually it is correct, but the user experience is inaccurate. Email addresses are immutable. They can be created, and they can be deleted, but they can not be modified. Also, they are created by Omnivore's backend, so there should be no user input on this page.
The confirmation codes are created when a GMail address is linked with an Omnivore Inbox address. So in testing they will normally not be set.
[ ] List emails
[ ] Display confirmation code if set on an email
[ ] Create an email
[ ] Delete an email
[ ] Copy an email address
[ ] Copy a confirmation code
[ ] Light and dark mode support
[ ] Desktop and mobile support
Loom
loom video
House Keeping
Ticket link (if applicable)
How has this been tested?
Types of changes
Checklist:
Remarks