Investigate if badges are needed on other components\work with third party components
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## 💬 Description
Current the ic-badge component can only be placed on a component that has a "badge" slot. This ticket is to investigate:
- Does ic-badge need to support any components that it doesn't currently.
- Can ic-badge be used with 3rd party/should it be expected to?
## 💰 Use value
There may be components that users would like to add a badge too, that have not currently been considered. similarly, would a user potentially want to use ic-badge on another component eg a MUI button
The outcome of this ticket is to identify any components that should support having a badge displayed, and also determine if badge should support third party components.
It is envisaged that, if support for third party components is required, then this may well require breaking changes to the current badge implementation
There is currently this issue for slotted navigation items: #1701
Contributor guide
Research direction
Start with the ic-badge component and review the currently supported components and badge slots. Consider the slotted navigation-item context in issue #1701 and assess whether third-party components such as MUI buttons should be supported. Done means documenting which additional components need badges and reaching a decision on third-party support and any breaking changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100