Two small UX fixes on the Profile page: 1. FriendsPanel: incoming-friends list previously had only a "Blokker" button. Add a "Legg til som venn"-knapp alongside it when the entry isn't already mutual. Shows "(gjensidig)" inline for entries where I've already added them back, and hides the add button when the incoming user doesn't have a username (rare — addFriend goes by username). 2. Invite list: claimed entries now show "✓ Mottatt og tatt i bruk av <bruker> · <dato>" instead of the "Brukt" badge + separate "av X · Y" line. Clearer wording, same data. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||