mi6 / mi6/ic-ui-kit

groupLinks on Footer do not update after the initial render

Open
#2,007 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

Summary of the bug

groupLinks on Footer do not update after the initial render

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Add a Footer with IcFooterLinkGroup as slots and groupLinks as false
  2. Toggle groupLinks totrue
  3. Watch as it does not update properly

As part of fixing this, change the defaultArgs to the default of false for groupLinks on Storybook. UPDATE: it is now possible to toggle groupLinks true/false and replicate this issue.

📸 Screenshots or code

See the Storybook playground and toggle groupLinks

🧐 Expected behaviour

groupLinks to update visually when toggled

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Footer Storybook playground and reproduce the issue by toggling groupLinks from false to true with IcFooterLinkGroup slots. Trace the Footer update path and the story's defaultArgs, then verify that the visual grouping changes in both directions and that the default is false.

Written by the indexing model from the issue text.

Assessment

Tech stack
storybook, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.