Merge pull request #57660 from nextcloud/backport/56794/stable31

[stable31] docs(settings): Removing the developerDocsUrl
This commit is contained in:
Louis 2026-02-17 10:35:34 +01:00 committed by GitHub
commit b9b96fb6c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 13 deletions

View file

@ -92,7 +92,6 @@ class AppSettingsController extends Controller {
$this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true));
$this->initialState->provideInitialState('appstoreBundles', $this->getBundles());
$this->initialState->provideInitialState('appstoreDeveloperDocs', $this->urlGenerator->linkToDocs('developer-manual'));
$this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates()));
$groups = array_map(static fn (IGroup $group): array => [

View file

@ -91,9 +91,6 @@
</NcAppNavigationItem>
</template>
<NcAppNavigationItem id="app-developer-docs"
:name="t('settings', 'Developer documentation ↗')"
:href="developerDocsUrl" />
</template>
</NcAppNavigation>
</template>
@ -115,7 +112,6 @@ import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import APPSTORE_CATEGORY_ICONS from '../constants/AppstoreCategoryIcons.ts'
const appstoreEnabled = loadState<boolean>('settings', 'appstoreEnabled', true)
const developerDocsUrl = loadState<string>('settings', 'appstoreDeveloperDocs', '')
const store = useAppsStore()
const categories = computed(() => store.categories)

View file

@ -200,7 +200,7 @@ class AppSettingsControllerTest extends TestCase {
]);
$this->initialState
->expects($this->exactly(5))
->expects($this->exactly(4))
->method('provideInitialState');
$policy = new ContentSecurityPolicy();
@ -240,7 +240,7 @@ class AppSettingsControllerTest extends TestCase {
]);
$this->initialState
->expects($this->exactly(5))
->expects($this->exactly(4))
->method('provideInitialState');
$policy = new ContentSecurityPolicy();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long