learningequality / learningequality/studio

Exiting import modal sometimes says resources were removed

Open
#4,091 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DEV: frontend TAG: ux update TODO: needs reproduced
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Observed behavior

Reported by @thanksameeelian: clicking ‘←’ to get out of resources after clicking ‘import’ does not appear to do anything but adds resources in the background: upon navigation resolving, get alert that ‘2 resources were removed’, but i only added 2 during the import process and both are still there
Screen Shot 2023-05-11 at 1 05 07 PM

Expected behavior

Exiting the modal shouldn't show snackbars like this

User-facing consequences

Confusion on whether content was deleted from their channel

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

Start by reproducing the import flow described in the issue: add two resources, click the back arrow, and observe the navigation and snackbar behavior. Trace the import modal's exit and resource-removal handling; done means leaving the modal does not report resources as removed when they remain in the channel.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.