Skip to content

refactor(web): normalize logical CSS in member and token forms - #44638

Merged
lyzno1 merged 3 commits into
mainfrom
codex/rtl-forms-lists-followup
Oct 23, 2026
Merged

lyzno1 merged 3 commits into
mainfrom
codex/rtl-forms-lists-followup

Conversation

@lyzno1

@lyzno1 lyzno1 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #44621 to normalize CSS in workspace member, resource access token, and API key forms and lists. Replace physical spacing and alignment with logical CSS while preserving the existing desktop LTR layout, and prune the corresponding lint suppressions. The changes also correct the directional layout defects found during verification within these modules.

  • Use logical spacing and start alignment, explicitly including table headers to preserve Chromium's existing LTR alignment. Mirror the member banner gradient with its border and content.
  • Isolate member email addresses and invitation URLs with native dir="ltr" inline markup while retaining the surrounding RTL layout.
  • Let the resource-token toolbar wrap on narrow screens and keep its table's overflow within its scroll container. Desktop LTR geometry stays unchanged.
  • Prune 26 resolved logical-property suppressions across the three modules.

Each module is a separate commit. Canvas, drag interactions, locale plumbing, and unrelated pages are outside this PR; no direction hook or shared abstraction was added.

Validation

  • 162 existing unit tests passed: members 140, resource access tokens 17, API keys 5.
  • Existing member-invitation Chromium focus test passed.
  • Live Chrome: member list, details and invitation form in LTR/RTL; numeric email visual order; Persian API-key scope selection, nested picker and selected-item controls.
  • Temporary Chromium component fixtures: resource token list/edit/selection and API key list/scope in both directions, including 390px layouts. Fixtures used test data and were removed before commit; no new permanent browser tests.
  • Before/after LTR geometry and spacing comparisons: 29 member elements, 22 resource-token elements, and 22 API-key elements unchanged. Resource-token narrow-screen document overflow was reproduced and eliminated in both directions.
  • Root pnpm exec vp run -w check, Web type-check, and suppression pruning passed.

The local resource-token feature is disabled, so that module was verified using its real components with mocked service responses, not the live gated route. No invitations, credentials, or permissions were created or changed during verification.

@github-actions github-actions Bot added size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web. labels Oct 23, 2026
@lyzno1
lyzno1 marked this pull request as ready for review October 23, 2026 11:10
@lyzno1 lyzno1 changed the title fix(web): support RTL in member and credential forms refactor(web): normalize logical CSS in member and token forms Oct 23, 2026
@lyzno1
lyzno1 enabled auto-merge October 23, 2026 11:12
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.42%. Comparing base (44564a1) to head (fb79e68).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...header/account-setting/members-page/member-row.tsx 0.00% 1 Missing ⚠️

❌ Your project status has failed because the head coverage (79.42%) is below the adjusted base coverage (88.30%). You can increase the head coverage or adjust the Removed Code Behavior.

❗ There is a different number of reports uploaded between BASE (44564a1) and HEAD (fb79e68). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (44564a1) HEAD (fb79e68)
web 5 3
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #44638      +/-   ##
==========================================
- Coverage   89.30%   79.42%   -9.88%     
==========================================
  Files        5983     5983              
  Lines      375043   375043              
  Branches    76062    76062              
==========================================
- Hits       334916   297889   -37027     
- Misses      34091    71118   +37027     
  Partials     6036     6036              
Flag Coverage Δ
dify-ui 92.38% <ø> (ø)
web 64.82% <66.66%> (-24.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lyzno1
lyzno1 added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit 84f1541 Oct 23, 2026
54 of 56 checks passed
@lyzno1
lyzno1 deleted the codex/rtl-forms-lists-followup branch October 23, 2026 11:22
@laipz8200 laipz8200 mentioned this pull request Nov 3, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants