learningequality / learningequality/studio

New topic inaccurately flashes as invalid for ~ 1 second while adding multiple new topics

Open
#2,717 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 - normal
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

When adding multiple new topics in the edit modal, if you click "ADD NEW TOPIC" after filling out another topic's title, sometimes a big red message flashes for ~ 1 second, saying that the topic is invalid. Once the new topic is created, the message goes away.

delayed validation

This appears to be potentially related to how the saveNode method of DetailsTabView is being used, as it has a debounce time that's about the same as the amount of time that validation message flashes.

Category

Select one: BUG

Real-life consequences (anything community should be aware of, for instance how it affects end users)

This is mostly just distracting and confusing, but it's not a blocker.

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.

Research direction

Reproduce the issue in the edit modal while adding multiple new topics, then inspect saveNode in contentcuration/contentcuration/frontend/channelEdit/components/edit/DetailsTabView.vue, especially its debounce timing. Confirm the validation message appears during the reported interaction and is absent once the new topic is created, without describing the topic as invalid during the delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.