Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Prototype Branch Work #13584

Merged
merged 20 commits into from
Mar 13, 2025
Merged

Conversation

robdivincenzo
Copy link
Collaborator

@robdivincenzo robdivincenzo commented Mar 6, 2025

Description

This PR will officially kick off the new redesign branch. It includes:

  1. All existing prep work with reformatted codebase from Redesign codebase prep #13546 (note, this is sync'ed w/ main for smooth transition)
  2. All current prototype branch work merged and migrations squashed
  3. A new homepage and site factory
  4. A new load_fake_data function into existing workflows
  5. Set up the "redesign" homepage and blog pages as the default site.
  6. Set up all the old fake pages onto a legacy.localhost:8000 site

Link to sample test page: https://foundation-s-redesign-m-03z3ng.herokuapp.com/en/
Related PRs/issues: #13546

┆Issue is synchronized with this Jira Story

robdivincenzo and others added 16 commits March 6, 2025 16:42
Bumps [eslint](https://github.com/eslint/eslint) from 9.19.0 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.19.0...v9.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [django](https://github.com/django/django) from 4.2.16 to 4.2.20.
- [Commits](django/django@4.2.16...4.2.20)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.1 to 8.5.3.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.5.1...8.5.3)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@robdivincenzo robdivincenzo temporarily deployed to foundation-s-redesign-m-pk4ni3 March 10, 2025 16:28 Inactive
@mofodevops mofodevops temporarily deployed to foundation-s-redesign-m-viywg1 March 10, 2025 16:29 Inactive
@robdivincenzo robdivincenzo temporarily deployed to foundation-s-redesign-m-03z3ng March 10, 2025 16:50 Inactive
@robdivincenzo robdivincenzo marked this pull request as ready for review March 10, 2025 17:17
@robdivincenzo robdivincenzo temporarily deployed to foundation-s-redesign-m-03z3ng March 10, 2025 17:38 Inactive
Copy link
Collaborator

@danielfmiranda danielfmiranda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work @robdivincenzo! 🙌 I have taken a look and everything is looking good to me. Cant wait to get started on the new site work!

Approved 👍

Copy link
Collaborator

@mmmavis mmmavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the amazing work, @robdivincenzo! I noticed that the get_domain_site_mapping implementation in review_app_setup.py hasn't been updated. No worries if we’re planning to make that change in the redesign branch, but I wanted to flag it in case setting up review apps for the new site, legacy site, MozFest, and Donate is a priority for this PR :)

if tds and len(tds) > 1:
# Assume that tds[0] is the main mofo domain, and tds[1] is the Mozfest domain
hostname = tds[1]
if tds and len(tds) > 2:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈 We probably should come up with a more future-proof check here. @robdivincenzo could you please add a FIXME or TODO notes here?

Copy link
Collaborator Author

@robdivincenzo robdivincenzo Mar 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mmmavis! TIL about that command 😆, I will take a look through. For sure can add a TODO to clean that situation up. I just snagged the mozfest code and incremented for another site for now lol

Copy link
Collaborator Author

@robdivincenzo robdivincenzo Mar 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mmmavis! I've updated the domains (switching the unused donate- for legacy-) and added a handful of TODO / FIXME. Turns out the review_app_setup.py needs some TLC in general. The delete DNS record isn't working, and we've got 1,800+ DNS entries for mofostaging.net.

I think that'd be outside the scope of this PR, but we should absolutely revisit how our review app and sites scripts set things up.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this, @robdivincenzo !

Copy link
Collaborator

@dlopezvsr dlopezvsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great work @robdivincenzo and for putting all this together. Everything looks good to me 🚀 Looking forward to start working with redesign branch too!

Copy link
Collaborator

@mmmavis mmmavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robdivincenzo robdivincenzo merged commit 75df37a into redesign Mar 13, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants