Commit graph

276 commits

Author SHA1 Message Date
e5dec76a84 fix image paths for production (use AWS URLs) 2025-12-13 20:58:34 -08:00
60cbc03edf select/multiselect: remove hover shadow, use elemental checkmarks 2025-12-13 20:58:30 -08:00
20dabc5aa1 collection page card styling + contained filters 2025-12-13 20:58:20 -08:00
c54c959522 rework ModalFooter to use action props
- onCancel callback with fixed "Nevermind" label
- optional primaryAction object (label, onclick, destructive, disabled)
- optional left snippet for custom content
2025-12-13 20:02:25 -08:00
7dae71965a extract DeleteTeamDialog component 2025-12-13 20:02:18 -08:00
492307530a fix nav highlight for profile sub-routes 2025-12-13 20:02:14 -08:00
013c1b5eb2 add invite to crew action on user profiles
officers can invite users without a crew via context menu
2025-12-13 18:07:11 -08:00
d2c16d908d add invitation notifications to nav
badge on profile icon + dropdown item to open invitations modal
2025-12-13 18:07:06 -08:00
c9f31f9059 add crew invitation modals
- InvitationsModal: view/accept/decline pending invitations
- InviteUserModal: confirm invite from profile page
- ScoutUserModal: search users by username to invite
2025-12-13 18:07:02 -08:00
27a98274c1 add NotificationBadge component
reusable red dot/count badge for notifications
2025-12-13 18:06:56 -08:00
789494e773 migrate dialog consumers to ModalHeader/Body/Footer pattern 2025-12-13 14:55:46 -08:00
46d48132bd sidebar: fix proficiency list spacing 2025-12-13 14:35:25 -08:00
47563634b3 nav: add crew link and gw-events database link 2025-12-13 14:34:49 -08:00
b5d0b7c0e7 collection panes: add delete action, fix edit mode state
- add remove from collection with confirmation
- sidebar overflow menu for delete action
- better tracking of which item is selected to avoid state bugs
2025-12-13 14:34:40 -08:00
7558aef509 edit panes: remove footer buttons, export save() for header
parent components now call save() from sidebar header action
instead of embedded cancel/save buttons
2025-12-13 14:34:30 -08:00
4418157ca0 refactor modal components to use header/body/footer pattern
UserSettingsModal now uses ModalHeader, ModalBody, ModalFooter.
Dialog simplified. Button tweaks.
2025-12-13 14:34:20 -08:00
aee0690b2d add crew UI components, store, queries, and mutations 2025-12-04 03:03:27 -08:00
e7dfca992a add muted and suffixSnippet props to Select component 2025-12-04 03:02:51 -08:00
0a2a3894bf Add sync from collection menu and highlight owned items in search
- Party.svelte: Add 'Sync from collection' to overflow menu for parties
  with linked collection items, with proper menu grouping
- SearchContent.svelte: Highlight items user owns in 'All Items' mode
  with subtle green background and checkmark indicator
2025-12-03 23:24:30 -08:00
f5d0bbe7da Add sync UI to Party and edit sidebars
- Party.svelte: Pass authUserId to openSearchSidebar, link collection
  items when adding to party via collectionId
- DetailsSidebar: Show sync banner for out-of-sync items, add sync
  functionality for characters, weapons, and summons
- EditCharacterSidebar/EditWeaponSidebar: Add sync banner and button
  for items linked to collection
- party.ts types: Add collectionId and outOfSync fields to grid types
2025-12-03 23:13:59 -08:00
bf2bf8663f add search mode toggle for collection items 2025-12-03 22:58:46 -08:00
7c93cf8aab fix skill lookup for slots 3-4 by matching skill group 2025-12-03 21:10:22 -08:00
3f13f16998 add artifact header with wide image and relief background 2025-12-03 21:05:42 -08:00
ff4b63a542 show remaining chars counter only when near limit 2025-12-03 20:52:14 -08:00
edbfd14843 tweak DetailRow min-width, fix DisclosureRow label wrapping 2025-12-03 20:52:09 -08:00
8759afb83c fix infinite loop in sidebar action effects with untrack 2025-12-03 20:52:03 -08:00
5bac8a0b53 add element-based styling to modifier selection 2025-12-03 20:51:52 -08:00
dc4c2c3117 move artifact image/name to header, use DetailRows for skills 2025-12-03 20:51:16 -08:00
ee2e51affd add image support to sidebar header 2025-12-03 20:51:10 -08:00
399480db9f put grade recommendation reason inline with action badge 2025-12-03 20:51:05 -08:00
91b2a61ac9 simplify skill display to value-only, highlight max rolls in element color 2025-12-03 20:50:59 -08:00
f55303039c auto-redistribute skill levels when artifact level changes 2025-12-03 20:50:53 -08:00
f34f2c4dc9 show calculated skill values in dropdown, add level constraints 2025-12-03 20:50:47 -08:00
ea09f325a0 fix slider value handling and track width
- Use single value instead of array for type="single" slider
- Pass onValueChange directly without array wrapping
- Use flex-grow: 1 for track width instead of width: 100%
2025-12-03 18:50:11 -08:00
8ddfe58369 fix slider range width by adding track wrapper element
The bits-ui Slider.Range component needs to be inside a proper
track element for the range fill to display correctly. Added a
span wrapper with slider-track class and updated styles.
2025-12-03 18:45:53 -08:00
23b1d091f5 add Slider component with elemental styling for level selection 2025-12-03 18:41:04 -08:00
a1bc125521 add element-ghost button variant for sidebar header 2025-12-03 18:33:56 -08:00
9b59a22a43 stretch header buttons to fill height, add gap between accessories 2025-12-03 18:25:24 -08:00
f5f7743055 move delete to detail pane overflow, add disabled save button to edit 2025-12-03 18:20:13 -08:00
db71e6dc80 add overflow menu support to pane stack 2025-12-03 18:20:09 -08:00
100f506c44 move add artifact button to header as elemental button 2025-12-03 18:11:34 -08:00
99644c1730 use color dots instead of images for element dropdown 2025-12-03 18:08:15 -08:00
3527bc820f make Edit button elemental based on artifact element 2025-12-03 18:08:08 -08:00
abf7a36d8a remove translateY(1px) from button active state 2025-12-03 18:07:59 -08:00
b047552d7d fix infinite loop: use onMount instead of $effect for sidebar action 2025-12-03 17:57:50 -08:00
34821aa487 split artifact pane into detail and edit views
- CollectionArtifactDetailPane: read-only view with Edit button in header
- CollectionArtifactEditPane: editable form pushed onto pane stack
- ArtifactSkillDisplay: new read-only skill display component
2025-12-03 17:54:18 -08:00
f23779b664 pane stack: each pane is now its own card
move card styling (bg, radius, shadow, border) from sidebar
container to individual panes so they visually stack as
separate cards. behind pane peeks out from the left.
2025-12-03 17:38:53 -08:00
df045ecd2b add AddArtifactSidebar for collection artifacts
flow: proficiency -> element (color dots) -> artifact dropdown
(filtered by proficiency) -> level/nickname -> skills config
using pane stack for iOS-style navigation
2025-12-03 17:14:26 -08:00
ed32b7e924 add color dot support to Select component 2025-12-03 17:14:19 -08:00
9bdcc7818b remove polarity indicator from skill list 2025-12-03 17:14:01 -08:00