Skip to content

feat: migrate gix-cmp Collapsible, KeyValuePair and KeyValuePairInfo #7169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Jul 22, 2025

Motivation

We need to integrate the latest version of Gix-cmp, which includes the migration of Collapsible, KeyInfoPair, and KeyInfoPairInfo to Svelte v5. Otherwise, the collapsible element may eventually stop working as expected, as it has become incompatible with the latest version of Svelte.

Changes in Gix-cmp

Notes

Unfortunately not really a way to size down the PR 😢. Collapsible, KeyValuePair, KeyValuePairInfo and Section are related and using each others so because of the slot migration to snippet, we cannot just migrate one or the other.

Changes

  • Bump gix-cmp@next
  • Migrate required slots to snippets.
  • Added few guards as snippet did not inherit their top nullish guards
  • Migrate ProposalSystemInfoEntry to Svelte v5 to avoid naming clashes on value.
  • Migrate ExpandableProposalNeurons and StakeNeuronToVote to Svelte v5 to use new Collapsible.

Tests

None.

Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
@peterpeterparker peterpeterparker marked this pull request as ready for review July 22, 2025 13:15
@peterpeterparker peterpeterparker requested a review from a team as a code owner July 22, 2025 13:15
Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
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.

1 participant