mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix(mapillary): free share token after upstream took 'y'; markup test follows the rail insert loop
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
817716f0c1
commit
1c3d96542f
3 files changed
+422
-7
No files matched your search
@@ -493,7 +493,7 @@ export const LAYER_STATE_REGISTRY = Object.freeze([
|
||||
disposition: 'enabled-only',
|
||||
}),
|
||||
Object.freeze({ id: 'local-firms', token: 'w', disposition: 'enabled-only' }),
|
||||
Object.freeze({ id: 'mapillary', token: 'y', disposition: 'enabled-only' }),
|
||||
Object.freeze({ id: 'mapillary', token: '2', disposition: 'enabled-only' }),
|
||||
Object.freeze({
|
||||
id: 'military',
|
||||
token: 'm',
|
||||
|
||||
@@ -40,9 +40,10 @@ test('the panel is registered with panel chrome, cockpit entry and the right rai
|
||||
/COCKPIT_ENTRY_COLLAPSE_PANEL_IDS = Object\.freeze\(\[[\s\S]*'mapillary-panel'/,
|
||||
);
|
||||
assert.match(panelChrome, /const isRightRail = \[[\s\S]*'mapillary-panel'/);
|
||||
// The layout controller moves every rail panel in one loop; ours is listed.
|
||||
assert.match(
|
||||
layoutController,
|
||||
/stack\.insertBefore\(this\._mapillaryPanel, globalContextPanel\)/,
|
||||
/for \(const panel of \[[\s\S]*?this\._mapillaryPanel,[\s\S]*?\]\) \{[\s\S]*?stack\.insertBefore\(panel, globalContextPanel\)/,
|
||||
);
|
||||
for (const rule of [
|
||||
'#right-context-rail > #mapillary-panel',
|
||||
|
||||
Reference in new issue
Block a user