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

design - change style for alerts #3273

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

lorenzo-cavazzi
Copy link
Member

New style for alerts 💅

image

/deploy #notest

* Do not use text classes for the non-text icon.
* Use the non-filled icons as in most v1 components.
* Inherit the color used for the alert to improve contrast.
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-3273.dev.renku.ch

@lorenzo-cavazzi lorenzo-cavazzi marked this pull request as ready for review August 15, 2024 15:39
@lorenzo-cavazzi lorenzo-cavazzi requested a review from a team as a code owner August 15, 2024 15:39
@@ -84,11 +84,12 @@ class RenkuAlert extends Component {
}

getIcon() {
const iconSize = 32;
Copy link
Member

Choose a reason for hiding this comment

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

Define a constant for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in ee9a172

@leafty
Copy link
Member

leafty commented Aug 20, 2024

Opinion: I would use a rounded exclamation mark icon instead.

* limitations under the License.
*/

export const iconSize = 32;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
export const iconSize = 32;
export const ALERT_ICON_SIZE = 32;

Copy link
Member Author

Choose a reason for hiding this comment

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

Ouch, I was a little sloppy 😅

Copy link
Member

@leafty leafty left a comment

Choose a reason for hiding this comment

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

🙌 🚀

@lorenzo-cavazzi lorenzo-cavazzi merged commit 9965ed0 into lorenzo/design-2nd-round Aug 20, 2024
12 checks passed
@lorenzo-cavazzi lorenzo-cavazzi deleted the lorenzo/design-alerts branch August 20, 2024 14:26
@RenkuBot
Copy link
Contributor

Tearing down the temporary RenkuLab deplyoment for this PR.

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