Merge branch 'hj/2.7.1-fixes' into 'master'
2.7.1 fixes See merge request pleroma/pleroma-fe!1933
This commit is contained in:
commit
b553ed2d17
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -3,6 +3,19 @@ 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/).
|
||||||
|
|
||||||
|
## 2.7.1
|
||||||
|
Bugfix release. Added small optimizations to emoji picker that should make it a bit more responsive, however it needs rather large change to make it more performant which might come in a major release.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Instance default theme not respected
|
||||||
|
- Nested panel header having wrong sticky position if navbar height != panel header height
|
||||||
|
- Toggled buttons having bad contrast (when using v2 theme)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Simplify the OAuth client_name to 'PleromaFE'
|
||||||
|
- Small optimizations to emoji picker
|
||||||
|
|
||||||
|
|
||||||
## 2.7.0
|
## 2.7.0
|
||||||
|
|
||||||
### Known issues
|
### Known issues
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pleroma_fe",
|
"name": "pleroma_fe",
|
||||||
"version": "2.7.0",
|
"version": "2.7.1",
|
||||||
"description": "Pleroma frontend, the default frontend of Pleroma social network server",
|
"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>",
|
"author": "Pleroma contributors <https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/CONTRIBUTORS.md>",
|
||||||
"private": false,
|
"private": false,
|
||||||
|
|
|
@ -122,6 +122,7 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
|
||||||
store.dispatch('setInstanceOption', { name, value: config[name] })
|
store.dispatch('setInstanceOption', { name, value: config[name] })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
copyInstanceOption('theme')
|
||||||
copyInstanceOption('nsfwCensorImage')
|
copyInstanceOption('nsfwCensorImage')
|
||||||
copyInstanceOption('background')
|
copyInstanceOption('background')
|
||||||
copyInstanceOption('hidePostStats')
|
copyInstanceOption('hidePostStats')
|
||||||
|
|
|
@ -150,7 +150,9 @@ const EmojiPicker = {
|
||||||
},
|
},
|
||||||
showPicker () {
|
showPicker () {
|
||||||
this.$refs.popover.showPopover()
|
this.$refs.popover.showPopover()
|
||||||
|
this.$nextTick(() => {
|
||||||
this.onShowing()
|
this.onShowing()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
hidePicker () {
|
hidePicker () {
|
||||||
this.$refs.popover.hidePopover()
|
this.$refs.popover.hidePopover()
|
||||||
|
|
|
@ -89,6 +89,7 @@
|
||||||
class="emoji-groups"
|
class="emoji-groups"
|
||||||
:class="groupsScrolledClass"
|
:class="groupsScrolledClass"
|
||||||
:min-item-size="minItemSize"
|
:min-item-size="minItemSize"
|
||||||
|
:buffer="minItemSize"
|
||||||
:items="emojiItems"
|
:items="emojiItems"
|
||||||
:emit-update="true"
|
:emit-update="true"
|
||||||
@update="onScroll"
|
@update="onScroll"
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversation-heading {
|
.conversation-heading {
|
||||||
top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 2));
|
top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 1) + var(--navbar-height));
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@ export const getOrCreateApp = ({ clientId, clientSecret, instance, commit }) =>
|
||||||
const url = `${instance}/api/v1/apps`
|
const url = `${instance}/api/v1/apps`
|
||||||
const form = new window.FormData()
|
const form = new window.FormData()
|
||||||
|
|
||||||
form.append('client_name', `PleromaFE_${window.___pleromafe_commit_hash}_${(new Date()).toISOString()}`)
|
form.append('client_name', 'PleromaFE')
|
||||||
|
form.append('website', 'https://pleroma.social')
|
||||||
form.append('redirect_uris', REDIRECT_URI)
|
form.append('redirect_uris', REDIRECT_URI)
|
||||||
form.append('scopes', 'read write follow push admin')
|
form.append('scopes', 'read write follow push admin')
|
||||||
|
|
||||||
|
|
|
@ -418,7 +418,6 @@ export const convertTheme2To3 = (data) => {
|
||||||
case 'Border':
|
case 'Border':
|
||||||
newRule.parent = rule
|
newRule.parent = rule
|
||||||
newRule.directives.textColor = data.colors[key]
|
newRule.directives.textColor = data.colors[key]
|
||||||
newRule.directives.textAuto = 'no-auto'
|
|
||||||
variantArray = parts.slice(0, -1)
|
variantArray = parts.slice(0, -1)
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue