Make use of improved lib in new match clipboard pane#3197
Make use of improved lib in new match clipboard pane#3197jmcouffin merged 5 commits intopyrevitlabs:developfrom
Conversation
|
Unable to trigger custom agent "Code Reviewer". You have run out of credits 😔 |
There was a problem hiding this comment.
Pull request overview
Updates the Match History Clipboard pane to leverage the improved docking-panel helpers, add localization for UI strings, and introduce iconized button layouts.
Changes:
- Replaced manual DockablePane GUID handling with
pyrevit.formsdockable panel helpers in the smartbutton script. - Switched hard-coded UI strings to localized
DynamicResourcekeys and added per-locale resource dictionaries. - Updated button content to include icons + text for improved UI clarity.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/edit1.stack/Match.splitpushbutton/Match History Clipboard.smartbutton/script.py | Migrates dockable panel toggling logic to new helper APIs and updates smartbutton icon handling. |
| extensions/pyRevitTools.extension/lib/match/clipboard_pane_ui.xaml | Replaces literal strings with localized resources and updates buttons to icon+text layouts. |
| extensions/pyRevitTools.extension/lib/match/clipboard_pane_ui.ResourceDictionary.*.xaml | Adds localized string resources (en, de, es, fr, pt_br, ru, chinese_s) used by the pane XAML. |
...Modify.panel/edit1.stack/Match.splitpushbutton/Match History Clipboard.smartbutton/script.py
Show resolved
Hide resolved
...Modify.panel/edit1.stack/Match.splitpushbutton/Match History Clipboard.smartbutton/script.py
Show resolved
Hide resolved
...Modify.panel/edit1.stack/Match.splitpushbutton/Match History Clipboard.smartbutton/script.py
Show resolved
Hide resolved
...Modify.panel/edit1.stack/Match.splitpushbutton/Match History Clipboard.smartbutton/script.py
Show resolved
Hide resolved
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26088+1318-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26089+1231-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+0549-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+1533-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+1536-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+1540-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+1540-wip |
|
📦 New work-in-progress (wip) builds are available for 6.1.0.26090+1556-wip |
|
📦 New public release are available for 6.2.0.26090+1754 |
Description
make use of #3177 to
Checklist
Before submitting your pull request, ensure the following requirements are met:
pipenv run black {source_file_or_directory}