Skip to content

Nearby results as typed dotted-ring markers + automated DB backups - #6

Merged
Osyna merged 3 commits into
mainfrom
feature/cartoon-ui-skin
Aug 9, 2026
Merged

Osyna merged 3 commits into
mainfrom
feature/cartoon-ui-skin

Conversation

@Osyna

@Osyna Osyna commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Nearby markers (screenshot request)

Nearby OSM search results now render like saved places — white disc + type icon in the type color (restaurant, bar, cafe, fast-food, bakery, nightclub, ice-cream…) — but with a dotted ring in that color to signal found nearby, not saved yet:

  • amenityStyle() maps OSM amenities to the same icon+color palette as saved categories
  • drawMarkerImage(..., { dashed: true }) canvas variant; images generated lazily (nearby-marker| prefix) and survive tile-style switches
  • nearby-circles layer switched circle → symbol with the same id, so click/save behavior is untouched
  • The nearby popup shows a dashed round icon chip instead of the amber dot

Verified live: unsaved restaurants render as red dashed-ring utensils discs beside solid-ring saved markers.

DB backup automation (post-incident)

  • scripts/db-backup-push.sh: pg_dump → local backups/ (30 kept) → ~/Backups/pinna (60 kept) → pushed to the private Osyna/pinna-db-backups repo
  • Installed as a daily 03:00 cron on the dev machine; restore path tested end-to-end into a scratch container (2 users / 549 places / 541 coralie ✔)
  • docs/BACKUPS.md updated with the active setup + safety rules

Osyna added 3 commits August 10, 2026 01:17
- Nearby OSM results render as the same white icon discs as saved
  places (amenity -> icon+color mapping: restaurant/bar/pub/cafe/
  fast-food/bakery/nightclub/ice-cream...), but with a DOTTED ring in
  the type color to signal 'found nearby, not saved yet'
- drawMarkerImage gains a dashed option; images generated lazily via
  styleimagemissing (nearby-marker| prefix), sized 30px vs 34px saved
- nearby-circles layer switched circle -> symbol (same id, handlers
  untouched); stale circle-color updater removed
- Nearby popup shows a dashed round icon chip in the type color
  instead of the amber dot
Every navbar tab now has a dedicated color, reused by its view:
- Map green, Discover blue, My Places amber, Friends pink, Profile
  purple (unchanged — it set the pattern)
- Active tab pills take their color (tinted glow shadow to match)

Each view header is now a Profile-style hero card:
- Tinted rounded card with the two decorative corner blobs (identity
  color + yellow), a white icon chip (view icon in the identity
  color) and the title in the identity color
- Discover keeps its collapse-on-scroll behavior (compact hero)
- My Places keeps the count badge + Select button (now amber),
  Friends keeps the count badge
- Base gradient text-fill on titles reset so hero colors apply
@Osyna

Osyna commented Aug 9, 2026

Copy link
Copy Markdown
Owner Author

Added: per-tab identity colors + hero headers

Each navbar button now owns a color — 🟢 Map, 🔵 Discover, 🟠 My Places, 🩷 Friends, 🟣 Profile — and its view header is a Profile-style hero card: tinted background, deco corner blobs, white icon chip and the title in the same identity color. Verified on all tabs live.

@Osyna
Osyna merged commit 5041fc0 into main Aug 9, 2026
1 check passed
@Osyna
Osyna deleted the feature/cartoon-ui-skin branch August 9, 2026 23: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