Commit Graph

220 Commits

Author SHA1 Message Date
Scott Idem
9691ceca43 feat: Add form-based UIs and view toggles for event settings
This commit introduces form-based UI components for 'mod_badges_json' and 'mod_abstracts_json', and expands the form for 'mod_pres_mgmt_json'. It also adds view toggles to switch between form and raw JSON editing for each of these sections, providing greater flexibility for the user.
2025-11-18 20:10:01 -05:00
Scott Idem
c06f50c21e feat: Add basic event fields and collapsible sections to settings page
This commit introduces a new component for editing basic event fields and adds collapsible sections to the event settings page for better organization. The new fields include code, conference, name, summary, description, timezone, start/end datetimes, and notes.
2025-11-18 19:42:15 -05:00
Scott Idem
74140f41db fix: Update event settings forms for Svelte 5 reactivity
Corrected event settings components to use Svelte 5 bindable props for two-way data binding. This ensures that changes in child form components (ae_comp__event_settings_form.svelte, ae_comp__event_settings_pres_mgmt_form.svelte) are reactively reflected in the parent page (settings/+page.svelte) and properly handled during save operations.
2025-11-18 19:23:33 -05:00
Scott Idem
f7d1f304fe feat: Add form-based UI for event settings
This commit introduces form-based UI components for editing the 'cfg_json' and 'mod_pres_mgmt_json' fields on the event settings page. This provides a more user-friendly experience than editing the raw JSON directly. It also fixes an issue where the JSON objects were being displayed as '[object Object]'.
2025-11-18 19:17:27 -05:00
Scott Idem
0be878c8c1 feat: Add basic event settings management page
This commit introduces a new page at /events/[event_id]/settings that allows users to view and edit the JSON configuration fields for an event. The page provides textareas for each config field and a 'Save' button to persist the changes.
2025-11-18 18:59:49 -05:00
Scott Idem
0987cd6ad9 style: Apply Prettier formatting with 4-space indentation
Applied consistent code formatting across the project using Prettier, now configured to use 4-space indentation instead of tabs.
2025-11-18 18:40:50 -05:00
Scott Idem
c8c19a35a6 refactor: Use random IDs as primary keys in IDB
This commit refactors the IndexedDB schema to use the string-based random IDs as primary keys instead of the numeric auto-incrementing IDs. This change affects the 'badge' table and all related components that interact with it. The badge detail page and list component have been updated to use the new primary key for more efficient and consistent data retrieval.
2025-11-18 17:49:16 -05:00
Scott Idem
97d41adb12 fix: Use random IDs for badge links and detail page
This commit updates the badge list to use the string-based random IDs for badge links. It also updates the badge detail page to correctly fetch the badge data using the random ID from the URL.
2025-11-18 17:37:48 -05:00
Scott Idem
69c34fa4bc fix: Resolve badge search reactivity and SSR issues
This commit fixes several issues with the new badge search functionality. It resolves a 500 Internal Error by moving the Dexie liveQuery into an onMount block to prevent server-side execution. It also fixes a Svelte 5 reactivity issue by using a more explicit subscription pattern for the liveQuery and by correctly accessing state variables in the template. The badge search results are now correctly displayed.
2025-11-18 17:30:57 -05:00
Scott Idem
7e1eaba3bc feat: Migrate ESLint to flat config and resolve initial linting errors
Migrated the ESLint configuration to the new flat config format ()
and addressed several initial linting errors.

Key changes include:
- Updated ESLint configuration to treat  as warnings instead of errors.
- Fixed  errors in  by declaring  and .
- Corrected  error in  by using  instead of an out-of-scope .
- Resolved  error in  by replacing the undefined  directive with the  component.
- Addressed  errors in  by replacing  with  and  with .
- Fixed  errors in  by importing necessary modules (, , ) and adding missing props (, , , , ).
2025-11-17 18:46:54 -05:00
Scott Idem
b99e85f1db fix(events): Correct data fetching for session child objects
This commit fixes a bug where presentations, presenters, and files related to a session were not being displayed. The issues were caused by incorrect property names ( suffix) and improper use of Svelte 5 features after a recent refactoring.
2025-11-17 17:47:24 -05:00
Scott Idem
02169f1cb9 fix(events): correct presentation query 2025-11-13 21:43:20 -05:00
Scott Idem
92ef08ce1f fix(events): correct presentation query and props 2025-11-13 21:38:47 -05:00
Scott Idem
d554696c8e fix(events): correct presentation query and props 2025-11-13 21:33:00 -05:00
Scott Idem
66c42a52f9 Reapply "fix(events): correct reactive props in session view"
This reverts commit 97e9f35ea1.
2025-11-13 21:28:12 -05:00
Scott Idem
97e9f35ea1 Revert "fix(events): correct reactive props in session view"
This reverts commit b03376e136.
2025-11-13 21:28:07 -05:00
Scott Idem
b03376e136 fix(events): correct reactive props in session view
This commit fixes a bug where the session view was not displaying correctly due to incorrect usage of reactive props.

- In , the  prefix was added to the props passed to the  component to make them reactive.
- In , the  prefix was removed from the  variables in the template, as they are already reactive when using Svelte 5 runes.
- The  block for  was corrected to use the resolved value.
2025-11-13 21:17:49 -05:00
Scott Idem
7ded0fd9a6 fix(events): correct presentation query in session view
This commit fixes a bug where presentations were not being displayed correctly within the event session view. The issue was caused by an incorrect query that was using the standard session ID to filter presentations, instead of the random session ID.

The liveQuery in  has been updated to use the  from the  derived variable. This ensures that the query correctly fetches all presentations associated with the session.
2025-11-13 20:38:21 -05:00
Scott Idem
3104304fdb Updates to common enabled and hidden properties. 2025-11-13 20:16:22 -05:00
Scott Idem
88d36d512d Update to all catch functions. 2025-11-13 20:15:09 -05:00
Scott Idem
7cd59bfaac Another round of lots of updates to fix little bugs here there and everywhere. 2025-11-13 20:03:51 -05:00
Scott Idem
13869b40bd Trying to remove some more _random suffixes. Ideally they will all eventually go away and we will just use .id or example.example_id or example.linked_obj_name_id 2025-11-13 19:28:52 -05:00
Scott Idem
a87fa02bc6 Revert: Legacy launcher link changes
Reverted changes to legacy launcher links in various components. These links are intentionally structured to work with nginx location aliases and should not be modified to conform to SvelteKit routing.
2025-11-13 19:15:55 -05:00
Scott Idem
aef34dc79b Fix: Correctly load session content in new launcher
The session content was not loading in the new Events Launcher because the loaded session data was not being correctly assigned to the events store.

This commit fixes the issue by correctly assigning the loaded session object and its nested properties to the events store.
2025-11-13 19:03:43 -05:00
Scott Idem
0e960ba955 Fixing id_random vs id for links and other things. Fixed the hash SHA256 error. 2025-11-13 18:59:27 -05:00
Scott Idem
e9a8f7df00 This was a lot... things are mostly working again. The changing of id_random properties caused some problems. The hosted_file_hash_sha256 is not working? There are other issues as well... This will take some time. 2025-11-13 18:38:00 -05:00
Scott Idem
a84d06a28d Refactor: Update import paths for elements after moving them to src/lib/elements/. 2025-11-13 16:37:24 -05:00
Scott Idem
6e00502d3d Refactor: Update import paths for app_components after moving them to src/lib/app_components/. 2025-11-13 16:19:09 -05:00
Scott Idem
de7e02b9ef Refactor: Update import paths for api.ts after moving it to src/lib/api/api.ts. 2025-11-13 16:16:18 -05:00
Scott Idem
d9887aba93 Making things look nicer 2025-10-17 18:14:09 -04:00
Scott Idem
fab1a4916d Clean up of the event search page options menu and related. 2025-10-17 17:27:18 -04:00
Scott Idem
bb993a1028 Last minute clean up before LCI. 2025-10-17 16:22:23 -04:00
Scott Idem
e912c4a48a Better text sizing and flex. 2025-10-16 16:39:30 -04:00
Scott Idem
8b22c0fc34 The Launcher works pretty well. Except for the native app... 2025-10-16 16:07:37 -04:00
Scott Idem
8d15a5ba0b More work on the WebSockets. Improved status and WS triggers. Better online/offline status. 2025-10-16 14:48:10 -04:00
Scott Idem
3d6b7c412c Work on tablet layout for posters 2025-10-16 11:45:33 -04:00
Scott Idem
77b250b4f3 Better handling of idle with WS messages. 2025-10-16 10:58:11 -04:00
Scott Idem
c2ccf0c06d Fix for disabling and hiding event file purpose options. 2025-10-16 10:04:12 -04:00
Scott Idem
c170358681 Quick icon change. 2025-10-15 19:04:56 -04:00
Scott Idem
9678c5620d Lots of work on the Launcher and configuration. Looks pretty good and useful. 2025-10-15 19:01:30 -04:00
Scott Idem
b2154273e0 Reset looks better now. 2025-10-15 13:46:08 -04:00
Scott Idem
1f79ae4e19 More work on versioning for Events 2025-10-15 13:17:32 -04:00
Scott Idem
6b8f4d54ed The posters look pretty good now. A lot more is configurable. 2025-10-15 12:52:27 -04:00
Scott Idem
f459c09fbc Getting the posters ready for LCI. 2025-10-15 10:37:46 -04:00
Scott Idem
0bc04bf899 Things are looking and working better. Note the Modal size is set to "". This allows it to stretch to the full width of the screen. 2025-10-13 18:17:32 -04:00
Scott Idem
8f7c1bf428 More work on the posters and Websockets 2025-10-13 17:19:32 -04:00
Scott Idem
de071dae49 Work on the Launder and Websockets. It needs work. 2025-10-13 15:41:55 -04:00
Scott Idem
5b9dacd291 Better logic for lengths. Keep them more equal. 2025-10-10 17:54:49 -04:00
Scott Idem
8c2241e610 Work on badge rendering. 2025-10-10 17:40:35 -04:00
Scott Idem
74cc5c5d0d Work on badge printing and the actual badge layout. 2025-10-09 19:26:35 -04:00