learningequality / learningequality/studio

Unstable - Inheritable modal - The resources are inheriting the metadata of all the parent folders

Open
#4,754 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3 - low TODO: needs decisions
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Observed behavior

Currently a resource inherits all the metadata from all the parent folders above it.

Expected behavior

I would expect it to inherit only the metadata from the folder in which we are adding the resource so this should be further discussed.

Steps to reproduce the issue

  1. Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
  2. Create a folder with some metadata, then create another folder within it with different metadata and proceed in the same manner

Additional information

https://github.com/user-attachments/assets/97393c87-8823-41e8-802d-c7b8236dd707

Usage Details

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 behavior at the unstable Studio URL by creating nested folders with different metadata and adding a resource, then compare which parent metadata is inherited. Review the change identified as being caused by pull request #4635 and confirm whether the expected behavior should use only the immediate folder's metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.