Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] fix: Move cloud id into readonly input #48978

Draft
wants to merge 2 commits into
base: stable30
Choose a base branch
from
Draft
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
15 changes: 7 additions & 8 deletions apps/federatedfilesharing/src/components/PersonalSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
<NcSettingsSection :name="t('federatedfilesharing', 'Federated Cloud')"
:description="t('federatedfilesharing', 'You can share with anyone who uses a Nextcloud server or other Open Cloud Mesh (OCM) compatible servers and services! Just put their Federated Cloud ID in the share dialog. It looks like [email protected]')"
Expand Down Expand Up @@ -47,7 +48,7 @@
<NcButton class="social-button__website-button"
@click="showHtml = !showHtml">
<template #icon>
<Web :size="20" />
<IconWeb :size="20" />
</template>
{{ t('federatedfilesharing', 'Add to your website') }}
</NcButton>
Expand Down Expand Up @@ -87,10 +88,11 @@
name: 'PersonalSettings',
components: {
NcButton,
NcInputField,

Check failure on line 91 in apps/federatedfilesharing/src/components/PersonalSettings.vue

View workflow job for this annotation

GitHub Actions / NPM lint

The "NcInputField" component has been registered but not used
NcSettingsSection,
Twitter,
Facebook,
Web,

Check failure on line 95 in apps/federatedfilesharing/src/components/PersonalSettings.vue

View workflow job for this annotation

GitHub Actions / NPM lint

The "Web" component has been registered but not used
Clipboard,
},
data() {
Expand Down Expand Up @@ -171,14 +173,11 @@
width: min(100%, 400px) !important;
}
}
.cloud-id-text {
display: flex;
align-items: center;
flex-wrap: wrap;
button {
display: inline-flex;
}

.federated-cloud__cloud-id {
max-width: 300px;
}

pre {
margin-top: 0;
white-space: pre-wrap;
Expand Down
Loading