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

DMs can create online game sessions at will #144

Open
ivellios opened this issue Nov 14, 2020 · 0 comments
Open

DMs can create online game sessions at will #144

ivellios opened this issue Nov 14, 2020 · 0 comments
Labels
API backend This story touches backend frontend This story touches frontend

Comments

@ivellios
Copy link
Member

ivellios commented Nov 14, 2020

Background

Starting with the pandemic some locations for playing the game sessions were under the lockdown. Part of the players moved to online game sessions on Discord. But since the admin is the only now able to manage tables and game session slots, it is difficult to create an online game session. It requires to ask the admin to create a game session on a given day on the special table.

We would like to improve this functionality, by allowing the DMs to create the games on the selected tables at will. They can even overlap as such "tables" are virtual and can be used multiple times.

Proposed solution

Scenario: Only DM can go to the new game session creation page
Given I am a DM user
When I log in
Then I can see a button icon in the top navbar for creating a new game session
And the button leads to the new view for creating a new game session on a virtual table
Scenario: DM can create a new game session with booking
Given I am a DM user
When I go to the new game session creation view
And fill out the form with fields as in a booking view extended by the fields of the date and a virtual table selection
And hit the button "Create"
Then I have a new game session and it is booked automatically for me

Technical details

  1. We need to provide a separate endpoint for pulling tables - especially virtual ones
  2. We need to reuse a game session booking components for creating this new form
  3. We need to provide a new API endpoint for creating a game session with virtual tables only and then book it as previously - some refactoring may be required

Related stories:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API backend This story touches backend frontend This story touches frontend
Projects
None yet
Development

No branches or pull requests

1 participant