-
Notifications
You must be signed in to change notification settings - Fork 1
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
FilePicker: ARK view ("Roots" tab) #51
Comments
We only need to finish these 3 details: General points:
File-picking mode:
|
I just want to correct this a bit: roots are listed in |
@kirillt And, do we switch-on ARK view when the first root folder is created? |
Regarding this, at the moment |
@tuancoltech yeah, correct about roots file. Sorry for the outdated info. About switching on first root — good question. I think we can let the user discover ARK-mode themselves :) |
Yeah, so I'll not switch-on on first root then. |
@kirillt And what do you think about this please? |
@tuancoltech it's ok when user already has ARK-enabled folders in the system. If he/she hasn't such folders yet, we can either:
What is better in your opinion? |
@kirillt Currently my local implementation is already working as in [1] for File picking mode. Please let me know if I should update the implementation if we want to make it work as in way [2]. |
@tuancoltech with [1] Roots tab should appear automatically after 1st pin, without re-opening the dialogue. But overall interaction is a bit more complicated. Benefit of [1] in my opinion is reduced cognitive load for users who only started to familiarize with ARK apps. |
@kirillt I see. So I'll implement it in a way that when user pin the very first root/favorite folder, the |
@kirillt: Sorry but I think I need to make this more clear: By |
Not exactly. It was about [1] as a whole, the view would be more minimalistic at first, so users won't be overwhelmed. When they pin something, they notice that new tab appears, that's what I mean by self-discovery. This could be more delicate then having a confusing redundant tab from the very start. After pinning, user should be able to see the effect immediately in any case. Necessety to re-open the picker would be clumsy in my opinion. |
Thanks. I understand it now. |
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
* [enhance] Remember user's last selected tab Ticket: #51
An ARK-enabled folder is either:
.ark
subfolder.ark/favorites
fileSince we use content-addressing, we have special file called
index
. It is stored in.ark
subfolder of each root folder. Favorite folders are children of root folders and don't have their own index, they use their root'sindex
file.Normally, roots are listed in
.ark-roots
file in the disk root. If it doesn't exist then we should scan the whole filesystem (Navigator does this on first launch). Each root folder contains list of its favorite folders in.ark/favorites
file.The "Roots" tab lists all ARK-enabled folder: both roots, and favorites. It was implemented in scope of this issue:
The text was updated successfully, but these errors were encountered: