Compare commits

...

4 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda 5657645801 Merge branch 'docs/Update-Changelog' into staging
Added information about the version 0.0.2 and 0.0.3 on the changelog.md
2025-07-08 03:49:41 -03:00
Gustavo Henrique Santos Souza de Miranda 71cb79aa40 Updated `CHANGELOG.md` with release notes for versions 0.0.2 and 0.0.3. 2025-07-08 03:49:01 -03:00
Gustavo Henrique Miranda 7d882b5f21
Merge pull request #31 from gmbrax/fix/binding-not-working
Merge fix/binding-not-working to staging
2025-07-08 03:44:34 -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
2 changed files with 21 additions and 2 deletions

View File

@ -16,6 +16,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Export features
- Testing implementation
## [0.0.3] - 2025-07-07
### Changed
- Removed the dependency on textual-dev from pyproject.toml
## [0.0.2] - 2025-07-07
### Changed
- Changed the license in pyproject.toml to BSD
## [0.0.1] - 2025-07-06
### Added
@ -34,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Installation Method 1 not yet implemented
- No testing suite implemented yet
- Some features may be unstable in alpha version
- Some features may be unstable in an alpha version
[Unreleased]: https://github.com/username/pilgrim/compare/v0.0.1...HEAD

View File

@ -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()
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")