GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Remove Vuetify from Studio] 'Unsaved changes' modal in Channels - New collection by vtushar06 · Pull Request #5432 · learningequality/studio

Conversation

@vtushar06

@vtushar06 vtushar06 commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

Summary

Replaced Vuetify's MessageDialog component with Kolibri Design System's KModal for the unsaved changes dialog in the Collections modal.

  • Replaced MessageDialog with KModal in ChannelSetModal.vue
  • Updated modal props to use KModal's API (title, submitText, cancelText)
  • Maintained all existing functionality and event handlers

Manual verification:

  1. Logged in as [email protected] with password a
  2. Navigated to Channels > Collections
  3. Clicked "New collection" button
  4. Added text to Collection name input
  5. Clicked close button in the top bar
  6. Verified unsaved changes modal appears with KModal styling
  7. Tested both "Exit without saving" and "Save and close" buttons
  8. All functionality works as expected

After Changes Screenshot:
Screenshot 2025-10-07 at 11 43 43 AM

References

  • Fixes: [Remove Vuetify from Studio] 'Unsaved changes' modal in Channels - New collection #5299

Reviewer guidance

Test these changes by:

Login as [email protected] with password a

  1. Go to Channels > Collections
  2. Click "New collection" button
  3. Add text to Collection name input
  4. Click the close button in the top bar
  5. Verify the unsaved changes modal appears and functions correctly
  6. Test both cancel and save actions

Areas to focus on:

  • Modal properly blocks navigation when unsaved changes exist
  • Both RTL and LTR layouts work correctly
  • All 19 tests in channelSetModal.spec.js pass

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vtushar06
Replace Vuetify MessageDialog with KModal in unsaved changes modal (l…
fd88377
…earningequality#5299). Addresses learningequality#5306 review feedback.
@MisRob MisRob mentioned this pull request Oct 7, 2025
Refactor 'unsaved changes' modal to use KModal component and update tests #5306
Closed
@MisRob

MisRob commented Oct 7, 2025

Copy link
Copy Markdown
Member

@LianaHarris360 this PR should finish #5306 :)

LianaHarris360 and vtushar06 reacted with heart emoji
All reactions
  • ❤️ 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MisRob MisRob assigned LianaHarris360 Oct 7, 2025
@MisRob
MisRob requested a review from LianaHarris360 October 7, 2025 09:57
@MisRob MisRob changed the title Replace Vuetify MessageDialog with KModal in unsaved changes modal [Remove Vuetify from Studio] 'Unsaved changes' modal in Channels - New collection Oct 7, 2025
LianaHarris360
LianaHarris360 approved these changes Oct 7, 2025
View reviewed changes

@LianaHarris360 LianaHarris360 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Previous feedback has been addressed, this PR is good to go, thank you @vtushar06

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vtushar06 reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@LianaHarris360
LianaHarris360 merged commit a4e8559 into learningequality:unstable Oct 7, 2025
@vtushar06
vtushar06 deleted the kmodal-unsaved-dialog branch October 7, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@LianaHarris360 LianaHarris360 LianaHarris360 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@LianaHarris360 LianaHarris360

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Remove Vuetify from Studio] 'Unsaved changes' modal in Channels - New collection

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@vtushar06 @MisRob @LianaHarris360
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.