forked from podman-desktop/podman-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change layout of Troubleshooting page to use tabs (podman-deskt…
…op#5187) * feat: change layout of Troubleshooting page to use tabs fixes podman-desktop#5183 Signed-off-by: Florent Benoit <[email protected]>
- Loading branch information
Showing
6 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 18 additions & 5 deletions
23
packages/renderer/src/lib/troubleshooting/TroubleshootingPage.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
<script> | ||
import FormPage from '../ui/FormPage.svelte'; | ||
import Tab from '../ui/Tab.svelte'; | ||
import TroubleshootingDevToolsConsoleLogs from './TroubleshootingDevToolsConsoleLogs.svelte'; | ||
import TroubleshootingPageProviders from './TroubleshootingPageProviders.svelte'; | ||
import TroubleshootingPageStores from './TroubleshootingPageStores.svelte'; | ||
import Route from '/@/Route.svelte'; | ||
</script> | ||
|
||
<FormPage title="Troubleshooting" showBreadcrumb="{false}"> | ||
<i slot="icon" class="fas fa-lightbulb fa-2x" aria-hidden="true"></i> | ||
|
||
<div slot="content" class="flex flex-col space-y-4 p-4"> | ||
<TroubleshootingPageProviders /> | ||
<svelte:fragment slot="tabs"> | ||
<Tab title="Repair & Connections" url="repair-connections" /> | ||
<Tab title="Logs" url="logs" /> | ||
<Tab title="Stores" url="stores" /> | ||
</svelte:fragment> | ||
<svelte:fragment slot="content"> | ||
<Route path="/repair-connections" breadcrumb="Repair & Connections" navigationHint="tab"> | ||
<TroubleshootingPageProviders /> | ||
</Route> | ||
|
||
<TroubleshootingDevToolsConsoleLogs /> | ||
<Route path="/logs" breadcrumb="Logs" navigationHint="tab"> | ||
<TroubleshootingDevToolsConsoleLogs /> | ||
</Route> | ||
|
||
<TroubleshootingPageStores /> | ||
</div> | ||
<Route path="/stores" breadcrumb="Stores" navigationHint="tab"> | ||
<TroubleshootingPageStores /> | ||
</Route> | ||
</svelte:fragment> | ||
</FormPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters