feat: template and session page for host #19
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't know... Maybe we have a better landing page now?
This pull request includes multiple significant changes aimed at improving the notification system, enhancing session management, and updating schema definitions. The most important changes are grouped by theme as follows:
Notification System Enhancements:
success
,error
,info
,warning
) and corresponding icons and colors inNotifications.svelte
.notifications
store to manage notifications, including methods to send and dismiss notifications.QrScanner.svelte
,HostView.svelte
, andParticipantView.svelte
, to display relevant messages to users. [1] [2] [3]Session Management Improvements:
HostView.svelte
component to manage session stages (e.g., starting and ending individual and group stages) with corresponding buttons and actions.ParticipantView.svelte
component to allow participants to create or join groups and display group information.Schema Updates:
code.ts
,profile.ts
,resource.ts
,session.ts
,template.ts
) to use a customTimestamp
type fromutils.ts
instead offirebase-admin/firestore
. [1] [2] [3] [4] [5]Timestamp
type definition inutils.ts
to handle Firestore timestamps consistently across server and client environments.API Authorization:
hooks.server.ts
to return a 401 Unauthorized response for API requests if the user is not authenticated.Layout and UI Enhancements:
Notifications.svelte
component in the main layout (+layout.svelte
) to display notifications globally.