-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial groundwork for DM Screen / Campaign UI (#103)
* Add routing for DM screens ("campaigns") Refs #69 * Scaffold out Campaign pages Refs #69 * Add initial campaign creation UI/UX * Include campaigns in "query-sheets" results; implement :known-campaigns * Add preliminary chars carousel widget Refs #69 Mostly just ensures sheets are loaded; styling to come... eventually * Persist sheet type properly from `:put-sheet!` * Introduce reg-id-sub that supports passing the sheet-id of interest Refs #69 This is not 100% bullet-proof, but it's relatively painless to use in place of an existing subscription, and it allows those subscriptions to *optionally* be used with an arbitrary sheet-id, for use on character cards for a campaign page. * Fix merge error * Implement some core styling for chars carousel, hp bar, etc. Refs #69 The character card is starting to look useful! * Compute smooth color transitions for the HP bar * Add a nice CSS transition on the HP bar * Scaffold out campaign invitation Refs #69 Basically the DM has to add them to the DM sheet, then the player has to open a special "invite" link to "accept" (IE: save the "campaign" field in their own sheet). Sort of an extra step, but reasonable, I think. * Fix ::limited-use being an id-sub * Support including campaign name in invite URLs Also makes it possible to hot-swap routes, which is just fantastic * Sketch out UI for joining a campaign * Implement event flow for joining a campaign We'd probably like to expand the "update-notifier" functionality to be more general so we can show "Campaign joined!" or something as we enter the sheet page * Refactor to have a more general notifiers system * Fix typo * Show notification when joining/leaving a campaign * Move Campaign events/subs to own file; support add/remove members Refs #69 * Add campaign invite instructions + some minor style improvements * Sort others' characters before your own in "add" screen * Show notifiers above overlays * Move "add character" button to the end of the carousel * Add some placeholders and a link to the Campaign UI ticket It's about time for this branch to get merged; there's a ton of refactoring in it already; all the remaining features can be done in one or more seperate branches. The only thing we really need to do before merging is allow players to detach the campaign from their character. * Add a widget in the Builder for leaving the current campaign
- Loading branch information
Showing
37 changed files
with
1,143 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,6 @@ | |
|
||
::save-errors #{} | ||
::pending-saves #{} | ||
::processing-saves #{}}) | ||
::processing-saves #{} | ||
|
||
:notifications {}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.