-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[RNMobile] File Block II #26360
[RNMobile] File Block II #26360
Conversation
Size Change: 0 B Total Size: 1.19 MB ℹ️ View Unchanged
|
@etoledom I think I'd prefer the inline feedback messaging, mainly because it's direct and much more obvious (the compact notice is way on the top of the screen and pretty subtle). I figured this could be a tricky thing when I was designing it, but it would be a nice subtle touch, and hopefully one that we can re-use elsewhere 😄 |
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 for these changes @etoledom I reviewed the code and all the test scenarios described and they all worked as expected. I will do another pass once you have addressed the design feedback. 👍
8bf08a3
to
bfceb2c
Compare
a20c9ad
to
1b72a5c
Compare
I have rebased and updated this branch after the merge of the first iteration PRs Copy URL behaviour has been changed as @iamthomasbishop requested: Also, some minor style improvements:
This is the real action button color, since it looks too bad in the gif: |
Looks awesome, @etoledom. Thanks for taking care of that! |
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.
These changes are looking good @etoledom I reviewed the code and tested all the flows and they worked as expected. I left a few minor comments which you can address as you see fit. LGTM 🚢
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 for these changes @etoledom The code looks good.
- Copy URL action button color - Media Placeholder icon color (BlockIcon mod)
e777c4b
to
cbd7358
Compare
Description
This PR implements most of the options for File Block:
For the copy file URL feature, I decided to close the bottom-sheet and show a notice, instead of keeping the bottom-sheet and changing the button text. @iamthomasbishop - let me know if you still prefer the later, it would be a simple change.
How has this been tested?
cog
button)on
the "Open in new tab" option.target="_blank" rel="noreferrer noopener"
attributes in the<a>
tag.cog
button).off
the "Show download button` option.<a>
tag.cog
button).Copy file URL
option.Copied
is displayed.Alight left
,Wide width
and no option selected won't have visual differences.Screenshots
Types of changes
Checklist: