Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
This commit is contained in:
commit
40c4a49223
2 changed files with 19 additions and 4 deletions
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -4,6 +4,21 @@ 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/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Single notifications left unread when hitting read on another device/tab
|
||||||
|
|
||||||
|
## [1.1.8] - 2020-01-10
|
||||||
|
### Added
|
||||||
|
- Icons in nav panel
|
||||||
|
- Private mode support
|
||||||
|
- Support for 'Move' type notifications
|
||||||
|
- Pleroma AMOLED dark theme
|
||||||
|
### Changed
|
||||||
|
- 403 messaging
|
||||||
|
### Fixed
|
||||||
|
- Deactivation of remote accounts from frontend
|
||||||
|
|
||||||
|
## [1.1.7 and earlier] - 2019-12-14
|
||||||
### Added
|
### Added
|
||||||
- Ability to hide/show repeats from user
|
- Ability to hide/show repeats from user
|
||||||
- User profile button clutter organized into a menu
|
- User profile button clutter organized into a menu
|
||||||
|
@ -11,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Started changelog anew
|
- Started changelog anew
|
||||||
- Ability to change user's email
|
- Ability to change user's email
|
||||||
- About page
|
- About page
|
||||||
|
- Added remote user redirect
|
||||||
### Changed
|
### Changed
|
||||||
- changed the way fading effects for user profile/long statuses works, now uses css-mask instead of gradient background hacks which weren't exactly compatible with semi-transparent themes
|
- changed the way fading effects for user profile/long statuses works, now uses css-mask instead of gradient background hacks which weren't exactly compatible with semi-transparent themes
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -2,7 +2,6 @@ import apiService from '../api/api.service.js'
|
||||||
|
|
||||||
const update = ({ store, notifications, older }) => {
|
const update = ({ store, notifications, older }) => {
|
||||||
store.dispatch('setNotificationsError', { value: false })
|
store.dispatch('setNotificationsError', { value: false })
|
||||||
|
|
||||||
store.dispatch('addNewNotifications', { notifications, older })
|
store.dispatch('addNewNotifications', { notifications, older })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,9 +29,9 @@ const fetchAndUpdate = ({ store, credentials, older = false }) => {
|
||||||
|
|
||||||
// load unread notifications repeatedly to provide consistency between browser tabs
|
// load unread notifications repeatedly to provide consistency between browser tabs
|
||||||
const notifications = timelineData.data
|
const notifications = timelineData.data
|
||||||
const unread = notifications.filter(n => !n.seen).map(n => n.id)
|
const readNotifsIds = notifications.filter(n => n.seen).map(n => n.id)
|
||||||
if (unread.length) {
|
if (readNotifsIds.length) {
|
||||||
args['since'] = Math.min(...unread)
|
args['since'] = Math.max(...readNotifsIds)
|
||||||
fetchNotifications({ store, args, older })
|
fetchNotifications({ store, args, older })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue