Skip to content

Architecture

Λlisue edited this page Nov 17, 2024 · 12 revisions

Fall decomposes the functionality of a Fuzzy Finder into the following modules:

Name Description
Coordinator A module that determines the style and layout of the picker.
Theme A theme structure used to define the style of the picker.
Source Retrieves data from arbitrary sources and generates an AsyncIterableIterator of items.
Matcher Filters the items received from the Source based on user input and generates an AsyncIterableIterator of filtered items.
Curator Combines Source and Matcher, performing data retrieval and filtering based on user input. Mainly used for live-grep like feature.
Sorter Sorts items in-place received from the Matcher or Curator.
Renderer Processes sorted items in-place from the Sorter for user display.
Previewer Generates content for previewing the currently selected item.
Action Executes actions on the selected target item.
Refiner Applies to Source or Curator to refine and process generated items.

Diagram

image

Clone this wiki locally