Skip to content

fix(map): show the Mapbox logo and attribution - #330

Merged
sydevs-bot merged 20 commits into
mainfrom
claude/fix-324-map-attribution
Oct 27, 2026
Merged

sydevs-bot merged 20 commits into
mainfrom
claude/fix-324-map-attribution

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The Mapbox wordmark and a compact attribution are now visible, in two fixed corners: the wordmark at bottom-right, the ⓘ at top-right beneath the locate control.
  • The placement is two construction-time literals and nothing else. The review replaced the measured per-layout version, so a useIsWide read, a custom property on the canvas and two CSS rules all go with it.
  • The phone sheet covers the wordmark, and that is accepted — the only alternative is buying the measurement back. Recorded as an exception on fix(map): show the Mapbox logo and attribution #324.
  • The per-edit selection ceiling, ratcheted to 17 and re-timed. This PR's new spec and fix(ui): allow pinch-zoom and stop iOS zooming into fields #322's each take a slot in it, so the pin went red on a base merge rather than on either branch.

Change outline

Flow — who picks each corner

Nothing in Mapbox can re-choose a corner after the map is built. Corners that never move do not need to.

 Mapbox()                                      src/components/organisms/Mapbox/Map.tsx
   <ReactMapGL>
      attributionControl={false}               # mapbox's own is unpositionable
+     logoPosition="bottom-right"              # read once, in the Map constructor
      <GeolocateControl …/>                    # top-right, unchanged
+     <AttributionControl compact position="top-right" />
                                               # the one corner no drawer covers
-  useIsWide(frameElement())                   # gone — neither corner follows the layout
-  canvasStyle: '--sy-map-attribution'         # gone
-.mapboxgl-ctrl-bottom-left                    src/styles/globals.css
-  inset: var(--sy-map-attribution, …)         # gone, and with it the fallbackless-var()
-  > .mapboxgl-ctrl { margin: 10px }           #   exemption assert-css-scoped had to allow
 [data-sy-expanded] .mapboxgl-ctrl-top-right   # unchanged; its comment now lists two
   margin-top: 40px                            #   controls in that column, not three

Which corner each one takes, and why

ⓘ   top-right     the only corner no drawer covers. The side panel spans x 16–368, so
                  mapbox's default bottom-left is under it; SNAP_POINTS' PEEK_SNAP is
                  '80px', so the sheet covers the whole bottom edge at EVERY narrow
                  snap. The cog takes the inline start, and GeolocateControl is here.
logo bottom-right clear of the panel on a wide embed. Covered by that same peek on a
                  narrow one — the accepted exception, since escaping that edge needs
                  the per-layout offset the review ruled out.

Neither control can be dropped: Mapbox requires the wordmark outright, and the text attribution for any map using its styles or data.

Contract — what a host sees

 docs/embedding.md § Permissions Policy        unchanged — the control reaches for no device API
 docs/embedding.md § Content-Security-Policy   unchanged — no new origin, no new fetch
 CHANGELOG.md § Fixed                          rewritten: one corner per credit, and the
                                               phone sheet named as still covering the wordmark

Test results

  • Lean gate on b531b3e: ✓ .claude/skills/pr-prep/check.sh — lint, typecheck, 1793 unit tests across 152 files (89s), on the merged base.
  • --full: ✓ pnpm build and pnpm size on ea2713e, including assert-css-scoped.mjs (1190 rules confined, 768 var() references resolved) and assert-no-sourcemaps.mjs. Not re-run on this push, which changes one spec, four comments and two docs — CI runs build and size.
  • Security review: triggered (src/styles/ is a trigger path) and clean. globals.css carries no declaration change at all on this branch: strip its comments and it is byte-identical to origin/main's, so the trigger fired on prose. The one behavioural line, logoPosition, is a static literal matched against mapbox's fixed container set. No customAttribution anywhere in src/, and no <Source> sets attribution, so the control's innerHTML sink takes only mapbox's own credits through its sanitizeLinks.
  • Each spec case watched failing against its own defect, one at a time: the wordmark at bottom-left, at top-right, and with logoPosition dropped; the ⓘ moved off the top right; compact dropped; mapbox's own attribution left on; PEEK_SNAP renamed. Each reddens exactly its own case and nothing else.

⚠ What this push did NOT measure, and where to check it

This environment holds no VITE_MAPBOX_ACCESSTOKEN, so no local browser could render the real basemap, the wordmark or the real attribution text, and a routine never waits for CI to publish a preview.

Splitting the corners also retires the one measurement the adversarial pass had: it read the earlier preview in Chromium and found the top-right column at 42×42 — the locate button alone — clear in both layouts. That still covers the ⓘ, which now stacks second in that column rather than third. What a browser still owes is the wordmark's new corner: that bottom-right is genuinely clear of the side panel at 1280×800, that the ⓘ's expanded text opens on screen from the right edge, and that the sheet covering the wordmark at 390×844 looks like the accepted exception rather than a bug. One look at each size on the next CI preview settles all three.

Manual verification

  1. At a desktop width: the ⓘ beneath the locate button at the top right, and the wordmark at the bottom right, both clear of the panel. Click the ⓘ — the text expands and stays on screen.
  2. Below 768px: the ⓘ in the same corner, with the cog at the top left. The wordmark is behind the sheet's peek at the bottom right — expected, not a defect.
  3. Dark mode, both widths — Mapbox ships its own light/dark wordmark art; this PR does not touch it.

Notes for reviewer

  • The corner is settled, and one thread still holds this PR.
    • The corner — resolved. Your 01:29Z call is built: ee97071 is your own one-line move of the wordmark, and bed7f65, 296ddcb, 7122d24 and b531b3e bring the spec, the comments and the docs in line behind it.
    • RTL puts the cog on this corner — open, waiting on you. Half moot now: only the ⓘ shares that corner, since the wordmark left it. GeolocateControl has shared it with the cog since before this branch. The thread carries the two options, and A — leave it, RTL is deferred repo-wide — is still the recommendation.
  • fix(map): show the Mapbox logo and attribution #324 closes with one accepted exception, written into its acceptance criteria: the wordmark is visible and uncovered at 1280×800, and the ⓘ at both sizes, but the sheet covers the wordmark at 390×844. The ticket's original criterion asked for both uncovered at both sizes.
  • The full-width calendar is a known exception. With the month calendar open the drawer is !inset-0 and covers the whole frame, the credits included — but it covers the map too, so no map is on screen to attribute. At lg it insets by 16px.
  • Two accessible names stay in Mapbox's English, deliberately. The wordmark's and the attribution button's labels are Mapbox locale keys. They label the legally required credits rather than a feature, so they do not earn SahajCloud keys and a translation in every locale (feat(translations): add the Mapbox wordmark and attribution labels to sy-atlas-translations SahajCloud#1032, closed as won't-do).
  • Base merged: origin/main at f9ed7d3, cleanly, no conflicts. The lean gate above ran on that merge, so fix(calendar): the view switch lights an option a phone cannot render #337's calendar change is covered by it.
Detail

Why two construction-time props are enough now, and were not before. Each is read once and has no setter, which is exactly why a corner that follows the layout could not use them — and why one that never moves can:

  • logoPosition is read in the Map constructor, and react-map-gl leaves it out of settingNames, its reconciliation whitelist.
  • LogoControl is not in mapbox-gl's export list, so the logo cannot be removed and re-added either.
  • react-map-gl's useControl adds a control in a useEffect with [] deps, so a control's position is read once too.

What splitting the corners costs, and what it does not. Mapbox's corner containers float and clear: both, so controls in one container stack vertically. Two corners therefore means the top right is a column of two rather than three, and [data-sy-expanded]'s 40px nudge clears both of them exactly as before. What it does cost is the wordmark's visibility on a phone — the whole reason the earlier version measured.

Why the attribution shows at all. _updateAttributions collects source.attribution only from source caches a layer actually uses, which is why a style with no used source renders an empty, hidden control. The app's real styles carry Mapbox and OpenStreetMap attribution on their vector sources.

What the spec pins now. Three couplings, each silent if it breaks: exactly one attribution, and that it is ours rather than mapbox's own; the ⓘ at top-right, derived from DrawerStack's own PEEK_SNAP rather than a restated number; and the wordmark at bottom-right, which guards the half of #324 that is still a live defect — mapbox's default bottom left, under the side panel. No case asserts the narrow sheet covering the wordmark, since that is now the accepted outcome.

The per-edit ceiling is unchanged at 17. The rewritten spec still reads repo source through readRepoSource, so it still takes its one slot in the selection for src/test-support/repo-source.ts. It reads two files, which costs no slot either way.

Closes #324 — with the accepted exception named under Notes for reviewer.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CLL6hhnF1c1Tof2EGLJPim

Mapbox's terms require both to be visible. The wordmark sat in mapbox's
own corner, bottom-left, which is where this app puts the drawer: the
side panel covers that corner, and the bottom sheet covers the whole
bottom edge at every snap point. Measured before this change, at 1280x800
and at 390x844, elementFromPoint over the wordmark's centre returned the
drawer, not the wordmark. The attribution control was off outright.

The corner now follows the layout: bottom-right beside the panel, top-left
under the settings cog on a narrow embed. It moves in CSS rather than
through mapbox, because nothing can re-choose it at runtime - logoPosition
is read once at construction, LogoControl is not an export to remove and
re-add, and react-map-gl reads a control's position once for the same
reason. So Map.tsx publishes the inset as --sy-map-attribution on the one
element react-map-gl styles, and globals.css places mapbox's container
from it. The attribution is rendered as a compact control in that same
container, so one inset places both.

Which layout is the drawer's own question, so it reads the same signal:
the map is DrawerStack's sibling and cannot take WidgetWidthContext, but
map mode measures frameElement() in both, so the two cannot disagree.

attribution.test.ts holds the three couplings that fail silently: the
property name across the two files, one attribution rather than none or
two, and the narrow offset clearing the cog, derived from the spacing
step and the cog's own classes rather than restated.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NRBKCTunvMm35es6XmtV57
A host sees the wordmark and the attribution button appear on the map,
so the guide hosts read needs the entry. docs/embedding.md is unchanged
on purpose: the attribution control reaches for no device API, adds no
origin and no attribute, and renders inside the widget's own element, so
neither its CSP table nor its Permissions Policy table gains a row.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NRBKCTunvMm35es6XmtV57
Trim the three copies of one argument down to the file that owns each:
the constant's docblock keeps the library facts, the stylesheet keeps the
#262 fallback reason, and the call site keeps one sentence.

Drop the `as CSSProperties` cast. The memo's object reaches `style` as a
variable rather than a fresh literal, so excess-property checking never
applied and the cast only re-indented a comment block the repo protects.

Move the comment that sat inside the `<ReactMapGL>` opening element out to
the control it describes. `jsx-sort-props --fix` moves props and leaves
comments where they sat (#161), so a comment there is a hazard.

De-anchor the spec's inset regex from Prettier's indentation, and name
which of the three cog reads broke instead of one opaque NaN comparison.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NRBKCTunvMm35es6XmtV57
docs/rules/mapbox.md gains the rule a future map author needs: both
controls stay in one corner container, because that is what lets a single
inset place them, and the permissions rule's control list is now two
rather than one.

The new spec takes the last slot under the per-edit selection ceiling:
the widest edit, `src/test-support/repo-source.ts`, selects 16 against a
ceiling of 16. Measured today, median of three on 4 cores, it still costs
4.5s. Three notes said 15 or "one slot left" and now say otherwise.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NRBKCTunvMm35es6XmtV57
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Deploying sahajatlas with  Cloudflare Pages  Cloudflare Pages

Latest commit: b531b3e
Status: ✅  Deploy successful!
Preview URL: https://054ce9d9.sahajatlas.pages.dev
Branch Preview URL: https://claude-fix-324-map-attributi.sahajatlas.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sahajatlas-design b531b3e Oct 27 2026, 01:43 AM

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 25, 2026
@sydevs-bot

sydevs-bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running
CI fix 1

recent dispatches
  • 01:32Z address-review · attempt 1 · session · done
  • 01:32Z address-review · attempt 1 · session
  • 01:29Z review-pr · attempt 1 · session · done
  • 01:29Z review-pr · attempt 1 · session
  • 01:14Z fix-ci · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

One conflict, in CHANGELOG.md § Unreleased → Fixed: both sides added a new
entry at the head of the section. Both entries are kept, this PR's #324 above
main's #329, since this one lands later.

main's #329 adds a case to scripts/postcss-scope-widget.test.ts through a
readRepoSource call that spec already made, so it takes no further slot in the
per-edit selection this branch moved to its ceiling of 16.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012fXJ8cXFDNxJUqYbjzhsTm
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Merged main in. One conflict: both sides added an entry at the head of CHANGELOG's Fixed section. Both are kept, #324 above #329, since this PR lands later.

The one thing worth checking: #329 adds a case to postcss-scope-widget.test.ts through a readRepoSource call that spec already made, so it takes no further slot in the per-edit selection this branch moved to its ceiling of 16. select-unit-specs.test.ts still passes at 16.

Lean gate green — lint, typecheck, 1762 unit tests.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 25, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The fix works. I re-measured it on the built preview, the only place the scoping pass and the minifier are real, and agree with the body's numbers.

It is also the largest shape the ticket's two corners allow: a measured width in Map.tsx, a custom property, a stylesheet that cannot see it, an 85-line spec whose whole job is to pin that pair, and the per-edit ceiling spent to its last slot. The acceptance criterion asks only that both controls be visible and uncovered — two corners are the ticket's Approach, not its requirement. The top-right container is clear in both layouts and already holds GeolocateControl, so one fixed corner needs none of those pieces. Worth settling before this merges.

The rest holds. No origin, no fetch, no device API, so the CSP and Permissions Policy tables genuinely stay put. frameElement() is safe in that render body — MapFrame gates its children on the published node.

Findings

  • should-fix — the two-corner design and the five pieces it costs: Map.tsx:113.
  • consider — the panel inset is physical, so RTL's deferred drawer flip undoes it silently: Map.tsx:114.

What was checked

Preview in Chromium: logo and attribution each hit themselves, at (1226,783) and (1198,739) on 1280×800, (50,110) and (22,66) on 390×844, one attribution, top-right column 42×42. Read whole: Map.tsx, globals.css 535–575, responsive.ts, lib/overlay.ts, MapFrame.tsx, DrawerStack.tsx 700–860, Drawer.tsx's direction variants, attribution.test.ts. Grepped every GeolocateControl and control-inventory reference in docs/ and src/, and embedding.md for attribution, wordmark and controls — nothing stale. Confirmed RTL reaches the widget (Widget.tsx:371) and the cog is start-3, so today's RTL narrow case is the accepted nudge one rule above it.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread src/components/organisms/Mapbox/Map.tsx Resolved
Comment thread src/components/organisms/Mapbox/Map.tsx Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 25, 2026
`ATTRIBUTION_INSET.panel` is physical, and the drawer's RTL flip is
deferred (`atoms/Drawer`'s `TODO(rtl, #52 WS8)`). When that flip lands
the panel moves to the inline start and the credits go back under it,
silently — the failure `attribution.test.ts` exists to catch, and the one
thing it cannot see.

Nothing but prose couples the two, so the drawer's TODO now names this
file and the table says why it stays physical.

Not written as `inset-block`/`inset-inline`, the other option on that
thread: `DrawerStack` picks `direction` as `isWide ? 'left' : 'bottom'`,
with no reference to `dir`, so the panel is on the left under RTL today
too. Flipping only the credits would move them onto it now, trading a
future silent failure for a present one.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PZ67LpFGuTRiFos3YuiYQz
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Answered the adversarial pass: one adopted, one open.

Adopted — the panel inset is physical, in 6f45529. The drawer's TODO(rtl, #52 WS8) now names ATTRIBUTION_INSET.panel, and the table says why it stays physical. Not the logical pair: DrawerStack picks direction as isWide ? 'left' : 'bottom' with no reference to dir, so the panel is on the left under RTL today too, and flipping only the credits would move them onto it now.

Open, and it holds this PR — one corner instead of two. The premise checks out: top-right is clear at both sizes. But #324's Approach names bottom-right and top-left, so the placement is the reviewer's call. Both options are on the thread; keeping the two corners is the recommendation.

Base already current with main — nothing to merge. Lean gate green: lint, typecheck, 1762 unit tests.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 25, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review October 25, 2026 21:23
@sydevs-bot
sydevs-bot requested a review from Ardnived October 25, 2026 21:23
@sydevs-bot
sydevs-bot enabled auto-merge October 25, 2026 21:23
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed awaiting labels Oct 26, 2026
The base merge turned this pin red without either side breaking it alone.
#322's `mobile-zoom.test.ts` and #324's `attribution.test.ts` both read a
repo file through `readRepoSource`, so each takes a slot in the selection
for `src/test-support/repo-source.ts` — 15 before the two, 17 after.

Timed the hook rather than dropping a spec, as the pin's own comment says
to. On 4 cores, medians of three: 4.2s for the widest edit at 17 specs,
5.0s for `src/config/i18n.ts` at 12 — against a 12-second budget. Both
below the figures `docs/testing.md` carried, so the two are recorded as
one machine's pair rather than as a trend.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CMsB7e37kLyYojD9ZxTwEe
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Base merged (dcce80c, #332) — clean, no conflicts. It turned one pin red, and that is the whole of this push.

The per-edit selection ceiling tripped on the merge, not on either branch. #322's mobile-zoom.test.ts and this PR's attribution.test.ts both read a repo file through readRepoSource, so each takes a slot in the selection for src/test-support/repo-source.ts — 15 before the two, 17 after, against a ceiling of 16. Timed the hook and ratcheted, as the pin says to: 4.2s for the widest edit, 5.0s for src/config/i18n.ts, medians of three on 4 cores, against a 12-second budget. 41e1621.

Open, and it holds this PR — the attribution in the cog menu. Mapbox's terms do not allow the credits off the map: their guide sanctions one collapsed form, Mapbox's own information button, which compact renders. Three options on the thread; keeping the ⓘ is the pick.

Lean gate green: lint, typecheck, 1771 tests.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed awaiting labels Oct 27, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Your approval landed on ee97071, where logoPosition is bottom-right and <AttributionControl position="top-right"> is untouched. The spec pins the two literals equal, so Lint, Typecheck & Build is red: expected 'top-right' to be 'bottom-right'.

Moving the ⓘ down is one line. I did not push it, because of what that corner costs on a phone:

  • Wide — the panel spans x 16–368, so bottom-right is clear. Your corner is right there.
  • Narrow — the sheet's lowest snap is its 80px peek, so it covers the bottom edge at every snap. Both credits sit behind it, as invisible as before fix(map): show the Mapbox logo and attribution #324, and nothing escapes that edge without the offset you ruled out.

Pick one and the next run builds it:

  1. Bottom-right, phones accepted — the one line, plus the spec's corner pin, the changelog's "at every embed size", and fix(map): show the Mapbox logo and attribution #324 closing for wide embeds only.
  2. Bottom-right wide, top-right narrow — buys the measurement back.
  3. Top-right — revert that one line and the PR stands as reviewed.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added awaiting and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 27, 2026
@Ardnived

Copy link
Copy Markdown
Contributor

@sydevs-bot Revise

  • Logo in bottom-right
  • Attribution in top-right
  • Accept that the logo will be covered on mobile

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed awaiting labels Oct 27, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

ee97071 already makes the code change the reviewer asked for on 01:29Z: logoPosition="bottom-right", the ⓘ at top-right. Everything around those two literals still describes one shared corner. That is why CI is red: the spec pins the two as equal.

What's left is subtractive. Drop one spec case, and rewrite four comments or docs that claim the wordmark sits top right. No new mechanism is needed, and none should come back. The measurement stays gone.

Two things live outside the diff. The PR body's Summary, Change outline and Manual verification still say "both top-right", so refresh them. #324's criterion asks for a visible logo at 390×844, which this PR now deliberately misses. Name that accepted exception in the body beside Closes #324. The RTL question thread is half moot: only the ⓘ still shares the cog's RTL corner.

Findings

  • blocker — the same-corner pin, the red check: attribution.test.ts:35.
  • should-fix — the placement comment contradicts line 439: Map.tsx:532.
  • should-fix — the "ONE fixed corner" rule section: docs/rules/mapbox.md:207.
  • should-fix — the host-facing entry says top right at every size: CHANGELOG.md:303.
  • consider — stale column inventory: globals.css:558, and Drawer.tsx:80.

What was checked

I read the reviewer's 01:29Z comment, the corner thread (r4383933328), the RTL question thread and #324. I read git diff origin/main...origin/claude/fix-324-map-attribution at ee97071, all 8 files. I grepped every "top right", "one corner" and "same corner" claim on the branch. embedding.md names no corner, so it needs nothing. I opened no preview: the body's links name the withdrawn pages.dev host. Profile read.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread src/components/organisms/Mapbox/Map.tsx Resolved
Comment thread docs/rules/mapbox.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread src/styles/globals.css Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 27, 2026
The equality case was the red `Lint, Typecheck & Build`: the review split the
corners, so the wordmark sits bottom-right and the information button top-right.

Each literal is now pinned on its own. The attribution keeps the derivation from
`PEEK_SNAP`, since the top right is still the one corner no drawer covers. The
wordmark's own case guards the half of #324 that is still a defect — mapbox's
default bottom left, which the 352px side panel covers on a wide embed. The
narrow sheet covering the bottom right is the accepted exception, so no case
asserts it.

Each case watched failing against its own defect: the wordmark at bottom-left,
at top-right, and with `logoPosition` dropped.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CLL6hhnF1c1Tof2EGLJPim
The section's title and its one-container rule described the placement the review
replaced. The top right is still the only corner no drawer covers, so it keeps the
attribution; the wordmark's bottom right is clear of the panel and covered by the
sheet's peek, which the review accepted.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CLL6hhnF1c1Tof2EGLJPim
The entry named one corner at every embed size for both. A host reading it would
look for the wordmark where it is not, and would not be told the sheet covers it
on a phone.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CLL6hhnF1c1Tof2EGLJPim
Two comments listed three controls in mapbox's top-right container. It holds the
locate button and the attribution; the wordmark is in the other corner.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CLL6hhnF1c1Tof2EGLJPim
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Your 01:29Z call is built on b531b3e, over a clean base merge. ee97071 was the only code line.

Adopted, one commit per thread:

Open, waiting on you: the RTL corner, half moot — only the ⓘ shares the cog's corner now.

#324's criteria record the covered phone wordmark as accepted.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added awaiting and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 27, 2026
@sydevs-bot sydevs-bot moved this from Revising to Approved in SYDevelopers Technical Roadmap Oct 27, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 255fd2c Oct 27, 2026
104 of 115 checks passed
@sydevs-bot
sydevs-bot deleted the claude/fix-324-map-attribution branch October 27, 2026 03:51
@sydevs-bot sydevs-bot moved this from Approved to Done in SYDevelopers Technical Roadmap Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

fix(map): show the Mapbox logo and attribution

3 participants