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] Buttons in Move modal #5355 by Prashant-thakur77 · Pull Request #5409 · learningequality/studio

Conversation

@Prashant-thakur77

@Prashant-thakur77 Prashant-thakur77 commented Sep 28, 2025

Copy link
Copy Markdown
Contributor

Fixes #5355

Summary

Updated Buttons from Vbtn to KButton in Move modal
Used KButtonGroup for the bottom right Buttons for 8px spacing.

IMAGES
Screenshot From 2025-09-29 00-07-59

References

• Parent issue: #5060

Reviewer guidance

Login as [email protected] with password a
Go to Channels > Published Channel
Check topic or resource
Click "Move" icon

Sorry, something went wrong.

Uh oh!

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

All reactions
Prashant-thakur77 and others added 2 commits September 29, 2025 00:09
@Prashant-thakur77
Remove Vuetify-Buttons in Move modal
861e0fa
@pre-commit-ci-lite
[pre-commit.ci lite] apply automatic fixes
032702e
@MisRob
MisRob self-requested a review September 29, 2025 04:40
@MisRob MisRob self-assigned this Sep 29, 2025
MisRob
MisRob requested changes Sep 29, 2025
View reviewed changes

@MisRob MisRob 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.

Thank you @Prashant-thakur77, code changes make sense and I confirm button interactions still work as expected.

I noticed one problem on smaller screens, where "Add new folder" button label is cut off:

button-bug

This will likely be caused by the surrounding context rather than button itself, nevertheless it's a regression compared to the previous experience so it will need to be fixed before we merge. Can you investigate what's the cause?

Sorry, something went wrong.

Uh oh!

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

Prashant-thakur77 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@Prashant-thakur77

Prashant-thakur77 commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

Hello @MisRob,

I looked into the button truncation issue and found two key reasons:
Reference for Kbutton properties https://github.com/learningequality/kolibri-design-system/blob/develop/lib/buttons-and-links/buttons.scss

  1. Flex Property Differences:
    =>VBtn has ( flex: 0 0 auto )with flex-shrink: 0 which prevents shrinking
    =>KButton has no explicit flex properties, defaulting to flex-shrink: 1 (aggressive shrinking)

  2. Breadcrumbs Constraint:
    The Breadcrumbs component uses max-width: calc(100% - 86px) which leaves only 86px for the button. Combined with KButton's max-width: 100%, this causes truncation.

Solution:
The solution is just to add a class to the Kbutton and assign flex-shrink=0 to it.

This is after using the solution mentioned above.
image

All reactions

Sorry, something went wrong.

Uh oh!

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

@Prashant-thakur77
added class add-topic-btn and assigned flex-shrink=0 to resolve butto…
a1bedff
…n truncation
@MisRob

MisRob commented Sep 29, 2025

Copy link
Copy Markdown
Member

Perfect @Prashant-thakur77, please proceed. Thanks for clarity around what's going on.

Prashant-thakur77 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

Prashant-thakur77 and others added 2 commits September 29, 2025 18:37
@Prashant-thakur77
Merge branch 'replace-vuetify-buttons-move-modal' of https://github.c…
d1a89da
…om/Prashant-thakur77/studio into replace-vuetify-buttons-move-modal
@pre-commit-ci-lite
[pre-commit.ci lite] apply automatic fixes
6a5c92c
@Prashant-thakur77
Prashant-thakur77 requested a review from MisRob September 29, 2025 13:14
@Prashant-thakur77

Prashant-thakur77 commented Sep 29, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Hello @MisRob,

I've submitted the PR for the MoveModal button truncation fix.Please let me know if there's anything else I can contribute to!
Thanks for your guidance! 💫.

All reactions

Sorry, something went wrong.

Uh oh!

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

MisRob
MisRob approved these changes Sep 30, 2025
View reviewed changes

@MisRob MisRob 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.

Thank you @Prashant-thakur77.

All looks well - haven't observed any regressions in functionality, breadcrumbs, or buttons.

Please let me know if there's anything else I can contribute to!

We're happy to have you contribute to this project - I'm opening new issues regularly - find them in the usual way via the link in the contributing guidelines. Thanks a lot.

Sorry, something went wrong.

Uh oh!

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

Prashant-thakur77 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@MisRob
MisRob merged commit eea9a89 into learningequality:unstable Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@MisRob MisRob MisRob approved these changes

Uh oh!

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

Assignees

@MisRob MisRob

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Remove Vuetify from Studio] Buttons in Move modal

Uh oh!

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

2 participants

@Prashant-thakur77 @MisRob
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.