Skip to content
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

feature: Toast component #628

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

hervedombya
Copy link
Contributor

@hervedombya hervedombya commented Sep 11, 2023

Component:
'Toast'

Description:
Toast inform users of a process that an app has performed or will perform. They appear temporarily, towards the top of the screen. They shouldn't interrupt the user experience, and they don't require user input to disappear.

Design:
Enregistrement de l’écran 2023-09-18 à 16 36 07

Breaking Changes:

  • [] Breaking Changes

Closes: #ISSUE_NUMBER

@bert-e
Copy link
Contributor

bert-e commented Sep 11, 2023

Hello hervedombya,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Sep 11, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@bert-e
Copy link
Contributor

bert-e commented Sep 12, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 2 times, most recently from 8433c43 to 5ebbd99 Compare September 12, 2023 15:38
@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch from 7928087 to 575d5d6 Compare September 13, 2023 09:40
@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 2 times, most recently from e29886a to 0b87754 Compare September 13, 2023 14:48
@bert-e
Copy link
Contributor

bert-e commented Sep 18, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 2 times, most recently from 34663a9 to 0782c17 Compare September 18, 2023 12:36
@bert-e
Copy link
Contributor

bert-e commented Sep 20, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch from 2f8e107 to 55996db Compare September 20, 2023 11:24
@bert-e
Copy link
Contributor

bert-e commented Oct 4, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch from 110dc2f to b4d6888 Compare October 4, 2023 12:45
@bert-e
Copy link
Contributor

bert-e commented Oct 5, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch from 3ac52bd to f27d07d Compare October 5, 2023 16:16
const color = useGetBackgroundColor(status);
const iconName = defaultIconName(status);

return <Icon name={iconName} color={color as IconColor} />;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to cast the IconColor type here ? Is this type not accurate ? maybe we can update it if so 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IconColor type is keyof typeof theme but actually Typescript considers a variable theme.statusHealthy as a string

src/lib/components/toast/Toast.component.tsx Outdated Show resolved Hide resolved
src/lib/components/toast/ToastPositionHelpers.ts Outdated Show resolved Hide resolved
src/lib/components/toast/ToastProgressBar.tsx Outdated Show resolved Hide resolved
src/lib/components/toast/useMutationsHandler.test.tsx Outdated Show resolved Hide resolved
src/lib/components/toast/Toast.component.tsx Outdated Show resolved Hide resolved
@bert-e
Copy link
Contributor

bert-e commented Oct 13, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 2 times, most recently from 4f76026 to 11c5c0f Compare October 13, 2023 16:13
@bert-e
Copy link
Contributor

bert-e commented Oct 16, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 5 times, most recently from 10470ee to ac6e608 Compare October 16, 2023 13:24
@bert-e
Copy link
Contributor

bert-e commented Oct 18, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch 7 times, most recently from 4a78ba2 to 99ac811 Compare October 20, 2023 12:21
fix dependencies

fix framer-motion

fix storybook webpack

update framer-motion

downgrade framer-motion

modify toast styles

modify export

cancel some exports

update toast

fix navbar issue

add useMutationsHandler in core-ui

review fixes

minor fixes

fix theme issue

fix generic type

try new generic types

fix generic modify type

fix type

typescript wizard

fix mutationconfig

update mutation

fix unknown

minor fixes

useMutationsHandler works fire !!

fix css color

fix toastprovider

modify toastProps

modify rgbacolor

fix description builder

minor fixes

duration progress bar
@hervedombya hervedombya force-pushed the feature/ARTESCA-9182-Toast-Component branch from 9ffd5ab to 5958906 Compare October 20, 2023 12:28
@hervedombya
Copy link
Contributor Author

/approve

@bert-e
Copy link
Contributor

bert-e commented Oct 20, 2023

In the queue

The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.

The changeset will be merged in:

  • ✔️ development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.

IMPORTANT

Please do not attempt to modify this pull request.

  • Any commit you add on the source branch will trigger a new cycle after the
    current queue is merged.
  • Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Oct 20, 2023

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/1.0

Please check the status of the associated issue ARTESCA-9182.

Goodbye hervedombya.

@bert-e bert-e merged commit 5958906 into development/1.0 Oct 20, 2023
6 checks passed
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.

3 participants