fix(kanban): preserve dashboard text casing#26420
Conversation
|
Thanks for the pointer. I’ll leave this open as an alternate with regression coverage for the CSS path, but I’m fine with maintainers taking #26413 instead and closing this if that lands first. |
9d07224 to
e037cfd
Compare
|
Please use PULL_REQUEST_TEMPLATE.md |
There was a problem hiding this comment.
Pull request overview
This PR addresses dashboard-inherited ALL-CAPS styling in the Kanban dashboard plugin so case-sensitive/user-entered text is rendered with its original casing, and adds a regression test to prevent uppercase transforms from creeping back in. It also includes small test adjustments for Nous-provider parity and a robustness tweak in gateway PATH discovery.
Changes:
- Reset inherited
text-transformat the Kanban plugin boundary and remove uppercase transforms from several Kanban UI label surfaces. - Add a regression test that inspects the built Kanban CSS to ensure it opts out of inherited uppercase and doesn’t reintroduce
text-transform: uppercaseon key selectors. - Adjust provider parity tests to pass the model at agent construction time for Nous portal tests; harden gateway PATH directory checks against
OSError.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
plugins/kanban/dashboard/dist/style.css |
Resets inherited casing and removes uppercase styling from Kanban UI selectors. |
tests/plugins/test_kanban_dashboard_plugin.py |
Adds CSS regression coverage ensuring Kanban doesn’t force uppercase. |
tests/run_agent/test_provider_parity.py |
Updates Nous portal parity tests to pass model into _make_agent. |
hermes_cli/gateway.py |
Avoids crashes when checking candidate PATH dirs by handling OSError from Path.is_dir(). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| start = css.index(selector) | ||
| open_brace = css.index("{", start) | ||
| close_brace = css.index("}", open_brace) |
|
Thanks @aqilaziz — closing as superseded. Dashboard text-casing fixes have landed on main via |
Fixes #26408
Summary:
Tests: