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

Render Contentful rich text content #22

Merged
merged 23 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7bc9009
ContentfulRichText: initial WIP
Benaiah Mar 29, 2023
5732610
Tests: add toMatchDOM matcher for testing Contentful rendering
Benaiah Mar 30, 2023
08f02a6
ContentfulRichText: add basic test case
Benaiah Mar 30, 2023
b24fad3
ContentfulRichText: move Node into nodes directory
Benaiah Mar 30, 2023
3f04248
ContentfulRichText: render basic HTML
Benaiah Mar 30, 2023
5e62aef
small fixes to toMatchDOM vitest matcher
Benaiah Mar 30, 2023
73880c3
ContentfulRichText: improve tests and get them passing
Benaiah Mar 30, 2023
909d923
Tests: deduplicate some code in DOM matchers
Benaiah Mar 30, 2023
2e58563
Tests: make some logic in DOM matchers clearer
Benaiah Mar 30, 2023
8436b25
Tests: add a comment to a generator function
Benaiah Mar 30, 2023
a720661
ContentfulRichText: fix types
Benaiah Apr 14, 2023
215a267
rename __test__ directories to __tests__
Benaiah May 4, 2023
c246a4c
fix odd type error
Benaiah May 4, 2023
9c8d70b
fix an import
Benaiah May 4, 2023
fe94d32
add missing usa-prose class
Benaiah May 4, 2023
dc95e04
remove custom "chunk" function
Benaiah May 5, 2023
86ef9cd
add a required package to dev dependencies
Benaiah May 5, 2023
dd82a6f
automatically generate test cases when tests are run
Benaiah May 5, 2023
680c533
fix bundle visualizer script
Benaiah May 5, 2023
6c9ae1c
gitignore generated test cases
Benaiah May 5, 2023
b870b7a
generate test cases on build, because they're used for a test page
Benaiah May 5, 2023
ce4d64f
fix CI error
Benaiah May 5, 2023
1b2a12a
add missing class to layout
Benaiah May 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ build-storybook.log
/.vercel
/e2e-tests/report
/e2e-tests/results
/bundle-visualizer
/bundle-visualizer

# generated test files
*.md.html
*.md.json
Loading