Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Feature 69 - ButtonsGroup [Dev] #69

Open
2 tasks done
omarefg opened this issue Nov 14, 2021 · 0 comments Β· May be fixed by #81
Open
2 tasks done

Feature 69 - ButtonsGroup [Dev] #69

omarefg opened this issue Nov 14, 2021 · 0 comments Β· May be fixed by #81
Assignees
Labels
carry-over-5 task that started in sprint 5 but it's not finished. components A components feature feature New feature or request weight:1 something that is easy to do weight:5 something that need work
Milestone

Comments

@omarefg
Copy link
Contributor

omarefg commented Nov 14, 2021

Checklist βœ…

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary πŸ’‘

The ButtonsGroupo component is a component that works like a one of many choice to the user, these choices are all in the same context but the user can select only one. For example, selecting:

  • Last week
  • Last month
  • Last year

In the dashboard module.

Screenshot from 2021-11-14 11-30-22

The component will be used like this:

import { ButtonGroup } from '@platzily-ui/components'

const MyComponent = () => {
  const actions = [
    {   // extends ButtonsProps object and
      selected: true || false // it applies the selected styles to the button
    }
  ]

  return (
    <ButtonsGroup
      actions={actions}
    />
  )
}

Requirements 🌈

The component must be tested using unit testing

Motivation πŸ”¦

A way to let the user decide between any qty of contexts

@omarefg omarefg added feature New feature or request components A components feature labels Nov 14, 2021
@omarefg omarefg added this to the Sprint 5 - UI milestone Nov 14, 2021
@danielvaldivv danielvaldivv self-assigned this Nov 16, 2021
@danielvaldivv danielvaldivv linked a pull request Nov 23, 2021 that will close this issue
5 tasks
@danielvaldivv danielvaldivv added weight:5 something that need work documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Nov 23, 2021
@danielvaldivv danielvaldivv changed the title Feature - ButtonsGroup [Dev] Feature 69 - ButtonsGroup [Dev] Nov 23, 2021
@danielvaldivv danielvaldivv added documentation Improvements or additions to documentation weight:1 something that is easy to do and removed documentation Improvements or additions to documentation labels Nov 24, 2021
@danielvaldivv danielvaldivv linked a pull request Nov 27, 2021 that will close this issue
5 tasks
@edanfesi edanfesi modified the milestones: Sprint 5 - UI, Sprint 6 - UI Dec 1, 2021
@edanfesi edanfesi added the carry-over-5 task that started in sprint 5 but it's not finished. label Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
carry-over-5 task that started in sprint 5 but it's not finished. components A components feature feature New feature or request weight:1 something that is easy to do weight:5 something that need work
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants