Skip to content

[Remove Vuetify from Studio] Buttons in disk space popup in Administration - Users聽#5354

Description

@MisRob

馃檪 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you鈥檙e requesting an issue, please:

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

Sub-issue of #5060.

Complexity: Low

Summary

Migrate the following buttons in Administration > Users > Edit disk space from Vuetify to Kolibri Design System.

VBtn is currently used to show them. To remove this Vuetify dependency , replace the usage of VBtn in this specific location with the most suitable KDS button or link components. Ensure that all buttons work exactly as before.

How to get there

  • Login as a@a.com with password a
  • Go to Administration > Users
  • Click the edit icon in the Disk space colum of users table

Guidance

Out of Scope

  • 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. akramcodez commented on Sep 7, 2025

    @akramcodez

    hi @MisRob
    i would like to work on this issue, so can you please assign this to me

  2. Prashant-thakur77 commented on Sep 8, 2025

    @Prashant-thakur77
    Contributor

    Hello @MisRob,

    I hope this message finds you well. My name is Prashant and I鈥檓 new to open-source contribution. I鈥檓 very excited about Learning Equality鈥檚 mission and would love to contribute.
    I鈥檝e carefully read the contributing guidelines and set up the development environment locally.
    i would too like to work on this issue,if it is not assigned yet.

  3. MisRob commented on Sep 8, 2025

    @MisRob
    MemberAuthor

    Hi @akramcodez and @Prashant-thakur77, welcome!

    For this issue, I will assign @akramcodez who requested at first.

    @Prashant-thakur77 Thank you for confirming you saw the guidelines and I'm glad you were able to set up your dev environment. I am adding new issues to the project on at least weekly basis - please keep an eye on 'help wanted' list and we will be glad to assign you one of the upcoming ones.

  4. Prashant-thakur77 commented on Sep 8, 2025

    @Prashant-thakur77
    Contributor

    sure

  5. Prashant-thakur77 commented on Sep 28, 2025

    @Prashant-thakur77
    Contributor

    Hi @akramcodez 馃憢

    I noticed you're working on this issue. If you need any help or want to collaborate, I'm happy to assist!

  6. MisRob commented on Oct 6, 2025

    @MisRob
    MemberAuthor

    @akramcodez are you working on this issue?

  7. dipakrathod-tech commented on Oct 7, 2025

    @dipakrathod-tech

    Hi @MisRob I want to work on this issue could you please assign to me ?

  8. 8 remaining items

  9. Prashant-thakur77 commented on Oct 22, 2025

    @Prashant-thakur77
    Contributor

    Hi @MisRob, I'm interested in working on this issue.

    I've genuinely enjoyed contributing to this project and would love to continue working on more issues. Each task has been a valuable learning experience, I'm also available for medium-complexity issues and would appreciate being considered for future tasks :) Thanks..

  10. AlexVelezLl commented on Oct 22, 2025

    @AlexVelezLl
    Member

    Hey @Prashant-thakur77! Thanks for all your contributions and your interest in working on this issue. I'll assign this to you! And thanks! We'll consider you when medium-complexity issues are opened <3

  11. Prashant-thakur77 commented on Oct 22, 2025

    @Prashant-thakur77
    Contributor

    Hi @MisRob, I have a quick question about KButtonGroup.

    I've noticed that KButtonGroup doesn't have white-space: nowrap styling, which works fine on desktop but causes buttons to wrap on smaller screens.

    I'm curious if this is intentional, or would it be helpful to add this style to prevent wrapping?

    Thanks for your insight!
    The problem:
    Image
    Used Kbutton group here

  12. MisRob commented on Oct 23, 2025

    @MisRob
    MemberAuthor

    Hi @Prashant-thakur77,

    Thanks for reaching out!

    Yes, it's true we quite often run into scenarios where buttons shouldn't wrap. I would be hesitant to apply white-space: nowrap everywhere by default though. I think it could lead to unexpected overflows in some cases - and those are worse than unexpected wrap from the user point of view. Overflow can result in elements not being reachable at all.

    However, I think it would definitely make sense to have it easily configurable from outside, and even documented as an example in KDS documentation. If you apply <KIconButton :style="{'white-space': 'nowrap'}" />, will it take effect? Depending on the context, it may also be needed to ensure that the container doesn't limit available space.

  13. MisRob commented on Oct 23, 2025

    @MisRob
    MemberAuthor

    @Prashant-thakur77 I've just edited my original reply with the suggestion to try out <KIconButton :style="{'white-space': 'nowrap'}" /> - it was formatted badly and didn't show up.

    If that works, we shouldn't need a new prop. But if it's not possible to easily override from outside, we can consider.

  14. MisRob commented on Oct 23, 2025

    @MisRob
    MemberAuthor

    Sorry <KButtonGroup> I meant :)

  15. MisRob commented on Oct 23, 2025

    @MisRob
    MemberAuthor

    @Prashant-thakur77 as for a Medium issue you mentioned above, since you have some nice experience with the project, I am happy to assign you the next one I prepare - likely tomorrow or next week.

  16. Prashant-thakur77 commented on Oct 23, 2025

    @Prashant-thakur77
    Contributor

    Sure @MisRob would love to work on it ;)

  17. Prashant-thakur77 commented on Oct 23, 2025

    @Prashant-thakur77
    Contributor

    JUST raised the pr for this issue too;).Do tell if any changes are required.

  18. AllanOXDi commented on Oct 23, 2025

    @AllanOXDi
    Contributor

    Thanks for contributing .We will assign a reviewer for your PR soon!

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions