Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to textual 0.87.1 #698

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

pablogsal
Copy link
Member

The new textual release has some changes:

  • There are some changes that we need to do to get the rendered version
    of some textual objects as now render() returns RichVisual instances
  • Textual has a new theme so we need to regenerate our snapshots.
  • There is something going on with horizontal scroll bars. We have
    opened Horizontal scroll bar disappeared in 0.87.1 Textualize/textual#5284 but looks
    like this may be expected.

Issue number of the reported bug or feature request: #

Describe your changes
A clear and concise description of the changes you have made.

Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context
Add any other context about your contribution here.

The new textual release has some changes:

* There are some changes that we need to do to get the rendered version
  of some textual objects as now render() returns RichVisual instances
* Textual has a new theme so we need to regenerate our snapshots.
* There is something going on with horizontal scroll bars. We have
  opened Textualize/textual#5284 but looks
  like this may be expected.
@pablogsal
Copy link
Member Author

Note that Textualize/textual#5284 may still be a bug

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.91%. Comparing base (beea5cd) to head (28e31ca).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #698      +/-   ##
==========================================
- Coverage   92.93%   92.91%   -0.03%     
==========================================
  Files          95       95              
  Lines       11655    11656       +1     
  Branches      406      406              
==========================================
- Hits        10832    10830       -2     
- Misses        823      826       +3     
Flag Coverage Δ
cpp 92.91% <100.00%> (-0.03%) ⬇️
python_and_cython 92.91% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 23 out of 23 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

tests/unit/test_tui_reporter.py:144

  • Ensure that the change from widget.render() to widget.renderable is covered by tests to verify the behavior remains correct.
rprint(widget.renderable, file=output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants