diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d9b8971 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,41 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Planned + +- Installation Method 1 (repository compilation) +- Organization of trips by date, location, or theme +- Enhanced photo management features +- Search functionality +- Export features +- Testing implementation + +## [0.0.1] - 2025-07-06 + +### Added + +- Initial alpha release of Pilgrim travel diary application +- Create and edit travel diaries +- Create and edit diary entries +- Photo ingestion system +- Photo addition and reference via sidebar +- Text User Interface (TUI) built with Textual framework +- Pre-compiled binary installation method (Method 2) +- Support for Linux operating systems +- Basic project documentation (README) + +### Known Issues + +- Installation Method 1 not yet implemented +- No testing suite implemented yet +- Some features may be unstable in alpha version + +[Unreleased]: https://github.com/username/pilgrim/compare/v0.0.1...HEAD + +[0.0.1]: https://github.com/username/pilgrim/releases/tag/v0.0.1 diff --git a/README.md b/README.md index 7d8d17a..0f10b3a 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,17 @@ -# Python_Pilgrim +# Pilgrim ## Overview -**Python_Pilgrim** is a Python-based travel diary application designed to help users document and manage their travel experiences. The project provides tools for recording trips, organizing travel notes, and storing memories in a structured and accessible format. +**Pilgrim** is a Python-based travel diary application designed to help users document and manage their travel +experiences. The project provides tools for recording trips, organizing travel notes, and storing memories in a +structured and accessible format. ## Features - Create and manage travel diaries - Add, edit, and delete travel entries - Organize trips by date, location, or theme -- Store photos, notes, and other media -- Export and share travel logs +- Store photos and add them to the diary entry ## Requirements - Python 3.8 or higher @@ -21,30 +22,25 @@ ## Installation -1. Clone the repository: - ```bash - git clone https://github.com/gmbrax/Pilgrim.git - ``` -2. Navigate to the project directory: - ```bash - cd Pilgrim - ``` -3. Create a virtual environment and, then, activate it: - ```bash - python -m venv .venv - source .venv/bin/activate - ``` -4. Install the required dependencies: - ```bash - pip install -r requirements.txt - ``` +To install the application you must issue the command: + +```bash +pip install pilgrim +``` ## Usage -To run the main application, execute: - -```bash -python .py +To use application you just issue: +```bash +pilgrim ``` -This will start the Python_Pilgrim application. Follow the on-screen instructions to create and manage your travel diaries. \ No newline at end of file +This will start the Pilgrim application. Follow the on-screen instructions to create and manage your travel diaries. + +## Changelog + +To see all the changes in the current version, please refer to the [CHANGELOG](CHANGELOG.md) + +## License + +This project is licensed under the BSD 3-Clause License — see the [LICENSE](LICENSE) file for details. diff --git a/pyproject.toml b/pyproject.toml index 398e581..6657a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [project] name = "Pilgrim" - version = "0.0.1" + version = "0.0.3" authors = [ { name="Gustavo Henrique Santos Souza de Miranda", email="gustavohssmiranda@gmail.com" } ] diff --git a/requirements.txt b/requirements.txt index 015a545..5fff7d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ greenlet==3.2.3 SQLAlchemy==2.0.41 -typing_extensions==4.14.0 +typing_extensions==4.14.1 -textual~=3.3.0 +textual~=3.6.0 diff --git a/src/pilgrim/ui/screens/edit_entry_screen.py b/src/pilgrim/ui/screens/edit_entry_screen.py index 277dc36..24e05ef 100644 --- a/src/pilgrim/ui/screens/edit_entry_screen.py +++ b/src/pilgrim/ui/screens/edit_entry_screen.py @@ -1027,4 +1027,13 @@ class EditEntryScreen(Screen): # Tab: insert tab elif self.focused is self.text_entry and event.key == "tab": self.text_entry.insert('\t') - event.stop() \ No newline at end of file + event.stop() + + def on_footer_action(self, event) -> None: + """Handle clicks on footer actions (Textual 3.x).""" + action = event.action + method = getattr(self, f"action_{action}", None) + if method: + method() + else: + self.notify(f"No action found for: {action}", severity="warning") \ No newline at end of file