dnd-al-krk / portal_frontend Goto Github PK
View Code? Open in Web Editor NEWFrontend code for portAL project
Home Page: https://alkrakow.pl
License: Apache License 2.0
Frontend code for portAL project
Home Page: https://alkrakow.pl
License: Apache License 2.0
As a separate page there should be a possibility to change the password for the user.
E-mail should be validated via sending activation e-mail once again - preferably to the old account for security reasons.
Any change should require user to enter current password.
Configure use of Travis CI for checking tests in the project.
If user has no character at all, the button should be replaced with a message "You have no character at the moment. Create your first character" - the last sentence should be an URL to the character add view.
Users should not be able to sign out of the game that already happened.
Results in the Reces/Classes/Factions views from API should return elements in the A-Z order. This should be changed in general in the models.
Make all connections to be redirected to SSL connection by default.
Frontend:
Once DM cancels the game session, ale it's signed users should receive notification e-mails about the issue.
TODO: Add Email message contents.
Typography in new Material-UI is using different (deprecated) variants naming. Change all Typography uses to be up to date.
When DM is filling out report, extra players' DCIs can be entered (comma separated) for the players without account in the system or joined ad hoc.
Frontend
extra_players
field in the payloadBackend
extra_players
field with textStack for django:
To speed up process of starting work on the project, we need to introduce fabric command for quick bootstrap:
Add admin action for bulk activating game slots when they are all prepared.
Create a model for holding Characters of the users.
The "Register" link button in the Top Nav is overlaying the logotype. It is not necessary since users can register by going to login -> sign up.
But in case they do not see that, we can also add it to the navigation when user is not authenticated. Do not show this in the left nav on desktop though!
Due to lack of time it is still React App... it should be called "D&D Adventurers League Kraków"
Setup Fabric3 library and fabfile for running deployment commands.
Currently it is possible. Should not be.
For easier use race, class and faction fields should be provided as text fields, instead of related fields to models. Users should be free to fill out the field with any value.
After the account has been activated it should redirect the user to the success page.
URL: /signup/success/
Body:
Your account has been activated. You can now sign in.
The sign in should be linking to the sing in view.
This story requires:
Users may not remember their passwords, so it would be better to cover the case with separate views for resetting the password:
Form with e-mail field for entering login email for the user. Then the form sends the reset password email based on the generated hash stored in the profile (based on timestamp)
Form for new passwords - loaded by clicking the URL in the e-mail and validated against the hash in the profile model.
Once DM picks previously cancelled game session, all attendees of the session should receive notification e-mail on this doing.
The e-mail message should state:
TODO...
Create requirements file for the backend.
Configure production instance for running the site and hold secrets properly.
Logged DM should have their games listed on the front page as a reminder of what game sessions they are running.
The stack for the front-end:
Prepared bootstrap to be uploaded soon.
Once player leaves the game and the number of players drop below 3 (which is minimum for AL legal game session), we will send notification about the event to DM and other players.
The notification body should be:
A player has signed out from the game session and now there's not enough players (minimum of 3) for the game to be AL legal. If no other player joins the game session before the session date it will be cancelled.
Also it should include the basic info on the impacted game session.
The e-mail input data should be always changed to lowercase before sending to the API. When user inputs uppercase for some letters it may lead to a confusion when trying to sign in later with lowercase.
The message should be:
You still haven't provided DCI for your account. You need to set your DCI number in order to be able to play games in the League. DCI number can be acquired on Wizards of the Coast page after registering an account. Once you have one update your profile.
And should link to the wizards DCI registration page.
List Items in the mobile view don't look good. Should be changed into something else, or styled out better.
Currently it is not supported in the login form. We should provide support for handling enter
key hit, to validate form and sign in user.
This story aims to provide DM with information on the games that need attention and should be filled out for the reporting back to Wizards.
As a part of this story:
Acceptance criteria:
If someone makes Elf, wood race and sorcerer, wild magic and 10 level, it turns out to be:
Elf, wood sorcerer, wild 10
Should be:
Elf, wood | sorcerer, wild 10
Backend:
Frontend
The code is coming as a plain text instead of HTML
Users should be able to change their account settings - first and last name and DCI number.
Username (email) cannot be changed!
The DM may enter the detail page of the game and confirm list of the players that were at the table during the game.
Backend
NullBooleanField
reported flag (default=None
).reported
flag in the sign up to True
for all selected players and to False
for those, that were signed, but not selected.Acceptance criteria
The search is available for Characters List. We should introduce similar (or even the same) functionality for the Players List.
This requires to add appropriate filters/searches in the backend API views + components and API support on the front-end
Fronend:
The games owned by the current user should be highlighted on the list with proper yellow border
In the admin interface user should be able to select games for which wants to export games report (date of game and list of DCIs - DM's and others).
Add admin action for selected games to generate report.
The result should be e-mail sent to managers with a list of:
Click event on this element should not be propagated below to the list item.
Currently we display all past games. Should filter out empty slots.
Users should be able to edit their profile data:
TODO:
Backend:
As noted in the AL Content Catalog these are all types of adventures in AL:
DDEN “Encounters”; adventure was available only to
retailers. This program is retired, but the
content is still legal for play.
DDEP “Epic”; an adventure that is higher-challenge,
requires multiple tables, and can only be run at
a convention or retail event
DDEX “Expeditions”; standard AL adventure. This
program has been retired, but the content is
still legal for play.
DDHC “Hard Cover”; the seasonal releases that often
take characters from 1-10+. May sometimes
extend to other evergreen products, like Lost
Mine of Phandelver
DDIA “Intro Adventure”; provides an introduction to
a book, season or play, or some other event/
content.
DDLE “Launch Event”; content made available to
retail locations to celebrate the launch of a
new book. This code has been retired, but the
content is still legal for play. Now known as
DDIA.
CCC “Convention-Created Content”; adventures
that are not necessarily canon, but can be
created by conventions that have been given
permission to do so. For more information,
refer to the CCC section of this document```
And they should be included in the select options for the Adventures admin.
Also there's a AO (Author Only) type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.