Skip to content

fix: MUI v6 UI regressions & explorer tab layout cleanup#955

Merged
EightRice merged 1 commit into
masterfrom
fix/mui-v6-ui-regressions
Jul 7, 2026
Merged

fix: MUI v6 UI regressions & explorer tab layout cleanup#955
EightRice merged 1 commit into
masterfrom
fix/mui-v6-ui-regressions

Conversation

@EightRice

Copy link
Copy Markdown
Collaborator

Summary

Fixes visual regressions introduced by the @material-ui v4 → @mui v6 migration (#953), plus a set of explorer tab layout improvements and one data-resilience fix. All changes are on the L1 / Tezos explorer surfaces; the Etherlink path is untouched.

MUI v6 regressions

  • TextField outlined border — v5+ changed the default TextField variant from standard to outlined, so every field the app styles as a filled input gained a stray notched-outline <fieldset>. Restored variant: "standard" globally via the theme.
  • Dead v4 CSS selectors that silently stopped matching in v6:
    • .MuiInput-underline.MuiInput-root (the underline pseudo-elements moved onto the root in v5) across all styled text fields — removes the phantom underline.
    • &$disabled&.Mui-disabled on SmallButton/SmallButtonDialog, and dropped a backgroundColor !important that was defeating MUI's disabled greying. Disabled buttons now grey out (grey background + muted text) instead of green-with-unreadable-near-white text.
  • New Proposal modal — option cards were fixed-height and clipped two-line descriptions; now minHeight + stretch so they grow to fit and stay row-aligned.

Explorer tab cleanup (Proposals / Treasury / Registry)

  • Removed the redundant in-content page titles and description subtitles (the selected tab already is the title).
  • Proposals: moved Execute / Drop Expired / New Proposal onto the On-Chain/Off-Chain switch row (top right); removed the now-empty hero header.
  • Treasury: moved New Transfer onto the Tokens/NFTs/Transactions switch row; removed Copy Address and the standalone info icon; the wrong-cycle tooltip now sits on the button itself.
  • Registry: New ItemEdit/Add Item using the shared SmallButton; tooltip on the button; removed the address/copy header; added a faded empty state (icon + "No items in registry yet…"); the update-history header is hidden when empty; a min-height keeps the footer below the fold regardless of item count.

Data resilience

  • useDAO now catches a failure of the supplementary lite-backend fetch, so a lite outage no longer rejects the whole DAO query and mislabels an on-chain DAO as "being indexed."

Review on deploy preview

  • Open the New Proposal modal → cards fit their descriptions.
  • Off-Chain Poll / creator / filter dialogs → text fields have no outer outline or stray underline.
  • Treasury/Registry in a non-creation cycle → action buttons grey out with a hover tooltip, text readable.
  • Proposals/Treasury/Registry → action buttons sit on the tab-switch row; no duplicate titles.
  • A registry with no items → faded empty state, footer below the fold, no stray table headers.

@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit b7cca91
🔍 Latest deploy log https://app.netlify.com/projects/tezos-homebase/deploys/6a4bbce36c3a70000868b7ff
😎 Deploy Preview https://deploy-preview-955--tezos-homebase.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 27 (🟢 up 1 from production)
Accessibility: 91 (no change from production)
Best Practices: 83 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Fixes visual regressions introduced by the @material-ui v4 -> @mui v6
migration, plus some explorer tab layout improvements.

MUI v6 regressions:
- TextField default variant reverted to "standard" globally (v5+ changed
  it to "outlined", which added a stray notched-outline border to every
  field the app styles as a filled input).
- Replaced dead v4 CSS selectors that no longer match in v6:
  .MuiInput-underline -> .MuiInput-root (underline pseudo-elements moved
  onto the root in v5) across all styled text fields; and &$disabled ->
  &.Mui-disabled on SmallButton/SmallButtonDialog so disabled buttons grey
  out (background + muted text) instead of showing green with near-white,
  unreadable text.
- New Proposal modal: option cards grew to fit two-line descriptions
  instead of clipping (fixed height -> minHeight + stretch).

Explorer tab cleanup (L1 / Tezos):
- Removed redundant in-content page titles and description subtitles from
  Proposals, Treasury, and Registry (the selected tab is the title).
- Proposals: moved Execute / Drop Expired / New Proposal onto the
  On-Chain/Off-Chain switch row (top right); dropped the empty hero header.
- Treasury: moved New Transfer onto the Tokens/NFTs/Transactions switch row;
  removed Copy Address and the standalone info icon; the disabled-cycle
  tooltip now sits on the button itself.
- Registry: renamed New Item -> Edit/Add Item using the shared SmallButton;
  tooltip on the button; removed the address/copy header; added a faded
  empty state (icon + "No items in registry yet..."); hid the update-history
  header when empty; min-height keeps the footer below the fold.

Data resilience:
- useDAO now tolerates a lite-backend failure: the supplementary lite fetch
  is caught so a lite outage no longer takes down the entire on-chain DAO
  page (was surfacing as a false "being indexed" screen).
@EightRice
EightRice force-pushed the fix/mui-v6-ui-regressions branch from 56018ca to b7cca91 Compare July 6, 2026 14:34
@EightRice
EightRice merged commit 7c4766d into master Jul 7, 2026
6 checks passed
@EightRice
EightRice deleted the fix/mui-v6-ui-regressions branch July 7, 2026 18:24
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