Skip to content

feat(common-components): add notifications as an Angular 22 compatible alternative for ngx-toastr - #149

Open
glenstaes wants to merge 3 commits into
masterfrom
feature/notifications
Open

feat(common-components): add notifications as an Angular 22 compatible alternative for ngx-toastr#149
glenstaes wants to merge 3 commits into
masterfrom
feature/notifications

Conversation

@glenstaes

Copy link
Copy Markdown
Member

This component leverages the new design system tokens, so there's already a hard requirement on that.
notifications

display: flex;
flex-direction: column;
border-radius: var(--ppw-ds-radius-small);
width: 472px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Waarom deze hard-coded values?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Zodat notificaties ook weer niet de volledige breedte gaan innemen van de pagina. Een ander voorstel?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

iets met een minmax functie en een 'vw' value ofzo?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

zal eens iets proberen :)

* ```
*/
@Component({
selector: 'sw-notification',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

vanwaar komt die sw- prefix? Dat moet toch ppw- zijn?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Dat krijg je wanneer je dat component kopieert uit een project naar de SDK en dan vergeet de selector aan te passen 😆

@glenstaes
glenstaes force-pushed the feature/notifications branch from 9ab9f9d to 5dd1005 Compare August 19, 2026 08:18
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.

2 participants