Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

ARK view #23

Description

@kirillt

Definitions

ARK-enabled folders are either:

  • Root folders, containing .ark subfolder
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions