Skip to content

webui: wrap long values in the user system variable table - #89

Merged
jens-maus merged 1 commit into
mainfrom
jens-maus/migrate-0094-webui-user-sysvar-table-word-wrap
Sep 30, 2026
Merged

jens-maus merged 1 commit into
mainfrom
jens-maus/migrate-0094-webui-user-sysvar-table-word-wrap

Conversation

@jens-maus

@jens-maus jens-maus commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Original OpenCCU rootfs patch: 0094
Original filename: 0094-WebUI-userSysVarTblValuesWordWrap.patch
Original patch: https://github.com/OpenCCU/OpenCCU/blob/e183b6f2c08698fdb800ba59da73030cf2bab3b4/buildroot-external/package/openccu-base/rootfs-patches/0094-WebUI-userSysVarTblValuesWordWrap.patch
Original PR: OpenCCU/OpenCCU#991

The system variable table of the user configuration ("Einstellungen" > "Benutzerverwaltung" > user > "Systemvariablen", built by BuildUserSvTable() in system.fn) uses the table class .CLASS02105 with the automatic table layout. Long names, descriptions or values without spaces therefore widened the table beyond the dialog and caused a horizontal scrollbar. This adds table-layout: fixed and word-wrap: break-word to the rule, so the columns keep the widths defined in the table's colgroup and long words break instead. .CLASS02105 is used only by this table.

The change is made in src/webui/www_source/webui/css/x_style.css, which create_style_css.tcl concatenates into the installed www/webui/style.css. The file's CRLF line endings are preserved. The root www/webui/style.css is an unused legacy copy and is left unchanged.

Eight earlier OpenCCU rootfs patches (0029 to 0090) also modify the generated www/webui/style.css. None of their hunks covers this rule, so they all still apply unchanged. The later patches already contain the two lines in their workspaces.

Validation

  • OpenCCU scripts/base-patch-migration.py validate with the canonical Buildroot 2026.08 git4 archive of this branch (f9d57a8c, sha256 5712c8a59eb2ea81fcd8309daded32954966828baff7d376be3fd300f09a63b7) and --skip-patch 0094: PASS (the other 114 rootfs patches apply with zero fuzz).
  • compare against the current pin baseline (c0909d88, all 115 patches): IDENTICAL (4668 entries).

OpenCCU cleanup PR (patch removal, pin and archive hash update): OpenCCU/OpenCCU#4291

The system variable table of the user configuration ("Einstellungen" >
"Benutzerverwaltung" > user > "Systemvariablen") uses the automatic
table layout, so long names, descriptions or values without spaces
widened the table beyond the dialog and caused a horizontal scrollbar.
Use a fixed table layout and let long words break, so the columns keep
the widths defined in the colgroup.

This natively replaces OpenCCU rootfs patch
0094-WebUI-userSysVarTblValuesWordWrap.patch.
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 9c7ceced-3fc5-41d0-b29b-9653e2a8b4c0

📥 Commits

Reviewing files that changed from the base of the PR and between c0909d8 and f9d57a8.

📒 Files selected for processing (1)
  • src/webui/www_source/webui/css/x_style.css
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jens-maus
jens-maus merged commit 21c987c into main Sep 30, 2026
5 checks passed
@jens-maus
jens-maus deleted the jens-maus/migrate-0094-webui-user-sysvar-table-word-wrap branch September 30, 2026 20:17
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.

1 participant