ji-devs / ji-devs/ji-cloud

Previewing a draft activity always loads config for the live JIG

Open
#2,347 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
14
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When previewing a draft activity for a JIG, the activity calls the JIGs live endpoint to fetch JIG configuration.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new JIG
  2. Set a "correct" sound effect for the JIG
  3. Add an card activity which plays correct sound effects, for example, Matching
  4. Preview the activity and note that the sound effects are randomized because no live JIG exists to fetch config from
  5. Publish the JIG
  6. Change the correct sound effect to something different
  7. Preview the activity and note the correct feedback effect is the original sound effect, not the draft version.

Expected behavior

Previewing draft activities should load config from the draft JIG.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.