learningequality / learningequality/studio
Unstable - Inheritable modal - The resources are inheriting the metadata of all the parent folders
Nobody has claimed this yet.
- 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
- Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
- 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
- OS: Windows 10, Ubuntu
- Browser: Chrome, Firefox
- URL: https://unstable.studio.learningequality.org/
- Caused by: https://github.com/learningequality/studio/pull/4635
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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