[Feature] `TransitionKey` is not being parsed or handled between `ConditionState`.

Open
#128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
rust
Domain
devtools

Research direction

Locate the existing parsing and handling for ConditionState, TransitionKey, and TransitionState, then trace how the draw module uses these blocks. Define the expected handling from the proposal: parse TransitionKeys, ensure they are used by the draw module, and report when a TransitionState references a missing key.

Written by the indexing model from the issue text.

Description

feature

Problem

When creating objects which use special transitions between ConditionStates, a TransitionKey is defined which a TransitionState block can use to now what animation should play when going from one state to another. Currently this is not being tracked in the server and the TransitionKey is not being checked in the following blocks.

Proposal

The server should parse the TransitionKeys and make sure that they:

  1. Are used in the draw module.
  2. That if a TransitionState uses a TransitionKey that the key exists.

Examples

Image
Dominant language
Rust
Stars
1
Forks
0
Avg merge
21h 13m
Merged PRs (30d)
28

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ViTeXFTW/ZeroSyntaxV2

All issues in ViTeXFTW/ZeroSyntaxV2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.