Commit Graph

271 Commits

Author SHA1 Message Date
SlimusMinus
db37befb8d Support new backend contracts: single-flight refresh, ad impression tokens, error handling
- 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>
2026-10-20 02:03:42 +03:00
SlimusMinus
67de963d6d Merge pull request #104 from SlimusMinus/change-main_icon
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
changed main icon
2026-10-19 01:43:10 +03:00
SlimusMinus
46a6770e4a changed main icon 2026-10-19 01:42:36 +03:00
SlimusMinus
ca6bea2b60 Merge pull request #103 from SlimusMinus/fix-review_top_bar
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
moved word review on review page
2026-10-19 01:34:00 +03:00
SlimusMinus
c334dab4a2 moved word review on review page 2026-10-19 01:33:26 +03:00
SlimusMinus
374faba349 Merge pull request #102 from SlimusMinus/fix-advert_slot
All checks were successful
deploy-frontend / deploy (push) Successful in 44s
fixed empty advertising slot
2026-10-19 01:24:38 +03:00
SlimusMinus
80a5b641ce fixed empty advertising slot 2026-10-19 01:24:03 +03:00
SlimusMinus
3ac8d35a27 Merge pull request #101 from SlimusMinus/add-review_load
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
added review load
2026-10-19 01:11:37 +03:00
SlimusMinus
a8b4375bd1 added review load 2026-10-19 01:11:03 +03:00
SlimusMinus
95b2d7a58a Merge pull request #100 from SlimusMinus/fix-city_search
All checks were successful
deploy-frontend / deploy (push) Successful in 44s
del add unknown city
2026-10-19 00:37:14 +03:00
SlimusMinus
838443fcb2 del add unknown city 2026-10-19 00:36:41 +03:00
SlimusMinus
11bc782e39 Merge pull request #99 from SlimusMinus/fix-city
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
fixed city search
2026-10-19 00:19:27 +03:00
SlimusMinus
28fedb4308 fixed city search 2026-10-19 00:18:49 +03:00
SlimusMinus
0c9af11063 Merge pull request #98 from SlimusMinus/full-text-search
All checks were successful
deploy-frontend / deploy (push) Successful in 54s
fixed search and add hints
2026-10-18 23:50:34 +03:00
SlimusMinus
49ba7f737a fixed search and add hints 2026-10-18 23:49:56 +03:00
SlimusMinus
36bc4e0c21 Merge pull request #97 from SlimusMinus/fix-compress_image
All checks were successful
deploy-frontend / deploy (push) Successful in 46s
fixed compress image
2026-10-15 01:29:45 +03:00
SlimusMinus
f75df406ce fixed compress image 2026-10-15 01:29:07 +03:00
SlimusMinus
c56f2bcdb1 Merge pull request #96 from SlimusMinus/pin_calendar
All checks were successful
deploy-frontend / deploy (push) Successful in 46s
pinned the calendar
2026-10-15 01:05:42 +03:00
SlimusMinus
67f0b9c488 pinned the calendar 2026-10-15 01:05:01 +03:00
SlimusMinus
219d08aba4 Merge pull request #95 from SlimusMinus/change-post_map
All checks were successful
deploy-frontend / deploy (push) Successful in 47s
changed address on city on post
2026-10-15 00:30:49 +03:00
SlimusMinus
b6d6df88b3 changed address on city on post 2026-10-15 00:27:46 +03:00
SlimusMinus
19fbbf6d63 Merge pull request #94 from SlimusMinus/fix-missing-geo-files
All checks were successful
deploy-frontend / deploy (push) Successful in 56s
add missing AddressAutocomplete and yandexGeo files
2026-10-15 00:10:06 +03:00
SlimusMinus
23e692afe8 add missing AddressAutocomplete and yandexGeo files
They are imported by CreateUpdatePost.jsx and useYandexMap.js but were left
out of d3f4ae0, which broke the Docker build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 00:09:21 +03:00
SlimusMinus
0145c252f4 Merge pull request #93 from SlimusMinus/add-hints_map
Some checks failed
deploy-frontend / deploy (push) Failing after 14s
added hints on map
2026-10-15 00:00:32 +03:00
SlimusMinus
d3f4ae085d added hints on map 2026-10-14 23:59:45 +03:00
SlimusMinus
2c72d6020e Merge pull request #92 from SlimusMinus/fix-chat_page
All checks were successful
deploy-frontend / deploy (push) Successful in 44s
added blur for chat
2026-10-14 02:06:54 +03:00
SlimusMinus
289695a244 added blur for chat 2026-10-14 02:06:20 +03:00
SlimusMinus
4c27de1ca5 Merge pull request #91 from SlimusMinus/chat-wallpaper
All checks were successful
deploy-frontend / deploy (push) Successful in 46s
fixed chat wallpaper
2026-10-14 01:35:28 +03:00
SlimusMinus
d71a4cc1bd fixed chat wallpaper 2026-10-14 01:34:34 +03:00
SlimusMinus
6a0b033265 Merge pull request #90 from SlimusMinus/chat-on-first-message
All checks were successful
deploy-frontend / deploy (push) Successful in 51s
open a draft chat and create it on the first message
2026-10-13 01:49:33 +03:00
SlimusMinus
08f3a7e2bb open a draft chat and create it on the first message
"Написать" now looks up an existing chat for the ad (GET, never creates).
If there is none it opens /chats/new as a draft with the ad in the header;
the first send calls POST /chats/with/{userId}/messages, which creates the
chat with that message, and the page switches to /chats/{id}. Reloading
/chats/new without draft data goes back to the chat list.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:45:21 +03:00
SlimusMinus
e26283f907 Merge pull request #89 from SlimusMinus/fix-chat-post-image
All checks were successful
deploy-frontend / deploy (push) Successful in 44s
Fix chat post image
2026-10-13 01:34:30 +03:00
SlimusMinus
46f546c293 hide "write" button on own ads, log chat creation errors
The feed card showed the contact button on the user's own ads (isOwner is
false in the main feed), and the backend rejects a chat with yourself
with 400. The button is now hidden when ad.userId is the current user,
and createOrGetChat logs the backend error message.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:31:36 +03:00
SlimusMinus
5c48067842 fix chat list image taken from the clicked card instead of the chat
createOrGetChat stored the clicked card's post for the returned chat id,
even when the backend returned an existing chat about another ad. The
chat then showed the new ad's image until the next list fetch replaced
it with the real one. The backend's chat.post is now the source of truth;
card data only adds the emoji for the same ad.

Also limit the chat input to 4000 characters, matching the backend.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:23:12 +03:00
SlimusMinus
a122d4871a Merge pull request #88 from SlimusMinus/fix-feed-first-load
All checks were successful
deploy-frontend / deploy (push) Successful in 49s
fix feed first load losing page 0
2026-10-13 01:10:34 +03:00
SlimusMinus
8208c9f4d8 fix feed first load losing page 0
The infinite-scroll sentinel is visible on the first render (empty list,
loading=false) and could request page 1 before page 0 was loaded. Its
newer requestId made the page 0 response stale, so the feed showed only
the second page. Append requests are now ignored until the first page has
loaded and while a page 0 reload is in flight.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:07:26 +03:00
SlimusMinus
db6889c9db Merge pull request #87 from SlimusMinus/fix-get_image
All checks were successful
deploy-frontend / deploy (push) Successful in 51s
fixed get image url
2026-10-13 00:45:28 +03:00
SlimusMinus
2cc3237370 fixed get image url 2026-10-13 00:44:49 +03:00
SlimusMinus
0fce7f1536 Merge pull request #86 from SlimusMinus/add-page_scroll
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
added scroll on items and pets
2026-10-12 00:46:20 +03:00
SlimusMinus
fea07d505a added scroll on items and pets 2026-10-12 00:45:48 +03:00
SlimusMinus
03a0d2ebce Merge pull request #85 from SlimusMinus/fix_btn_nahodka_logo
All checks were successful
deploy-frontend / deploy (push) Successful in 41s
fixed push on button NakhodkaLanding on sideBar
2026-10-12 00:28:33 +03:00
SlimusMinus
89fdef31cc fixed push on button NakhodkaLanding on sideBar 2026-10-12 00:27:48 +03:00
SlimusMinus
16a55c95c0 Merge pull request #84 from SlimusMinus/fix-post_image_color
All checks were successful
deploy-frontend / deploy (push) Successful in 45s
fixed color facets of the image
2026-10-12 00:10:32 +03:00
SlimusMinus
2fd28ee776 fixed color facets of the image 2026-10-12 00:09:51 +03:00
SlimusMinus
597169407e Merge pull request #83 from SlimusMinus/add-timezone
All checks were successful
deploy-frontend / deploy (push) Successful in 1m52s
added timezone and fix chat
2026-10-11 23:30:12 +03:00
SlimusMinus
1aeda90da1 added timezone and fix chat 2026-10-11 23:29:27 +03:00
SlimusMinus
93f00e2cb4 Merge pull request #82 from SlimusMinus/add-carousel
All checks were successful
deploy-frontend / deploy (push) Successful in 43s
added carousel image on post on mainFeed
2026-10-09 01:21:47 +03:00
SlimusMinus
b924483231 added carousel image on post on mainFeed 2026-10-09 01:21:14 +03:00
SlimusMinus
55c71e664d Merge pull request #81 from SlimusMinus/fix-image_feed
All checks were successful
deploy-frontend / deploy (push) Successful in 45s
fixed image on post on mainFeed
2026-10-09 01:00:53 +03:00
SlimusMinus
326d00d005 fixed image on post on mainFeed 2026-10-09 01:00:21 +03:00