Skip to content

feat(screener): one row per coin per exchange and a clean default view - #1492

Merged
kirillDevPro merged 9 commits into
mainfrom
feat/screener-default-view
Nov 26, 2026
Merged

kirillDevPro merged 9 commits into
mainfrom
feat/screener-default-view

Conversation

@kirillDevPro

Copy link
Copy Markdown
Collaborator

What & why

On "all cores" the Screener repeats every market once per core: a coin traded on 33 cores of one
exchange fills 33 identical rows that differ only in leverage, orders and PnL. The default layout
also showed all 29 columns, so narrow cells hard-clipped into their neighbours ("10 / 10 Is" glued to
the price step). The window should open readable without any setup.

  • One row per coin per exchange on a multi-core scope, keyed by exchange id. Orders, PnL,
    Session and Pos are summed; leverage reads 10 / 10 I, a range 3–5 / 5 I, or I/C for mixed
    margin modes. The Core cell shows a plural core count with a per-core breakdown tooltip; one member
    shows its name. A single selected core keeps today's per-core rows. A click opens the member holding
    a position or orders, else the first member; the coin menu targets the group's cores.
  • Curated default view: 16 columns, Vol. descending, the Vol. filter opening at 1m. Stored
    layouts are reset to it once (column migration 4); the column menu gains "Default view".
  • Short cell texts for Leverage (I/C), Type and Listed in all eight locales; the filter menus keep
    the full words.
  • No glued cells: narrow cells end in an ellipsis with an overflow-only full-text tooltip
    (feat(table): ellipsis and an overflow-only tooltip for narrow cells MoonUI#181, re-pinned here).
  • Grouped selects stay cheap: 4000 markets x 60 cores, first grouped select 1.2 ms vs 43 ms for the
    ungrouped path (ignored probe grouped_select_4000x60_probe).

How to verify

  • cargo test -p moon-ui-gpui --bin moonterminal screener:: (92 passed), including
    default_view_cells_stay_inside_columns_at_min_width_ru_en at the 900x480 minimum window.
  • cargo test -p moon-ui-gpui --test theme_contract -- core_pick:: dock_chrome:: fonts translations::
  • cargo clippy -p moon-ui-gpui --all-targets -- -D warnings, cargo fmt --all -- --check,
    make tour-check.
  • Open the Screener with several cores connected: one row per coin per exchange, 16 columns.

@kirillDevPro
kirillDevPro merged commit 2c252b4 into main Nov 26, 2026
16 checks passed
@kirillDevPro
kirillDevPro deleted the feat/screener-default-view branch November 26, 2026 19:31
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