Merge remote-tracking branch 'origin/develop' into shigusegubu-themes3
This commit is contained in:
commit
65042af42b
7 changed files with 12 additions and 4 deletions
|
@ -43,6 +43,8 @@ lint:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
tags:
|
||||||
|
- amd64
|
||||||
variables:
|
variables:
|
||||||
APT_CACHE_DIR: apt-cache
|
APT_CACHE_DIR: apt-cache
|
||||||
script:
|
script:
|
||||||
|
@ -54,6 +56,8 @@ test:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
tags:
|
||||||
|
- amd64
|
||||||
script:
|
script:
|
||||||
- yarn
|
- yarn
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
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/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/profile-mentions.fix
Normal file
1
changelog.d/profile-mentions.fix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix profile mentions causing a 422 error
|
|
@ -87,7 +87,8 @@ const PostStatusForm = {
|
||||||
'fileLimit',
|
'fileLimit',
|
||||||
'submitOnEnter',
|
'submitOnEnter',
|
||||||
'emojiPickerPlacement',
|
'emojiPickerPlacement',
|
||||||
'optimisticPosting'
|
'optimisticPosting',
|
||||||
|
'profileMention'
|
||||||
],
|
],
|
||||||
emits: [
|
emits: [
|
||||||
'posted',
|
'posted',
|
||||||
|
@ -125,7 +126,7 @@ const PostStatusForm = {
|
||||||
|
|
||||||
const { scopeCopy } = this.$store.getters.mergedConfig
|
const { scopeCopy } = this.$store.getters.mergedConfig
|
||||||
|
|
||||||
if (this.replyTo) {
|
if (this.replyTo || this.profileMention) {
|
||||||
const currentUser = this.$store.state.users.currentUser
|
const currentUser = this.$store.state.users.currentUser
|
||||||
statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)
|
statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default {
|
||||||
|
|
||||||
// Selection colors
|
// Selection colors
|
||||||
'--selectionBackground': 'color | --accent',
|
'--selectionBackground': 'color | --accent',
|
||||||
'--selectionText': 'color | $textColor(--accent, --text)'
|
'--selectionText': 'color | $textColor(--accent, --text, no-preserve)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -225,7 +225,7 @@ export default {
|
||||||
this.$store.dispatch('setCurrentMedia', attachment)
|
this.$store.dispatch('setCurrentMedia', attachment)
|
||||||
},
|
},
|
||||||
mentionUser () {
|
mentionUser () {
|
||||||
this.$store.dispatch('openPostStatusModal', { replyTo: true, repliedUser: this.user })
|
this.$store.dispatch('openPostStatusModal', { profileMention: true, repliedUser: this.user })
|
||||||
},
|
},
|
||||||
onAvatarClickHandler (e) {
|
onAvatarClickHandler (e) {
|
||||||
if (this.onAvatarClick) {
|
if (this.onAvatarClick) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue