Something went wrong. Try again.
cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang
Something went wrong. Try again.
Refactor configuration handling and test setups master
- 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.
Author Owais Jamil Date (Oct 4, 2025, 5:28 AM UTC) Commit d631904b d631904bbdd17c4c85e83012b4eae79459a04a9c Parent 0b4cfb1c 0b4cfb1c31af6f824ea869d92acbb08c290c93a9