Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
run: yarn test --maxWorkers=2 --coverage

test-e2e-web:
needs: [changes]
if: needs.changes.outputs.web == 'true'
runs-on: macos-26
# needs: [changes]
# if: needs.changes.outputs.web == 'true'
Comment thread
hejsztynx marked this conversation as resolved.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -101,13 +101,13 @@ jobs:
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/Library/Caches/ms-playwright
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-playwright-

- name: Install Playwright browsers
run: yarn playwright install chromium
run: yarn playwright install --with-deps chromium

- name: Run web e2e tests
run: yarn test:e2e:web
Expand Down
Binary file modified .playwright/screenshots/alignment-mixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/codeblock-inline-styles-paste-stripped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-blockquotes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-checkbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-headings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-mixed-lists.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-ol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-paragraphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/display-alignment-ul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-between-empty-paragraphs-clip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-between-empty-paragraphs-tail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-checkbox-list-clip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-checkbox-list-head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-checkbox-list-tail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .playwright/screenshots/ellipsize-empty-in-the-middle-clip.png
Binary file modified .playwright/screenshots/ellipsize-empty-in-the-middle-head.png
Binary file modified .playwright/screenshots/ellipsize-empty-in-the-middle-tail.png
Binary file modified .playwright/screenshots/ellipsize-empty-lines-middle.png
Binary file modified .playwright/screenshots/ellipsize-inline-images-clip.png
Binary file modified .playwright/screenshots/ellipsize-inline-images-head.png
Binary file modified .playwright/screenshots/ellipsize-inline-images-tail.png
Binary file modified .playwright/screenshots/ellipsize-one-word-wrapping-clip.png
Binary file modified .playwright/screenshots/ellipsize-one-word-wrapping-head.png
Binary file modified .playwright/screenshots/ellipsize-one-word-wrapping-tail.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-clip.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-head.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-only-empty-clip.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-only-empty-head.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-only-empty-tail.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-tail.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-with-empty-clip.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-with-empty-head.png
Binary file modified .playwright/screenshots/ellipsize-ordered-list-with-empty-tail.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-fit-clip.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-fit-head.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-fit-tail.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-styles-mix-clip.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-styles-mix-head.png
Binary file modified .playwright/screenshots/ellipsize-paragraph-styles-mix-tail.png
Binary file modified .playwright/screenshots/ellipsize-single-word-clip.png
Binary file modified .playwright/screenshots/ellipsize-single-word-head.png
Binary file modified .playwright/screenshots/ellipsize-single-word-tail.png
Binary file modified .playwright/screenshots/ellipsize-style-fontsize-recompute.png
Binary file modified .playwright/screenshots/ellipsize-unordered-list-clip.png
Binary file modified .playwright/screenshots/ellipsize-unordered-list-head.png
Binary file modified .playwright/screenshots/ellipsize-unordered-list-tail.png
Binary file modified .playwright/screenshots/ellipsize-very-long-paragraph-clip.png
Binary file modified .playwright/screenshots/ellipsize-very-long-paragraph-head.png
Binary file modified .playwright/screenshots/ellipsize-very-long-paragraph-tail.png
Binary file modified .playwright/screenshots/enriched-text-all-headings.png
Binary file modified .playwright/screenshots/enriched-text-all-list-types.png
Binary file modified .playwright/screenshots/enriched-text-blockquote-code-codeblock.png
Binary file modified .playwright/screenshots/enriched-text-checkbox-list-checked.png
Binary file modified .playwright/screenshots/enriched-text-checkbox-list-empty-items.png
Binary file modified .playwright/screenshots/enriched-text-checkbox-list-unchecked.png
Binary file modified .playwright/screenshots/enriched-text-checkbox-list-wrapped.png
Binary file modified .playwright/screenshots/enriched-text-images-inline.png
Binary file modified .playwright/screenshots/enriched-text-images-inside-list.png
Binary file modified .playwright/screenshots/enriched-text-images-placeholder-inline.png
Binary file modified .playwright/screenshots/enriched-text-images-placeholder-list.png
Binary file modified .playwright/screenshots/enriched-text-line-wrapping.png
Binary file modified .playwright/screenshots/enriched-text-mentions.png
Binary file modified .playwright/screenshots/enriched-text-newlines-spaces.png
Binary file modified .playwright/screenshots/enriched-text-ordered-list-empty-items.png
Binary file modified .playwright/screenshots/enriched-text-ordered-list-wrapped.png
Binary file modified .playwright/screenshots/enriched-text-ordered-list.png
Binary file modified .playwright/screenshots/enriched-text-rich-text.png
Binary file modified .playwright/screenshots/enriched-text-unordered-list-wrapped.png
Binary file modified .playwright/screenshots/enriched-text-unordered-list.png
Binary file modified .playwright/screenshots/images-blockquote-placeholder.png
Binary file modified .playwright/screenshots/images-checkbox-list-placeholder.png
Binary file modified .playwright/screenshots/images-loaded-in-list.png
Binary file modified .playwright/screenshots/images-ol-placeholder.png
Binary file modified .playwright/screenshots/images-paragraph-placeholder.png
Binary file modified .playwright/screenshots/images-placeholder-empty-src.png
Binary file modified .playwright/screenshots/images-ul-placeholder.png
Binary file modified .playwright/screenshots/inline-styles.png
Binary file modified .playwright/screenshots/links-display.png
Binary file modified .playwright/screenshots/list-keyboard-enter-bullet.png
Binary file modified .playwright/screenshots/list-keyboard-enter-checkbox.png
Binary file modified .playwright/screenshots/list-keyboard-enter-ordered.png
Binary file modified .playwright/screenshots/list-nested-html-ol-in-ul.png
Binary file modified .playwright/screenshots/list-nested-html-triple-nested-ul.png
Binary file modified .playwright/screenshots/list-nested-html-ul-in-ol.png
Binary file modified .playwright/screenshots/list-nested-html-ul-in-ul.png
Binary file modified .playwright/screenshots/list-wrap-selection-round-trip.png
Binary file modified .playwright/screenshots/mention-visual.png
Binary file modified .playwright/screenshots/paragraph-styles-visual-blockquote.png
Binary file modified .playwright/screenshots/paragraph-styles-visual-headings.png
Binary file modified .playwright/screenshots/paragraph-styles-visual-ordered-list.png
Binary file modified .playwright/screenshots/paragraph-styles-visual-unordered-list.png
2 changes: 2 additions & 0 deletions apps/example-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"lint": "eslint . --ext ts,tsx"
},
"dependencies": {
"@fontsource/inter": "^5.3.0",
"@fontsource/jetbrains-mono": "^5.3.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/example-web/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

body {
margin: 0;
font-family: system-ui, -apple-system, sans-serif;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--surface);
color: #1a1a1a;
}
Expand Down
6 changes: 6 additions & 0 deletions apps/example-web/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import '@fontsource/inter/400.css';
import '@fontsource/inter/400-italic.css';
import '@fontsource/inter/700.css';
import '@fontsource/inter/700-italic.css';
import '@fontsource/jetbrains-mono/400.css';
import '@fontsource/jetbrains-mono/700.css';
import './index.css';
import RouteSelector from './RouteSelector';

Expand Down
4 changes: 2 additions & 2 deletions apps/example-web/src/testScreens/VisualRegression.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const styles = {
htmlStyleOverrideInput: {
width: '100%',
marginBottom: '10px',
fontFamily: 'ui-monospace, monospace',
fontFamily: 'JetBrains Mono, ui-monospace, monospace',
fontSize: 12,
},
htmlInput: {
Expand All @@ -203,5 +203,5 @@ const enrichedInputStyle: EnrichedInputStyle = {
backgroundColor: 'gainsboro',
fontSize: 16,
lineHeight: 22,
fontFamily: 'Helvetica Neue',
fontFamily: 'Inter, Helvetica Neue',
};
16 changes: 16 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2175,6 +2175,20 @@ __metadata:
languageName: node
linkType: hard

"@fontsource/inter@npm:^5.3.0":
version: 5.3.0
resolution: "@fontsource/inter@npm:5.3.0"
checksum: 10c0/568601c10c83601c23005f8cd7434499df6e007eaa22c4dabbb1dcae327cc8e4a148ece8d4a4edaa8bafc5d2371ea97a37d1cc91ffbed77a43e2d8c15a6e831b
languageName: node
linkType: hard

"@fontsource/jetbrains-mono@npm:^5.3.0":
version: 5.3.0
resolution: "@fontsource/jetbrains-mono@npm:5.3.0"
checksum: 10c0/1351b2350e893f5da39559ed90ff0e5e60bcc876b1f40531ad081ad4bf2f3cda3fa9e8940364aef5a7430ae3140685c9cd4819c36d8ad62bcd3fa37e3cc66b1d
languageName: node
linkType: hard

"@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0":
version: 9.3.0
resolution: "@hapi/hoek@npm:9.3.0"
Expand Down Expand Up @@ -12008,6 +12022,8 @@ __metadata:
resolution: "react-native-enriched-web-example@workspace:apps/example-web"
dependencies:
"@eslint/js": "npm:^9.39.1"
"@fontsource/inter": "npm:^5.3.0"
"@fontsource/jetbrains-mono": "npm:^5.3.0"
"@types/node": "npm:^24.10.1"
"@types/react": "npm:^19.1.0"
"@types/react-dom": "npm:^19.2.3"
Expand Down
Loading