-
Notifications
You must be signed in to change notification settings - Fork 489
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
chore: update add dropdown #951
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.
Good idea. Works well. Needs moar <Button/>
License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
I tweaked the AddButton to remove the i18n and lng props as they were being passed through to the dom element. I tweaked the new file button to use v-mid on the svg rather than flex, and wrapped the text in its own span with a |
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.
All proposed changes make things better 👌
Added some random thoughts below, but can be merged as is.
"addByPath": "Add by path", | ||
"addToIPFS": "Add to IPFS", | ||
"addFile": "File", | ||
"addFolder": "Folder", |
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.
Perhaps
Folder with files
?
"addToIPFS": "Add to IPFS", | ||
"addFile": "File", | ||
"addFolder": "Folder", | ||
"addByPath": "From IPFS", |
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.
May be just me, but perhaps more explicit styling of "IPFS" as a path would make it more clear:
From
/ipfs/…
A couple of suggestions/observations made on our call today:
|
@lidel @terichadbourne what do you think: |
@fsdiogo Yes, that’s much easier for me to understand! |
As per #915 (comment), I've refactored the add dropdown. Heavily inspired by Drive and Dropbox.
create new folder
from theadd to ipfs
dropdown. This way, everything inside that dropdow is to add file/folder/cid to our repo.+ Add
. Previously we had+ Add to IPFS
, which is not 100% correct. This let me update theAdd by path
which was super confusing, toAdd from IPFS
, which I think is more clear because it tells you you're adding something that is already on IPFS.Closes #915.