Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making a subsection available as prerequisite doesn't inmediately propagate to other sections #1328

Open
DanielVZ96 opened this issue Sep 26, 2024 · 1 comment

Comments

@DanielVZ96
Copy link

When you mark a subsection as available for being a prerequisite, it sometimes needs a refresh in order to be able to be visible as prerequisite for other sections.

In the following video you can see that the "Grade submission to ELIS settings" subsection is marked as a prerequisite. but then it doesn't appear available as a prerequisite in another subsection.

prereq-bu.webm

I tried to find a fix for the issue, but I think it has to do with the prerequisites being loaded as part of a section in the state used by the modal, so it isn't shared across other sections, so the only quick fix I could find was refreshing the whole state which is less than ideal.

@itsjeyd
Copy link

itsjeyd commented Sep 26, 2024

Draft PR for reference: open-craft#64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants