Commit Graph

14 Commits

Author SHA1 Message Date
simoleo89 feba672d08 Sweep small typecheck nits: union expansions + React 19 JSX + extra arg
- ColorVariantType missed the 5 outline-* bootstrap variants
  GroupForumThreadView and GroupForumThreadListView already use; adding
  them clears 4 errors.
- React 19 moved the JSX namespace out of the global scope into the
  react module; WiredNeighborhoodSelectorView referenced JSX.Element
  without importing it.
- showConfirm() takes 7 args; the chat link confirm in useOnClickChat
  passed an 8th 'link' icon arg left over from an older signature.
- LocalizeText placeholder array is string[]; UserContainerView passed
  userProfile.friendsCount (number) — call .toString().

Net tsgo error count: 97 -> 90.
2026-05-11 21:12:34 +02:00
Lorenzune 71171dc205 Merge remote-tracking branch 'duckie/main' into merge-duckie-main-2026-05-06
# Conflicts:
#	index.html
#	public/UITexts.example
#	public/renderer-config.example
#	src/App.tsx
#	src/components/login/LoginView.tsx
#	src/components/room/widgets/avatar-info/infostand/InfoStandWidgetUserView.tsx
#	src/components/toolbar/ToolbarView.tsx
#	src/components/user-profile/UserContainerView.tsx
2026-05-06 04:23:15 +02:00
simoleo89 72bc4da3c0 feat(profile): add full-box card background tab and rendering
Adds a "Cards" tab to the Profile Background picker (BackgroundsView)
that selects a pattern applied to the entire user info card and the
extended profile container, in addition to the existing avatar-pad
background/stand/overlay layers.

- AvatarInfoUser/Utilities: propagate cardBackgroundId from RoomUserData.
- InfoStandWidgetUserView: stateful cardBackgroundId, applied as
  .profile-card-background.card-background-{id} on the outer Column
  with bg-color suppressed when active.
- UserContainerView: same class on the wrapper of the extended profile.
- BackgroundsView: 4th tab "cards" backed by cards.data config
  (falls back to backgrounds.data); sends 4-id message via the
  extended sendBackgroundMessage signature.
- ui-config.example: cards.data dataset (15 entries).
- BackgroundsView.css: 188 .card-background-{N} rules cloned from
  background-{N} (repeat-tiled) plus 15 CSS-pattern overrides for the
  provisional dataset (gradients, stripes, dots, grid, checker).
2026-05-03 22:09:12 +02:00
Lorenzune 9b36513def WIP preserve local changes before duckie merge 2026-04-21 11:13:32 +02:00
Lorenzune 21193daebb Merge upstream/main into feature/checkpoint-20260403 2026-04-03 05:26:19 +02:00
Lorenzune 36c0221a54 chore: checkpoint current work 2026-04-03 05:22:26 +02:00
duckietm 49e1ac6307 🆙 Fix user profile 2026-04-01 10:48:11 +02:00
Life 2a220eaa4d fix: restore dangerouslySetInnerHTML for created/last login, keep friends count
dangerouslySetInnerHTML is needed for compatibility with existing
external_texts keys that contain HTML markup (e.g. <b>Created:</b>).
Only the missing friends count line is added.
2026-03-29 16:47:36 +02:00
Life 3e515e234e fix: replace dangerouslySetInnerHTML with safe rendering in UserContainerView
- Remove dangerouslySetInnerHTML for creation date and last login fields
  which caused corrupted display
- Use separate LocalizeText keys with safe React rendering instead
- Add missing friends count display

New external_texts keys required:
  extendedprofile.created.title, extendedprofile.last.login.title,
  extendedprofile.friends.count
2026-03-29 16:45:14 +02:00
Life d619a0250f Replace static text with localized strings in UserProfileView 2026-03-29 16:38:42 +02:00
simoleo89 d90e659132 Revamp user profile with tabbed layout (Badge, Amici, Stanze, Gruppi)
- Replace grid layout with NitroCard.Tabs for Badge, Amici, Stanze, Gruppi
- Add BadgeInfoView component with hover tooltip showing badge name/description
- Add Stanze tab that fetches and lists user rooms via NavigatorSearchComposer
- Bold username in profile header
- Badge tab with styled grid slots and empty state
- Amici tab with loading state
- Gruppi tab with full GroupsContainerView
2026-03-15 21:48:57 +01:00
duckietm bfd28d277a 🔥 Fix User Profile view 2026-03-12 16:21:23 +01:00
duckietm f2446d232b 🆙 Upgrade to tailwind css 4.2.0 2026-02-20 08:17:17 +01:00
DuckieTM 7feb10ab15 🆙 Init V3 2026-01-31 09:10:52 +01:00