-
Notifications
You must be signed in to change notification settings - Fork 16
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
Design changes #781
Design changes #781
Conversation
Your Render PR Server URL is https://files-landing-dev-pr-781.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c0nsph3jbvmciotr8pk0. |
Your Render PR Server URL is https://chainsafex-dev-pr-781.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c0nsphrjbvmciotr8pp0. |
Your Render PR Server URL is https://files-ui-dev-pr-781.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c0nspijjbvmciotr8pug. |
Your Render PR Server URL is https://components-storybook-dev-pr-781.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
A deploy for your Render PR Server at https://components-storybook-dev-pr-781.onrender.com just failed. View details on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
hey @Tbaut |
Thanks a lot @tanmoyAtb your guidance helped a lot. |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
const classes = useStyles() | ||
const { uploadFiles, currentPath } = useDrive() | ||
|
||
const UploadSchema = object().shape({ | ||
files: array() | ||
.min(1, "Please select a file") |
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.
With the "Done" button being disabled when there's no file to upload, it gives the nice UX that users understand right away that they can't upload anything, and we don't need to have this error message (that we discussed earlier wasn't nicely placed).
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
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.
className={clsx(classes.okButton, "wide")} | ||
disabled={isDoneDisabled} | ||
> | ||
<Trans>Done</Trans> |
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.
should be Upload
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.
Thanks Tanmoy, I've discussed this with @sweetpea22 and the "Upload" had been understood by user as a "Add more", or "Browse". That's why we thought the button should rather give the confidence to users that it should be clicked when they are done. Maybe "Submit" could be better?
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.
How about "Start Upload"?
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.
Yes "Start upload" seems more relatable to me !
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.
okay, should we change txt content of the first upload modal (before adding files) to "start upload" too or nah?
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 think the text is fine, you're selecting files. The real upload would happen when you "strat upload" :)
Changing that.
Here's what it looks like now: edit: the space between the top of the modal and the "Add more files" are still inconsistent. Making this space smaller looks weird to me though. Should I make it look like this? : This is how it looks with the last commit |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
I addressed the spacing issue. |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
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.
Looks good !
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.
hey guys, the background of modals has changed to gray[2], easier on the eyes 😛
prob can address this in another PR.
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.
great work
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
Your Render PR Server at https://components-storybook-dev-pr-781.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/static/srv-c0nspjjjbvmciotr8q7g. |
Thanks for the help @FSM1. I'll open a follow-up PR for the modal @sweetpea22, and the translation in a pre-commit so that we don't forget about it. |
closes #776