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 Bloom Core #47

Merged
merged 26 commits into from
Apr 20, 2023
Merged

Merge Bloom Core #47

merged 26 commits into from
Apr 20, 2023

Conversation

ludtkemorgan
Copy link
Collaborator

@ludtkemorgan ludtkemorgan commented Apr 14, 2023

Pull Request Template

Issue Overview

This PR addresses #issue

  • This change addresses the issue in full
  • This change addresses only certain aspects of the issue
  • This change is a dependency for another issue
  • This change has a dependency from another issue

Description

This pulls in the latest 16 commits from core. The biggest change is the upgrade to React 18 and also Next 13

How Can This Be Tested/Reviewed?

Provide instructions so we can review.

Describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration.

Checklist:

  • My code follows the style guidelines of this project
  • I have added QA notes to the issue with applicable URLs
  • I have performed a self-review of my own code
  • I have reviewed the changes in a desktop view
  • I have reviewed the changes in a mobile view
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have assigned reviewers
  • I have run yarn generate:client and/or created a migration if I made backend changes that require them
  • I have exported any new pieces added to ui-components
  • My commit message(s) is/are polished, and any breaking changes are indicated in the message and are well-described
  • Commits made across packages purposefully have the same commit message/version change, else are separated into different commits

Reviewer Notes:

Steps to review a PR:

  • Read and understand the issue, and ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Also review the acceptance criteria on the Netlify deploy preview (noting that these do not yet include any backend changes made in the PR)
  • Either explicitly ask a clarifying question, request changes, or approve the PR if there are small remaining changes but the PR is otherwise good to go

On Merge:

If you have one commit and message, squash. If you need each message to be applied, rebase and merge.

ludtkemorgan and others added 17 commits March 31, 2023 12:12
* fix: user export fixes

* fix: update error message alert
 - @bloom-housing/partners@7.10.1
* feat: upgrade react to 18

* feat: upgrade cypress to 12 for public

* feat: upgrade cypress for partners

* fix: update configs

* fix: update partner cypress tests

* fix: review comments

* fix: fix flaky cypress test
 - @bloom-housing/backend-core@7.12.0
 - @bloom-housing/shared-helpers@7.6.0
 - @bloom-housing/partners@7.11.0
 - @bloom-housing/public@7.5.0
* fix: program/preference keys length uncap

* fix: updates per pr comments
 - @bloom-housing/backend-core@7.12.1
 - @bloom-housing/shared-helpers@7.6.1
 - @bloom-housing/partners@7.11.1
 - @bloom-housing/public@7.5.1
* feat: upgrade nextjs to 13

* fix: attempt to get cypress test working
 - @bloom-housing/partners@7.12.0
 - @bloom-housing/public@7.6.0
 - @bloom-housing/backend-core@7.13.0
 - @bloom-housing/shared-helpers@7.7.0
 - @bloom-housing/partners@7.13.0
 - @bloom-housing/public@7.7.0
 - @bloom-housing/shared-helpers@7.7.1
 - @bloom-housing/partners@7.13.1
 - @bloom-housing/public@7.7.1
@ludtkemorgan
Copy link
Collaborator Author

I'm investigating the broken partner unit test. It passes locally, but not on github actions

@ludtkemorgan ludtkemorgan changed the title Release/2023 04 14 Merge Bloom Core Apr 14, 2023
@lisunshiny
Copy link

lisunshiny commented Apr 17, 2023

@ludtkemorgan qq is it normal that yarning results in lockfile changes?

@ludtkemorgan
Copy link
Collaborator Author

@ludtkemorgan qq is it normal that yarning results in lockfile changes?

Yes, when running yarn it uses the lockfile unless something on the package.json file has changed. In that case it also updates the lockfile. This is only done locally as theoretically it should be updated with the commit

@lisunshiny
Copy link

hey @ludtkemorgan ! some heads up and some qs:

  1. I did some testing on public site and partners portal, some stuff is broken on the public site but I don't think its related to this PR so that overall seems fine
  2. I tried doing some cloudinary uploads, which involved logging in as an admin which I assume both tests the new auth cookies and the shared-services stuff.

Qs for you:

  • Did you run the integration tests on the public and partners site? We don't have them in our github actions and I still can't get a clean run locally. Its possible that they are failing on main rn but curious to see what the output is regardless
  • Is there anything you need from us before taking the PR out of draft and ready for review/merge?

@ludtkemorgan
Copy link
Collaborator Author

@lisunshiny I did run the integration tests. The public ones work, but the partner fails for reason unrelated to these changes. Mostly around how we expect the "San Jose" jurisdiction for a few tests that doesn't exist in the doorway seeded data.

Nothing is preventing this from going out of Draft. I'll change that now!

@ludtkemorgan ludtkemorgan marked this pull request as ready for review April 17, 2023 21:08
@ludtkemorgan
Copy link
Collaborator Author

@lisunshiny logging into partners tests the cookies. It should also work on multiple tabs, as in logging in and then opening a new tab of the app and you should still be logged in.

YazeedLoonat and others added 5 commits April 20, 2023 09:43
* feat: removing sensative info from leasing agent

* fix: adding swagger changes

* fix: updates for tests
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: updates around cookies

* fix: creating new migration for token -> code
@chriscasto chriscasto merged commit 06cd4e8 into main Apr 20, 2023
ifranch pushed a commit that referenced this pull request Apr 21, 2023
* fix: user export fixes (bloom-housing#3371)

* fix: user export fixes

* fix: update error message alert

* chore(release): version

 - @bloom-housing/partners@7.10.1

* feat: upgrade react to 18 (bloom-housing#3360)

* feat: upgrade react to 18

* feat: upgrade cypress to 12 for public

* feat: upgrade cypress for partners

* fix: update configs

* fix: update partner cypress tests

* fix: review comments

* fix: fix flaky cypress test

* chore(release): version

 - @bloom-housing/backend-core@7.12.0
 - @bloom-housing/shared-helpers@7.6.0
 - @bloom-housing/partners@7.11.0
 - @bloom-housing/public@7.5.0

* fix: program/preference keys length uncap (bloom-housing#3376)

* fix: program/preference keys length uncap

* fix: updates per pr comments

* chore(release): version

 - @bloom-housing/backend-core@7.12.1
 - @bloom-housing/shared-helpers@7.6.1
 - @bloom-housing/partners@7.11.1
 - @bloom-housing/public@7.5.1

* feat: upgrade nextjs to 13 (bloom-housing#3375)

* feat: upgrade nextjs to 13

* fix: attempt to get cypress test working

* chore(release): version

 - @bloom-housing/partners@7.12.0
 - @bloom-housing/public@7.6.0

* feat: changing auth over to cookies (bloom-housing#3357)

* fix: resolves issues around markedAsDuplicate (bloom-housing#3373)

* chore(release): version

 - @bloom-housing/backend-core@7.13.0
 - @bloom-housing/shared-helpers@7.7.0
 - @bloom-housing/partners@7.13.0
 - @bloom-housing/public@7.7.0

* fix: react type errors (bloom-housing#3382)

* chore(release): version

 - @bloom-housing/shared-helpers@7.7.1
 - @bloom-housing/partners@7.13.1
 - @bloom-housing/public@7.7.1

* refactor: add cloudinary fxn to partners (bloom-housing#3393)

* fix: remove max length from extra data app fields (bloom-housing#3394)

* refactor: uptake seeds FormErrorMessage (bloom-housing#3369)

* fix: type fix for token

* fix: lock file and hydration fixes

* fix: add startDate to open house submit event (bloom-housing#3399)

* fix: add three new fields to base view (bloom-housing#3406)

* feat: removing sensative info from leasing agent (bloom-housing#3409)

* feat: removing sensative info from leasing agent

* fix: adding swagger changes

* fix: updates for tests

* chore(deps): bump cookiejar from 2.1.2 to 2.1.4 (bloom-housing#3295)

Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: updates around cookies (bloom-housing#3405)

* fix: updates around cookies

* fix: creating new migration for token -> code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github.context.workflow <github-actions@github.com>
Co-authored-by: Yazeed Loonat <YazeedLoonat@gmail.com>
Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com>
Co-authored-by: Krzysztof Zięcina <kziecina@airnauts.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Casto <23032560+chriscasto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants