commits
* developed search engine capabilities for documents using TF-IDF indexing
* utility functions for tokenization and frequency counting for document content
* extended task model for scoring, & dependencies
* update favicon
* update styling of site to use application palette
* add leaflet lexicons
* add prod build flag
- Implemented GetNewestPublication to retrieve the most recently published leaflet note.
- Added DeleteAllLeafletNotes to remove all leaflet notes
- enhance ATProtoService with CBOR to JSON conversion
- Updated PullDocuments to handle CBOR decoding and JSON conversion.
- Integrated viewport for viewing content in data_list.go.
- create PublicationView for displaying notes as markdown
* added mock for ATProto service
* added PublicationListAdapter for managing publications with leaflet metadata
* replace AssertErrorContains with shared implementation across services and tests
* Implemented new Scorer type for heuristic scoring of HTML content based on readability principles.
* Developed confidence calculation method to assess the reliability of content scores.
* Implement PostDocument, PatchDocument, and DeleteDocument methods to manage leaflet docs
* TypeDocumentDraft for draft documents
* more test coverage
* scaffold for leaflet integration
* refactor (wip) color palettes with wrappers
This reverts commit de4bc6fa70d6bda5d3ce1fc42f6cd784d9c774d4.
- Updated tests to use NOTELEAF_CONFIG and NOTELEAF_DATA_DIR environment variables instead of XDG_CONFIG_HOME.
- getEditor method in NoteHandler prioritizes config settings over environment variables.
- Modified LoadConfig and SaveConfig functions to respect NOTELEAF_CONFIG for custom configuration paths.
- Implemented GetDataDir function to handle NOTELEAF_DATA_DIR for data directory management.
- Adjusted database initialization to utilize new configuration paths and ensure directory creation.
- Improved error handling in database operations and ensured proper cleanup in tests.
- Updated task handler tests to include interactive mode paths with and without filters.
- Refactored note handler tests to support interactive mode, including tests for filtering by tags.
- Introduced new test utilities for TUI interactions, for simulation of user input and navigation.
- Removed redundant code
- rename articles.go to parser.go to avoid redundancy
- Implemented GetNewestPublication to retrieve the most recently published leaflet note.
- Added DeleteAllLeafletNotes to remove all leaflet notes
- enhance ATProtoService with CBOR to JSON conversion
- Updated PullDocuments to handle CBOR decoding and JSON conversion.
- Integrated viewport for viewing content in data_list.go.
- create PublicationView for displaying notes as markdown
- Updated tests to use NOTELEAF_CONFIG and NOTELEAF_DATA_DIR environment variables instead of XDG_CONFIG_HOME.
- getEditor method in NoteHandler prioritizes config settings over environment variables.
- Modified LoadConfig and SaveConfig functions to respect NOTELEAF_CONFIG for custom configuration paths.
- Implemented GetDataDir function to handle NOTELEAF_DATA_DIR for data directory management.
- Adjusted database initialization to utilize new configuration paths and ensure directory creation.
- Improved error handling in database operations and ensured proper cleanup in tests.
- Updated task handler tests to include interactive mode paths with and without filters.
- Refactored note handler tests to support interactive mode, including tests for filtering by tags.
- Introduced new test utilities for TUI interactions, for simulation of user input and navigation.
- Removed redundant code