Skip to content

Plugin: Timeline view #341

Description

@KrasForge

Summary

An installable Timeline view that shows notes as a chronological stream ordered by date, with adjustable density (day, week, month).

Contribution point

View: a full workspace view plus a nav item, provided by an installable plugin (not pre-installed).

Behavior

  • Vertical timeline grouped by period; each entry shows the note title, a snippet, and its date.
  • Group by updated or created date; filter by tag.
  • Zoom between day, week, and month density; click an entry to open the note.
  • Empty and loading states.

Implementation notes

  • Register with the plugin runtime: ctx.addView({ id: 'timeline', label: 'Timeline', icon: (a clock or activity icon), order, component }) as a lazy-loaded builtin.
  • Add a marketplace catalog entry in plugins.ts and a load in catalog.ts; builtin: false.
  • Read data.notes from WorkspaceViewProps, sort by updatedAt / createdAt, group by period; open via onOpenNote.

Acceptance criteria

  • Installing adds a Timeline nav item and route; uninstalling removes both.
  • Notes are ordered correctly and grouped by the chosen period.
  • Tag filter narrows the stream; opening an entry switches to the notes view.
  • Renders correctly in light and dark themes.

References

Plugin runtime: frontend/src/features/workspace/plugins/. Catalog: plugins.ts and catalog.ts. One of the view-plugin ideas from the marketplace roadmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions