Skip to content

remove "Limit visible console output" (virtual console) feature - #16105

Merged
gtritchie merged 1 commit into
mainfrom
deprecate-virtual-console
Jun 3, 2025
Merged

gtritchie merged 1 commit into
mainfrom
deprecate-virtual-console

Conversation

@gtritchie

Copy link
Copy Markdown
Member

Intent

Addresses #16104

Approach

Removed the "Limit visible console output" preference, and removed code that acted upon it being set.

Automated Tests

  • locally ran and passed all unit tests and BRAT tests

QA Notes

Verify preference no longer shown in Global Options (under Console/Truncation -> "Limit visible console output"), and the console is behaving (should be covered by automated tests plus routine usage).

Documentation

None

Checklist

  • If this PR adds a new feature, or fixes a bug in a previously released version, it includes an entry in NEWS.md
  • If this PR adds or changes UI, the updated UI meets accessibility standards
  • A reviewer is assigned to this PR (if unsure who to assign, check Area Owners list)
  • This PR passes all local unit tests

@gtritchie gtritchie added this to the Cucumberleaf Sunflower milestone Jun 2, 2025
@gtritchie
gtritchie requested a review from kevinushey June 2, 2025 22:08
@posit-snyk-bot

posit-snyk-bot commented Jun 2, 2025 •

Copy link
Copy Markdown
Contributor

🎉 Snyk checks have passed. No issues have been found so far.

✅ security/snyk check is complete. No issues have been found. (View Details)

✅ license/snyk check is complete. No issues have been found. (View Details)

@kevinushey kevinushey left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@gtritchie
gtritchie merged commit 40ae76a into main Jun 3, 2025
@gtritchie
gtritchie deleted the deprecate-virtual-console branch June 3, 2025 15:15
gtritchie added a commit that referenced this pull request Nov 17, 2026
* Update "Hide Traceback" label when traceback is shown

setTracebackVisible() only scanned the error box's direct children, so
it never reached the label nested inside the commands panel. Search the
subtree for both the label and the stack trace instead.

Addresses #19645.

* Toggle traceback via its UiBinder fields

The DOM walk existed for the virtual scroller, removed in #16105. A
subtree query could match a nested ConsoleError's elements, as when a
chunk's errorEl is an earlier error widget; the fields cannot.

Addresses #19645.

* Localize the initial Show Traceback label

The label started as hard-coded English in the UiBinder template and
switched to the translated text on first toggle (e.g. French).

Addresses #19645.

* Test the label of an auto-expanded traceback

Addresses #19645.

* Translate the Rerun with Debug label

The label was hard-coded English in the UiBinder template. It now comes
from StudioClientCommonConstants, with a French translation.

Addresses #19645.

* Replace stale VirtualScroller comment in ConsoleError

The comment described the DOM walk that setTracebackVisible() no longer
uses. Note instead why clicks are handled by a listener on the root.

Addresses #19645.
gtritchie added a commit that referenced this pull request Nov 25, 2026
Its last caller was removed with the virtual console feature (#16105).
gtritchie added a commit that referenced this pull request Nov 26, 2026
* Outline the whole console output region on keyboard focus

Addresses #19812.

* Take the console's pending input out of the tab order

Addresses #19812.

* Let Tab from the console output move focus to the input

Addresses #19812.

* Hide the console output outline after mouse focus

Addresses #19812.

* Show console output focus from menus and keep mouse focus marked

Target a stable class rather than the console's element id, so the
progress dialog's output follows the same rules. Outline on :focus so
Focus Console Output chosen with the mouse shows it, and keep the mouse
mark when the window loses focus.

Addresses #19812.

* Announce when Focus Console Output has no output to focus

Addresses #19812.

* Treat console output cleared by a form feed as empty

Addresses #19812.

* Remove unused focusConsoleWarningMessage string

Its last caller was removed with the virtual console feature (#16105).

* Clear console output mouse mark when focus lands elsewhere

A focusout while the window was inactive left the mark set, hiding the
outline on the next keyboard visit.

Addresses #19812.

* Shorten the console output outline comment

* Name Ctrl+backtick for Focus Console Output in NEWS
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.

3 participants