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

feat(notifications): emphasize notification's title #27569

Conversation

mareklibra
Copy link
Contributor

Hey, I just made a Pull Request!

The notification's title is emphasized to be clearly distinguished from the description.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@mareklibra
Copy link
Contributor Author

mareklibra commented Nov 10, 2024

First attempt, use bold:

emphasizeTitle

@backstage-goalie
Copy link
Contributor

backstage-goalie bot commented Nov 10, 2024

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage/plugin-notifications plugins/notifications patch v0.3.3-next.2

) : (
notification.payload.title
)}
<Box sx={{ fontWeight: 'bold' }}>
Copy link
Member

Choose a reason for hiding this comment

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

is there a Typography variant that you can use instead? thinking h5 or h6 might fit

Copy link
Contributor Author

@mareklibra mareklibra Nov 13, 2024

Choose a reason for hiding this comment

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

Those h5 or h6 are still too big, distracting.
Trying subtitle1. Please see the later screenshot. Wdyt?

Signed-off-by: Marek Libra <marek.libra@gmail.com>
@mareklibra mareklibra force-pushed the FLPATH-1840.emphasizeNotificationTitle branch from 9482ebc to 3e135f2 Compare November 13, 2024 08:18
@mareklibra
Copy link
Contributor Author

mareklibra commented Nov 13, 2024

Trying typography with subtitle1, it lgtm:

Screenshot from 2024-11-13 09-17-07

@benjdlambert benjdlambert merged commit 4af8fb0 into backstage:master Nov 15, 2024
24 checks passed
Copy link
Contributor

Thank you for contributing to Backstage! The changes in this pull request will be part of the 1.33.0 release, scheduled for Tue, 19 Nov 2024.

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