Coder Social home page Coder Social logo

coder13 / delegatedashboard Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 4.93 MB

A tool for editing groups of WCA competitions

Home Page: https://delegate-dashboard.netlify.app/

License: GNU General Public License v3.0

JavaScript 58.33% HTML 0.64% Shell 0.02% CSS 0.23% TypeScript 40.78%
cubing competitions react material-ui

delegatedashboard's Introduction

Delegate Dashboard

Netlify Status

Summary

Edit comps, set roles, pick scrambles, assign groups, all with simple clicks of buttons.


CRA

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

delegatedashboard's People

Contributors

coder13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vrownie

delegatedashboard's Issues

Export people's group assignments as CSV for nametags

Button or page to return CSV (and maybe json).

Must have following columns with data types:

  • full_name: String (e.g. "Caleb Hoover")
  • wca_id: String (e.g. "2016HOOV01")
  • event_1: String (e.g. R1 for red stage group 1)
  • event_1_staff: String (e.g. J1 for juding group 1, S1 or scrambing group 1)
  • event_2: String
  • event_2_staff: String
  • ...
  • is_first_timer: Boolean
  • role: String ('Delegate' | 'Trainee Delegate' | 'Organizer')

Import partial assignments

Currently assignments can only be imported for entire set of first rounds.

The import assignments logic should be improved such that an arbitrary set of partial assignments can be imported.

  • If the group activity exists, upsert the person's assignment and don't create the group activity. Update group activity metadata such as start and end times if needed
  • If the group activity doesn't exist, create it.
  • Use the uploaded data's start and end times for groups if they exist.

Show age when editing assignments

During New England Champs, we had some issues with younger runners who were too quiet to be effective runners. It would be very helpful to see the competitor's age while assigning jobs, so that I can prefer assigning older (say, 14+) competitors to be runners.

Age is of course not the only factor when assigning jobs, but it's a very relevant data point.

Setup competition home page with data and routes

Present the delegate with the most important data:

  • What do I need to do next?
  • What is next?
  • Who is scrambling next?

This page needs to be designed for both pre-planning, running the competition, and after it's finished.
Preplanning: Should tell the delegate what needs to be done next whether it's stage configuration, staff assigning, or scorecard printing.

Options like scorecard printing need to be easily accessible by anyone with the data entry role.
Staff assigning needs to be suggested for any groups that don't have any staff assignments.

Generate judge assignments

This should skip the pre-assigned staff assignments and generate the judging assignments for all competitors.

Hidden errors when messing up group configuration

When I do the following steps for a round:

  • "Configure group count"
  • Set to 3
  • "Configure groups"
  • Delete the second group --> group 1 and 3 are left
  • "Assign Competitor and Judging Assignments"

Then no judges are assigned, and I get a bunch of errors in the dev console log:
image
image

Expected behavior: Either assign judges, or show a clear error to the user explaining them how to fix the group configuration.

Dialog to configure groups

Should be able to manually:

  • create groups
  • delete groups
  • move groups between rooms
  • recalculate start times

Configure group numbers per round

I should be able to configure the planned group count per round.
I should also be able to create the child activities inside each round activity.

[Recipe] MCA Recipe for grouping people by speed

  • similar speed people in the same group.
  • same number of competitors in each group
  • everyone in staff spread out
  • delegates spread out
  • first timers in the same group

Should also assign station numbers starting with the fastest in the group.

Bug: Modal has a parenthesis

After clicking on the "Configure Group Counts" button, I have a modal which shows a parenthesis at the end here:

image

I guess something was meant to be shown there?
TODO: Should be removed or show some relevant info

Create CSV for scorecards

Button or page to return CSV (and maybe JSON)

Must have columns with data types:

  • registrant_id: Number (for wca live)
  • competition_name: String (e.g. School's Out PLU 2022)
  • event_name_long: String (e.g. 3x3x3 Cube)
  • group: String (Stage + Group: e.g. R1 for Red Stage group 1)
  • full_name: String (e.g. Caleb Hoover)
  • dnf_time: String (e.g. "4:00")
  • cutoff_time: String (e.g. "2:15")
  • is_ao5_mo3: String (e.g. "ao5" or "mo3")
  • cutoff_to_make_next_round: String (e.g. "Top 75" or "Top 16")
  • today_date: String (MM_DD_YY)

Localization of times

Times should be rendered correctly according to the user's location and localization.

Delegate+Organizer schedule

There should be a page to view where delegates and organizers are for any given group. The purpose is so that the person making the groups can know easily if delegates or organizers are being assigned for the same groups.

High level overview of competition

Groups exist but I'd like to see a breakdown of each group, where it's happening and when it's happening.

My first idea is this might be a calendar view like on the WCA website.

Generate competitor assignments

Based on some rules, competitors should be automatically allocated into groups.

I should be able to do this per round and for all rounds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.