fix(ui): terrain-popup закрывается при открытии bottom-sheet (ET-014) #28
Reference in New Issue
Block a user
Delete Branch "feature/ET-014-ui-z-index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.bottom-sheetчерезopenSheet()принудительно закрывается#terrain-popupи снимается.activeс#terrain-toggle.#marker-dialog,#search-panel,#ruler-info(REQ-NF-03).src/web/app.js(+1 helpercloseTerrainPopup, +1 вызов вopenSheet). 17 строк, обрамлены маркерами// >>> ET-014 sheet-popup yield block.Test plan
tests/unit/sheet_popup.test.js— 8 behavioral JS unit-тестов (node --test):openSheet('sheet-gps-filters')закрывает открытый popup, снимает.active.openSheet()стабильно (sheet остаётсяopen, без артефактов).openSheet()дляsheet-routeи др. — popup не страдает (no-op когда не открыт).closeTerrainPopup(): no-op при скрытом popup, отпискаcloseTerrainOnOutsideпри открытом, защита отnullpopup.openSheet: ранний выход при отсутствии sheet (popup НЕ трогается);closeSheetзовётся для других открытых sheets.tests/unit/test_sheet_popup.py— pytest-обёртка (9 тестов): статические проверки (маркеры блока, порядок вызовов вopenSheet, ровно один вызовcloseTerrainPopup()), охранные тесты что z-stack.bottom-sheet/#sheet-backdrop/#marker-dialog/.terrain-popupне тронут, чтоgps_tracks.js/index.htmlне правились (ADR §Что НЕ меняется).test_base_layer,test_terrain_paint,test_unit_toggle,test_poi_toggle,test_gps_tracks,test_track_download,test_sheet_popup) зелёные локально.ADR
docs/work-items/ET-014/06-adr/ADR-019-terrain-popup-yields-to-sheet.mdRefs: ET-014