Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add a "Preview" banner to the site #207

Closed
jeffhandley opened this Issue · 9 comments

6 participants

@jeffhandley

Show it if the host is "preview.nuget.org."

@osbornm osbornm was assigned
@Haacked

Nice to have, but not necessary for 1.6 at this point. :)

@jeffhandley

This would help us to be able to point people to the preview site without hesitation.

@jeffhandley

Also make some statement about the data being reset frequently.

@anurse
Collaborator

Let's do it!

@anurse anurse was assigned
@bhuvak bhuvak closed this
@devlife

I don't get how this works? I updated the app setting to Production but I still see the banner....

@anurse
Collaborator

In the latest code the banner is now controlled by the content service (i.e. a "Alert.md" file in the ~/App_Data/Files/Content folder): #1097

@devlife

Right so I found the file but in production do I simply remove the content from the file? I assumed changing the app setting or something along those lines would do the trick....

@anurse
Collaborator

You can delete the file in production, that will hide the banner. I'm looking at ways to simplify this a bit. We merged the "Preview" banner with our "Alert" banner (for informing users of a service degradation), but I think we'll walk that back a bit.

@devlife
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.