diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md new file mode 100644 index 0000000000000000000000000000000000000000..915aa74c78ad465a26e8ab04ecedb056d89376a4 --- /dev/null +++ b/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.* diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index b3d731cd621ceb0a9182a787ac8045a436566078..8beb73a9e8921e1b720479bbd8c536a3de0aad61 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -46,7 +46,6 @@ <scope-selector :showAll="showAllScopes" - :userEnabled="['direct']" :userDefault="userDefaultScope" :originalScope="copyMessageScope" :initialScope="newStatus.visibility" diff --git a/src/components/scope_selector/scope_selector.js b/src/components/scope_selector/scope_selector.js index 578f1ba52561a154992c826212542a6c177d18da..4693d0667c09936c3f178f5b4038f109572f5edf 100644 --- a/src/components/scope_selector/scope_selector.js +++ b/src/components/scope_selector/scope_selector.js @@ -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