Skip to content

web: filter field at the top of the Explorer in the side panel #182

Closed

Description

@yansfil

Problem

The side panel design for #170 puts a filter field at the top of the Explorer column, beside the active document's header, and the field carries the Explorer's close.
PR #173 left it out: the Explorer keeps its "EXPLORER ×" title row there, because filtering is a new feature, not part of the side panel change.

Wanted

  • A filter field at the top of the Explorer that narrows the tree to the files and folders whose names match, keeping each match's ancestors so its place stays readable.
  • The Explorer's close moves into that row, and the separate title row goes away; History keeps its own header.
  • Clearing the filter or pressing Escape in it returns the tree to its previous expansion state.

Scope notes

The tree is lazy (web/src/ExplorerTree.tsx): folders load when they are expanded, so a match inside an unloaded folder needs a source for the checkout's file list.
The ⌘P file palette already searches the checkout's files; reuse its source rather than walking the tree from the web shell.
The design lives in the side panel boards (case 3); draw the field in the library's Explorer master in the same change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions