Compare commits

...

13 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda de0e415ee2 Merge branch 'fix/binding-not-working' into development
Fixed the Footer to work properly with clicking too.k
2025-07-08 01:21:13 -03:00
Gustavo Henrique Santos Souza de Miranda 4f1740f575 Added `on_footer_action` handler to manage footer action clicks in `EditEntryScreen`. 2025-07-08 01:20:37 -03:00
Gustavo Henrique Miranda cc723bdbbb
Merge pull request #30
Fixed the bug that didn't update the status bar when the use entered any new text.
2025-07-08 00:49:52 -03:00
Gustavo Henrique Miranda b73c4e12c8
Merge pull request #29
Added third-party library license details to `AboutScreen`.
2025-07-08 00:41:01 -03:00
Gustavo Henrique Miranda cc7f0ec53d
Merge pull request #27 from gmbrax/dependabot/pip/typing-extensions-4.14.1
Bump typing-extensions from 4.14.0 to 4.14.1
2025-07-07 23:59:49 -03:00
Gustavo Henrique Miranda 3620889e71
Merge pull request #28 from gmbrax/dependabot/pip/textual-approx-eq-3.6.0
Update textual requirement from ~=3.3.0 to ~=3.6.0
2025-07-07 23:59:25 -03:00
Gustavo Henrique Santos Souza de Miranda 8de20547c2 updated the pyproject.toml to remove an unsued dependency "Textual-Dev" 2025-07-07 22:50:51 -03:00
dependabot[bot] 57614755d5
Update textual requirement from ~=3.3.0 to ~=3.6.0
Updates the requirements on [textual](https://github.com/Textualize/textual) to permit the latest version.
- [Release notes](https://github.com/Textualize/textual/releases)
- [Changelog](https://github.com/Textualize/textual/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Textualize/textual/compare/v3.3.0...v3.6.0)

---
updated-dependencies:
- dependency-name: textual
  dependency-version: 3.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 17:12:26 +00:00
dependabot[bot] e503a57051
Bump typing-extensions from 4.14.0 to 4.14.1
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.14.0...4.14.1)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 17:06:50 +00:00
Gustavo Henrique Santos Souza de Miranda 6af035c050 Merge branch 'staging'
Changed the pyproject.toml to removed the extraneous textual-dev and also changed the license to BSD tpcha
2025-07-07 02:54:05 -03:00
Gustavo Henrique Miranda 11345203e5
Create CHANGELOG.md 2025-07-07 02:07:47 -03:00
Gustavo Henrique Miranda 543916a1a1
Update README.md 2025-07-07 02:06:28 -03:00
Gustavo Henrique Miranda 483c4b8529
Merge pull request #26 from gmbrax/staging
Staging
2025-07-07 02:01:27 -03:00
5 changed files with 76 additions and 30 deletions

41
CHANGELOG.md Normal file
View File

@ -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

View File

@ -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:
To use application you just issue:
```bash
python <???>.py
pilgrim
```
This will start the Python_Pilgrim application. Follow the on-screen instructions to create and manage your travel diaries.
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.

View File

@ -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" }
]

View File

@ -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

View File

@ -1028,3 +1028,12 @@ class EditEntryScreen(Screen):
elif self.focused is self.text_entry and event.key == "tab":
self.text_entry.insert('\t')
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")