-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): add info box in activity page (#3548)
# Motivation We include an info box in the activity page to warn about third-parties on BTC transactions. My understanding of the requirements is that we always show it, independently of having or not BTC transactions, hence there is no logic to show it or not. ![Screenshot 2024-11-14 at 11 00 17](https://github.com/user-attachments/assets/c998a0b0-eb10-42cb-a7a3-48c7c95e6337) ![Screenshot 2024-11-14 at 11 00 43](https://github.com/user-attachments/assets/bfef081d-14ac-4b24-b28c-29652d6fc766) ![Screenshot 2024-11-14 at 11 00 49](https://github.com/user-attachments/assets/3a194ae5-e37a-45d0-82cf-0a32ca0422f9) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ee7d41e
commit cc45837
Showing
5 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
11 changes: 9 additions & 2 deletions
11
src/frontend/src/lib/components/transactions/AllTransactions.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,9 +1,16 @@ | ||
<script lang="ts"> | ||
import AllTransactionsList from '$lib/components/transactions/AllTransactionsList.svelte'; | ||
import MessageBox from '$lib/components/ui/MessageBox.svelte'; | ||
import PageTitle from '$lib/components/ui/PageTitle.svelte'; | ||
import { i18n } from '$lib/stores/i18n.store'; | ||
</script> | ||
|
||
<PageTitle>{$i18n.activity.text.title}</PageTitle> | ||
<div class="flex flex-col gap-5"> | ||
<PageTitle>{$i18n.activity.text.title}</PageTitle> | ||
|
||
<AllTransactionsList /> | ||
<MessageBox level="plain"> | ||
{$i18n.activity.info.btc_transactions} | ||
</MessageBox> | ||
|
||
<AllTransactionsList /> | ||
</div> |
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