From 7082ff12f86d40e24fb335022b865ec4a25c1827 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Wed, 7 Jun 2023 17:22:09 +0200
Subject: [PATCH 1/3] Feature/add semantic list structure to header navigation
(#2044)
* Add semantic list structure (ul and li elements)
* Update changelog
---
CHANGELOG.md | 1 +
.../components/header/header.component.html | 575 ++++++++++--------
2 files changed, 309 insertions(+), 267 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 639baf32b..a56c38fcf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added the investment streaks to the analysis page
- Added support for a unit in the value component
+- Added a semantic list structure to the header navigation
- Added a default value for the `includeHistoricalData` attribute in the symbol data endpoint
## 1.276.0 - 2023-06-03
diff --git a/apps/client/src/app/components/header/header.component.html b/apps/client/src/app/components/header/header.component.html
index 2d3b1aee3..16ee7f62c 100644
--- a/apps/client/src/app/components/header/header.component.html
+++ b/apps/client/src/app/components/header/header.component.html
@@ -8,216 +8,238 @@
- Overview
- Portfolio
- Accounts
- Admin Control
- Resources
- Pricing
- About
-
-
- 0">
-
-
-
-
- Overview
- Portfolio
- Accounts
- My Ghostfolio
- Admin Control
-
- Resources
-
+
From 64087de3fc955a90606208aea1c4ca3ca16794e0 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Wed, 7 Jun 2023 17:33:35 +0200
Subject: [PATCH 2/3] Bugfix/fix date format parsing in activities import
(#2051)
* Fix date format parsing
* Update changelog
---
CHANGELOG.md | 4 ++++
apps/client/src/app/services/import-activities.service.ts | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a56c38fcf..219f40334 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added a semantic list structure to the header navigation
- Added a default value for the `includeHistoricalData` attribute in the symbol data endpoint
+### Fixed
+
+- Fixed an issue with the date format parsing in the activities import
+
## 1.276.0 - 2023-06-03
### Added
diff --git a/apps/client/src/app/services/import-activities.service.ts b/apps/client/src/app/services/import-activities.service.ts
index 21ee38274..8e4d93342 100644
--- a/apps/client/src/app/services/import-activities.service.ts
+++ b/apps/client/src/app/services/import-activities.service.ts
@@ -223,16 +223,16 @@ export class ImportActivitiesService {
for (const key of ImportActivitiesService.DATE_KEYS) {
if (item[key]) {
- if (isMatch(item[key], 'dd-MM-yyyy') && item[key].length === '10') {
+ if (isMatch(item[key], 'dd-MM-yyyy') && item[key].length === 10) {
// Check length to only match yyyy (and not yy)
date = parse(item[key], 'dd-MM-yyyy', new Date()).toISOString();
} else if (
isMatch(item[key], 'dd/MM/yyyy') &&
- item[key].length === '10'
+ item[key].length === 10
) {
// Check length to only match yyyy (and not yy)
date = parse(item[key], 'dd/MM/yyyy', new Date()).toISOString();
- } else if (isMatch(item[key], 'yyyyMMdd') && item[key].length === '8') {
+ } else if (isMatch(item[key], 'yyyyMMdd') && item[key].length === 8) {
// Check length to only match yyyy (and not yy)
date = parse(item[key], 'yyyyMMdd', new Date()).toISOString();
} else {
From 0ea66aebcbd7df3d7fb87a15b712b657f336f1b0 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Wed, 7 Jun 2023 17:35:19 +0200
Subject: [PATCH 3/3] Release 1.277.0 (#2052)
---
CHANGELOG.md | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 219f40334..b9e5fd8eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## Unreleased
+## 1.277.0 - 2023-06-07
### Added
diff --git a/package.json b/package.json
index 6bcb17f08..45e317528 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ghostfolio",
- "version": "1.276.0",
+ "version": "1.277.0",
"homepage": "https://ghostfol.io",
"license": "AGPL-3.0",
"scripts": {