Skip to content

feat(console): add paste submit and shared widget helpers - #174

Merged
SunYanbox merged 1 commit into
developfrom
refactor-console-ui-widgets
Jul 13, 2026
Merged

feat(console): add paste submit and shared widget helpers#174
SunYanbox merged 1 commit into
developfrom
refactor-console-ui-widgets

Conversation

@SunYanbox

Copy link
Copy Markdown
Owner

Summary

  • add a paste-and-submit REPL action, update input button sizing, and localize user-facing REPL strings
  • initialize workspace logging and add gettext-backed i18n setup
  • extract shared Textual modal dialog and collapsible copy helpers, then reuse them across console widgets
  • collapse audit/tool result sections by default and avoid generated Textual IDs from tool names
  • add focused Textual widget tests for copy buttons, non-ASCII tool names, and REPL input button layout

Files

  • .gitignore
  • src/console/commands/workspaces/workspace_cmd.py
  • src/console/handlers/tool_handler.py
  • src/console/main.py
  • src/console/ui/repl.py
  • src/console/ui/widgets/audit_tab.py
  • src/console/ui/widgets/base_dialog.py
  • src/console/ui/widgets/collapsible_helper.py
  • src/console/ui/widgets/env_config_tab.py
  • src/console/ui/widgets/shell_result_tab.py
  • src/console/ui/widgets/stats_tab.py
  • src/console/ui/widgets/tab_mixin.py
  • src/console/ui/widgets/tools_result_widget.py
  • src/core/logger.py
  • src/i18n.py
  • tests/console/ui/test_textual_widgets.py

- add a paste-and-submit REPL action with button sizing updates
- initialize workspace logging and gettext-backed UI translations
- extract shared Textual modal dialog and collapsible copy helpers
- reuse helpers in env config, stats, shell result, and tool result widgets
- collapse audit/tool result sections by default and add widget coverage
- ignore local agent metadata and skills lock files
@SunYanbox SunYanbox linked an issue Jul 13, 2026 that may be closed by this pull request
@SunYanbox
SunYanbox merged commit 21636a4 into develop Jul 13, 2026
3 checks passed
@SunYanbox
SunYanbox deleted the refactor-console-ui-widgets branch July 13, 2026 06:32
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.

[Refactor] UI System Refactoring / UI系统重构

1 participant