Skip to content

Commit

Permalink
fix: remove unused options for non existing compact mode
Browse files Browse the repository at this point in the history
add changelog entry

Signed-off-by: Wolfgang <[email protected]>
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
wofferl authored and Grotax committed Oct 14, 2024
1 parent 4df9951 commit 52209e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the
- Unread counter does not count down when folders or feeds are marked read (#2800)
- Query fetching status didn't work (#2800)
- Keyboard shortcuts are active even when searching (#2738)

- First features for user settings after vue migration (#2795)

Check failure on line 18 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'vue'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'vue'?", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 18, "column": 42}}}, "severity": "ERROR"}

# Releases
## [25.0.0-alpha9] - 2024-10-03
Expand Down
5 changes: 2 additions & 3 deletions lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use OCP\IRequest;
use OCP\IAppConfig;
use OCP\Util;
use OCP\IConfig;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\AppFramework\Http\TemplateResponse;
Expand All @@ -36,7 +35,7 @@ class PageController extends Controller
use JSONHttpErrorTrait;

/**
* @var IConfig
* @var IAppConfig
*/
private $settings;

Expand Down Expand Up @@ -67,7 +66,7 @@ class PageController extends Controller

public function __construct(
IRequest $request,
IConfig $settings,
IAppConfig $settings,
IURLGenerator $urlGenerator,
IL10N $l10n,
RecommendedSites $recommendedSites,
Expand Down
20 changes: 0 additions & 20 deletions src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,26 +130,6 @@
{{ t('news', 'Disable mark read through scrolling') }}
</label>
</div>
<!---
<div>
<input id="toggle-compact"
v-model="compact"
type="checkbox"
class="checkbox">
<label for="toggle-compact">
{{ t('news', 'Compact view') }}
</label>
</div>
<div>
<input id="toggle-compactexpand"
v-model="compactExpand"
type="checkbox"
class="checkbox">
<label for="toggle-compactexpand">
{{ t('news', 'Expand articles on key navigation') }}
</label>
</div>
--->
<div>
<input id="toggle-showall"
v-model="showAll"
Expand Down

0 comments on commit 52209e3

Please sign in to comment.