Skip to content

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

Closed

Description

@MisRob

🙂 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you’re requesting an issue, please:

  • Read Contributing guidelines carefully. Pay extra attention to Using generative AI. Pull requests and comments that don’t follow the guidelines won’t be answered.
  • Confirm that you’ve read the guidelines in your comment.

Sub-issue of #5060.

Complexity: Low

Summary

Remove Vuetify from Unsaved changes modal in Channels > Collections > New collection:

MessageDialog.vue built with several Vuetify components is currently used for this modal:

<MessageDialog
v-model="showUnsavedDialog"
:header="$tr('unsavedChangesHeader')"
:text="$tr('unsavedChangesText')"
data-test="dialog-unsaved"
:data-test-visible="showUnsavedDialog"
>
<template #buttons>
<VSpacer />
<VBtn
flat
@click="confirmCancel"
>
{{ $tr('closeButton') }}
</VBtn>
<VBtn
color="primary"
@click="save"
>
{{ $tr('saveButton') }}
</VBtn>
</template>
</MessageDialog>

Remove dependencies on Vuetify by using KModal instead of MessageDialog.

Do not modify MessageDialog.vue or how it's used at another places.

How to get there

  • Login as user@a.com with password a
  • Go to Channels > Collections
  • Click New collection button
  • Add some text to Collection name input
  • Click the close button in the top bar

Guidance

Out of Scope

  • Do not modify MessageDialog.vue
  • Do not refactor any other areas of the codebase

Expected UI/UX changes

  • Minor visual differences naturally stemming from the use of KDS

Acceptance criteria

General

  • The specification above is followed.
  • Except for "Expected UI/UX changes," there are no functional or visual differences in user experience.
  • All user interactions are manually tested with no regressions.
  • Pull request includes screenshots.

a11y and i18n

See the project's "Guidance" for useful references.

  • Implementation meets a11y standards
  • All components are LTR and RTL compliant (preview with pnpm run devserver since :hot doesn't render RTL properly)
  • All user-facing strings are translated properly
  • The notranslate class been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. user-generated text)
  • Mobile experience is reasonable

Unit tests

  • If there is a unit test suite already, it is meaningfully updated (even if tests don't fail)
  • If there is no unit test suite, a new one is created. Do not use obsolete @vue/test-utils approach. Instead, use @testing-library/vue (Vue Testing Library).

Activity

  1. Kartikayy007 commented on Aug 16, 2025

    @Kartikayy007
    Contributor

    hi @MisRob, can you assign me this issue?

  2. Kartikayy007 commented on Aug 18, 2025

    @Kartikayy007
    Contributor

    @MisRob please take look

  3. akolson commented on Aug 18, 2025

    @akolson
    Member

    HI @Kartikayy007! Yes--sure. Please feel free to let us know incase you have any questions or comments regarding the issue. Thanks you so much.

  4. AvaniNGoswami commented on Sep 18, 2025

    @AvaniNGoswami

    Hi! I’ve read the contributing guidelines and would like to work on this issue. I’ll replace MessageDialog with KModal in ChannelSetModal.vue and will follow the acceptance criteria. Could you please assign this to me?

  5. MisRob commented on Sep 23, 2025

    @MisRob
    MemberAuthor

    Hi @AvaniNGoswami, thanks! We have already received a pull request for this issue, even though it's unclear whether @Kartikayy007 plans to come back to resolve feedback. Let's wait for some time if we hear back.

    You're welcome to keep an eye on the list of unassigned help wanted issues. There are none currently, but we add new ones regularly, usually at least once per week.

  6. vtushar06 commented on Oct 5, 2025

    @vtushar06
    Contributor

    Hii @MisRob, Can you assign this issue to me if current contributor is not active on this.thanks

  7. MisRob commented on Oct 6, 2025

    @MisRob
    MemberAuthor

    Hi @vtushar06, since @Kartikayy007 didn't respond here, we'd be happy to let you finish that work. Do you think you could push right to #5306 based on review feedback so that the review is not lost?

  8. vtushar06 commented on Oct 6, 2025

    @vtushar06
    Contributor

    Yes, sure @MisRob! I’ll continue the work on PR #5306 and push the changes based on the existing review feedback.

  9. MisRob commented on Oct 6, 2025

    @MisRob
    MemberAuthor

    Thank you @vtushar06, that's helpful

  10. vtushar06 commented on Oct 6, 2025

    @vtushar06
    Contributor

    Hi @MisRob,

    I've addressed all the review feedback from @LianaHarris360:

    • Removed unnecessary KModal import
    • Removed KModal from components section
    • Removed redundant showUnsavedDialog = false

    My branch: https://github.com/vtushar06/studio/tree/remove-vuetify-unsaved-modal-5299
    Commit: vtushar06@1a368b1

    I don't have push access to @Kartikayy007's fork. Should I create a new PR or can a maintainer cherry-pick this commit?

  11. MisRob commented on Oct 6, 2025

    @MisRob
    MemberAuthor

    Ah I didn't realize it @vtushar06. In that case if you wouldn't mind opening a new PR, and cross-referencing them, that'd would be great.

  12. vtushar06 commented on Oct 6, 2025

    @vtushar06
    Contributor

    okay @MisRob, will open by today.

  13. MisRob commented on Oct 7, 2025

    @MisRob
    MemberAuthor

    Thank you @vtushar06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions