Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1e9db1c
refactor: rename `useNetworkStore` to `useNetwork`
marcel-bitfly May 7, 2025
06fc945
refactor: remove `revive.js` adcontrol library as it is unused
marcel-bitfly May 21, 2025
3bff0ba
chore(git-blame-ignore): add `styling` commit
marcel-bitfly May 21, 2025
ae4911b
chore(git-ignore): add `*.pem` files to exclude ssl certificates
marcel-bitfly May 22, 2025
a057bb5
docs(nuxt.config): adding link to `ssl cert` creation
marcel-bitfly May 22, 2025
0b9a6c4
fix: visually align elements with each other
marcel-bitfly Jun 14, 2025
e0f66f7
fix(ValidatorTableDutyStatus): `duty icons` having too little space
marcel-bitfly Jul 31, 2025
10cef8c
--wip--
marcel-bitfly Aug 7, 2025
16bbdc5
refactor: replace `fetching` and `query handling` logic in dashboard …
enzo-bitfly Aug 6, 2025
b8b626a
chore(eslint): add `esling stylistic plugin`
marcel-bitfly Aug 8, 2025
781c8a7
refactor: move all assets to subfolder due to name collisions with `v…
marcel-bitfly Aug 8, 2025
99c5411
refactor: add `subpath` for server routes to avoid name collisions w…
marcel-bitfly Aug 11, 2025
34e681f
fix(BcCopyLabel): styling of input field
marcel-bitfly Aug 15, 2025
93de10a
fix(DashboardShareModal): click on label triggers checkbox
marcel-bitfly Aug 15, 2025
7f5396c
refactor: replace `qrcode.vue` package with `nuxt-qrcode`
marcel-bitfly Aug 16, 2025
db7576b
wip
marcel-bitfly Aug 18, 2025
78abb5f
fix: displaying and editing dashboard groups list
enzo-bitfly Aug 13, 2025
211429e
wip
marcel-bitfly Aug 20, 2025
cacdc6e
refactor: replace `fetching` and `query handling` logic in notificati…
enzo-bitfly Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# in order to work execute once:
# git config blame.ignoreRevsFile .git-blame-ignore-revs

# style(eslint): apply new `eslint stylistic` rules
008c970f3d658d0979d8b3ed8fbdea24ab70a3c7
# chore(eslint): add rule to enforce indentation of 4 spaces for json
898005c54ea6824a895917b4d3c2b52a2a4f72f9
# chore(eslint): apply `sort-modules` rule
Expand Down
6 changes: 4 additions & 2 deletions frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"conventionalCommits.scopes": [
"BcButton",
"BcCopyLabel",
"BcDataWrapper",
"BcFormatAmount",
"BcHeaderMegaMenu",
Expand All @@ -17,6 +18,7 @@
"DashboardChartSummaryFilter",
"DashboardChartSummaryTooltip",
"DashboardGroupManagementModal",
"DashboardShareModal",
"DashboardSlotViz",
"DashboardTableClDeposits",
"DashboardTableElConsolidations",
Expand Down Expand Up @@ -65,6 +67,7 @@
"format.ts",
"git",
"git-blame-ignore",
"git-ignore",
"healthz",
"i18n",
"logger",
Expand All @@ -76,12 +79,11 @@
"useCurrency",
"useCustomFetch",
"useFeatureFlag",
"useNotificationsOverviewStore",
"useSettingsStore",
"useStripeProvider",
"useWindowSize",
"variables.scss",
"vscode"
"vscode"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
Expand Down
33 changes: 11 additions & 22 deletions frontend/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,24 @@ const { locale } = useTranslation()
useHead(
{
htmlAttrs: { lang: locale.value },
script: [ {
async: false,
key: 'revive',
src: '../js/revive.min.js',
link: [ {
href: '/assets-2usdf/favicon.ico',
rel: 'icon',
type: 'image/x-icon',
} ],
},
{ mode: 'client' },
)
useWindowSizeProvider()
useBcToastProvider()

const { latestState } = storeToRefs(useLatestStateStore())
const exchangeRates = computed(() => latestState.value?.exchange_rates ?? [])
const exchangeRateLengthOnTestNetworks = 1
if (exchangeRates.value.length === exchangeRateLengthOnTestNetworks) {
const { selectedCurrencyMain } = useCurrency()
selectedCurrencyMain.value = exchangeRates.value[0].code as CurrencyCode
}
</script>

<template>
<div class="min-h-full">
<BcDataWrapper>
<NuxtLoadingIndicator color="var(--primary-color)" />
<NuxtPage />
<DynamicDialog />
<Toast />
</BcDataWrapper>
</div>
<NuxtLoadingIndicator color="var(--primary-color)" />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<DynamicDialog />
<Toast />
<BcCookieModal />
</template>

<style lang="scss"></style>
22 changes: 11 additions & 11 deletions frontend/assets/css/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
@font-face {
font-family: "Montserrat";
font-weight: 400 500 600 700;
src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}

@font-face {
font-family: "Montserrat";
font-weight: 400 500 600 700;
font-style: italic;
src: url("/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 300;
src: url("/fonts/Roboto-Light.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-Light.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 300;
font-style: italic;
src: url("/fonts/Roboto-LightItalic.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-LightItalic.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 400;
src: url("/fonts/Roboto-Regular.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 400;
font-style: italic;
src: url("/fonts/Roboto-Italic.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-Italic.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 500;
src: url("/fonts/Roboto-Medium.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-Medium.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 500;
font-style: italic;
src: url("/fonts/Roboto-MediumItalic.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-MediumItalic.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 700;
src: url("/fonts/Roboto-Bold.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face {
font-family: "Roboto";
font-weight: 700;
font-style: italic;
src: url("/fonts/Roboto-BoldItalic.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Roboto-BoldItalic.ttf") format("truetype");
}

@font-face {
font-family: "Inter";
font-weight: 300 500;
src: url("/fonts/Inter-VariableFont_slnt,wght.ttf") format("truetype");
src: url("/assets-2usdf/fonts/Inter-VariableFont_slnt,wght.ttf") format("truetype");
}

:root {
Expand Down
26 changes: 26 additions & 0 deletions frontend/components/BcError.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<script setup lang="ts">
defineProps<{
description: TranslationKey,
// statusCode: number,
title: TranslationKey,
}>()
const error = useError()
</script>

<template>
<div class="bc-error">
<h1>{{ $t(title) }} ({{ error?.statusCode }})</h1>
<p>{{ $t(description) }}</p>
<slot />
</div>
</template>

<style scoped>
.bc-error {
display: flex;
gap: 1rem;
flex-direction: column;
justify-content: center;
align-items: center;
}
</style>
30 changes: 30 additions & 0 deletions frontend/components/BcLayout.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<script setup lang="ts"></script>

<template>
<div class="page">
<header>
<slot name="header" />
</header>
<slot name="banner" />
<main class="content">
<slot />
</main>
<footer>
<TheFooter />
</footer>
</div>
</template>

<style lang="scss" scoped>
.page {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100vh;
}

.content {
max-width: var(--content-width);
margin: var(--padding) auto
}
</style>
Loading
Loading