wri / wri_sites

WRI profile
2 stars 2 forks source link

Flagship + IOs Drupal 10 Upgrade #228

Closed monicapatel21 closed 9 months ago

monicapatel21 commented 1 year ago

Support for Drupal 9 ends on November 1, 2023. Please review Flagship (and IO-only Modules) to estimate D10 upgrade. Assume Maria is dev, and leave Monica a multiplier guess just in case Jules, Katie, or someone else has to implement.

Timeline: As close to Nov 1 as possible. Gabe and Jaymz may also be updating devs.

Dev [8hrs]

This site's "Upgrade document"

https://docs.google.com/spreadsheets/d/1y3TWOjQ4Foa8YesOXpgSOVV9iZZizD38tAlCD3PIPj0/edit#gid=393797692

Maintenance page

-- place maintenance screenshot here --

Working Branch

d10-upgrade-prep - note, the ckeditor switch happened in this, but it is NOT ready. We need ckeditor_templates to be patched to work with it, and probably ckeditor_accoridions too. See https://github.com/wri/wriflagship/commit/f4db77278fe1d135ea8602b697742aafa979e5aa, especially the large difference in config/filter.format.full_html.yml

Estimate for phase 2

48

Update Branch

d10-upgrade-prep

Part 1: Prep

At the end of this work, the site be in a state closer to be ready for a Drupal 10 update. Some of its modules may have been updated. There will be a spreadsheet (the "Upgrade document") with accurate information about how much time the upgrade should take.

Step 1 - organization things:

Step 2 - cleaning up the code:

Step 3 - finalizing the update list:

Step 4 - Estimating

Note that if you know your custom code is complicated, you can up the amount of time as you see fit.

Part 2: Update

Dev [24-48hrs]

Deployment 2: Upgrade

Step 1 - Maintenance page approval

Step 2 - Code updates

Step 3 - Finalize testing instructions

Notes

Testing Instructions:

Deployment steps

Followup items:

This Ticket is Done When:

When finished

mariacha commented 10 months ago

Substeps todo for modules not listed as compatible:

shannon-paton commented 9 months ago

Hi @mariacha , flagging an issue that I noticed on live. On staff profile pages, it seems that only up to one office is showing on staff profiles when not logged in. When logged in, it looks as expected.

Example: old version: https://strategy-wriflagship.pantheonsite.io/profile/clarissa-lehne new version: https://www.wri.org/profile/clarissa-lehne

mariacha commented 9 months ago

It looks like in that case the second office "United Kingdom" is unpublished on live. It redirects to Europe:

https://wri.org/europe/united-kingdom

I could change the display to use the "Label (with unpublished)" display setting. That works alright on develop with the link seeming to go to the right place (europe): https://develop-wriflagship.pantheonsite.io/profile/clarissa-lehne

but do we want to show that office if it's unpublished? Maybe it was unpublished on accident?

shannon-paton commented 9 months ago

Hi @mariacha ah right, that makes sense, not a bug! We combined our Europe and United Kingdom pages into one, but I think we can still show both offices. What you have on develop would work for now, thanks!

mariacha commented 9 months ago

Alright, great! Done: https://www.wri.org/profile/clarissa-lehne

shannon-paton commented 9 months ago

Looks good, thanks!

mariacha commented 9 months ago

Since we've got QA tickets for all the multidevs now, I'm going to close this issue in favor of those. But we can re-open if new flagship issues show up!