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

Disable bulk editing of all new metadata #3779

Merged

Conversation

rtibbles
Copy link
Member

Summary

Description of the change(s) you made

  • Doing bulk editing of new metadata causes issues as we are not doing individualized updates to the metadata in the same way we do for tags
  • The full spec (with indeterminate checkbox states) can't be implemented using the VSelect components currently being used for much of the UI
  • The simplest fix this close to release seems to be just disabling all bulk editing for new metadata - this means that when we release, bulk editing will be unchanged from current production

Manual verification steps performed

  1. Select multiple resources
  2. See that no new metadata is editable

Screenshots (if applicable)

image

Does this introduce any tech-debt items?

We will need to address this at least when we implement the new bulk editing workflows.
Updating the data processing to match how we handle the 'merge' behaviour for bulk editing in tags will be the first step
We will also need a way to indicate multiselect with indeterminate states in KSelect to implement this.

Fixes #3769

Prevents overriding of individual metadata.
@rtibbles rtibbles changed the base branch from unstable to hotfixes October 28, 2022 03:09
Copy link
Member

@bjester bjester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionally works fine, but left some comments that I think should remove some extra whitespace shown in the screenshot

Screenshot from 2022-11-01 08-41-43

@@ -54,22 +54,25 @@
@focus="trackClick('Description')"
/>
</VFlex>
<VFlex xs12 md6 :class="{ 'pl-2': $vuetify.breakpoint.mdAndUp }">
<VFlex xs12 :[mdValue]="true" :class="{ 'pl-2': $vuetify.breakpoint.mdAndUp }">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps conditionally apply the pl-2 class on && oneSelected

@@ -54,22 +54,25 @@
@focus="trackClick('Description')"
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the computed mdValue on the VFlex below, perhaps move the v-if="oneSelected" on the description field to it's parent VFlex

@rtibbles
Copy link
Member Author

rtibbles commented Nov 1, 2022

Ah yeah - I was in a little bit of a rush, let's sort out that whitespace.

@rtibbles
Copy link
Member Author

rtibbles commented Nov 1, 2022

Updated:
image

Awaiting sign off from @jtamiace.

@rtibbles
Copy link
Member Author

rtibbles commented Nov 1, 2022

All comments addressed, @jtamiace concurs!

@rtibbles rtibbles merged commit cee4776 into learningequality:hotfixes Nov 1, 2022
@rtibbles rtibbles deleted the learning_activity_bulk_edit branch November 1, 2022 18:20
@bjester bjester mentioned this pull request Nov 9, 2022
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.

Hotfixes - Bulk editing the 'Learning activity'
2 participants