Repository navigation
feat(web): mobile UX overhaul - #35
Merged
Merged
Conversation
Surfaces addons/extensions per provider on the chain detail page, matching the provider detail page styling (purple addons, violet extensions).
Bump hamburger and search tap targets to 48px, widen the drawer to 85vw, upsize drawer items (text, icons, padding), and hide the block badge on mobile to free up the header.
Range buttons become full-width segmented pills on mobile. Chart legends are rendered as plain React above the chart (the recharts Legend with custom content didn't reserve space and overlapped the brush). IndexChart tightens margins, hides the QoS y-axis, and widens the brush traveller on mobile. ChainSelect and the consumer dropdown open a full-screen picker on mobile, matching the mobile search pattern.
On mobile, the top-5 providers and chains render as tappable rows with avatar/icon, name, and key stats — much more readable than a cramped 3-column table. Desktop keeps the sortable table.
Header is sticky below the app header when scrolling, dividers move to cells with a subtler color, hover is desktop-only with an active: state for tap feedback, and a new `mobileOnly` column meta mirrors `hideOnMobile` for columns that should only appear on small screens (e.g. expand chevrons).
Both list pages now render a compact card list on mobile (avatar or chain icon, name, secondary line, key metric on the right) and keep the sortable table on desktop. Providers page also bumps its API limit so the whole list loads.
- Stat cards: add Total Relays and Total CU, consolidate the total with the 30d number into a single card on mobile (hero value with "X in 30d" subtitle). Swap the Total Stake LavaAmount for a KMB-formatted value so it fits narrow desktop cards. - Providers/services tables: drop wide sub-labels on mobile (full lava@ address, full chain name), add a mobile-only expand chevron column, and surface the hidden columns (self stake, delegation, commission, 30d counts, location, addons/extensions) inside the expanded sub-row along with the health interfaces. - Filters: Status becomes a full-width segmented control on mobile, Region becomes a native <select>, and the reset button stretches full-width. Desktop filters unchanged. - Chain providers table no longer paginates — sticky header keeps context while scrolling.
Hide the right Y-axis, tighten chart margins, and widen the brush traveller on mobile — the chart no longer looks right-shifted on a phone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pass over the explorer UI to make it usable on phones (tested against S25 Ultra). No API/data changes beyond one new column; everything else is frontend.
85vw max-w-sm), bigger drawer items, hid the block badge on mobile.<Legend>(the custom-content version didn't reserve space → overlapped the brush); legends are now plain React above each chart. Range buttons are full-width segmented pills on mobile. IndexChart + ChainChart hide the right Y-axis on mobile, tighten margins, widen the brush traveller.<select>.active:state, newmobileOnlycolumn meta."X in 30d"subtitle). Total Stake switched to KMB formatting so it stops overflowing narrow cards. Provider detail stats stack one per row on mobile.Test plan