Commit Graph

1003 Commits

Author SHA1 Message Date
simoleo89 4fa93cfaf3 fix(help): Habbo-green buttons + restyle sanctions box
Move the .nitro-help blue-header / grey-body override to global CSS so it also
covers the separate SanctionStatusView card (was an inline <style> in HelpView,
so the sanctions body stayed teal). Replace the flat 'success' buttons with the
beveled Habbo-green button (.habbo-btn-green) matching the reference. Restructure
the sanctions box to a single column: text on top, safety link (left) + green
'Ho capito' (right) pinned to the bottom.
2026-06-15 22:23:16 +02:00
simoleo89 20ad8b705a feat(help): restyle Aiuto window to match Habbo reference
Centered single-column index (blue header + light grey body), the real
help_duck asset, two green buttons (report + player support), and three
green-arrow links: read more about safety, my sanctions, my reports. The
report-flow steps keep the original 2-column grid.
2026-06-15 22:16:39 +02:00
simoleo89 d15457b43c feat(vault): wire Guadagni window to earnings packets
Request earnings on open (RequestEarningsCenterComposer), render real
amounts/claimable per category from EarningsCenterEvent, per-row Riscatta +
Richiedili Tutti send the claim composers, refresh on EarningsClaimResultEvent.
Category keys aligned to the emulator contract; reward currencies derived from
reward type; rows fall back to the static skeleton before data lands.
2026-06-15 22:00:08 +02:00
simoleo89 e94463df6a style(vault): fix body bg selector (content-shell) + compact rows
Target .nitro-card-content-shell for the grey body (the previous .content-area
selector didn't match), and tighten row height (smaller icon box + less gap) to
match the more compact Habbo reference.
2026-06-15 21:32:40 +02:00
simoleo89 983c659e9a style(vault): classic blue header + cool grey body (scoped to the window)
Override the shared teal/cream primary-slim theme just for the Guadagni window:
blue header gradient + grey-blue body, matching the reference.
2026-06-15 21:25:12 +02:00
simoleo89 eaf9a1b04d fix(vault): use the standard earnings.* localization keys
Use the real gamedata keys (earnings.title, earnings.dailygift.label,
earnings.achievements.label, earnings.claim.button, ...) instead of invented
ones, so the window is properly localized. 'games'/'clubwork' have no standard
key — custom key + Italian fallback.
2026-06-15 21:04:59 +02:00
simoleo89 7a2b016704 fix(vault): header reads 'Guadagni' (key resolved to English) 2026-06-15 20:54:33 +02:00
simoleo89 38ffc80d0a style(vault): bold black currency amounts + align Riscatta buttons 2026-06-15 20:47:04 +02:00
simoleo89 e4fb00baac style(vault): classic gray beveled buttons + thinner row border (closer to reference) 2026-06-15 20:44:31 +02:00
simoleo89 6b34bd9103 feat(vault): use the hotel's real earnings_icon assets
Replace the FontAwesome placeholders with the hotel's actual earnings_icon_*
PNGs (daily gift, games, achievements, marketplace, HC payday, level
progression, donations, bonus bag, surprise). Club e Lavoro uses the generic
earnings icon (no dedicated asset).
2026-06-15 20:40:32 +02:00
simoleo89 8c9566f928 style(vault): match the reference Guadagni layout
Each row is now a white bordered card (icon + name) with the currencies and a
gray disabled Riscatta button outside it, plus a gray disabled Richiedili Tutti
at the bottom — matching the reference screenshot.
2026-06-15 20:31:25 +02:00
simoleo89 5ac3b34916 fix(purse): Join/Entra opens the HC Center (habboUI/open/hccenter)
The Entra button pointed at catalog/open/<habbo_club> (a catalog page that often
doesn't exist); open the real HC Center view instead.
2026-06-15 20:28:39 +02:00
simoleo89 bf59ce2311 style(purse): tighten gear dropdown rows (compact spacing like reference) 2026-06-15 20:26:37 +02:00
simoleo89 88f5ecffd3 style(purse): widen the gear dropdown to match the purse width (234px) 2026-06-15 20:25:11 +02:00
simoleo89 3a5588d83a feat(vault): add the Guadagni/earnings window (client shell)
Wire the dead 'Guadagni' purse button (habboUI/open/vault) to a new VaultView:
the 10 earning categories from the reference, each with currency icons, a 0
placeholder amount and a disabled Riscatta button, plus a disabled Richiedili
Tutti. Amounts/claims are placeholders until the emulator exposes the data.
2026-06-15 20:18:35 +02:00
simoleo89 340ca3e0e8 feat(settings): revert to gear dropdown menu + add Gestione Account entry
Bring back the purse gear dropdown (Audio/Discord/Chat/Altre/Filtro) instead of
the tabbed window, and add a 'Gestione Account' item that opens the account
settings window.
2026-06-15 20:10:32 +02:00
simoleo89 992e65cb3d style(settings): card-style rows + section labels + 340px width
Match the account window's look across all settings tabs: each control sits in
a rounded white card row with a section label, and the window width is 340px.
2026-06-15 20:03:52 +02:00
simoleo89 63b92a4e65 feat(settings): gear opens a multi-tab settings window with account management
Replace the gear dropdown with a single tabbed window: Audio / Chat / Altre /
Account. Audio/Chat/Altre reuse the existing volume + preference controls;
Account recovers UserAccountSettingsView (now embeddable via an 'embedded' prop
that renders its body without its own card). Removes the dropdown menu + dead css.
2026-06-15 20:01:17 +02:00
simoleo89 c2be4dbed3 feat(settings): gear dropdown opening focused settings sections
The purse gear now opens a dropdown (Audio / Discord / Chat / Altre / Filtro
Parole). Audio/Chat/Altre open UserSettingsView focused on that section
(reusing the existing volume + preference controls) with a Back button; Discord
and Filtro Parole are placeholders for now.
2026-06-14 22:25:55 +02:00
simoleo89 28df1da69b style(help): green action buttons + drop the disabled tips button
Make the two help actions (report bully / player support) green and remove the
always-disabled 'tips' button, matching the reference help window.
2026-06-14 22:17:30 +02:00
simoleo89 d23d1800da refactor(purse): consolidate into a single PurseView
Inline the modern purse markup directly into PurseView and delete the unused
PurseClassicView / PurseModernView components (+ dead PurseClassicView.css).
PurseView is now the single purse component.
2026-06-14 22:14:13 +02:00
simoleo89 d65233ce23 style(purse): make the Join/Earnings buttons green to match the reference
Entra (Join) and Guadagni (Earnings) now use a green gradient instead of the
dark surface, matching the requested purse style.
2026-06-14 22:11:02 +02:00
simoleo89 ff0c608b01 style(toolbar): vertically center the chat input box within the bar
Raise the desktop chat-input frame from bottom-0 to bottom-[7px] so the 38px
box sits centered in the 52px bar instead of flush at the bottom.
2026-06-14 21:56:29 +02:00
simoleo89 3d7feab40f fix(toolbar): stop clipping pop-ups/boxes at the nav edges
Drop overflow-x: clip on .tb-nav-clip so boxes that extend past the nav edge
(e.g. the me-menu above the avatar, especially when the bar is collapsed/narrow)
are no longer cut off.
2026-06-14 21:55:05 +02:00
simoleo89 410cd1eddd fix(chat-input): use the original chat-styles icon (colored) in the trigger
Replace the dynamic bubble-style preview with the hotel's actual chat-styles
icon (styles-icon.png) shown in color, next to the caret — matching the
reference exactly.
2026-06-14 21:47:36 +02:00
simoleo89 d1315e6e56 style(chat-input): light gray input surface to match reference 2026-06-14 21:43:46 +02:00
simoleo89 98576992e3 feat(toolbar): keep rank-gated icons visible even when collapsed
modtools, housekeeping and furni-editor now render outside the collapse group,
so staff still see their tools when the left side is collapsed (still gated by
the existing isMod/isHk checks).
2026-06-14 21:43:46 +02:00
simoleo89 962d8a2d42 feat(toolbar): keep friends + find-friends when the friend bar is collapsed
When the right collapse button is active, keep the friends-list icon and show a
compact find-friends (magnifier) button, hiding mentions, the messenger icon
and the full friend bar.
2026-06-14 21:40:28 +02:00
simoleo89 45866c17d3 feat(toolbar): keep a core icon set when the left side is collapsed
When the left collapse button is active, keep the core icons visible
(catalog, avatar/me, builders club, inventory, camera) and hide only the
secondary ones (habbo/home, rooms, game, rare-values, fortune-wheel, wired,
youtube, soundboard, modtools, housekeeping, furni-editor).
2026-06-14 21:37:00 +02:00
simoleo89 0714bc8e8b fix(toolbar): revert bar to previous gray + invert collapse arrows
Restore the bar surface to rgba(62,64,72,0.55) (the previous look was preferred)
and flip both edge-collapse chevrons so they point the way shown in the
reference screenshots.
2026-06-14 21:28:58 +02:00
simoleo89 a35bb8042e style(toolbar): grayer, more opaque bar surface (less brown bleed-through) 2026-06-14 21:26:24 +02:00
simoleo89 be471ca39b feat(toolbar): add two edge collapse buttons for the icon clusters
Add a tab button at the left and right outer edges of the desktop toolbar.
The left one hides/shows the left action icons, the right one hides/shows the
friends/right cluster — each independent, toggled with a chevron that flips
direction. Styled as a semi-transparent gray edge tab matching the bar.
2026-06-14 21:16:25 +02:00
simoleo89 ba4c2f1027 style(toolbar): make the bar a semi-transparent gray
Change the toolbar surface from near-opaque dark (rgba(18,19,24,0.97)) to a
semi-transparent gray (rgba(62,64,72,0.55)) so the room shows through, per the
reference look.
2026-06-14 21:11:57 +02:00
simoleo89 450db9f817 feat(chat-input): style selector trigger shows selected bubble preview + caret
Replace the generic grayscale styles-icon trigger with a ▼ caret plus a small
clipped preview of the currently-selected chat bubble (chat-bubble bubble-N),
matching the reference layout.
2026-06-14 21:05:47 +02:00
simoleo89 11167cb9b3 feat(chat-input): move chat-style selector to the left of the input
Match the reference layout: the chat-style picker now sits before the text
field (left side) instead of after it. Adds left padding + a small gap so the
trigger, input and emoji selector are evenly spaced.
2026-06-14 21:01:46 +02:00
simoleo89 49cd06a26c feat(toolbar): remove show/hide toggle button and its animation
Drop the chevron toggle (tb-toggle) and the collapse/expand behavior: the
toolbar is now always visible (no isToolbarOpen state, no handleToggleClick,
no lock timers). The nav blocks render statically (initial=visible) so there's
no show/hide slide-in effect, and the chat-input frame sits in the bar at all
times. Removes the now-dead tb-toggle CSS and the unused useRef/useCallback
imports.
2026-06-14 20:53:39 +02:00
simoleo89 c311f3597d fix(friendbar): guarantee a single find-friends chip (filter null friends)
The legacy bar rendered MAX_DISPLAY_COUNT FriendBarItemViews and padded
empty slots with null, so an empty online-friends list produced three
identical 'Trova Amici' buttons. The current bar already renders a single
explicit search chip, but harden it: filter null/undefined out of the
online-friends array before slicing/mapping so the search chip is the only
possible source of that affordance — exactly one, always.
2026-06-14 20:26:47 +02:00
simoleo89 bd71d326fb style(toolbar): solid bottom bar (classic Habbo look, less glassy) 2026-06-14 18:58:07 +02:00
DuckieTM 3c9332e798 Merge pull request #234 from duckietm/Dev
Dev
2026-06-12 16:01:58 +02:00
DuckieTM d0a7d200d1 Merge pull request #230 from hotellidev/multicolorfurnifix
Fix multicolor furni names
2026-06-12 15:54:27 +02:00
DuckieTM c62e041d46 Merge pull request #229 from simoleo89/feat/installer-configurable-renderer-dir
feat(installer): make the renderer folder configurable
2026-06-12 15:53:46 +02:00
DuckieTM 419cb4cbde Merge pull request #228 from RemcoEpicnabbo/Dev
Remove trailing comma in ui-config.example
2026-06-12 15:53:05 +02:00
hotellidev caf80e5386 Merge branch 'duckietm:main' into multicolorfurnifix 2026-06-12 03:15:02 +03:00
DuckieTM 32b0e2a370 Merge pull request #233 from duckietm/Dev
🆙 100% Guild Furni Catalog Page
2026-06-11 13:16:46 +02:00
duckietm de38371069 🆙 100% Guild Furni Catalog Page 2026-06-11 13:16:29 +02:00
DuckieTM 69b643761c Merge pull request #232 from duckietm/Dev
🆙 Fix scrollbar
2026-06-11 10:31:41 +02:00
duckietm 40864cf880 🆙 Fix scrollbar 2026-06-11 10:31:24 +02:00
DuckieTM c4d7070316 Merge pull request #231 from duckietm/Dev
🆙 Added colored background to items in group furni & fix catalog price
2026-06-11 10:14:58 +02:00
duckietm 5aa9dcd650 🆙 Added colored background to items in group furni & fix catalog price 2026-06-11 10:14:27 +02:00
hotellidev afaea87bcd Fix multicolor furni names 2026-06-11 04:07:06 +03:00