-
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(dashboard): add blueprints tab to package entity
- Loading branch information
1 parent
30e488f
commit 7c677bc
Showing
7 changed files
with
80 additions
and
1 deletion.
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
23 changes: 23 additions & 0 deletions
23
apps/dashboard/src/routes/(search-pages)/package/[package]/blueprints/+page.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
import Row from '@components/info-box/Row.svelte' | ||
import type { PageData } from './$types' | ||
export let data: PageData | ||
</script> | ||
|
||
{#await data.promises.package then _package} | ||
{#each _package.blueprints as blueprint} | ||
<div class="card"> | ||
<h3>{blueprint.name}</h3> | ||
{#each blueprint.methods as method} | ||
<Row modifiers="no-capitalize" text={method.name} /> | ||
{/each} | ||
</div> | ||
{/each} | ||
{/await} | ||
|
||
<style lang="scss"> | ||
.card:not(:last-child) { | ||
margin-bottom: 1rem; | ||
} | ||
</style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from '@radixdlt/babylon-core-api-sdk' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,5 +55,11 @@ | |
margin-bottom: 1rem; | ||
} | ||
} | ||
&.no-capitalize { | ||
.label { | ||
text-transform: none; | ||
} | ||
} | ||
} | ||
</style> |