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

docs: Add metro config wrapper and reanimated logger docs #6467

Merged
merged 14 commits into from
Sep 11, 2024

Conversation

MatiPl01
Copy link
Member

@MatiPl01 MatiPl01 commented Aug 30, 2024

Summary

This PR adds pages in docs for the new metro config wrapper and custom logger configuration.

It also changes logger configuration to use the strict mode by default and adds a reference to docs for those would would like to disable strict mode warnings.

I spotted an issue with configureReanimatedLogger on the web, as there is no executeOnUIRuntimeSync in JSReanimated, so I added the necessary check in there as well.

Examples

Metro config docs

Screenshot 2024-08-30 at 17 04 58

Logger config docs

Screenshot 2024-08-30 at 17 04 40

Adjusted message for strict mode warnings

Test plan

Open docs locally and navigate to the new Debugging section.

@MatiPl01 MatiPl01 self-assigned this Aug 30, 2024
@MatiPl01 MatiPl01 marked this pull request as ready for review August 30, 2024 15:18
@MatiPl01 MatiPl01 requested a review from tjzel August 30, 2024 15:18
@tjzel tjzel requested a review from kacperkapusciak August 31, 2024 11:18
@MatiPl01 MatiPl01 force-pushed the @matipl01/debugging-docs branch 2 times, most recently from 0ab9596 to dc73971 Compare September 3, 2024 10:18
@MatiPl01 MatiPl01 requested a review from tjzel September 3, 2024 10:19
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Awesome work, much better than the original version! Still some little bits to improve though.

@MatiPl01 MatiPl01 force-pushed the @matipl01/debugging-docs branch from 7990946 to 893122f Compare September 3, 2024 14:03
@MatiPl01 MatiPl01 changed the base branch from main to @matipl01/logger-config-improvements September 3, 2024 14:04
@MatiPl01 MatiPl01 requested a review from tjzel September 3, 2024 14:04
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Good for me now, let's wait for @kacperkapusciak's review.

Base automatically changed from @matipl01/logger-config-improvements to main September 9, 2024 11:02
MatiPl01 and others added 9 commits September 9, 2024 13:54
Co-authored-by: Kacper Kapuściak <39658211+kacperkapusciak@users.noreply.github.com>
Co-authored-by: Kacper Kapuściak <39658211+kacperkapusciak@users.noreply.github.com>
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
MatiPl01 and others added 4 commits September 9, 2024 13:54
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
@MatiPl01 MatiPl01 force-pushed the @matipl01/debugging-docs branch from 893122f to b99f8c9 Compare September 9, 2024 11:54
github-merge-queue bot pushed a commit that referenced this pull request Sep 9, 2024
## Summary

After bumping Prettier in the monorepo docs should have it bumped too
since they inherit `prettier.config.js`.

Fixes CI failing in:
- #6467 
- #6468
@MatiPl01 MatiPl01 added this pull request to the merge queue Sep 11, 2024
Merged via the queue into main with commit 6ed8aca Sep 11, 2024
9 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/debugging-docs branch September 11, 2024 14:20
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