Comments (14)
@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 :)
from ark-android.
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.
from ark-android.
We only need to finish these 3 details:
General points:
- Switch-off ARK view when there is no
.ark-roots
file - Remember the active tab, start with the tab which was active last time
File-picking mode:
- Enable ARK view in file-picking mode
For this we need to implement one of these:- Embed Resource Grid from Navigator
- Allow selecting a folder and switch back to classical view.
from ark-android.
An ARK-enabled folder is either:
- a root folder—any folder containing
.ark
subfolder- a favorite folder—subfolder of a root mentioned in
.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:
I just want to correct this a bit: roots are listed in .ark-global/roots
file, not .ark-roots
:)
from ark-android.
We only need to finish these 3 details:
General points:
- Switch-off ARK view when there is no
.ark-roots
file
...
@kirillt And, do we switch-on ARK view when the first root folder is created?
from ark-android.
We only need to finish these 3 details:
General points:
...
File-picking mode:
- Enable ARK view in file-picking mode
For this we need to implement one of these:...
- Allow selecting a folder and switch back to classical view.
Regarding this, at the moment Roots
tab (ARK view) is already visible when open the file picker in FILE
mode as per below video. Please correct me if I mis-understood something here.
https://recordit.co/bHtZCodxlW
from ark-android.
@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.
from ark-android.
We only need to finish these 3 details:
General points:
...
File-picking mode:
- Enable ARK view in file-picking mode
For this we need to implement one of these:...
- Allow selecting a folder and switch back to classical view.
Regarding this, at the moment
Roots
tab (ARK view) is already visible when open the file picker inFILE
mode as per below video. Please correct me if I mis-understood something here.
@kirillt And what do you think about this please?
from ark-android.
@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:
- hide "Roots" tab and wait until they pin something
- show "Roots" tab with some explanation in it as a placeholder
What is better in your opinion?
from ark-android.
@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:
- hide "Roots" tab and wait until they pin something [1]
- show "Roots" tab with some explanation in it as a placeholder [2]
What is better in your opinion?
@kirillt Currently my local implementation is already working as in [1] for File picking mode.
However, since you mentioned 2 options as above, personally I would prefer option [2] as by that, users won't have to dismiss and re-open the picker dialog for the Roots
tab to appear, after user pins a folder.
Please let me know if I should update the implementation if we want to make it work as in way [2].
from ark-android.
@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.
from ark-android.
@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 Roots
tab is switched-on automatically.
Regarding the UX, should we still stick with [1] for now?
from ark-android.
@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 :)
@kirillt: Sorry but I think I need to make this more clear: By let the user discover ARK-mode themselves
, do you mean we won't automatically switch-on the Roots
tab on first root, but only show it when re-opening the dialog?
If so, does it contradict with your comment here: #51 (comment) ?
from ark-android.
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.
from ark-android.
Related Issues (20)
- Migrate tag selector unit test from Navigator
- Multi-value widget for properties HOT 1
- Move Filepicker to this repo
- Repo enhancements
- Improve score widget
- Crash in `pdfPreviewGenerateNative` API HOT 6
- Update all repos using filepicker
- FilePicker: Pin folders from classical view into "Roots" tab
- FilePicker: Automatic discovery of ARK-enabled folders HOT 1
- Extract text layer from PDF
- Create `cache-metadata-android` and `cache-preview-android` components
- Restructure the repo HOT 1
- "Document" resource kind
- Metadata extraction pipeline HOT 1
- Previews generation pipeline HOT 1
- Move RootPickerDialog and prohibit adding a new root if there is already a root inside HOT 1
- File pinning shouldn't be allowed
- Omnibar
- JNI for `fs-storage` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ark-android.