Skip to content

Url doesn’t update when clicking the home “em” button #2

@raineorshine

Description

@raineorshine

nor does it update when hitting "escape" while the cursor is on an item at the root level.

@rabbit This might be a good starter task! The history push/replace functionality will be easy to find, but you will still have to interface with some core concepts, such as below:

  • items: the array of descendants from the root to a given item, e.g. ['My Journal', '6/12/19', 'Happy']
  • itemsRanked: Similar to items, but stores each item as a { key, rank } pair to differentiate duplicate items in the same context.
  • cursor: where the cursor currently is; same data structure as itemsRanked but may include cycles to account for navigating across context views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions