mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-27 11:42:52 +00:00
* Upgrade to Expo 57 and unify Explorer across layouts * feat(app): retain Explorer across layout and appearance changes Keep one workspace Explorer host and destination-aware navigation so folding, theme updates and compact sheets preserve the current panel. Scope pull request discovery and timeline demand to active surfaces. * fix(app): keep Explorer resize handles stretched through the dock The shared frame moved the divider into an absolute column, leaving its horizontal handle without height. Restore the row so pointer drags reach it, preserving the existing resize and performance contract. * fix(app): keep Explorer drag widths out of the shared stylesheet Carry the existing inline sizing policy into the shared frame so pointer previews do not accumulate CSS rules. * fix(test): align isolated test runtimes with Expo 57 Hoisted React consumers need the matching DOM renderer at the repository root. Automated Metro processes must not install native DevTools into disposable homes, and development toast overlays must not cover compact actions. Keep Explorer journeys on the shared host and synchronize setup fixtures on daemon output rather than a one-second file-marker window. A delayed real child start reproduces the readiness failure on every platform. * fix(test): await retained shell layout after composer resize The gesture host now stays mounted across breakpoints, so its presence no longer identifies compact layout. Report the current layout on the retained host and synchronize composer journeys with that state. * fix(app): preserve browser interactions in retained workspace hosts Initially disabled gesture hosts still registered pointer and wheel listeners, while hover cards used window positions inside a workspace-local sheet portal. Respect initial gesture enablement and position cards relative to their measured floating host. Keep developer-toast dismissal independent of pointer input and replacement toast visibility so modal, hover, and focus checks retain their input state. * fix(test): share developer toast handling with Electron browser runs The standalone Electron browser runner bypassed the browser fixture, allowing developer errors to cover Settings. Use the same non-pointer dismissal in both runners while retaining their console logs.
62 lines
2.8 KiB
Diff
62 lines
2.8 KiB
Diff
diff --git a/node_modules/react-native-svg/lib/commonjs/lib/extract/extractTransform.js b/node_modules/react-native-svg/lib/commonjs/lib/extract/extractTransform.js
|
|
index f22cca3..0a73681 100644
|
|
--- a/node_modules/react-native-svg/lib/commonjs/lib/extract/extractTransform.js
|
|
+++ b/node_modules/react-native-svg/lib/commonjs/lib/extract/extractTransform.js
|
|
@@ -152,7 +152,12 @@ function extractTransform(props) {
|
|
}
|
|
function extractTransformSvgView(props) {
|
|
if (typeof props.transform === 'string') {
|
|
- return (0, _transformToRn.parse)(props.transform);
|
|
+ try {
|
|
+ return (0, _transformToRn.parse)(props.transform);
|
|
+ } catch (e) {
|
|
+ console.error(e);
|
|
+ return undefined;
|
|
+ }
|
|
}
|
|
return props.transform;
|
|
}
|
|
diff --git a/node_modules/react-native-svg/lib/module/lib/extract/extractTransform.js b/node_modules/react-native-svg/lib/module/lib/extract/extractTransform.js
|
|
index c9d3d6a..085586c 100644
|
|
--- a/node_modules/react-native-svg/lib/module/lib/extract/extractTransform.js
|
|
+++ b/node_modules/react-native-svg/lib/module/lib/extract/extractTransform.js
|
|
@@ -142,7 +142,12 @@ export default function extractTransform(props) {
|
|
}
|
|
export function extractTransformSvgView(props) {
|
|
if (typeof props.transform === 'string') {
|
|
- return parseTransformSvgToRnStyle(props.transform);
|
|
+ try {
|
|
+ return parseTransformSvgToRnStyle(props.transform);
|
|
+ } catch (e) {
|
|
+ console.error(e);
|
|
+ return undefined;
|
|
+ }
|
|
}
|
|
return props.transform;
|
|
}
|
|
diff --git a/node_modules/react-native-svg/src/lib/extract/extractTransform.ts b/node_modules/react-native-svg/src/lib/extract/extractTransform.ts
|
|
index 0c854d6..7dc2828 100644
|
|
--- a/node_modules/react-native-svg/src/lib/extract/extractTransform.ts
|
|
+++ b/node_modules/react-native-svg/src/lib/extract/extractTransform.ts
|
|
@@ -216,7 +216,19 @@ export function extractTransformSvgView(
|
|
props: TransformsStyle
|
|
): TransformsStyle['transform'] {
|
|
if (typeof props.transform === 'string') {
|
|
- return parseTransformSvgToRnStyle(props.transform);
|
|
+ // A root <Svg> is a real RN view, so a string transform has to be rewritten into RN's
|
|
+ // style syntax. The grammar behind this parser only accepts SVG transform functions and
|
|
+ // throws on anything else - including ordinary CSS (`none`, `rotate(-90deg)`). Every other
|
|
+ // extractor in this file already swallows that error; this one did not, so one unrecognised
|
|
+ // string escaped as an uncaught SyntaxError during render and took the whole app down.
|
|
+ // Untrusted SVG reaches this path (a repository's own favicon.svg/logo.svg is rendered
|
|
+ // through SvgXml/SvgCss), so degrade to "no transform" like the rest of the library.
|
|
+ try {
|
|
+ return parseTransformSvgToRnStyle(props.transform);
|
|
+ } catch (e) {
|
|
+ console.error(e);
|
|
+ return undefined;
|
|
+ }
|
|
}
|
|
return props.transform as TransformsStyle['transform'];
|
|
}
|