You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
Favorite folders, which are children of root folders and don't have their own index
List of root folders is stored in .ark-roots file in the filesystem root. Each root folder contains list of its favorite folders in .ark/favorites file.
Modes
Filepicker has two main modes:
File-picking
In this mode, if we tap a folder, we don't select it and we display its full contents.
If we tap a file, we select it.
Example: selecting a folder to open an image in Retouch app.
Folder-picking
In this mode, if we tap a folder without subfolders, we select it.
If we tap a folder with subfolders, we select it and also display its subfolders.
Example: selecting a folder to save an image in Retouch app.
Views
Filepicker has two main views:
Classical view, i.e. plain walking through folders hierarchy.
ARK view, i.e. visualizing ARK-enabled folders.
ARK view
ARK view allows observing and selecting any ARK-enabled folder.
If user doesn't have any ARK folders discovered, i.e. .ark-roots file is missing, the ARK view must be switched-off.
If there are ARK folders discovered in the system, i.e. there is .ark-roots file, both folder-picking and file-picking modes of ARK Filepicker should allow switching to ARK view using a separate tab.
The text was updated successfully, but these errors were encountered:
Switch-off ARK view when there is no .ark-roots file
Remember usage of modes in folder-picking mode
If user opens filepicker in folder-picking mode, start view which was used last time in this mode.
Enable ARK view in file-picking mode
Two options for using ARK view in file-picking mode:
Embed Resource Grid from Navigator
Allow selecting a folder, but do nothing more.
Allow user switch back to classical view and open selected folder there.
With this approach file-picking always finishes in classical view.
Definitions
ARK-enabled folders are either:
.ark
subfolderList of root folders is stored in
.ark-roots
file in the filesystem root. Each root folder contains list of its favorite folders in.ark/favorites
file.Modes
Filepicker has two main modes:
File-picking
In this mode, if we tap a folder, we don't select it and we display its full contents.
If we tap a file, we select it.
Example: selecting a folder to open an image in Retouch app.
Folder-picking
In this mode, if we tap a folder without subfolders, we select it.
If we tap a folder with subfolders, we select it and also display its subfolders.
Example: selecting a folder to save an image in Retouch app.
Views
Filepicker has two main views:
ARK view
ARK view allows observing and selecting any ARK-enabled folder.
If user doesn't have any ARK folders discovered, i.e.
.ark-roots
file is missing, the ARK view must be switched-off.If there are ARK folders discovered in the system, i.e. there is
.ark-roots
file, both folder-picking and file-picking modes of ARK Filepicker should allow switching to ARK view using a separate tab.The text was updated successfully, but these errors were encountered: