v2.5.0 (#527)
Closes https://github.com/webrecorder/replayweb.page/issues/523, closes https://github.com/webrecorder/replayweb.page/issues/396, closes https://github.com/webrecorder/replayweb.page/issues/470, closes https://github.com/webrecorder/replayweb.page/issues/237 ## Changes https://github.com/webrecorder/replayweb.page/pull/521 - Adds public `navigateReplayTo` method in `<replay-app-main>` that allows embeds to control replay navigation directly without reloading entire UI. - Enables reloading `<wr-coll-replay>` iframe even if source URL hasn't changed. - Refactors lifecycle events to prevent unnecessary re-renders. https://github.com/webrecorder/replayweb.page/pull/524 - Fixes incorrect page count shown - Enables non-seed pages by default - Improves UX and accessibility of scrolling to load more by displaying help text https://github.com/webrecorder/replayweb.page/pull/525 - Updates general styles and icons throughout to match Browsertrix styles - Allows deep customization of components with `part` and `exportparts` https://github.com/webrecorder/replayweb.page/pull/526 - Enables importing Shoelace (ie Bootstrap) icons as inline SVG - Updates location bar buttons to use Bootstrap icons - Replaces deprecated raw-loader with Webpack-native asset rule https://github.com/webrecorder/replayweb.page/pull/529 - Allows hiding collection metadata in embed. - Moves non-seed toggle next to search bar to match resources controls and enable hiding entire column when metadata is hidden. https://github.com/webrecorder/replayweb.page/pull/533 - Fix non-seed pages toggle https://github.com/webrecorder/replayweb.page/pull/535, https://github.com/webrecorder/replayweb.page/pull/534 - Upgrade to Node 22 and Yarn 4 --------- Co-authored-by: Ilya Kreymer <ikreymer@gmail.com> Co-authored-by: Misty De Méo <hi@mistydemeo.com>
This commit is contained in:
co-authored by
Ilya Kreymer
Misty De Méo
parent
830468e03a
commit
141d35d687
@@ -18,11 +18,13 @@ jobs:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up corepack
|
||||
run: corepack enable yarn
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'yarn'
|
||||
node-version: 22
|
||||
|
||||
- name: Cache Dirs
|
||||
uses: actions/cache@v4
|
||||
@@ -36,7 +38,7 @@ jobs:
|
||||
- name: Update Ruffle
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: yarn run update-ruffle
|
||||
run: node --run update-ruffle
|
||||
|
||||
- name: Run Build
|
||||
env:
|
||||
@@ -58,9 +60,9 @@ jobs:
|
||||
#fi
|
||||
|
||||
if [ "$GITHUB_REF" == "refs/heads/main" ] || [ -f ./force_release ]; then
|
||||
export YARN_BUILD_CMD="release"
|
||||
export BUILD_CMD="release"
|
||||
else
|
||||
export YARN_BUILD_CMD="dist"
|
||||
export BUILD_CMD="dist"
|
||||
fi
|
||||
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
@@ -73,12 +75,12 @@ jobs:
|
||||
docker run --rm \
|
||||
-e CI=${CI} \
|
||||
-e GH_TOKEN=${GH_TOKEN} \
|
||||
-e YARN_BUILD_CMD=${YARN_BUILD_CMD} \
|
||||
-e BUILD_CMD=${BUILD_CMD} \
|
||||
-v ${PWD}:/project \
|
||||
-v ~/.cache/electron:/root/.cache/electron \
|
||||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
|
||||
electronuserland/builder:14-wine-05.22 \
|
||||
/bin/bash -c "yarn --link-duplicates --pure-lockfile --ignore-engines install && yarn run $YARN_BUILD_CMD --linux --x64"
|
||||
electronuserland/builder:22-wine \
|
||||
/bin/bash -c "corepack enable yarn && yarn install --immutable && yarn run $BUILD_CMD --linux --x64"
|
||||
else
|
||||
#mkdir -p plugins-win;
|
||||
#pushd plugins-win;
|
||||
@@ -91,12 +93,12 @@ jobs:
|
||||
-e GH_TOKEN=${GH_TOKEN} \
|
||||
-e WIN_CSC_LINK=${WIN_CSC_LINK} \
|
||||
-e WIN_CSC_KEY_PASSWORD=${WIN_CSC_KEY_PASSWORD} \
|
||||
-e YARN_BUILD_CMD=${YARN_BUILD_CMD} \
|
||||
-e BUILD_CMD=${BUILD_CMD} \
|
||||
-v ${PWD}:/project \
|
||||
-v ~/.cache/electron:/root/.cache/electron \
|
||||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
|
||||
electronuserland/builder:14-wine-05.22 \
|
||||
/bin/bash -c "yarn --link-duplicates --pure-lockfile --ignore-engines install && yarn run $YARN_BUILD_CMD --win --x64 --ia32"
|
||||
electronuserland/builder:22-wine \
|
||||
/bin/bash -c "corepack enable yarn && yarn install --immutable && yarn run $BUILD_CMD --win --x64 --ia32"
|
||||
fi
|
||||
else
|
||||
#mkdir -p plugins-mac;
|
||||
@@ -105,7 +107,7 @@ jobs:
|
||||
#unzip PepperFlashPlayer.plugin.zip;
|
||||
#rm PepperFlashPlayer.plugin.zip;
|
||||
#popd;
|
||||
yarn --link-duplicates --pure-lockfile --ignore-engines install
|
||||
yarn run $YARN_BUILD_CMD
|
||||
yarn install --immutable
|
||||
yarn run $BUILD_CMD
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user