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

Timeline Modification Verification #11

Merged
merged 8 commits into from
Nov 20, 2024
Merged

Conversation

azaleacolburn
Copy link
Member

@azaleacolburn azaleacolburn commented Nov 20, 2024

Description

When users edit the timeline, by either rearranging or deleting ActionItems, they may crease illegal timelines. For example, if they swap set of reciprocal Intake and Eject Actions. Now, if they create an invalid timeline, the exact ActionItems that they made illegal will have a warning on them and they won't be able to close the timeline until they resolve all warnings.

Features:

  • Timeline Verification Class
  • Warnings in timeline
  • Timeline forcing fixes before closing

Note

This PR creates a new class that's used to verify a timeline, this class could be used eventually to encapsulate some logic from ActionInputs.svelte, however, that's beyond the scope of this PR and likely this BunnyBots season.

@azaleacolburn azaleacolburn marked this pull request as ready for review November 20, 2024 00:19
Copy link
Contributor

@awwpotato awwpotato left a comment

Choose a reason for hiding this comment

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

lgtm

@awwpotato awwpotato merged commit 9380b50 into main Nov 20, 2024
2 checks passed
@azaleacolburn azaleacolburn deleted the azalea/complex-state-machine branch November 20, 2024 00:37
@azaleacolburn azaleacolburn mentioned this pull request Nov 20, 2024
5 tasks
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