From efc6b6b703971acd9cff7bb452a1fad40b801f87 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 17 Aug 2022 20:49:20 +0300 Subject: add "scroll to top" button to timelines and notifications --- src/components/notifications/notifications.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index e778e27b..16b5e8f6 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -6,6 +6,7 @@
{{ unseenCount }}
+
-- cgit v1.2.3-70-g09d2 From e9ad922eeb3419185e30eaf99f11eadd0a7dee44 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 17 Aug 2022 21:34:56 +0300 Subject: oops --- src/components/notifications/notifications.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 16b5e8f6..d57166eb 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -34,7 +34,7 @@ type="button" @click.prevent="markAsSeen" > - + {{ $t('notifications.read') }}
-- cgit v1.2.3-70-g09d2 From 986c4537021842e9b21c89c0ffb84033169cafe6 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 24 Aug 2022 22:31:48 +0300 Subject: use a bit more compact layout on mobile --- src/components/notifications/notifications.js | 5 ++- src/components/notifications/notifications.vue | 8 +++- src/components/timeline/timeline.js | 14 ++++-- src/components/timeline/timeline.scss | 16 +++++++ src/components/timeline/timeline.vue | 61 +++++++++++++++++++------- 5 files changed, 83 insertions(+), 21 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 7a3d6759..058d2669 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -10,11 +10,12 @@ import { } from '../../services/notification_utils/notification_utils.js' import FaviconService from '../../services/favicon_service/favicon_service.js' import { library } from '@fortawesome/fontawesome-svg-core' -import { faCircleNotch, faCircleUp } from '@fortawesome/free-solid-svg-icons' +import { faCircleNotch, faArrowUp, faMinus } from '@fortawesome/free-solid-svg-icons' library.add( faCircleNotch, - faCircleUp + faArrowUp, + faMinus ) const DEFAULT_SEEN_TO_DISPLAY_COUNT = 30 diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index d57166eb..7577164d 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -26,7 +26,13 @@ type="button" @click="scrollToTop" > - + + + + - -
- {{ $t('timeline.up_to_date') }} -
+ + -- cgit v1.2.3-70-g09d2 From af734afe3694ff3c77d4457b93b02309c4f55d6d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 24 Aug 2022 22:46:41 +0300 Subject: lint --- src/components/notifications/notifications.vue | 16 ++++++++-------- src/components/timeline/timeline.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 7577164d..08d65439 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -4,9 +4,9 @@ :to="teleportTarget" >
- - - - + + + +
- + +
- +
Date: Sun, 9 Oct 2022 18:50:13 +0300 Subject: move definitions for timeline header buttons to Panel.scss, now called rightside buttons --- src/components/conversation/conversation.vue | 2 ++ src/components/notifications/notifications.scss | 21 ---------------- src/components/notifications/notifications.vue | 4 ++-- src/components/timeline/timeline.scss | 32 ------------------------- src/components/timeline/timeline.vue | 10 ++++---- src/panel.scss | 32 +++++++++++++++++++++++++ 6 files changed, 41 insertions(+), 60 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 61832566..3752e3c1 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -20,10 +20,12 @@
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 245e3f47..f71f9b76 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -29,27 +29,6 @@ } } } - - .timeline-header-button { - align-self: stretch; - text-align: center; - width: var(--__panel-heading-height); - height: var(--__panel-heading-height); - margin: calc(-1 * var(--panel-heading-height-padding)) 0; - margin-right: calc(-1 * var(--__panel-heading-gap)); - - > button { - box-sizing: border-box; - padding: calc(1 * var(--panel-heading-height-padding)) 0; - height: 100%; - width: 100%; - text-align: center; - - svg { - font-size: 1.2em; - } - } - } } .notification { diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 22f67e65..3f4b1b42 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -21,7 +21,7 @@ >{{ unseenCount }}
- +
button { - box-sizing: border-box; - padding: calc(1 * var(--panel-heading-height-padding)) 0; - height: 100%; - width: 100%; - text-align: center; - - svg { - font-size: 1.2em; - } - } - } - - .timeline-header-icon { - align-self: stretch; - text-align: center; - width: var(--__panel-heading-height); - margin-right: calc(-1 * var(--__panel-heading-gap)); - - svg { - font-size: 1.2em; - } - } - .loadmore-button { position: relative } diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 15d097e8..77480345 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -6,7 +6,7 @@ :timeline-name="timelineName" />
button { + box-sizing: border-box; + padding: calc(1 * var(--panel-heading-height-padding)) 0; + height: 100%; + width: 100%; + text-align: center; + + svg { + font-size: 1.2em; + } + } + } + + .rightside-icon { + align-self: stretch; + text-align: center; + width: var(--__panel-heading-height); + margin-right: calc(-1 * var(--__panel-heading-gap)); + + svg { + font-size: 1.2em; + } + } } .panel-footer { -- cgit v1.2.3-70-g09d2 From 1435b65e36a21dd3a05a9393803beb7e06bcd4ae Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 17 Oct 2022 21:50:37 +0300 Subject: add titles to mobile buttons --- src/components/notifications/notifications.vue | 1 + src/components/timeline/timeline.vue | 3 +++ src/i18n/en.json | 1 + 3 files changed, 5 insertions(+) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 3f4b1b42..f9c90a7e 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -27,6 +27,7 @@
-
+ -- cgit v1.2.3-70-g09d2 From 17aa503106f129e391f8478ade6821f09ef7494a Mon Sep 17 00:00:00 2001 From: tusooa Date: Tue, 8 Nov 2022 00:43:33 -0500 Subject: Make notification panel a list of articles --- src/components/notification/notification.vue | 17 ++++++++++------- src/components/notifications/notifications.vue | 6 +++++- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 26b174ff..84f3f7de 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -1,11 +1,14 @@ diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 7ed419d1..02a87fcc 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -50,10 +50,14 @@
-
+
-- cgit v1.2.3-70-g09d2 From b718c0c77d16bf917dc564404cb0fa61a2c535b3 Mon Sep 17 00:00:00 2001 From: tusooa Date: Tue, 8 Nov 2022 10:34:38 -0500 Subject: Use feed role for notifs and timelines --- src/components/notifications/notifications.vue | 2 +- src/components/timeline/timeline.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 02a87fcc..3d5878d4 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -52,7 +52,7 @@
Date: Mon, 21 Nov 2022 22:17:33 +0200 Subject: lint --- src/components/emoji_input/emoji_input.vue | 13 ++++++++++--- src/components/emoji_picker/emoji_picker.vue | 4 ++-- src/components/mobile_nav/mobile_nav.vue | 6 +++--- src/components/notifications/notifications.vue | 2 +- src/components/popover/popover.vue | 5 ++++- .../quick_filter_settings/quick_filter_settings.vue | 2 +- src/components/quick_view_settings/quick_view_settings.vue | 2 +- src/components/search/search.js | 4 ++-- src/components/timeline/timeline.vue | 14 ++++++++++---- 9 files changed, 34 insertions(+), 18 deletions(-) (limited to 'src/components/notifications/notifications.vue') diff --git a/src/components/emoji_input/emoji_input.vue b/src/components/emoji_input/emoji_input.vue index 63bf856e..c9bbc18f 100644 --- a/src/components/emoji_input/emoji_input.vue +++ b/src/components/emoji_input/emoji_input.vue @@ -6,9 +6,16 @@ > -
+
{{ preText }} - x + x {{ postText }}