-
Notifications
You must be signed in to change notification settings - Fork 215
chore(deps): update dependency textual to v2 #3471
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
Conversation
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
The logging screen isn't working, it should be fixed before merging the PR |
|
@nf-core-bot fix linting |
Codecov ReportAttention: Patch coverage is
β View full report in Codecov by Sentry. π New features to boost your workflow:
|
This PR contains the following updates:
==0.71.0->==2.1.2Release Notes
Textualize/textual (textual)
v2.1.2Compare Source
Fixed
v2.1.1Compare Source
Fixed
Linkbinding to open the link https://github.com/Textualize/textual/issues/5564v2.1.0Compare Source
Fixed
Content.from_markupnot stripping control codes https://github.com/Textualize/textual/pull/5557delta_xanddelta_yin mouse events when smooth scrolling is enabled https://github.com/Textualize/textual/pull/5556Added
pointer_x,pointer_y,pointer_screen_x, andpointer_screen_yattributes to mouse events https://github.com/Textualize/textual/pull/5556Changed
TerminalSupportsInBandWindowResizetoInBandWindowResizehttps://github.com/Textualize/textual/pull/5558v2.0.4Compare Source
Fixed
v2.0.3Compare Source
Fixed
v2.0.2Compare Source
Fixed
v2.0.1Compare Source
Fixed
v2.0.0Compare Source
Added
Select.type_to_searchwhich allows you to type to move the cursor to a matching option https://github.com/Textualize/textual/pull/5403from_app_focustoFocusevent to indicate if a widget is being focused because the app itself has regained focus or not https://github.com/Textualize/textual/pull/5379Blurredmessage toInputwidget (matchingSubmittedandChanged) to make it easier to synchronize withvalidate_onparameter when set to 'blur'.Offset.transposehttps://github.com/Textualize/textual/pull/5409screen--selectioncomponent class to define style for selection https://github.com/Textualize/textual/pull/5409Widget.select_containerproperty https://github.com/Textualize/textual/pull/5409Widget.select_allhttps://github.com/Textualize/textual/pull/5409Region.bottom_right_inclusivehttps://github.com/Textualize/textual/pull/5409DOMNode.query_ancestorhttps://github.com/Textualize/textual/pull/5409text-wrapandtext-overflowCSS values https://github.com/Textualize/textual/pull/5485Content.from_markuphttps://github.com/Textualize/textual/pull/5485Fixed
Pilot.clicknot working withtimesparameter https://github.com/Textualize/textual/pull/5398Inputwill now only be automatically selected when the widget is focused by the user, not when the app itself has regained focus (similar to web browsers). https://github.com/Textualize/textual/pull/5379TextAreaandInputbehavior when there is a selection and the user presses left or right https://github.com/Textualize/textual/pull/5400shifthttps://github.com/Textualize/textual/pull/5404Inputto post aBlurredmessageHeadericon showing command palette tooltip when disabled https://github.com/Textualize/textual/pull/5427Changed
Separator, a separator may be specified withNoneTEXTUAL_SMOOTH_SCROLL=0to disable.Removed
wrapargument from OptionList (use CSStext-wrap: nowrap; text-overflow: ellipses)tooltipargument from OptionList. Usetooltipattribute orwith_tooltip(...)method.v1.0.0Compare Source
Added
App.clipboardhttps://github.com/Textualize/textual/pull/5352systemboolean to Binding, which hides the binding from the help panel https://github.com/Textualize/textual/pull/5352chainattribute onClickevents https://github.com/Textualize/textual/pull/5369timesparameter toPilot.clickmethod, for simulating rapid clicks https://github.com/Textualize/textual/pull/5369Changed
ctrl+qhttps://github.com/Textualize/textual/pull/5352ctrl+shift+know deletes the current line inTextArea, andctrl+xwill cutthe selection if there is one, otherwise it will cut the current lhttps://github.com/Textualize/textual/pull/53745374
Fixed
v0.89.1Compare Source
Fixed
v0.89.0Compare Source
v0.88.1Compare Source
Fixed
v0.88.0Compare Source
Fixed
Widget.anchorhttps://github.com/Textualize/textual/pull/5290ListViewnot updating its index or highlighting after removing items https://github.com/Textualize/textual/issues/5114Changed
ListView.popnow returnsAwaitCompleterather thanAwaitRemovehttps://github.com/Textualize/textual/pull/5135ListView.remove_itemsnow returnsAwaitCompleterather thanAwaitRemovehttps://github.com/Textualize/textual/pull/5135v0.87.1Compare Source
v0.87.0Compare Source
Added
positionCSS rule. https://github.com/Textualize/textual/pull/5278Widget.set_scrollhttps://github.com/Textualize/textual/pull/5278Select.selectionhttps://github.com/Textualize/textual/pull/5278Fixed
v0.86.3Compare Source
Changed
Fixed
ato add stopwatches in the tutorial app https://github.com/Textualize/textual/pull/5257v0.86.2Compare Source
Fixed
v0.86.1Compare Source
Fixed
v0.86.0Compare Source
Fixed
TextAreamouse selection with tab characters https://github.com/Textualize/textual/issues/5212Tabsnot updating the highlighting after removing a tab https://github.com/Textualize/textual/issues/5218Added
App.themereactive attribute https://github.com/Textualize/textual/pull/5087variantparameter toLabelwidget for quick access to common styles https://github.com/Textualize/textual/pull/5087App.get_themewhich returns a theme by name https://github.com/Textualize/textual/pull/5087App.register_themeandApp.unregister_themehttps://github.com/Textualize/textual/pull/5087App.theme_changed_signalhttps://github.com/Textualize/textual/pull/5087App.available_themesproperty which returns a mapping of theme names toThemeinstances https://github.com/Textualize/textual/pull/5087App.current_themeproperty which returns the currently active theme object https://github.com/Textualize/textual/pull/5087App.get_theme_variable_defaultswhich returns a mapping of theme variables to their default values https://github.com/Textualize/textual/pull/5087App.searchwhich allows bringing up a fuzzy search list of commands on-demand https://github.com/Textualize/textual/pull/5087App.search_themeswhich allows bringing up a fuzzy search list of themes on-demand https://github.com/Textualize/textual/pull/5087textual.theme.ThemeProvider, a command palette provider which returns all registered themes https://github.com/Textualize/textual/pull/5087Widget.is_scrollinghttps://github.com/Textualize/textual/pull/5238Tree.add_jsonhttps://github.com/Textualize/textual/pull/5238Changed
Driver.process_eventis nowDriver.process_messagehttps://github.com/Textualize/textual/pull/5217Driver.send_eventis nowDriver.send_messagehttps://github.com/Textualize/textual/pull/5217can_focusandcan_focus_childrenparameters to scrollable container types. https://github.com/Textualize/textual/pull/5226textual.lazy.Revealhttps://github.com/Textualize/textual/pull/5226Screen.action_blurhttps://github.com/Textualize/textual/pull/5226Clickevents can now be used with the on decorator to match the originally clicked widget https://github.com/Textualize/textual/pull/5238App.darkreactive attribute https://github.com/Textualize/textual/pull/5087Removed
App.HOVER_EFFECTS_SCROLL_PAUSEhttps://github.com/Textualize/textual/pull/5238v0.85.2Compare Source
v0.85.1Compare Source
Fixed
v0.85.0Compare Source
Changed
App.open_urlautomatically https://github.com/Textualize/textual/pull/5113*) will now not match widgets with the class-textual-system(scrollbars, notifications etc) https://github.com/Textualize/textual/pull/5113Screen.can_viewandWidget.can_viewtoScreen.can_view_entireandWidget.can_view_entirehttps://github.com/Textualize/textual/pull/5174Added
open_linkstoMarkdownandMarkdownViewerwidgets https://github.com/Textualize/textual/pull/5113App.DEFAULT_MODEhttps://github.com/Textualize/textual/pull/5113Containers.HorizontalGroupandContainers.VerticalGrouphttps://github.com/Textualize/textual/pull/5113$,Β£,β¬,(,)symbols to Digits https://github.com/Textualize/textual/pull/5113Button.actionparameter to invoke action when clicked https://github.com/Textualize/textual/pull/5113immediateparameter to scroll methods https://github.com/Textualize/textual/pull/5164textual._loop.loop_from_indexhttps://github.com/Textualize/textual/pull/5164min_colorandmax_colorto Sparklines constructor, which take precedence over CSS https://github.com/Textualize/textual/pull/5174python -m textual, not quite finished but better than the old one https://github.com/Textualize/textual/pull/5174Screen.can_view_partialandWidget.can_view_partialhttps://github.com/Textualize/textual/pull/5174App.is_webproperty to indicate if the app is running via a web browser https://github.com/Textualize/textual/pull/5128EnterandLeaveevents can now be used with theondecorator https://github.com/Textualize/textual/pull/5159Fixed
v0.84.0Compare Source
Fixed
RadioSetnot being scrollable https://github.com/Textualize/textual/issues/5100Added
background-tintCSS rule https://github.com/Textualize/textual/pull/5117:first-of-type,:last-of-type,:odd, and:evenpseudo classes https://github.com/Textualize/textual/pull/5139v0.83.0Compare Source
Added
Region.constrainhttps://github.com/Textualize/textual/pull/5097Changed
Screen.ALLOW_IN_MAXIMIZED_VIEWwill now default toApp.ALLOW_IN_MAXIMIZED_VIEWhttps://github.com/Textualize/textual/pull/5088.-textual-systemwill now be included in the maximize view by default https://github.com/Textualize/textual/pull/5088Widget.absolute_offsetpublic https://github.com/Textualize/textual/pull/5097Region.inflectwill now assume that margins overlap https://github.com/Textualize/textual/pull/5097Pilot.clickand friends will now accept a widget, in addition to a selector https://github.com/Textualize/textual/pull/5095v0.82.0Compare Source
Fixed
Added
DOMNode.is_on_screenproperty https://github.com/Textualize/textual/pull/5063Changed
Widget.set_loadingno longer return an awaitable https://github.com/Textualize/textual/pull/5079v0.81.0Compare Source
Added
x_axisandy_axisparameters toWidget.scroll_to_regionhttps://github.com/Textualize/textual/pull/5047Tree.move_cursor_to_linehttps://github.com/Textualize/textual/pull/5052Screen.pop_until_activehttps://github.com/Textualize/textual/pull/5069Changed
Fixed
v0.80.1Compare Source
Fixed
v0.80.0Compare Source
Added
MaskedInputwidget https://github.com/Textualize/textual/pull/4783"none"value added todock,hatchandsplitstyles https://github.com/Textualize/textual/pull/4982"none"added to box and border style properties (e.gwidget.style.border = "none") https://github.com/Textualize/textual/pull/4982ansi_colorswitch to App to permit ANSI (themed) colors https://github.com/Textualize/textual/pull/5000:ansipseudo class https://github.com/Textualize/textual/pull/5000-ansi-scrollbarstyle to widgets https://github.com/Textualize/textual/pull/5000App.INLINE_PADDINGto define the number of spaces above inline apps https://github.com/Textualize/textual/pull/5000nocolorpsuedoclass when NO_COLOR env var is set-BINDING_GROUP_TITLEnow defaults toNonehttps://github.com/Textualize/textual/pull/5023TreeNode.siblings,TreeNode.next_sibling,TreeNode.previous_sibling,TreeNode.is_collapsedhttps://github.com/Textualize/textual/pull/5023Tree.center_scrollhttps://github.com/Textualize/textual/pull/5023Tree.unselecthttps://github.com/Textualize/textual/pull/5023Changed
scrollbar-size-verticalchanged to2in inline styles to match Widget default CSS (unlikely to affect users) https://github.com/Textualize/textual/pull/4982Toasthttps://github.com/Textualize/textual/pull/4984RichLogresult in slightly different semantics, see docstrings for details https://github.com/Textualize/textual/pull/4978enabledswitch to filters (mostly used internally) https://github.com/Textualize/textual/pull/5000BINDING_GROUP_TITLEnow defaults toNonehttps://github.com/Textualize/textual/pull/5023Fixed
RichLog.writenot respectingwidthparameter https://github.com/Textualize/textual/pull/4978RichLogwriting at wrong width whenwriteoccurs before width is known (e.g. incomposeoron_mount) https://github.com/Textualize/textual/pull/4978RichLog.writeincorrectly shrinking width toRichLog.min_widthwhenshrink=True(now shrinks to fit content area instead) https://github.com/Textualize/textual/pull/4978darkreactive on startup https://github.com/Textualize/textual/pull/4989DataTablecached height issue on re-populating the table when using auto-height rows https://github.com/Textualize/textual/pull/4992inline_no_clear=Truehttps://github.com/Textualize/textual/issues/5019v0.79.1Compare Source
Fixed
v0.79.0Compare Source
Added
DOMNode.check_consume_keyhttps://github.com/Textualize/textual/pull/4940App.ESCAPE_TO_MINIMIZE,App.screen_to_minimize, andScreen.ESCAPE_TO_MINIMIZEhttps://github.com/Textualize/textual/pull/4951DOMNode.query_exactly_onehttps://github.com/Textualize/textual/pull/4950SelectorSet.is_simplehttps://github.com/Textualize/textual/pull/4950Changed
DOMNode.query_onewill notraise TooManyMatcheshttps://github.com/Textualize/textual/pull/4950v0.78.0Compare Source
Added
Screen.maximize,Screen.minimize,Screen.action_maximize,Screen.action_minimize,Widget.is_maximized,Widget.allow_maximize. https://github.com/Textualize/textual/pull/4931Widget.ALLOW_MAXIMIZE,Screen.ALLOW_IN_MAXIMIZED_VIEWclassvars https://github.com/Textualize/textual/pull/4931v0.77.0Compare Source
Added
tooltipto Binding https://github.com/Textualize/textual/pull/4859show_command_palette=Falseto disable) https://github.com/Textualize/textual/pull/4867TOOLTIP_DELAYto App to customize time until a tooltip is displayedRegion.get_spacing_betweenhttps://github.com/Textualize/textual/pull/4876App.COMMAND_PALETTE_KEYto change default command palette key binding https://github.com/Textualize/textual/pull/4867App.get_key_displayhttps://github.com/Textualize/textual/pull/4890DOMNode.BINDING_GROUPhttps://github.com/Textualize/textual/pull/4906DOMNode.HELPclassvar which contains Markdown help to be shown in the help panel https://github.com/Textualize/textual/pull/4915App.get_system_commandshttps://github.com/Textualize/textual/pull/4920Changed
ctrl+phttps://github.com/Textualize/textual/pull/4867ctrl_to_caretandupper_case_keysfrom Footer. These can be implemented inApp.get_key_display.SystemCommandstoSystemCommandsProviderhttps://github.com/Textualize/textual/pull/4920ClassicFooterwidget (please use newFooterwidget) https://github.com/Textualize/textual/pull/4921App.get_key_displaynow requirestextual.binding.Bindinginstead ofstr.Screeninstances inApp.SCREENSandApp.MODESFixed
validate_onvalue isn't a set https://github.com/Textualize/textual/pull/4868Input.cursor_blinkhaving no effect on the blink cycle after mounting https://github.com/Textualize/textual/pull/4869App.MODESbeing the same for all instances -- per-instance modes now exist internallyv0.76.0Compare Source
Changed
Size.cip_size, which was a clone ofcrop_sizeDOMNode._automatic_refreshtoDOMNode.automatic_refreshto allow for customization https://github.com/Textualize/textual/pull/4847Fixed
Added
ESCDELAYenv var when detecting escape keys https://github.com/Textualize/textual/pull/4848v0.75.1Compare Source
Fixed
v0.75.0Compare Source
Added
App.open_urlto open URLs in the web browser. When running via the WebDriver, the URL will be opened in the browser that is controlling the app https://github.com/Textualize/textual/pull/4819Widget.is_mouse_overhttps://github.com/Textualize/textual/pull/4818nodeattribute toevents.Enterandevents.Leavehttps://github.com/Textualize/textual/pull/4818Changed
events.Enterandevents.Leaveevents now bubble. https://github.com/Textualize/textual/pull/4818Widget.mouse_overtoWidget.mouse_hoverhttps://github.com/Textualize/textual/pull/4818Fixed
mutate_reactiveand data binding https://github.com/Textualize/textual/pull/4828v0.74.0Compare Source
Fixed
Changed
Screen.dismisswith no arguments will invoke the screen callback withNone(previously the callback wasn't invoke at all). https://github.com/Textualize/textual/pull/4795v0.73.0Compare Source
Added
TextArea.line_number_startreactive attribute https://github.com/Textualize/textual/pull/4471TextArea.matching_bracket_locationproperty https://github.com/Textualize/textual/pull/4764DOMNode.mutate_reactivehttps://github.com/Textualize/textual/pull/4731textual.color.Gradienthttps://github.com/Textualize/textual/pull/4739textual.color.Gradient.get_rich_colorhttps://github.com/Textualize/textual/pull/4739Widget.remove_childrennow accepts an iterable if widgets in addition to a selector https://github.com/Textualize/textual/issues/4735ValueErrorwith improved error message when number of cells inserted usingDataTable.add_rowdoesn't match the number of columns in the table https://github.com/Textualize/textual/pull/4742Tree.move_cursorto programmatically move the cursor without selecting the node https://github.com/Textualize/textual/pull/4753Footercomponent style handling of padding for the key/description https://github.com/Textualize/textual/pull/4651StringKeyis now exported fromdata_tablehttps://github.com/Textualize/textual/pull/4760TreeNode.addandTreeNode.add_leafnow acceptsbeforeandafterarguments to position a new node https://github.com/Textualize/textual/pull/4772gradientparameter to theProgressBarwidget https://github.com/Textualize/textual/pull/4774Fixed
Tabswhere disabled tabs could still be activated by clicking the underline https://github.com/Textualize/textual/issues/4701DataTablepoor performance on startup and focus change when rows contain multi-line content https://github.com/Textualize/textual/pull/4748TreeandDirectoryTreehorizontal scrolling off-by-2 https://github.com/Textualize/textual/pull/4744Tree.select_nodesendsNodeSelectedmessage https://github.com/Textualize/textual/pull/4753CommandPalettenot focusing the input when opened whenApp.AUTO_FOCUSdoesn't match the input https://github.com/Textualize/textual/pull/4763SelectionList.SelectionToggledwill now be sent for each option when a bulk toggle is performed (e.g.toggle_all). Previously no messages were sent at all. https://github.com/Textualize/textual/pull/4759Changed
TreeNodeSelectedmessages are now posted beforeTreeNodeExpandedmessageswhen an expandable node is selechttps://github.com/Textualize/textual/pull/47534753
Markdown.LinkClicked.hrefis now automatically unquoted https://github.com/Textualize/textual/pull/4749TreeandDirectoryTreewill no longer linger after the mouse leaves the widget https://github.com/Textualize/textual/pull/4766v0.72.0Changed
Fixed
Configuration
π Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.