components icon indicating copy to clipboard operation
components copied to clipboard

[V1] Status Light

Open ftakuipers opened this issue 1 year ago โ€ข 8 comments

Provide a general summary of the feature here

For the Magister SL-Badge recently a new version was published and the old one set to deprecated. In the new version, however, there are only two sizes.

๐Ÿค” Expected Behavior?

The smallest badge size (sm) is missing, which we used as indicators for i.e. new notifications.

๐Ÿ˜ฏ Current Behavior

๐Ÿ’ Possible Solution

Add an sm size badge to be used as indicator.

๐Ÿ”ฆ Context

The main purpose for us is indicators

๐Ÿ’ป Examples

No response

๐Ÿงข Your Product/Team

Magister

### CFA Interest
- [ ] Magister

ftakuipers avatar Aug 05 '24 13:08 ftakuipers

@ftakuipers There still is a small version? See https://storybook.sanomalearning.design/?path=/story/components-badge--all

jpzwarte avatar Aug 13 '24 12:08 jpzwarte

Hi, sorry stupid of me but I forgot to mention this issue is in Figma, not storybook. https://www.figma.com/design/YZeBneflpJkX3KXSyvMrqP/Magister-Light-mode?node-id=2267-1529&t=q5RHi2pLETkFJ6bP-4

ftakuipers avatar Aug 13 '24 12:08 ftakuipers

Hi Floor, we don't want to facilitate the small badge anymore in our design system due to accessibility issues. There can't be used any text or icons within the badge and that's not enough. It sounds like you want to use the badge more like an indicator, see this component in spectrum for example: https://opensource.adobe.com/spectrum-web-components/components/status-light/. Is this what you want? Please describe it or give an example of how you want to use it in combination with notifications, we probably need to create a new component for it.

DanielleRameau avatar Aug 14 '24 08:08 DanielleRameau

Hi Danielle, that's good to know! Perhaps it is not necessary for you guys to create a new component for it, we just use it as an indicator sometimes.

ftakuipers avatar Aug 14 '24 09:08 ftakuipers

@ftakuipers We would like to know where you are using it :) So we can better think about what course of action we should take in the SLDS.

jpzwarte avatar Aug 14 '24 09:08 jpzwarte

Sure, we want to use it as an indicator of i.e. a new message/notification or an event in a calendar

afbeelding Screenshot 2024-08-14 at 11 52 56

ftakuipers avatar Aug 14 '24 09:08 ftakuipers

Image

Image

Image

@ftakuipers Hi Floor, do you have some time today to discuss the screenshots above?

DanielleRameau avatar Aug 19 '24 07:08 DanielleRameau

Image

Image

DanielleRameau avatar Aug 20 '24 10:08 DanielleRameau