Merge remote-tracking branch 'forgejo/main' into fix/tradein-location-index-calibration
All checks were successful
CI Trade-In / frontend-checks (pull_request) Successful in 1m54s
CI / backend-tests (pull_request) Successful in 16m1s
CI / openapi-codegen-check (pull_request) Successful in 3m25s
CI Trade-In / backend-tests (pull_request) Successful in 5m23s
CI Trade-In / changes (pull_request) Successful in 9s
CI / changes (pull_request) Successful in 9s
CI / frontend-tests (pull_request) Has been skipped
All checks were successful
CI Trade-In / frontend-checks (pull_request) Successful in 1m54s
CI / backend-tests (pull_request) Successful in 16m1s
CI / openapi-codegen-check (pull_request) Successful in 3m25s
CI Trade-In / backend-tests (pull_request) Successful in 5m23s
CI Trade-In / changes (pull_request) Successful in 9s
CI / changes (pull_request) Successful in 9s
CI / frontend-tests (pull_request) Has been skipped
This commit is contained in:
commit
3d36861fb2
2 changed files with 19 additions and 0 deletions
|
|
@ -682,6 +682,13 @@ export default function TradeInV2Page() {
|
||||||
house_type: estimate.house_type ?? undefined,
|
house_type: estimate.house_type ?? undefined,
|
||||||
repair_state: estimate.repair_state ?? undefined,
|
repair_state: estimate.repair_state ?? undefined,
|
||||||
has_balcony: estimate.has_balcony ?? undefined,
|
has_balcony: estimate.has_balcony ?? undefined,
|
||||||
|
// Without these the 01 map falls back to its "pick an address"
|
||||||
|
// placeholder on every restored estimate (shared link, history,
|
||||||
|
// PDF flow) even though the address field is populated — the map
|
||||||
|
// keys off coords, not the address string, and only the geocode
|
||||||
|
// suggestion path used to supply them.
|
||||||
|
lat: estimate.target_lat ?? undefined,
|
||||||
|
lon: estimate.target_lon ?? undefined,
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
[estimate],
|
[estimate],
|
||||||
|
|
|
||||||
|
|
@ -476,6 +476,9 @@ export default function HeroBar({
|
||||||
background:
|
background:
|
||||||
"linear-gradient(90deg,rgba(238,244,250,.96) 0%,rgba(238,244,250,.5) 22%,transparent 40%)",
|
"linear-gradient(90deg,rgba(238,244,250,.96) 0%,rgba(238,244,250,.5) 22%,transparent 40%)",
|
||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
|
// Above Leaflet's tile pane (200) / overlay pane (400); below the
|
||||||
|
// marker (600) so the subject pin still reads through the fade.
|
||||||
|
zIndex: 500,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
@ -487,6 +490,15 @@ export default function HeroBar({
|
||||||
top: "50%",
|
top: "50%",
|
||||||
transform: "translateY(-50%)",
|
transform: "translateY(-50%)",
|
||||||
width: 182,
|
width: 182,
|
||||||
|
// MUST be set explicitly. .leaflet-container is position:relative
|
||||||
|
// with z-index:auto, so it does NOT open a stacking context — its
|
||||||
|
// internal panes (tiles 200 … popup 700) compete directly with
|
||||||
|
// these siblings, and an auto/0 card is painted UNDER the map.
|
||||||
|
// Shipped without this in #2529 and the address + location figure
|
||||||
|
// vanished from the hero on prod. 750 clears every pane; the
|
||||||
|
// attribution control (800) sits bottom-right and never overlaps
|
||||||
|
// this left-anchored card, so its link stays clickable.
|
||||||
|
zIndex: 750,
|
||||||
background: tokens.surface.w72,
|
background: tokens.surface.w72,
|
||||||
backdropFilter: "blur(5px)",
|
backdropFilter: "blur(5px)",
|
||||||
border: `1px solid ${tokens.line}`,
|
border: `1px solid ${tokens.line}`,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue