Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .changeset/afraid-eels-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/shaky-walls-wish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,26 @@ jobs:
website:
needs: build
uses: ./.github/workflows/workflow-website.yml
zizmor:
runs-on: lynx-ubuntu-24.04-medium
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
- name: Run zizmor 🌈
run: uvx zizmor --format=sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: zizmor
# Copied from https://github.com/swc-project/swc/blob/b192dc82e6a84bd30f159fb12ca8a216f41e8efb/.github/workflows/CI.yml#L491
done:
needs:
Expand All @@ -217,6 +237,7 @@ jobs:
- test-tools
- test-type
- website
- zizmor
if: always()
runs-on: lynx-ubuntu-24.04-medium
name: Done
Expand Down
2 changes: 2 additions & 0 deletions cspell.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"rustc",
"samchon", // https://github.com/samchon/openapi
"serde", // https://github.com/serde-rs/serde
"SARIF", // https://sarifweb.azurewebsites.net/
"turborepo", // https://github.com/vercel/turbo
"typecheck", // vitest uses `--typecheck`
"typeof",
Expand All @@ -113,6 +114,7 @@
"PAPI", // Lynx's Element PAPI
"parseable", // https://pnpm.io/cli/list
"debugids", // https://getsentry.github.io/debugids/
"zizmor", // https://github.com/woodruffw/zizmor
],
// Glob
"ignorePaths": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,11 @@ export class XFoldviewSlotNgTouchEventsHandler
if (this.#scrollingVertically === false) {
return;
}
/**
* on chromium browsers, the y-axis js scrolling won't interrupt the pan-x gestures
* we make sure the x-axis scrolling will block the y-axis scrolling
*/
const scrollableKidY = this.#getTheMostScrollableKid(deltaY);
/**
* on chromium browsers, the y-axis js scrolling won't interrupt the pan-x gestures
* we make sure the x-axis scrolling will block the y-axis scrolling
*/
if (
parentElement
) {
if (event.cancelable && !isChromium) {
if (event.cancelable) {
event.preventDefault();
}
if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ x-foldview-slot-ng {
contain: strict;
order: 3;
}
x-foldview-ng > x-foldview-slot-ng * {
touch-action: pan-x pinch-zoom;
}
x-foldview-slot-ng scroll-view {
/* avoiding default bounce on ios safari */
overscroll-behavior-y: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface ReactWebpackPluginOptions {
firstScreenSyncTiming?: 'immediately' | 'jsReady';

/**
* {@inheritdoc @lynx-dev/react-rsbuild-plugin#PluginReactLynxOptions.enableSSR}
* {@inheritdoc @lynx-js/react-rsbuild-plugin#PluginReactLynxOptions.enableSSR}
*/
enableSSR?: boolean;

Expand Down
Loading