Third-Coast / website

The Third Coast Int. Audio Fest Website Code and notes
0 stars 0 forks source link

Change Title Page of Competition #56

Open TCEmkenn opened 2 years ago

TCEmkenn commented 2 years ago

Hi @brendanmetzger — when I tried to change the Competition landing page title to "2022-23 Third Coast/Richard H. Driehaus Foundation Competition" (from: 2022 Third Coast/Richard H. Driehaus Foundation Competition), it seemed to break the page — are you able to make that change for us? cc: @mayags

brendanmetzger commented 2 years ago

@TCEmkenn

There are mechanics in place that determine the year of the competition based on the title. Unfortunately it has been coded to look for a sequential 4-digit year starting the title, so I'm not sure where, but I know this will cause an issue with the sorting mechanism. Is the competition switching to bi-annual? If so, it can be worth modifying the mechanics to accommodate, but it will touch a lot of other parts of the application

TCEmkenn commented 2 years ago

@brendanmetzger hi there — the competition isn't switching to biannual, but because we are on a new entry cycle cadence (Fall-Summer, instead of Winter-Fall), each year of the Competition will spread over two calendar years, and we want to indicate shift to folks.

brendanmetzger commented 2 years ago

@TCEmkenn ... Ok, so what will happen then, which is why you see the 'uh oh' is because the url will have changed. If you switch to 2022-23 the url is now /competition/202223-third-coastrichard-h-driehaus-foundation-competition

This is a relic of the old site that did dynamic url generation—something I avoid now but it is what it is for this version.

Assuming you change that manually anywhere it has been used, you should be in ok shape as the title still starts with the correct 4 digits for an annually sorting mechanism.

brendanmetzger commented 2 years ago

on second thought, I should make this change, as I know there are hard links to the old url in the template.

TCEmkenn commented 2 years ago

OK! I'll let you make this change?

Emily S. Kennedy | Co-Director | Third Coast Festival http://thirdcoastfestival.org/

@.*** | Pronouns: She/They

On Fri, Oct 28, 2022 at 10:09 AM Brendan Metzger @.***> wrote:

on second thought, I should make this change, as I know there are hard links to the old url in the template.

— Reply to this email directly, view it on GitHub https://github.com/Third-Coast/website/issues/56#issuecomment-1295116342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5LCDB5VMOO467AB2TALNLWFPUDBANCNFSM6AAAAAARQUFTG4 . You are receiving this because you were mentioned.Message ID: @.***>

TCEmkenn commented 2 years ago

Hi Brendan,

OK, we have a new issue. We've been publically putting out THIS Competition page link: https://www.thirdcoastfestival.org/competition/2022-third-coastrichard-h-driehaus-foundation-competition

But since we put it out, it seems that the competition page now doesn't work because the URL changed.

Can both of these links be active, or one redirect to the other?

Is this the final new link?

https://www.thirdcoastfestival.org/competition/202223-third-coastrichard-h-driehaus-foundation-competition

all best: EK

brendanmetzger commented 2 years ago

OMG, I had this typed up but never hit send in my flurry of activity:

There can be a solution to reprogram this, but I think there will be some regressions. Notably, anywhere /competition/2022-third-coastrichard-h-driehaus-foundation-competition has been manually used as a link will break.