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

chore(liveness): move liveness example app to its own app (#4451) #4462

Closed
wants to merge 11 commits into from

Conversation

thaddmt
Copy link
Member

@thaddmt thaddmt commented Sep 19, 2023

  • chore(liveness): move liveness example app to its own app

  • address feedback

  • uppgrade outdated deps

  • Update examples/next-liveness/.eslintrc


Description of changes

Issue #, if available

Description of how you validated changes

Checklist

  • Have read the Pull Request Guidelines
  • PR description included
  • Relevant documentation is changed or added (and PR referenced)
  • yarn test passes and tests are updated/added
  • No side effects or sideEffects field updated

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

* chore(liveness): move liveness example app to its own app

* address feedback

* uppgrade outdated deps

* Update examples/next-liveness/.eslintrc

Co-authored-by: Caleb Pollman <[email protected]>

---------

Co-authored-by: Caleb Pollman <[email protected]>
@thaddmt thaddmt requested a review from a team as a code owner September 19, 2023 18:53
@changeset-bot
Copy link

changeset-bot bot commented Sep 19, 2023

⚠️ No Changeset found

Latest commit: b4cac00

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:11 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:11 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:11 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:11 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:56 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:56 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:56 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 21:56 — with GitHub Actions Inactive
@thaddmt thaddmt added the run-tests Adding this label will trigger tests to run label Sep 20, 2023
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 23:49 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 23:49 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 23:50 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 23:50 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 20, 2023 23:50 — with GitHub Actions Inactive
Copy link
Member

@calebpollman calebpollman left a comment

Choose a reason for hiding this comment

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

In terms of the code/example app, left some minor questions around configuration/deps but nothing major. Had issues running the React Native app when i checked out and ran locally though, can you sanity check?

"../../environments/*"
]
},
"incremental": true
Copy link
Member

Choose a reason for hiding this comment

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

Might have missed this is the prior review but is incremental now required?

Copy link
Member Author

Choose a reason for hiding this comment

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

think this may have automatically been added when upgrading next, im not sure if it's needed will check

"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18",
"react-icons": "^4.4.0",
"react-map-gl": "7.0.23",
Copy link
Member

Choose a reason for hiding this comment

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

Do we need react-map-gl for testing Liveness?

Copy link
Member Author

Choose a reason for hiding this comment

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

nope good catch, will remove

"@types/node": "^15.12.4",
"@types/react": "^18.2.22",
"eslint": "^8.44.0",
"eslint-config-next": "11.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

Think the plugin major version might be meant to align with the major version of NextJS

"next-global-css": "^1.1.1",
"react": "17",
"react": "18",
"react-copy-to-clipboard": "^5.1.0",
Copy link
Member

Choose a reason for hiding this comment

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

Think this is no longer needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I saw some issues with no hoisting react between the two different example apps and figured I may as well upgrade next/react on both example apps.

Copy link
Member

Choose a reason for hiding this comment

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

Meant that clipboard dep since it was just for the Liveness app (i think)

@thaddmt thaddmt temporarily deployed to ci September 27, 2023 17:43 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 27, 2023 17:43 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 27, 2023 17:43 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 27, 2023 17:43 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci September 27, 2023 17:43 — with GitHub Actions Inactive
@thaddmt
Copy link
Member Author

thaddmt commented Sep 27, 2023

@calebpollman tested on this branch and rn android seemed to work
Screenshot 2023-09-27 at 11 11 48 AM

@thaddmt
Copy link
Member Author

thaddmt commented Oct 2, 2023

Closing this as we are going to maintain liveness v5 on a separate branch

@thaddmt thaddmt closed this Oct 2, 2023
@thaddmt thaddmt deleted the migrate-liveness-app branch November 2, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-tests Adding this label will trigger tests to run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants