feat(KAN-69): open saved native workspace directly in dashboard
CI/CD / preconditions (pull_request) Successful in 2s
Native JavaScript checks / Native launcher and release tests (pull_request) Successful in 1m17s
CI/CD / test_and_check_app (pull_request) Successful in 6m24s
CI/CD / Publish immutable image (pull_request) Skipped
macOS checks / Native Rust tests and unsigned build (pull_request) Successful in 1m27s
CI/CD / preconditions (pull_request) Successful in 2s
Native JavaScript checks / Native launcher and release tests (pull_request) Successful in 1m17s
CI/CD / test_and_check_app (pull_request) Successful in 6m24s
CI/CD / Publish immutable image (pull_request) Skipped
macOS checks / Native Rust tests and unsigned build (pull_request) Successful in 1m27s
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
<script type="module" src="./main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<p id="startup-loading" role="status" aria-live="polite" data-i18n="connecting"></p>
|
||||
<main id="workspace-settings" hidden>
|
||||
<img class="brand" src="./mark.svg" alt="" width="48" height="48" />
|
||||
<p class="eyebrow" data-i18n="appName"></p>
|
||||
<h1 data-i18n="title"></h1>
|
||||
|
||||
@@ -31,6 +31,9 @@ window.updateLauncher = (query) => {
|
||||
const state = new URLSearchParams(query);
|
||||
const phase = state.get('phase');
|
||||
const server = state.get('server');
|
||||
const loading = phase === 'connecting' && state.get('ready') !== 'true';
|
||||
document.querySelector('#startup-loading').hidden = !loading;
|
||||
document.querySelector('#workspace-settings').hidden = loading;
|
||||
if (!initialized) {
|
||||
input.value = server;
|
||||
initialized = true;
|
||||
|
||||
Reference in New Issue
Block a user