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
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.
Definitions
ARK-enabled folders are either:
.arksubfolderList of root folders is stored in
.ark-rootsfile in the filesystem root. Each root folder contains list of its favorite folders in.ark/favoritesfile.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-rootsfile is missing, the ARK view must be switched-off.If there are ARK folders discovered in the system, i.e. there is
.ark-rootsfile, both folder-picking and file-picking modes of ARK Filepicker should allow switching to ARK view using a separate tab.