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

Allow user to create, iterate and publish/unpublish a scenario #73

Merged
merged 10 commits into from
Aug 16, 2023

Conversation

Roukii
Copy link
Contributor

@Roukii Roukii commented Aug 10, 2023

Functionality added:

  • Create scenario
  • Create button to delete rule
  • Make publish work
  • Edit rule information
  • Create draft of iteration
  • Allow moving around different iteration

Miscellaneous:

  • Clean some part of the code
  • Remove a lot of console.log that where used for debugging purpose

Copy link
Contributor

@Pascal-Delange Pascal-Delange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks about right to me so far ! 👍
On thing we should do: you should borrow from @zoeKD 's PR to display the relevant buttons only when they should be available. (well, you have to go through a rebase of master anyway because Zoe's changes created quite a few conflicts in your PR)

i18n: ['scenarios', 'navigation', 'common'] satisfies Namespace,
};

const createListFormSchema = z.object({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createScenarioFormSchema?

packages/app-builder/public/locales/en/common.json Outdated Show resolved Hide resolved
Create button to delete rule
Make publish work
Edit rule information
Allow moving around different iteration
Clean some code

run prettier
…ditor

If draft exist change modal to give choice to switch to it or override it for creating draft
Rename Score to Score modifier in rule
Add min max value from -1000 to 1000 to score modifier in rule and display error for it
@Roukii Roukii force-pushed the alexandre/scenario-add-all-buttons branch from 136e77f to b683f3f Compare August 16, 2023 11:11
@Roukii Roukii merged commit 58e5ef8 into main Aug 16, 2023
1 check passed
@Roukii Roukii deleted the alexandre/scenario-add-all-buttons branch August 16, 2023 12:45
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.

2 participants