4 Commits
Author SHA1 Message Date
dingo c3a39fd7a1 hmmm 2026-04-12 14:44:37 -04:00
01b6d19d7b Game screen: ownership fix, hand hover, terramorpha, sacrifice, ascend/transition, ability UI
- Game.gd: fix push type "game.over" (not "game.over.push"), store opponent_name
- game_screen.gd full rewrite:
  - Unit ownership via _rebuild_ownership() + _is_enemy_unit()/_is_friendly_unit()
    (CardInstanceDto has no ownerAccountId; build sets from PlayerStateDto instead)
  - Hand card hover y-reset fixed to 0.0 (was incorrectly using container position)
  - Opponent name from Game.opponent_name
  - Terramorpha multi-tile sequential selection with adjacency validation
  - Sacrifice: click ArchSpirit → PopupMenu → select spirit → ConfirmationDialog
  - Ascend/Transition: detected by card tier vs current arch tier, confirmation dialogs
  - Ability panel: parses abilitiesJson, filters Active abilities, floating HUD buttons

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-07 07:20:54 -05:00
dceabf4f06 Fix chat bubble visibility, friends refresh, and DM close
- Chat bubble now hidden on all scenes; MainScreen shows/hides it via
  Chat.set_bubble_visible() in _ready/_exit_tree
- send_friend_request now uses Network.request so _fetch_social() fires
  on success, making the friends list update immediately after adding
- Added DM close button (✕) to each conversation row in the DMs tab;
  _close_dm removes the channel from local state via Chat.close_dm()

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-06 22:14:43 -05:00
a482cc5319 Add Settings, Account, Bug Reports, and Leaderboard
Server:
- New SOR.Support project: SubmitBugReport, GetLeaderboard, GetAccountProfile handlers
- New SOR.Database support schema: BugReport + BugReportResponse entities + SupportDbContext
- EF migration: Migrations/Support/AddSupport
- Admin panel: Bug Reports list + detail pages with reply-to-submitter flow
- Admin NavMenu: Support section with Bug Reports link
- Reply creates chat.Notification (type "admin_response") for in-game mailbox

Client:
- Settings autoload (Settings.gd): music/sfx volume+mute, persisted to user://settings.cfg
- SettingsScreen: sliders + mute CheckButtons wired to Settings autoload
- AccountScreen: profile (display name, OP, rank score) + mailbox (admin_response notifications)
- LeaderboardScreen: paginated ranked player list, caller highlighted in blue
- BugReportDialog: category/title/description/steps form, submits via support.submit_bug_report
- MainScreen: new Leaderboard, Account, Settings, Report a Bug navigation buttons

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-06 20:14:12 -05:00