You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 359f900
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(weighted-score): unify Edit Weights affordance via dropdown action entry
Replace per-surface Edit Weights buttons (TreeTab heatmap, ItemDB unique
sort) with a shared action entry appended to any sort/heatmap dropdown
that exposes Weighted Score. NotableDB anoint sort gains the same
affordance (no Edit Weights button before).
Why: the ItemDB pane is 360 px wide; the previous Edit Weights button
shared the same anchor as the League dropdown and forced a mutually
exclusive show/hide between League filter and Edit Weights. A user who
wanted to filter by League and sort by Weighted Score could not do both.
WeightedScore.appendEditWeightsAction(list, openEditor) sentinel-checks
for any entry with isWeightedScore and appends a single action entry.
Each consumer dropdown selFunc gates on value.isAction: invokes
value.action() then restores the prior selection via SelByValue.
Tests: 2 new specs in TestWeightedScore_spec (no-op without WS, append
plus invocable callback when WS present). Peer-reviewed by Codex
(approved, no blocking findings).
0 commit comments