このコミットが含まれているのは:
Henry Jameson 2019-03-30 12:25:23 +02:00
コミット bf927122df
3個のファイルの変更7行の追加3行の削除

6
BREAKING_CHANGES.md ノーマルファイル
ファイルの表示

@ -0,0 +1,6 @@
# v1.0
## Removed features/radically changed behavior
* As of !633, `scopeOptions` is no longer available and instead is changed for `scopeOptionsMinimal` (default: `false`)
Reasoning is that scopeOptions option originally existed mostly as a backwards-compatibility with GNU Social which only had `public` scope available and using scope selector would''t work. Since at some point we dropped GNU Social support, this option was mostly a nuisance (being default `false`'), however some people think scopes are an annoyance to a certain degree and want as less of that feature as possible.
Solution - to only show minimal set among: *Direct*, *User default* and *Scope of post replying to*. This also makes it impossible to reply to a DM with a non-DM post from UI.
*This setting is admin-default, user-configurable. Admin can choose different default for their instance but user can override it.*

ファイルの表示

@ -46,7 +46,6 @@
<scope-selector
:showAll="showAllScopes"
:userEnabled="['direct']"
:userDefault="userDefaultScope"
:originalScope="copyMessageScope"
:initialScope="newStatus.visibility"

ファイルの表示

@ -1,7 +1,6 @@
const ScopeSelector = {
props: [
'showAll',
'userEnabled',
'userDefault',
'originalScope',
'initialScope',
@ -43,7 +42,7 @@ const ScopeSelector = {
this.currentScope === scope ||
this.originalScope === scope ||
this.userDefault === scope ||
this.userEnabled.includes(scope)
'direct' === scope
},
changeVis (scope) {
this.currentScope = scope