ji-devs / ji-devs/ji-cloud

Loading a live JIG makes an extra call to fetch the JIG's draft data

Open
#3,241 0 comments 0 reactions 1 assignee View on GitHub

@corinnewo is already working on this.

Since Oct 3, 2022.

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

Description

Describe the bug

When loading a live JIG, i.e. draft_or_live=live, an extra call is made to fetch the JIG's draft data.

To Reproduce

  1. Navigate to the Content/Search page;
  2. Click Play on any JIG with the browser devtools open;
  3. Observer in the network tab that both live and draft data is fetched.

Expected behavior

No extra call is made.

Additional context

It doesn't appear that the data fetched is being used at all, but I haven't investigated yet.

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.