WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
130 stars 74 forks source link

Missing banner on old WordCamp sites #1338

Open renintw opened 4 months ago

renintw commented 4 months ago

Describe the bug

There should be a banner on an old WC site that directs users to a current WordCamps site. Related: https://github.com/WordPress/wordcamp.org/issues/1258 Design enhancement suggestions: https://wordpress.slack.com/archives/C08M59V3P/p1717079064398609?thread_ts=1717000539.205949&cid=C08M59V3P https://wordpress.slack.com/archives/C08M59V3P/p1717079262338759?thread_ts=1717000539.205949&cid=C08M59V3P https://wordpress.slack.com/archives/C08M59V3P/p1717079406356639?thread_ts=1717000539.205949&cid=C08M59V3P cc @WordPress/meta-design

To reproduce

Steps to reproduce the behavior:

  1. Go to https://us.wordcamp.org/2023/

Expected behavior

There should be a banner on the top, just like WCAsia site.

Note: It appears not all WordCamp sites have this issue.

Screenshots / Screencasts

US image Asia image

jasmussen commented 4 months ago

Let's add the banner for sure. From the conversation it appears there are some technical, and verbiage suggestions, I'll defer to those. There's also a suggestion to make the banner bigger. We can, though I wouldn't make it quite as big as the suggestion, I'd think it should be no higher than the main navigation banner. It's important to remember that although the upcoming/next/most recent WordCamp is important to point to, there are legitimate archival reasons for visiting the old ones, including rewatching talks you liked, adding photos, etc.

The WCAsia banner can work as a design. Alternately, an inverted version that's identical to what's currently on the wp.org homepage, would be my recommendation.

kcristiano commented 4 months ago

+1 having a call to action so a user can go to the current site should be automated.

Note: It appears not all WordCamp sites have this issue.

I also see that https://europe.wordcamp.org/2023/ and https://europe.wordcamp.org/2022/ lack the banner. Does the banner currently need to be added manualy?

ryelle commented 4 months ago

Does the banner currently need to be added manualy?

No, it was disabled for sites that have future sites already created (see #1258), because those were redirecting to the future event. Currently, it's automatically on every camp, except some we've manually disabled it on (setting a feature flag from a sandbox #1260). It was also manually turned off for an alternate language site (WC Canada fr).

See also #1239 for another attempted approach.

timiwahalahti commented 4 months ago

I think #1258 could be avoided by checking the site's corresponding WordCamp Post on Central and if the end date is in the past. That would probably solve edge cases like this. Tho now that the feature flag is implemented, I'd keep it for quick situations that might arise.