feat(FN-2188): harden dev server view lifecycle and mobile nav
- Update the dashboard dev-server API client for compatibility with multiple backend response shapes - Refine useDevServer polling and SSE lifecycle handling to improve status/action reliability - Gate dev server navigation in header/mobile overflow and fix mobile preview header wrapping styles - Expand DevServerView and useDevServer test coverage with isolated mocks and log/status assertions - Document the devServerView experimental feature flag in settings reference
This commit is contained in:
@@ -27,7 +27,7 @@ function isTaskView(value: string | null): value is TaskView {
|
||||
}
|
||||
|
||||
function normalizeTaskView(value: TaskView): TaskView {
|
||||
return value === "dev-server" ? "devserver" : value;
|
||||
return value === "devserver" ? "dev-server" : value;
|
||||
}
|
||||
|
||||
interface UseViewStateOptions {
|
||||
|
||||
Reference in New Issue
Block a user