Commit Graph

43 Commits

Author SHA1 Message Date
SlimusMinus
a8b4375bd1 added review load 2026-10-19 01:11:03 +03:00
SlimusMinus
838443fcb2 del add unknown city 2026-10-19 00:36:41 +03:00
SlimusMinus
28fedb4308 fixed city search 2026-10-19 00:18:49 +03:00
SlimusMinus
49ba7f737a fixed search and add hints 2026-10-18 23:49:56 +03:00
SlimusMinus
f75df406ce fixed compress image 2026-10-15 01:29:07 +03:00
SlimusMinus
d3f4ae085d added hints on map 2026-10-14 23:59:45 +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
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
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
1aeda90da1 added timezone and fix chat 2026-10-11 23:29:27 +03:00
SlimusMinus
b924483231 added carousel image on post on mainFeed 2026-10-09 01:21:14 +03:00
SlimusMinus
6dc61050d9 Add Docker build and deploy pipeline
Some checks failed
deploy-frontend / deploy (push) Failing after 11s
2026-10-07 23:27:38 +03:00
SlimusMinus
d94a6782a4 fix bug and errors 2026-10-06 01:00:10 +03:00
SlimusMinus
841bf091d4 added all feeds for admin 2026-10-02 01:50:42 +03:00
SlimusMinus
58352267fa deleted full likes 2026-09-24 00:20:41 +03:00
SlimusMinus
4e20315998 added advertising 2026-09-23 23:38:54 +03:00
SlimusMinus
c58a921d73 changed reward on button 2026-09-10 00:57:31 +03:00
SlimusMinus
4b0cb4e5a9 fixed get profile avatar and get user from back 2026-09-03 00:29:19 +03:00
SlimusMinus
98473d4b59 added geolocation 2026-09-01 01:19:59 +03:00
SlimusMinus
99ad944eac split pages CreateUpdatePost on two part and fixed button map 2026-09-01 01:03:07 +03:00
SlimusMinus
2333e28720 colored header on post 2026-08-24 01:47:28 +03:00
SlimusMinus
1f0cbc50bf added functional my favorites posts 2026-08-24 00:46:00 +03:00
SlimusMinus
8093e9d0e1 fixed search page 2026-08-19 01:07:55 +03:00
SlimusMinus
10fea3cf2a fixed start page and scroll in modal window 2026-08-18 01:06:50 +03:00
SlimusMinus
66ff0dc5bf fixed image and name chat 2026-08-13 00:37:41 +03:00
SlimusMinus
e45c9326ed fixed code v2 2026-08-12 00:38:04 +03:00
SlimusMinus
7f59ee1f38 fixed code 2026-08-11 00:24:07 +03:00
SlimusMinus
abbcc330e7 added refresh token 2026-08-03 02:44:57 +03:00
SlimusMinus
0b169633d2 fixed post create response 2026-07-29 00:59:15 +03:00
SlimusMinus
a344540267 fixed image storage local on minio 2026-07-10 01:24:58 +03:00
SlimusMinus
fffcdaa526 added english language 2026-07-09 00:09:45 +03:00
SlimusMinus
b924bc5f94 added files in git 2026-07-03 00:04:56 +03:00
SlimusMinus
139621be0a added many images in post 2026-07-01 00:23:27 +03:00
SlimusMinus
adeab4d718 added security and fix edit profile 2026-06-18 00:25:13 +03:00
SlimusMinus
ee6d281eec added card on post and feed 2026-06-04 00:34:02 +03:00
SlimusMinus
fbdcada3d2 global refactoring 2026-06-02 01:10:56 +03:00
SlimusMinus
a2dd7363b5 added image for posts 2026-06-01 01:55:26 +03:00
SlimusMinus
5198e284a3 added edit card and get number 2026-05-29 01:16:45 +03:00
SlimusMinus
a5cdfdd8b4 added get and create posts with back 2026-05-07 01:10:10 +03:00
SlimusMinus
aee1213ff9 added registration 2026-05-04 00:48:50 +03:00
SlimusMinus
f7aabfd75e deleted another authentication 2026-05-01 14:50:49 +03:00
SlimusMinus
eb180a7da8 add auth window 2026-04-29 23:24:53 +03:00