From 6b45773051dd051e520c214e5ed1f3a5f1466212 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 3 Apr 2024 16:50:29 -0700 Subject: [PATCH] timeline: add top text overlay (close #1116) Signed-off-by: Varun Patil --- CHANGELOG.md | 1 + src/components/Timeline.vue | 11 ++- .../top-matter/TimelineTopOverlay.vue | 98 +++++++++++++++++++ 3 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 src/components/top-matter/TimelineTopOverlay.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 063c12776..0a0ca30be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - **Feature**: Add option to de-duplicate identical files ([#1112](https://github.com/pulsejet/memories/issues/1112)). +- **Feature**: Show current date at top of timeline ([#1116](https://github.com/pulsejet/memories/issues/1116)) ## [v7.1.0] - 2024-04-01 diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 3af9f549f..5404c9151 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -16,6 +16,9 @@ + + + ; topmatter?: InstanceType; dtm?: InstanceType; + topOverlay?: InstanceType; recycler?: VueRecyclerType; recyclerBefore?: HTMLDivElement; selectionManager: InstanceType; diff --git a/src/components/top-matter/TimelineTopOverlay.vue b/src/components/top-matter/TimelineTopOverlay.vue new file mode 100644 index 000000000..81dee2a30 --- /dev/null +++ b/src/components/top-matter/TimelineTopOverlay.vue @@ -0,0 +1,98 @@ + + + + +