Add a "Preview" banner to the site #207

Closed
jeffhandley opened this Issue Nov 9, 2011 · 9 comments

Comments

Projects
None yet
6 participants
Member

jeffhandley commented Nov 9, 2011

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

osbornm was assigned Nov 9, 2011

Member

Haacked commented Nov 15, 2011

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

Member

jeffhandley commented Jan 26, 2012

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

Member

jeffhandley commented Jan 26, 2012

Also make some statement about the data being reset frequently.

Member

anurse commented Feb 12, 2013

Let's do it!

anurse was assigned Feb 20, 2013

bhuvak closed this Mar 15, 2013

devlife commented Jun 26, 2013

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

Member

anurse commented Jun 26, 2013

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 commented Jun 27, 2013

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....

Member

anurse commented Jun 27, 2013

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 commented Jun 28, 2013

Awesome thanks Andrew.

On Thu, Jun 27, 2013 at 5:46 PM, Andrew Nurse notifications@github.comwrote:

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.


Reply to this email directly or view it on GitHubhttps://github.com/NuGet/NuGetGallery/issues/207#issuecomment-20157207
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment