b9eb6ae058
* refactor(web): remove legacy settings migration * fix(web): hydrate portable settings from boot state * fix(web): preserve sidebar sync contracts * fix(web): retain portable settings filters * fix(web): retry sidebar settings writes * fix(web): retain sidebar boot settings * fix(websocket): avoid shutdown teardown leaks * fix(boot): normalize sidebar task preferences * fix(settings): preserve saved views during hydration * fix(jira): avoid duplicate saved-view syncs * fix(jira): preserve saved views on fetch failure * fix(jira): retry saved-view hydration failures * refactor(jira): simplify hydration request cleanup * fix(websocket): close late clients after hub shutdown
22 lines
752 B
TypeScript
22 lines
752 B
TypeScript
export const STORAGE_KEYS = {
|
|
BACKEND_URL: "kandev.settings.backendUrl",
|
|
ONBOARDING_COMPLETED: "kandev.onboarding.completed",
|
|
} as const;
|
|
|
|
export const DEFAULT_BACKEND_URL = "http://localhost:38429";
|
|
|
|
// Kanban Preview Panel Settings
|
|
export const PREVIEW_PANEL = {
|
|
// Minimum width of the preview panel in pixels (prevents panel from being too narrow)
|
|
MIN_WIDTH_PX: 300,
|
|
|
|
// Default width of the preview panel in pixels when first opened
|
|
DEFAULT_WIDTH_PX: 500,
|
|
|
|
// Maximum width of the preview panel in viewport width percentage (prevents covering entire screen)
|
|
MAX_WIDTH_VW: 95,
|
|
|
|
// Minimum width of the kanban board as a percentage of viewport before the panel switches to floating mode
|
|
MIN_KANBAN_WIDTH_PERCENT: 50,
|
|
} as const;
|