Skip to content

Feature/add indexing and search service#16

Merged
mcgivrer merged 4 commits into
developfrom
feature/add-indexing-and-search-service
Feb 21, 2026
Merged

Feature/add indexing and search service#16
mcgivrer merged 4 commits into
developfrom
feature/add-indexing-and-search-service

Conversation

@mcgivrer

@mcgivrer mcgivrer commented Feb 21, 2026

Copy link
Copy Markdown
Owner

Indexing to local project database

  • Index all files (primarily by front matter attributes and filenames). The index is stored as a JSON file in the project's root folder and is hidden from the Project Explorer panel.
  • Add a search box at the top of the UI that queries the index and displays matching documents in a popup list, showing the matching excerpt below each document title. Selecting a result opens the document.
  • Add a Tag Cloud panel below the Project Explorer, where each tag's font size is proportional to its number of occurrences.
  • Allow resetting the index from a context menu entry on the root folder in the Project Explorer.
  • Add a status bar at the bottom of the main window with three sections:
    • Document & position — name and cursor position (line:column) of the current document,
    • Statistics — number of indexed documents, lines, and words in the current document,
    • Indexing progress — a progress bar showing advancement while the indexing service is running.

      IMPORTANT The indexing service must run in a separate thread so as not to interrupt the user's note-taking experience.

- Implemented a SearchBox component for searching documents with live results.
- Added TagCloudPanel to display tags with sizes based on their occurrence.
- Integrated IndexService for indexing and searching documents.
- Enhanced ProjectExplorerPanel with context menu option to reset the index.
- Updated MarkNote application layout to include the search box and tag cloud.
- Added internationalization support for new UI elements in multiple languages.
- Added a search box in the main interface for instant document searching.
- Implemented indexing of Markdown files based on front matter and filenames.
- Introduced a tag cloud panel displaying tag frequency, allowing users to click tags for searching.
- Enhanced the Project Explorer to handle file creation, renaming, deletion, moving, and copying with corresponding index updates.
- Updated user guide to include sections on search and tag cloud features, with illustrations for better understanding.
- Introduced a Status Bar at the bottom of the main window displaying:
  - Current document name and cursor position (line:column)
  - Document statistics (number of documents, lines, words)
  - Indexing progress bar during background indexing

- Updated README.md to include Status Bar in features list.
- Enhanced user guide with detailed information about the Status Bar.
- Created a new StatusBar class to manage the display and updates.
- Modified IndexService to support asynchronous indexing and progress reporting.
- Updated CSS themes to style the Status Bar appropriately.
- Added internationalization support for Status Bar messages in multiple languages.
@mcgivrer mcgivrer self-assigned this Feb 21, 2026
@mcgivrer mcgivrer added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 21, 2026
@mcgivrer mcgivrer merged commit 8046fe8 into develop Feb 21, 2026
1 check passed
@mcgivrer mcgivrer deleted the feature/add-indexing-and-search-service branch March 22, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant