Skip to content

Comments

chore: update package dependencies#666

Open
garethbowen wants to merge 7 commits intomainfrom
update-dependencies-2026-02
Open

chore: update package dependencies#666
garethbowen wants to merge 7 commits intomainfrom
update-dependencies-2026-02

Conversation

@garethbowen
Copy link
Collaborator

Updating primevue changes the behaviour of: #467

It's now a completely different bug but I think it's slightly better - let me know if you disagree!

I have verified this PR works in these browsers (latest versions):

  • Chrome
  • Firefox
  • Safari (macOS)
  • Safari (iOS)
  • Chrome for Android
  • Not applicable

What else has been done to verify that this works as intended?

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Do we need any specific form for testing your changes? If so, please attach one.

What's changed

@changeset-bot
Copy link

changeset-bot bot commented Feb 20, 2026

⚠️ No Changeset found

Latest commit: b35c4c4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR


<style scoped lang="scss">
.table-layout {
width: max-content;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

With this specified the "List group" section in the "All question types" form was forced too wide to fit within the form. I couldn't see any regression from removing it so I assume it's simply no longer required...

Copy link
Collaborator

Choose a reason for hiding this comment

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

I couldn't find what changed, so the UI started breaking after the upgrade. Do you know?

The only difference I see is that this branch has horizontal scrolling on mobile, which the preview doesn't have:

Branch:

Preview:

This list group is very tricky to fit. For now, we just make it look good on mobile (not perfect) as we get a better solution design for that. From the start, it doesn't split words; it just breaks on spaces (see the preview site). It's preferred to avoid horizontal scrolling in the form.

Copy link
Collaborator

@latin-panda latin-panda left a comment

Choose a reason for hiding this comment

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

I haven't tested in Central yet to see if any styles are overlapping incorrectly. I did check the datepicker, which PrimeVue had regressions before, and the number input that #469 seems fixed, and #467 is improved.

Here are some things I found when testing WF in the demo page in Chrome:

1.. The input type number is wider now (you can check with Aly if that's still okay)

In branch (233px)

Before (193px)

2.. Labels not wrapping

In branch:

Before:

Please consider sending it to QA Team to test other forms, test on iPhone, and verify the previous bugs :)


<style scoped lang="scss">
.table-layout {
width: max-content;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I couldn't find what changed, so the UI started breaking after the upgrade. Do you know?

The only difference I see is that this branch has horizontal scrolling on mobile, which the preview doesn't have:

Branch:

Preview:

This list group is very tricky to fit. For now, we just make it look good on mobile (not perfect) as we get a better solution design for that. From the start, it doesn't split words; it just breaks on spaces (see the preview site). It's preferred to avoid horizontal scrolling in the form.

@garethbowen
Copy link
Collaborator Author

@latin-panda Yeah, I think I was a bit optimistic. It's so time consuming to test primevue because CSS is a terrible API, so even a minor bump can cause a major issue. How about we go back to locking down primevue until we need to upgrade for a feature or bug fix that warrants the testing time required to make it safe?

@latin-panda
Copy link
Collaborator

latin-panda commented Feb 24, 2026

How about we go back to locking down primevue until we need to upgrade for a feature or bug fix that warrants the testing time required to make it safe?

I'm divided. It's potentially fixing 2 nice bugs: #469 and #467, but yes, we'll need to fix new issues in this upgrade.
I guess it's okay to create a new ticket for this upgrade, including details of what it fixes and breaks (so far), and leave it in the ready column to pick it up soon again.

@garethbowen
Copy link
Collaborator Author

@latin-panda I've merged the vitest PR into this one, and reverted primevue and raised an issue to tackle it separately: #675

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants