main_laptop_1 -> main byeonghap (4 hwangyeong 585 commits) #12

Merged
eomsangdon merged 585 commits from main_laptop_1 into main 2026-09-08 17:26:30 +09:00
2 changed files with 10 additions and 9 deletions
Showing only changes of commit d3d0dcaa0e - Show all commits
@@ -74,8 +74,11 @@ const HEIGHT_VAR = "--b05-masshaul-height";
* 표시 상태가 갈리면 "같은 곡선인데 왜 다르게 보이나"가 된다(2026-08-03 사용자 확정).
* 정의처는 B06 `_UI_Section_View`와 이 파일 두 곳뿐이며 값이 반드시 같아야 한다.
*/
const VISIBLE_KEY = "b06:masshaul-visible-v4";
const DEFAULT_VISIBLE: string[] = [...MASS_HAUL_DEFAULT_VISIBLE, MASS_HAUL_BALANCE_KEY];
const VISIBLE_KEY = "b06:masshaul-visible-v5";
/** 처음 열 때는 **곡선만** 보인다 — 토량 분배(평형선·운반 블록)는 범례에서 켠다
* (2026-09-06 사용자 지시). 판을 v4 → v5 로 올려 이미 켜 둔 브라우저도 새 기본값으로
* 시작하게 한다. */
const DEFAULT_VISIBLE: string[] = [...MASS_HAUL_DEFAULT_VISIBLE];
/** 유토곡선 계산에 필요한 프로젝트 설정 — B05 Page가 `fetchSectionContext()`에서 받아 넘긴다. */
export interface RouteMassHaulContext {
@@ -1,8 +1,4 @@
import {
MASS_HAUL_BALANCE_KEY,
MASS_HAUL_DEFAULT_VISIBLE,
normalizeVisibleBasis,
} from "@util/common_util_mass_haul";
import { MASS_HAUL_DEFAULT_VISIBLE, normalizeVisibleBasis } from "@util/common_util_mass_haul";
import { MASS_HAUL_HEIGHT, MASS_HAUL_MIN_HEIGHT } from "@util/common_util_mass_haul_view";
import { LONG_HEIGHT } from "./B06_Section_UI_Section_Common";
@@ -13,9 +9,11 @@ export const MIN_PANEL_HEIGHT = MIN_LONG_HEIGHT + MASS_HAUL_MIN_HEIGHT + PANEL_C
export const MAX_PANEL_HEIGHT_RATIO = 0.8;
export const PANEL_HEIGHT_KEY = "b06:profile-panel-height";
export const PANEL_COLLAPSED_KEY = "b06:profile-panel-collapsed";
export const MASS_HAUL_VISIBLE_KEY = "b06:masshaul-visible-v4";
export const MASS_HAUL_VISIBLE_KEY = "b06:masshaul-visible-v5";
const DEFAULT_VISIBLE_KEYS = [...MASS_HAUL_DEFAULT_VISIBLE, MASS_HAUL_BALANCE_KEY];
/** 처음 열 때는 **곡선만** — 토량 분배는 범례에서 켠다(2026-09-06 사용자 지시).
* B05 `_UI_Profile_MassHaul` 과 같은 값이어야 한다(두 화면 공용 키). */
const DEFAULT_VISIBLE_KEYS = [...MASS_HAUL_DEFAULT_VISIBLE];
export function readVisibleSeries(): Set<string> {
try {