Repository navigation
feat(admin): library Poll / Force Update as a split button - #1002
Merged
Merged
Conversation
Auto-import the labs components (VCheckboxGroup, VSplitBtn). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Experiment. Poll is the button and Force Update its one menu item. Both confirmations sit outside the menu, which unmounts its content when it closes, so ConfirmDialog gains a controlled mode: bound to a modelValue it renders no activator and reports every close. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The library table's Poll and Force Update icons become one Vuetify labs
VSplitBtn: Poll is the button, Force Update its menu item.vuetify({ autoImport: { labs: true } }), the same one-line change asvuetify-checkbox-groups, so whichever merges second applies cleanly.ConfirmDialogcontrolled mode: amodelValueprop (defaultnull, since Vue casts an absent Boolean prop tofalseand would flip all existing consumers). Bound, the dialog renders no activator and reports every close, scrim click and Escape included, throughupdate:modelValue. Unbound, it works as before.density="comfortable"(28px in a group, the size of a lone compact icon) and a zero-padding toggle, and the action-cell dimming covers it.Test plan
confirm-dialog(both modes, scrim/Escape close),library-table-poll(button confirms then polls, menu item confirms then force-polls, cancel runs nothing). The existingmark-read-buttonspecs pass unchanged.make lint,make test-frontend,make build-frontendpass.🤖 Generated with Claude Code