onepile icon indicating copy to clipboard operation
onepile copied to clipboard

Folders

Open holtwick opened this issue 6 years ago • 2 comments

Requirements:

  • Hierarchical grouping element: "Folder".
  • A document can be referenced by multiple folders.
  • Optional: Sub folders are ordered

Implementation Idea 1:

  • Any folder has a parent or null
  • Without parent or valid parent the folder becomes top-level.
  • Problems: Break circular references; no custom ordering

Implementation Idea 2:

  • Any folder has an ordered list of sub folders
  • Problems: Avoid multiple references; circular references.

Implementation Idea 3:

  • Any folder has an ordered list of all its predecessors: a/b/c
  • If any of those is missing it becomes top-level
  • Problem: All sub folders need to be touched as well

holtwick avatar Mar 25 '19 15:03 holtwick

Decision

  • Folders point to their parent
  • No custom ordering (instead alphabetical etc.)
  • Folders with missing parent folder are shown on top-level
  • An item can only refer to one folder

holtwick avatar May 23 '19 15:05 holtwick

Are folders really required? Notes and relations could provide the ordering, see notion.so

Evaluate more concepts

holtwick avatar Sep 29 '19 08:09 holtwick