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

Autofill category and mechanic entities #409

Open
frowenz opened this issue Dec 4, 2023 · 0 comments
Open

Autofill category and mechanic entities #409

frowenz opened this issue Dec 4, 2023 · 0 comments

Comments

@frowenz
Copy link
Contributor

frowenz commented Dec 4, 2023

This issue should be addressed after #393.

Currently, the autofilling functionality for admins creating new games as well as the code to generate game fixtures does not parse category and mechanic information. The main difficulty is the Categories and Mechanics are their own entities in the database.

Steps:

  1. Parse all the categories and mechanics information.
  2. Associate each category with the corresponding primary key of each category or mechanic entity. This likely involes parsing the information in this fixture, src/chigame/games/fixtures/mechanics_categories_fixtures.json
  3. Record this information appropriately. For Game Creation Autofilling, this means populating the game creation form. For Fixture Creation, this means creating a separate entity in the fixture json to record this relationship.
@willcravitz willcravitz added this to the Backlog milestone Dec 6, 2023
@willcravitz willcravitz changed the title Autofill Category and Mechanic Entities Autofill category and mechanic entities Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants