Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
4 changes: 2 additions & 2 deletions lib/Controller/PreferencesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct(
*
* @NoAdminRequired
* @NoCSRFRequired
* @spec openspec/changes/retrofit-2026-05-26-frontend-foundation/tasks.md#task-5
* @spec openspec/changes/retrofit-2026-05-26-frontend-foundation/tasks.md#task-5
*/
public function getPreference(string $key): JSONResponse
{
Expand Down Expand Up @@ -102,7 +102,7 @@ public function getPreference(string $key): JSONResponse
*
* @NoAdminRequired
* @NoCSRFRequired
* @spec openspec/changes/retrofit-2026-05-26-frontend-foundation/tasks.md#task-5
* @spec openspec/changes/retrofit-2026-05-26-frontend-foundation/tasks.md#task-5
*/
public function setPreference(string $key, string $value=''): JSONResponse
{
Expand Down
38 changes: 38 additions & 0 deletions src/views/FeaturesRoadmap.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<template>
<CnFeaturesAndRoadmapView
:repo="repo"
:features="features"
:disabled="disabled" />
</template>

<script>
// SPDX-License-Identifier: EUPL-1.2
// Copyright (C) 2026 Conduction B.V.
//
// Features & Roadmap page — thin wrapper around `CnFeaturesAndRoadmapView`
// from `@conduction/nextcloud-vue`. Mounted as the manifest `custom` page
// `FeaturesRoadmap` (route `/features-roadmap`, surfaced from the Settings
// section of the nav). `repo` / `features` / `disabled` come from
// server-provided initial state when available, with sensible fallbacks so
// the page is usable without backend wiring (the roadmap proxy and the
// `openregister::features_roadmap_enabled` flag live on OpenRegister).

import { CnFeaturesAndRoadmapView } from '@conduction/nextcloud-vue'
import { loadState } from '@nextcloud/initial-state'

export default {
name: 'FeaturesRoadmap',

components: {
CnFeaturesAndRoadmapView,
},

data() {
return {
repo: loadState('openbuilt', 'features_roadmap_repo', 'ConductionNL/openbuilt'),
features: loadState('openbuilt', 'features_roadmap_features', []),
disabled: loadState('openbuilt', 'features_roadmap_disabled', false),
}
},
}
</script>