Skip to content

Add a link to the null safety feature indicator #2455

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

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

parlough
Copy link
Member

@parlough parlough commented Dec 10, 2020

This allows users to click the "Null safety" feature and open the documentation about null safety. I think this is especially useful currently as not all users are familiar with the new functionality yet.

This implements the change by adding an optional URL for the feature which will, if present, cause the HTML renderer to use an anchor tag instead of a span and the Markdown renderer to use a normal Markdown link.

I added a special border style on hover to match other similar buttons such as the source code button.

Default:
image

On hover(if has an associated URL):
image

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Dec 10, 2020
@parlough parlough changed the title Add a link to the null safety documentation Add a link to the null safety feature indicator Dec 10, 2020
@jcollins-g
Copy link
Contributor

overriding failure and merging anyway -- this is the old sdk-analyzer bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants