Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial groundwork for DM Screen / Campaign UI #103

Merged
merged 26 commits into from
Feb 10, 2019
Merged

Initial groundwork for DM Screen / Campaign UI #103

merged 26 commits into from
Feb 10, 2019

Conversation

dhleong
Copy link
Owner

@dhleong dhleong commented Feb 10, 2019

See #69

This includes some huge refactors to make this possible, including a modification to many core subscriptions so they can optionally accept a sheet ID to reference instead of the "current" ID. Currently the Campaign UI is pretty empty except for the Character Carousel, which lets the DM quickly view some core stats, but we can add more features later.

Besides the UI features mentioned in the above-referenced ticket, some noticeable absences from this PR:

  • DM requests API: this would be a way for the DM to push (in real time) messages to connected character sheets, and possibly for players to do the same
  • Subscribing to the DM's Campaign ID (in order to receive the above)

These can be added as and when needed to implement the desired features.

Refs #69

Mostly just ensures sheets are loaded; styling to come... eventually
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.
Refs #69

The character card is starting to look useful!
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.
Also makes it possible to hot-swap routes, which is just fantastic
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
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.
@dhleong dhleong merged commit c5c9ae4 into master Feb 10, 2019
@dhleong dhleong deleted the dhleong/dm branch February 10, 2019 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant