Closed alizedebray closed 7 months ago
Latest commit: 227a51174df821d3b12fa50f2c45b40a6a8a13ef
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Preview environment ready: https://preview-1085--swisspost-design-system-next.netlify.app Preview environment ready: https://preview-1085--swisspost-web-frontend.netlify.app
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
@oliverschuerch @gfellerph I opened this PR as a draft so that we can discuss the following points:
* **Main question:** Should we merge the new post-alert story with the existing alert story? If so, how? With the development of the web component library we will often face this question in the future, thus now is a good time to choose a documentation architecture that takes this duality into account. * **Subsidiary question:** The post-alert documentation currently uses Stencil generated controls. In your opinion, is it good as is or would it be better to customize it?
Main answer: we decided to go with a single docs page and use tabs to show examples for standard HTML and Web Components. This PR is therefore blocked by the tabs PR #1181
Subsidiary answer: we decided to use Stencil generated controls and customize them if necessary
TODO:
Several bugs or questions:
Bug on WebC variant, Icon is displayed above text, but main icon does not change.
On primary type, when we change the icon, the color is black instead of white. This a bug already present in the current version, but I'm wondering if this will be maybe fixed with the PR's about mask icon?
Standard HTML alert is not dismissable (or at least there is no control anymore). It makes sense according to the recommendation that you wrote on the docs, but then it should be deprecated no?
pi-*
classes for white icons, project have to handle them by there own. This is also why we decided to moved to the mask-image icons.Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Ticket to deprecate dismissible HTML alerts: #2014
@oliverschuerch @gfellerph I opened this PR as a draft so that we can discuss the following points: