- guests in the feed see a "New here?" tip with a waving hand: swipe up to
dismiss on mobile (top), close button on desktop (bottom right); shown
once, remembered in localStorage
- GuideModal: six short steps (feed and map, map pins, posting, chat with
photos/video, phone reveal, marking as returned) plus safety tips;
guests get a sign-in button
- "How it works" item in the mobile menu and the desktop sidebar
- ru/en texts, tests, README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- chat: post info in header and list, photo and video attachments,
viewer, /chats/new draft, new chat endpoints and WebSocket updates
- phone reveal via proof-of-work, phoneVisible consent, closedAt
- desktop layout components, new hooks, utils and styles
- fix outdated notes: compressImage, chat creation endpoint, backend branches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the attach button accepts one video per message (MP4, MOV, WebM, 3GP);
type, size (100 MB) and duration (60 s) are checked before upload
- the video is uploaded straight to storage with a progress indicator,
then confirmed; the message shows "processing" until the server pushes
the ready (or failed) version over WebSocket
- player with poster and duration in bubbles; fresh links when they expire
- chat list preview shows "Video" for video-only messages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- paperclip button and clipboard paste in the chat input, previews with
remove, up to 10 photos per message (sent via REST multipart)
- photos in message bubbles with reserved size, fullscreen viewer
(arrows, swipe, Esc), fresh link when a presigned URL expires
- chat list preview shows "Photo" for photo-only messages
- keep the feed pinned to the bottom when the preview strip appears
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat list and header show the listing's type, city and closed/deleted
status; the header info button opens the full listing in PostDetailModal
with a "show on map" action. Deleted or unpublished listings are marked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The character class /['"()\s<>]/ matched a backslash and the letter "s"
instead of whitespace, so every "s" in a marker image URL became %73
(https:// -> http%73://). The colored circles still rendered, but the
background-image URL was broken. Use \\s (backslash + whitespace).
Add tests: escapeCssUrl keeps a presigned URL intact and still encodes
backslash/whitespace; MapView puts the original imageUrl into the marker
template.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs on every pull request to master and on push to master (Node 22,
npm ci, CI=true). The gitea deploy workflow is unchanged. README
describes the check and recommends making it required for master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Post detail and map focus load GET /api/v1/posts/{id}
- My posts use only GET /api/v1/users/{id}/posts
- README: requires the stage 2 backend (deploy backend first)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fonts were pulled by @import inside the main CSS bundle; the deferred app
bundle waited for that stylesheet, so a slow fonts.googleapis.com kept the page
blank for 20-30 s. Fonts now load from index.html as a print stylesheet switched
on by onload (text renders with a fallback font meanwhile, display=swap).
The Maps API script was defer, so the app bundle (deferred after it) could not
run until the Maps API downloaded. It is async now; map code already waits for
window.ymaps via whenYmapsReady.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Admin: campaign stats panel (impressions, clicks, CTR per campaign and ad) with date range
- My posts: GET /api/v1/users/{id}/posts with paging, fallback to the legacy route
- Ad creation: retry after a failed video upload reuses the created ad; show backend 400 text
- Fullscreen ad form: only absolute http(s) target URLs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- apiFetch: proactive refresh, cross-tab single-flight via Web Locks, no logout on transient errors
- AuthContext: save tokens returned on own login change, revoke refresh on logout, sync tabs
- Ads: X-Session-Id, impressionToken in impression/click, IAB viewability, safe http(s) targetUrl
- STOMP: refresh before CONNECT, stop reconnect loop on dead session, /user/queue/errors behind flag
- Auth form: password 8 chars / 72 bytes; 429/413 messages via describeApiError
- My posts with auth + moderation badges; post form step validation and field limits
- Map: escape user text in Yandex hint/template
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>