Skip to content

Add global alert to notify users about upcoming breaking changes#409

Merged
emilyalbini merged 2 commits intorust-lang:masterfrom
emilyalbini:global-alert
Sep 18, 2019
Merged

Add global alert to notify users about upcoming breaking changes#409
emilyalbini merged 2 commits intorust-lang:masterfrom
emilyalbini:global-alert

Conversation

@emilyalbini
Copy link
Copy Markdown
Member

@emilyalbini emilyalbini commented Sep 16, 2019

This PR adds an alert in the navigation bar of each page to alert everyone of the changes in #407. It links to the blog post prepared in rust-lang/blog.rust-lang.org#403, so it should be merged only after the post is published (and ideally shortly after).

The alert can be easily disabled or customized in the source code, so it's safe to keep the code even when it's not used anymore.

Crate page Docs page Index
2019-09-16--15-47-24 2019-09-16--15-47-44 2019-09-16--15-47-54

r? @Mark-Simulacrum @QuietMisdreavus

Copy link
Copy Markdown
Member

@Mark-Simulacrum Mark-Simulacrum left a comment

Choose a reason for hiding this comment

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

But I'm not very familiar with the templating code.

@emilyalbini
Copy link
Copy Markdown
Member Author

Did some really basic "user research", and I changed the alert color to red.

@emilyalbini emilyalbini merged commit 32074e7 into rust-lang:master Sep 18, 2019
@emilyalbini emilyalbini deleted the global-alert branch September 18, 2019 14:06
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