mirror of
https://github.com/1j01/textual-paint.git
synced 2024-08-17 03:40:26 +03:00
Update changelog and readme
This commit is contained in:
parent
08847ca91b
commit
e288d5d41c
12
CHANGELOG.md
12
CHANGELOG.md
@ -10,6 +10,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
|
||||
- Made radio buttons rounder in `--ascii-only` mode, using parentheses instead of square brackets.
|
||||
- Moved some code out of the huge `paint.py` into smaller files.
|
||||
|
||||
### Added
|
||||
|
||||
- Replaced a complex shell one-liner on the readme with a new ANSI art gallery app. You can run it from the repo root, with: `python -m src.textual_paint.gallery`
|
||||
- Textual Paint now uses `pytest-textual-snapshot` and has tests covering most of the UI surface. This will allow me to update dependencies and do major restructuring of the code with confidence.
|
||||
- I created a test recorder, which can generate test code, which is great for creating interactions with the canvas.
|
||||
- Added docstrings to most of the code, where it was missing.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed behavior of Free-Form Select tool when melding with the canvas, when the selection was off-screen to the left or top (i.e. with negative coordinates).
|
||||
|
||||
## [0.2.0] - 2023-09-05
|
||||
|
||||
|
@ -378,6 +378,12 @@ mypy src --no-namespace-packages --check-untyped-defs
|
||||
pytest
|
||||
# To accept differences, update the baseline with:
|
||||
pytest --snapshot-update
|
||||
# I also made a test recorder, which can generate test code, which is great for creating tests that interact with the canvas.
|
||||
# Run with:
|
||||
python tests/pilot_recorder.py
|
||||
# Then interact with the app, and press Ctrl+C to stop recording.
|
||||
# You can also hit Ctrl+R to replay what you have,
|
||||
# or Ctrl+Z to remove the last step and replay the rest.
|
||||
```
|
||||
|
||||
## License
|
||||
|
@ -50,6 +50,7 @@
|
||||
"DIALOGEX",
|
||||
"disambiguates",
|
||||
"dockable",
|
||||
"docstrings",
|
||||
"domtree",
|
||||
"Dunder",
|
||||
"emacsclient",
|
||||
|
Loading…
Reference in New Issue
Block a user