Compare commits
No commits in common. "f8b0af62b28feb6f45efa29e08b57fa1a3d834f3" and "ac6981f09b4cb05d9bf1a51d71c53687fdfeb7e5" have entirely different histories.
f8b0af62b2
...
ac6981f09b
57 changed files with 59 additions and 82 deletions
55
CHANGELOG.md
55
CHANGELOG.md
|
@ -3,61 +3,6 @@ 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/).
|
||||
|
||||
## 2.7.0
|
||||
|
||||
### Known issues
|
||||
We got some reports related to emoji picker performance, this hopefully will be fixed in 2.7.1.
|
||||
|
||||
### Notes
|
||||
This release overhauls how themes work, themes now need to be "compiled", which can cause some delay when loading for the first time and temporarily look "wrong" in some places (popups, menus, dialogs). Please do report any issues, especially if your theme looks wrong or breaks interface when loading. Also report issues if you're experiencing constant performance issues.
|
||||
|
||||
To admins: remember that you can update PleromaFE to recent `master` or `develop` in admin dashboard in "Front-ends" tab, scroll down to find PleromaFE box and click "Reinstall `master`" or dropdown and then "Reinstall `develop`". Currently there is no mechanism to check if there is an update or not.
|
||||
|
||||
### Changed
|
||||
- Overhauled the way themes work, migrating to new Pleroma Interface Style Sheets system aka "Themes 3".
|
||||
- Notifications are no longer sorted by "seen" status since interacting with them can change their read status and makes UI jumpy. Old behavior can be restored in settings.
|
||||
- Notifications are now shown through a ServiceWorker (since mobile chrome does not allow them otherwise), it's always enabled, even if previously we only enabled it for WebPush notifications only. If you don't like websites "running" while closed, check how to disable them in your browser. Old way to show notifications will be used as a fallback but might not have all the new features.
|
||||
- Reorganized Settings modal to move out visual stuff into Appearance tab
|
||||
|
||||
### Added
|
||||
- Emoji pack management to the admin panel
|
||||
- Support `status` notification type (subscriptions/bell, fixes PleromaFE on newer PleromaBE versions)
|
||||
- Poll end notifications.
|
||||
- Added option to not mark all notifications when closing notifications drawer on mobile, this creates a new button to mark all as seen.
|
||||
- Option to always "show" notifications when using web push for better compatibility with some browsers (chrome, edge, safari)
|
||||
- Option to toggle what notification types appear in native notifications, by default less important ones (likes, repeats, etc) will no longer show up in native notifications.
|
||||
- Option to treat non-interactive notifications (likes, repeats et all) as seen for visual purposes (no read mark, ignored in counters, still can show in native notifications)
|
||||
- Ability to resize UI (and certain components) scale independent of browser/text scale
|
||||
- Ability to override certain aspects of UI style independent of theme used (UI roundness, fonts, underlay)
|
||||
- Theme selector with visual previews of the theme
|
||||
- Display loading and error indicator for conversation page
|
||||
- Option to only show scrobbles that are recent enough
|
||||
- Interacting (opening reply box etc) or simply clicking on non-interactive notifications now marks them as read. Clicking on native notifications for non-interactive ones also marks them as seen.
|
||||
- Support group actors
|
||||
- Focusing into a tab clears all current desktop notifications
|
||||
- Ability to change size of emoji
|
||||
- Ability to view APNG (Animated PNG) attachments.
|
||||
- Support showing extra notifications in the notifications column
|
||||
- Create a link to the URL of the scrobble when it's present
|
||||
- Allow hiding custom emojis in picker.
|
||||
- Ability to mute sensitive posts (ported from eintei).
|
||||
- Native notifications now also have "badge" property that matches instance's favicon (visible in Android Chromium at least)
|
||||
- Display public favorites on user profiles
|
||||
- Display quotes count on posts and add quotes list page
|
||||
- Show a dedicated registration notice page when further action is required after registering
|
||||
|
||||
### Fixed
|
||||
- Synchronized requested notification types with backend, hopefully should fix missing notifications for polls and follow requests
|
||||
- Error that appeared on mobile Chromium (and derivatives) when native notifications are allowed
|
||||
- Being unable to set notification visibility for reports and follow requests
|
||||
- Native notifications appearing as many times as there are open tabs. Clicking on notification will focus last focused tab.
|
||||
- The expiry date indication won't be shown if the poll never expires
|
||||
- Profile mentions causing a 422 error on newer PleromaBE versions.
|
||||
- Color inputs are less ugly now
|
||||
- Unread notifications should now properly catch up between sessions (eventually) in polling mode
|
||||
- Video posters on Safari
|
||||
|
||||
|
||||
## 2.6.1
|
||||
### Fixed
|
||||
- fix admin dashboard not having any feedback on frontend installation
|
||||
|
|
1
changelog.d/add-apng.add
Normal file
1
changelog.d/add-apng.add
Normal file
|
@ -0,0 +1 @@
|
|||
Make Pleroma FE to also view apng (Animated PNG) attachment.
|
1
changelog.d/admin-emoji-packs.add
Normal file
1
changelog.d/admin-emoji-packs.add
Normal file
|
@ -0,0 +1 @@
|
|||
Added emoji pack management to the admin panel
|
1
changelog.d/appearance-tab.change
Normal file
1
changelog.d/appearance-tab.change
Normal file
|
@ -0,0 +1 @@
|
|||
Reorganized Settings modal to move out visual stuff into Appearance tab
|
1
changelog.d/ci-runner.skip
Normal file
1
changelog.d/ci-runner.skip
Normal file
|
@ -0,0 +1 @@
|
|||
stop using that one runner for intensive tasks
|
1
changelog.d/create-link-when-url-present.add
Normal file
1
changelog.d/create-link-when-url-present.add
Normal file
|
@ -0,0 +1 @@
|
|||
Create a link to the URL of the scrobble when it's present
|
1
changelog.d/double-notifications.fix
Normal file
1
changelog.d/double-notifications.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix native notifications appearing as many times as there are open tabs. Clicking on notification will focus last focused tab.
|
1
changelog.d/emoji-scale.add
Normal file
1
changelog.d/emoji-scale.add
Normal file
|
@ -0,0 +1 @@
|
|||
Ability to change size of emoji
|
1
changelog.d/extra-notifications.add
Normal file
1
changelog.d/extra-notifications.add
Normal file
|
@ -0,0 +1 @@
|
|||
Support showing extra notifications in the notifications column
|
1
changelog.d/firefox-redmon.fix
Normal file
1
changelog.d/firefox-redmon.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Bug with firefox and redmond themes
|
1
changelog.d/fixes-themes.skip
Normal file
1
changelog.d/fixes-themes.skip
Normal file
|
@ -0,0 +1 @@
|
|||
fixed themes for spw and kazvmoew
|
1
changelog.d/fixes.skip
Normal file
1
changelog.d/fixes.skip
Normal file
|
@ -0,0 +1 @@
|
|||
fix post appearance tab bugs part I
|
1
changelog.d/focus-clear.add
Normal file
1
changelog.d/focus-clear.add
Normal file
|
@ -0,0 +1 @@
|
|||
Focusing into a tab clears all current desktop notifications
|
1
changelog.d/group-actor.add
Normal file
1
changelog.d/group-actor.add
Normal file
|
@ -0,0 +1 @@
|
|||
Support group actors
|
1
changelog.d/hide-custom-emojis-in-picker.add
Normal file
1
changelog.d/hide-custom-emojis-in-picker.add
Normal file
|
@ -0,0 +1 @@
|
|||
Allow hiding custom emojis in picker.
|
1
changelog.d/mobile-chrome-notifs.fix
Normal file
1
changelog.d/mobile-chrome-notifs.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed error that appeared on mobile Chrome(ium) (and derivatives) when native notifications are allowed
|
1
changelog.d/mobile-drawer-notifications.change
Normal file
1
changelog.d/mobile-drawer-notifications.change
Normal file
|
@ -0,0 +1 @@
|
|||
Added option to not mark all notifications when closing notifications drawer on mobile, this creates a new button to mark all as seen.
|
1
changelog.d/more-notification-types-setting.fix
Normal file
1
changelog.d/more-notification-types-setting.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed being unable to set notification visibility for reports and follow requests
|
1
changelog.d/mute-nsfw.add
Normal file
1
changelog.d/mute-nsfw.add
Normal file
|
@ -0,0 +1 @@
|
|||
Added ability to mute sensitive posts (ported from eintei)
|
1
changelog.d/native-filtering.add
Normal file
1
changelog.d/native-filtering.add
Normal file
|
@ -0,0 +1 @@
|
|||
Added option to toggle what notification types appear in native notifications, by default less important ones (likes, repeats, etc) will no longer show up in native notifications.
|
1
changelog.d/native-notifications.add
Normal file
1
changelog.d/native-notifications.add
Normal file
|
@ -0,0 +1 @@
|
|||
Native notifications now also have "badge" property that matches instance's favicon (visible in Android Chromium at least)
|
1
changelog.d/no-preserve-selection-color.fix
Normal file
1
changelog.d/no-preserve-selection-color.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Ensure selection text color has enough contrast
|
1
changelog.d/non-expiring-polls-indication.fix
Normal file
1
changelog.d/non-expiring-polls-indication.fix
Normal file
|
@ -0,0 +1 @@
|
|||
The expiry date indication won't be shown if the poll never expires
|
1
changelog.d/noninteractive-ignore-read.add
Normal file
1
changelog.d/noninteractive-ignore-read.add
Normal file
|
@ -0,0 +1 @@
|
|||
Added option to treat non-interactive notifications (likes, repeats et all) as seen for visual purposes (no read mark, ignored in counters, still can show in native notifications)
|
1
changelog.d/notif-types.fix
Normal file
1
changelog.d/notif-types.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Synchronized requested notification types with backend, hopefully should fix missing notifications for polls and follow requests
|
1
changelog.d/notification-read.add
Normal file
1
changelog.d/notification-read.add
Normal file
|
@ -0,0 +1 @@
|
|||
Interacting (opening reply box etc) or simply clicking on non-interactive notifications now marks them as read. Clicking on native notifications for non-interactive ones also marks them as seen.
|
1
changelog.d/notifications-sorting.change
Normal file
1
changelog.d/notifications-sorting.change
Normal file
|
@ -0,0 +1 @@
|
|||
Notifications are no longer sorted by "seen" status since interacting with them can change their read status and makes UI jumpy. Old behavior can be restored in settings.
|
1
changelog.d/poll-ended-notifications.fix
Normal file
1
changelog.d/poll-ended-notifications.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Add poll end notifications to fetched types.
|
1
changelog.d/preview-interference.skip
Normal file
1
changelog.d/preview-interference.skip
Normal file
|
@ -0,0 +1 @@
|
|||
skip
|
1
changelog.d/profile-mentions.fix
Normal file
1
changelog.d/profile-mentions.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix profile mentions causing a 422 error
|
1
changelog.d/public-favorites.add
Normal file
1
changelog.d/public-favorites.add
Normal file
|
@ -0,0 +1 @@
|
|||
Display public favorites on user profiles
|
0
changelog.d/public-favorites.skip
Normal file
0
changelog.d/public-favorites.skip
Normal file
1
changelog.d/quotes-count.add
Normal file
1
changelog.d/quotes-count.add
Normal file
|
@ -0,0 +1 @@
|
|||
Display quotes count on posts and add quotes list page
|
1
changelog.d/registration-notice.add
Normal file
1
changelog.d/registration-notice.add
Normal file
|
@ -0,0 +1 @@
|
|||
Show a dedicated registration notice page when further action is required after registering
|
1
changelog.d/scrobbles-age-filter.add
Normal file
1
changelog.d/scrobbles-age-filter.add
Normal file
|
@ -0,0 +1 @@
|
|||
Option to only show scrobbles that are recent enough
|
1
changelog.d/serviceworkers.change
Normal file
1
changelog.d/serviceworkers.change
Normal file
|
@ -0,0 +1 @@
|
|||
Notifications are now shown through a serviceworker (since mobile chrome does not allow them otherwise), it's always enabled, even if previously we only enabled it for WebPush notifications only. If you don't like websites "running" while closed, check how to disable them in your browser. Old way to show notifications will be used as a fallback but might not have all the new features.
|
1
changelog.d/show-recent-scrobble.skip
Normal file
1
changelog.d/show-recent-scrobble.skip
Normal file
|
@ -0,0 +1 @@
|
|||
Shows the most recent scrobble under each post when available
|
1
changelog.d/status-loading-indicator.add
Normal file
1
changelog.d/status-loading-indicator.add
Normal file
|
@ -0,0 +1 @@
|
|||
Display loading and error indicator for conversation page
|
1
changelog.d/status-notification-type.add
Normal file
1
changelog.d/status-notification-type.add
Normal file
|
@ -0,0 +1 @@
|
|||
Support `status` notification type
|
1
changelog.d/theme-selector.add
Normal file
1
changelog.d/theme-selector.add
Normal file
|
@ -0,0 +1 @@
|
|||
Theme selector with visual previews of the theme
|
1
changelog.d/themes3-cache.add
Normal file
1
changelog.d/themes3-cache.add
Normal file
|
@ -0,0 +1 @@
|
|||
Add caching system for themes3
|
1
changelog.d/themes3-fixes.fix
Normal file
1
changelog.d/themes3-fixes.fix
Normal file
|
@ -0,0 +1 @@
|
|||
fix color inputs and some in-development themes3 issues
|
1
changelog.d/themes3.change
Normal file
1
changelog.d/themes3.change
Normal file
|
@ -0,0 +1 @@
|
|||
Overhauled the way themes work, migrating to new Pleroma Interface Style Sheets system.
|
1
changelog.d/themesv3-on-safari.fix
Normal file
1
changelog.d/themesv3-on-safari.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix Themes v3 on Safari not working
|
1
changelog.d/ui-scale.add
Normal file
1
changelog.d/ui-scale.add
Normal file
|
@ -0,0 +1 @@
|
|||
Ability to resize UI (and certain components) scale independent of browser/text scale
|
1
changelog.d/unreads-sync.fix
Normal file
1
changelog.d/unreads-sync.fix
Normal file
|
@ -0,0 +1 @@
|
|||
unread notifications should now properly catch up (eventually) in polling mode
|
1
changelog.d/user-overrides.add
Normal file
1
changelog.d/user-overrides.add
Normal file
|
@ -0,0 +1 @@
|
|||
Ability to override certain aspects of UI style independent of theme used (UI roundness, fonts, underlay)
|
1
changelog.d/video-poster.fix
Normal file
1
changelog.d/video-poster.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Video posters on Safari
|
1
changelog.d/video-poster.update.skip
Normal file
1
changelog.d/video-poster.update.skip
Normal file
|
@ -0,0 +1 @@
|
|||
nothing
|
1
changelog.d/web-push-always.add
Normal file
1
changelog.d/web-push-always.add
Normal file
|
@ -0,0 +1 @@
|
|||
Added option to always "show" notifications when using web push for better compatibility with some browsers (chrome, edge, safari)
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pleroma_fe",
|
||||
"version": "2.7.0",
|
||||
"version": "2.6.1",
|
||||
"description": "Pleroma frontend, the default frontend of Pleroma social network server",
|
||||
"author": "Pleroma contributors <https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/CONTRIBUTORS.md>",
|
||||
"private": false,
|
||||
|
|
|
@ -122,7 +122,6 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
|
|||
store.dispatch('setInstanceOption', { name, value: config[name] })
|
||||
}
|
||||
|
||||
copyInstanceOption('theme')
|
||||
copyInstanceOption('nsfwCensorImage')
|
||||
copyInstanceOption('background')
|
||||
copyInstanceOption('hidePostStats')
|
||||
|
|
|
@ -150,9 +150,7 @@ const EmojiPicker = {
|
|||
},
|
||||
showPicker () {
|
||||
this.$refs.popover.showPopover()
|
||||
this.$nextTick(() => {
|
||||
this.onShowing()
|
||||
})
|
||||
this.onShowing()
|
||||
},
|
||||
hidePicker () {
|
||||
this.$refs.popover.hidePopover()
|
||||
|
|
|
@ -89,7 +89,6 @@
|
|||
class="emoji-groups"
|
||||
:class="groupsScrolledClass"
|
||||
:min-item-size="minItemSize"
|
||||
:buffer="minItemSize"
|
||||
:items="emojiItems"
|
||||
:emit-update="true"
|
||||
@update="onScroll"
|
||||
|
|
|
@ -300,7 +300,7 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.theme-preview-container {
|
||||
.preview-container {
|
||||
pointer-events: none;
|
||||
zoom: 0.5;
|
||||
border: none;
|
||||
|
|
|
@ -145,10 +145,6 @@ const defaultState = {
|
|||
quotingAvailable: false,
|
||||
groupActorAvailable: false,
|
||||
|
||||
// Emoji stuff
|
||||
standardEmojiList: null,
|
||||
standardEmojiGroupList: null,
|
||||
|
||||
// Html stuff
|
||||
instanceSpecificPanelContent: '',
|
||||
tos: '',
|
||||
|
@ -250,21 +246,15 @@ const instance = {
|
|||
}, {})
|
||||
},
|
||||
standardEmojiList (state) {
|
||||
if (!state.standardEmojiList) {
|
||||
state.standardEmojiList = SORTED_EMOJI_GROUP_IDS
|
||||
.map(groupId => (state.emoji[groupId] || []).map(k => injectAnnotations(k, state.unicodeEmojiAnnotations)))
|
||||
.reduce((a, b) => a.concat(b), [])
|
||||
}
|
||||
return state.standardEmojiList
|
||||
return SORTED_EMOJI_GROUP_IDS
|
||||
.map(groupId => (state.emoji[groupId] || []).map(k => injectAnnotations(k, state.unicodeEmojiAnnotations)))
|
||||
.reduce((a, b) => a.concat(b), [])
|
||||
},
|
||||
standardEmojiGroupList (state) {
|
||||
if (!state.standardEmojiGroupList) {
|
||||
state.standardEmojiGroupList = SORTED_EMOJI_GROUP_IDS.map(groupId => ({
|
||||
id: groupId,
|
||||
emojis: (state.emoji[groupId] || []).map(k => injectAnnotations(k, state.unicodeEmojiAnnotations))
|
||||
}))
|
||||
}
|
||||
return state.standardEmojiGroupList
|
||||
return SORTED_EMOJI_GROUP_IDS.map(groupId => ({
|
||||
id: groupId,
|
||||
emojis: (state.emoji[groupId] || []).map(k => injectAnnotations(k, state.unicodeEmojiAnnotations))
|
||||
}))
|
||||
},
|
||||
instanceDomain (state) {
|
||||
return new URL(state.server).hostname
|
||||
|
@ -374,8 +364,6 @@ const instance = {
|
|||
// should have been "pack" field, that would be more useful
|
||||
}).sort(byPackThenByName)
|
||||
commit('setInstanceOption', { name: 'customEmoji', value: emoji })
|
||||
state.standardEmojiGroupList = null
|
||||
state.standardEmojiList = null
|
||||
} else {
|
||||
throw (res)
|
||||
}
|
||||
|
|
|
@ -351,7 +351,6 @@ export const convertTheme2To3 = (data) => {
|
|||
newRules.push({ ...rule, parent: { component: 'Notification' } })
|
||||
}
|
||||
if (key === 'buttonPressed') {
|
||||
console.log(key)
|
||||
newRules.push({ ...rule, state: ['toggled'] })
|
||||
newRules.push({ ...rule, state: ['toggled', 'focus'] })
|
||||
newRules.push({ ...rule, state: ['pressed', 'focus'] })
|
||||
|
@ -419,6 +418,7 @@ export const convertTheme2To3 = (data) => {
|
|||
case 'Border':
|
||||
newRule.parent = rule
|
||||
newRule.directives.textColor = data.colors[key]
|
||||
newRule.directives.textAuto = 'no-auto'
|
||||
variantArray = parts.slice(0, -1)
|
||||
break
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue