Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add copy-to-clipboard buttons to holding detail dialog (#6640)

Thomas Kauld98dc15c34bb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6721e3022d..274851846f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added support for a copy-to-clipboard functionality in the value component
+- Extended the holding detail dialog by adding a copy-to-clipboard button for the ISIN number (experimental)
+- Extended the holding detail dialog by adding a copy-to-clipboard button for the symbol (experimental)
### Changed
diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
index 15415e4139..b8cb8dda22 100644
--- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
+++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
@@ -310,6 +310,9 @@
<gf-value
i18n
size="medium"
+ [enableCopyToClipboardButton]="
+ user?.settings?.isExperimentalFeatures
+ "
[hidden]="!SymbolProfile?.symbol"
[value]="SymbolProfile?.symbol"
>Symbol</gf-value
@@ -318,6 +321,9 @@
<div class="col-6 mb-3">
<gf-value
size="medium"
+ [enableCopyToClipboardButton]="
+ user?.settings?.isExperimentalFeatures
+ "
[hidden]="!SymbolProfile?.isin"
[value]="SymbolProfile?.isin"
>ISIN</gf-value