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

Replace render modifiers in curr inv sequence block overview component #8265

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

stopfstedt
Copy link
Member

still work in progress.

while at it, i moved some functions/tasks around to group related concepts closer for
improved DX.
load() task went on top so i don't have to scroll that much while taking
it apart.
all this just to get the course details of the current course selection - if there is one - , or the course already associated with the sequence block, correctly onto the screen.
i hate this, but can't come up with a better way of handling this multi-state situation.
speaking of which - the course details should probably be its own component now, will deal with that later.
this pulls out the loading of the sequence block parent and the block's siblings as well.
…method()

form validation is hinky for these two, as it was before.
there's a slight change in behaviour here - if both are in edit-mode and
you save one, the other one closes as well. infuriating!
might as well lock one down while the other is in edit-mode.
that's probably going to be the next commit.
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

Successfully merging this pull request may close these issues.

1 participant