Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
baca5bd
Add Storybok with svelte cli
myieye Jun 6, 2025
2f5689a
Start storybook with fwl app
myieye Jun 6, 2025
57ce64f
Add appbar link to storybook
myieye Jun 6, 2025
fecf257
Configure vitest and eslint for storybook
myieye Jun 6, 2025
83c4fd1
Run viewer vitest in ci
myieye Jun 6, 2025
caf78b2
Update playwright to what vitest expects
myieye Jun 10, 2025
9354114
Remove example stories and add buttons stories
myieye Jun 10, 2025
48af899
Don't open storybook in browser when running fwl
myieye Jun 10, 2025
42685ee
Put aria-labels on rich-text fields
myieye Jun 11, 2025
a392bbd
Add rich multi ws input stories
myieye Jun 11, 2025
d992934
Prevent icon arg from being on all stories
myieye Jun 11, 2025
0ad80f7
Rearrange
myieye Jun 11, 2025
6b89a93
Add entry-editor-primitive stories
myieye Jun 11, 2025
fb1221f
More elegant solution for keeping field help-icon with field title
myieye Jun 12, 2025
0196eec
Tidy up root decorator
myieye Jun 12, 2025
c6b57ac
Improve accessibility of fields so tests can find them.
myieye Jun 12, 2025
dcfcd6e
Stabilize tests
myieye Jun 12, 2025
ac19b75
Silence noisy svelte runtime warnings that our out of our control
myieye Jun 12, 2025
9331706
Tweaks
myieye Jun 12, 2025
acb0cbe
Story dump
myieye Jun 12, 2025
d0474f2
Restore orignal console.warn
myieye Jun 13, 2025
caef064
Make expects more specific
myieye Jun 13, 2025
1669e05
Guard against timing flakiness
myieye Jun 13, 2025
4b2fae2
Fix panes story args
myieye Jun 16, 2025
37bfb67
Fix picker story error.
myieye Jun 16, 2025
e0e65f3
Revert sandbox changes
myieye Jun 16, 2025
5091e2d
Remove deprecated test that is causing confusing import problem
myieye Jun 18, 2025
d878547
Merge remote-tracking branch 'origin/develop' into fwlite-storybook
myieye Jun 18, 2025
27f8a0f
fix rich text story to show rich string value in fw lite decorator
hahn-kev Jun 19, 2025
586cafd
Remove generated Configure.mdx and its assets
myieye Jun 23, 2025
aacadae
Merge remote-tracking branch 'origin/develop' into fwlite-storybook
myieye Jun 23, 2025
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
32 changes: 32 additions & 0 deletions .github/workflows/fw-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,39 @@
if-no-files-found: error
path: ${{ env.VIEWER_BUILD_OUTPUT_DIR }}

frontend-component-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
package_json_file: 'frontend/package.json'
- uses: actions/setup-node@v4
with:
node-version-file: './frontend/package.json'
cache: 'pnpm'
cache-dependency-path: './frontend/pnpm-lock.yaml'
- name: Prepare frontend
working-directory: frontend
run: |
pnpm install
# vitest is configured to use playwright for stories and other browser-based tests
- name: Set up Playwright dependencies
working-directory: frontend/viewer
run: pnpm exec playwright install --with-deps
- name: vitest
working-directory: frontend/viewer
run: pnpm run test --reporter=default --reporter=junit --outputFile.junit=test-results/vitest-results.xml
- name: Publish unit test results
uses: EnricoMi/publish-unit-test-result-action@8885e273a4343cd7b48eaa72428dea0c3067ea98 # v2.14.0
if: always()
with:
check_name: UI unit Tests
files: ./frontend/viewer/test-results/*.xml
action_fail_on_inconclusive: true

Comment thread
myieye marked this conversation as resolved.
publish-mac:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
name: Publish FW Lite app for Mac
needs: [build-and-test, frontend]
timeout-minutes: 30
Expand Down
6 changes: 5 additions & 1 deletion frontend/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ tasks:

fw-lite-infr-internal:
internal: true
deps: [ viewer:run-app, run-https-proxy ]
deps:
- task: viewer:run-app
- task: run-https-proxy
- task: viewer:storybook
vars: { CLI_ARGS: --no-open }

playwright-tests:
aliases: [ pt ]
Expand Down
7 changes: 6 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,10 @@
"sveltekit-search-params": "^3",
"tus-js-client": "^4.3.1",
"viewer": "workspace:*"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}
}
Loading
Loading