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

Improve Pages types and add testing #76

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

RyanCommits
Copy link
Contributor

Improve FSPage typing and add jest testing.

Copy link
Contributor

@JoshMiers-FS JoshMiers-FS left a comment

Choose a reason for hiding this comment

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

LGTM

@RyanCommits RyanCommits merged commit 0b76aaf into ryanwang/add-pages-api Sep 8, 2023
@RyanCommits RyanCommits deleted the ryanwang/pages-api-tests branch September 8, 2023 17:26
RyanCommits added a commit that referenced this pull request Sep 13, 2023
* add pages API to JS spec

* add pages API to iOS

* add Android pages API

* Add Android pages implementation (#68)

* Add Android pages implementation

* updates on feedback
- update legacy RN native module method declarations
- replace System.out with android.util.Log
- initialize reflected methods once
- getUUID is async
- fix page properties merge
- add TS FSPage types

* cleanup and fix turbomodule

* remove private functions from export

* remove page methods from types

* add error message

* generate UUID with Math.random()

* remove async method

* update method type to synchronous

* update android log

---------

Co-authored-by: Ryan Wang <[email protected]>

* call private ios pages API (#69)

* Add Android pages implementation

* updates on feedback
- update legacy RN native module method declarations
- replace System.out with android.util.Log
- initialize reflected methods once
- getUUID is async
- fix page properties merge
- add TS FSPage types

* cleanup and fix turbomodule

* remove private functions from export

* remove page methods from types

* add error message

* generate UUID with Math.random()

* remove async method

* update method type to synchronous

* implement ios pages API

* formatting

* formatting

* Fix rebase regression

* Edit error message

---------

Co-authored-by: Ryan Wang <[email protected]>

* Improve Pages types and add testing (#76)

Co-authored-by: Ryan Wang <[email protected]>

* use uppercase UUIDs, exclude lib/ from jest

* implement new uuid generator, update tests

---------

Co-authored-by: Ryan Wang <[email protected]>
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.

3 participants