The phone legend shows the pin caption once, not twice
LegendMobile already shows "The dot marks where this people is found, not a town or a boundary." once, floating above the sheet, and placed so that it takes no room from the options inside. The SemanticTreeLegend it renders inside the sheet printed the same sentence again, so with the sheet open a phone reader saw it twice. Measured on Prayer Progress at 390 on the shared browser, with the sheet opened through its own toggle (pp-caption.mjs): - before, on development as served by DX Life: 2 visible copies on / and on the Deep Research tab, the floating note plus the tree's note inside the sheet; - after, Prayer Progress rebuilt locally with this change: 1 visible copy, the floating note, in en and ar; - desktop, 1440: still 1 copy, the desktop legend's own tree, unchanged. The sheet's tree now gets :pin-note="false". The detail view keeps its own note, which carries the shared-point wording. Library only. Every bundle that renders LegendMobile needs a rebuild to ship it.
This commit is contained in:
parent
29634ed075
commit
f19200af04
1 changed files with 7 additions and 1 deletions
|
|
@ -890,9 +890,15 @@ onBeforeUnmount(() => {
|
|||
<!-- Semantic-tree tabs (Languages, People Groups, WAGF Regions):
|
||||
SemanticTreeLegend (PPLR-ported, R4). Caret injected via
|
||||
#title-caret slot so it sits in column 1 of the .stl-titlebar,
|
||||
vertically aligned with the title text. -->
|
||||
vertically aligned with the title text.
|
||||
★ :pin-note="false": this sheet already shows the pin caption ONCE, floating above it
|
||||
(the ApproxPinNote at the top of this template). The tree's own copy printed the same
|
||||
sentence a second time inside the open sheet (measured on Prayer Progress at 390, en and
|
||||
ar: 2 visible copies with the sheet open). The detail view keeps its own note, which
|
||||
carries the shared-point wording. -->
|
||||
<SemanticTreeLegend
|
||||
v-else-if="legendType !== 'default'"
|
||||
:pin-note="false"
|
||||
:nodes="treeForMobile"
|
||||
:tabs="tabsForMobile"
|
||||
:default-tab="defaultTab"
|
||||
|
|
|
|||
Loading…
Reference in a new issue