📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix: improve placeholder clarity and join button state (#723)
Sairam Polisetty52318a9160bb
diff --git a/frontend/app/components/Node/Modals/Join.vue b/frontend/app/components/Node/Modals/Join.vueindex 789c3f33..0a043378 100644--- a/frontend/app/components/Node/Modals/Join.vue+++ b/frontend/app/components/Node/Modals/Join.vue@@ -5,9 +5,10 @@<p class="subtitle">{{ t('nodes.modals.join.subtitle') }}</p><form class="join-form" @submit.prevent="joinWorkspace">- <label for="invite">{{ t('nodes.modals.join.label') }}</label>+ <label for="invite">{{ t('nodes.modals.join.label') }} <span class="required">*</span></label><input id="invite" v-model="inviteInput" type="text" autocomplete="off" :placeholder="t('nodes.modals.join.inputPlaceholder')" />- <AppButton type="primary" :disabled="isJoining">{{ isJoining ? t('nodes.modals.join.joining') : t('nodes.modals.join.join') }}</AppButton>+ <p class="helper-text">{{ t('nodes.modals.join.helperText') }}</p>+ <AppButton type="primary" :disabled="isJoining || !inviteInput.trim()">{{ isJoining ? t('nodes.modals.join.joining') : t('nodes.modals.join.join') }}</AppButton></form><p v-if="errorMessage" class="error-message">{{ errorMessage }}</p>@@ -88,6 +89,24 @@ onMounted(() => {input {min-height: 48px;background: var(--surface-raised);++ &::placeholder {+ font-style: italic;+ color: var(--text-tertiary, #888);+ opacity: 0.6;+ }+ }++ .required {+ margin-left: 0.2rem;+ color: var(--red, red);+ }++ .helper-text {+ margin-top: -0.25rem;+ margin-bottom: 0.25rem;+ font-size: 0.8rem;+ color: var(--text-secondary, #666);}}diff --git a/frontend/i18n/locales/de/nodes.ts b/frontend/i18n/locales/de/nodes.tsindex 134c7485..9cebc5a0 100644--- a/frontend/i18n/locales/de/nodes.ts+++ b/frontend/i18n/locales/de/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: 'Zugriff auf Node',+ helperText: 'Ein Einladungscode oder -link ist erforderlich, bevor Sie fortfahren können.',inputPlaceholder: 'ABC123 or https://.../join-workspace?code=ABC123',join: 'Beitreten',joining: 'Beitreten...',diff --git a/frontend/i18n/locales/en/nodes.ts b/frontend/i18n/locales/en/nodes.tsindex 936f9b0d..fd2951de 100644--- a/frontend/i18n/locales/en/nodes.ts+++ b/frontend/i18n/locales/en/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: 'Node access',+ helperText: 'An invitation code or link is required before proceeding.',inputPlaceholder: 'ABC123 or https://.../join-workspace?code=ABC123',join: 'Join',joining: 'Joining...',diff --git a/frontend/i18n/locales/fr/nodes.ts b/frontend/i18n/locales/fr/nodes.tsindex 8aeaa73c..968e0042 100644--- a/frontend/i18n/locales/fr/nodes.ts+++ b/frontend/i18n/locales/fr/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: 'Accès au nœud',+ helperText: 'Un code ou un lien d\'invitation est requis avant de continuer.',inputPlaceholder: 'ABC123 ou https://.../join-workspace?code=ABC123',join: 'Rejoindre',joining: 'Rejoindre...',diff --git a/frontend/i18n/locales/it/nodes.ts b/frontend/i18n/locales/it/nodes.tsindex 63a07937..9c9f2d61 100644--- a/frontend/i18n/locales/it/nodes.ts+++ b/frontend/i18n/locales/it/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: 'Accesso al nodo',+ helperText: 'È richiesto un codice o un link di invito prima di procedere.',inputPlaceholder: 'ABC123 o https://.../join-workspace?code=ABC123',join: 'Entra',joining: 'Accesso in corso...',diff --git a/frontend/i18n/locales/ko/nodes.ts b/frontend/i18n/locales/ko/nodes.tsindex ecfc64e7..614e6f8a 100644--- a/frontend/i18n/locales/ko/nodes.ts+++ b/frontend/i18n/locales/ko/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: '노드 접근 권한',+ helperText: '계속하려면 초대 코드나 링크가 필요합니다.',inputPlaceholder: 'ABC123 또는 https://.../join-workspace?code=ABC123',join: '참여',joining: '참여 중...',diff --git a/frontend/i18n/locales/uk/nodes.ts b/frontend/i18n/locales/uk/nodes.tsindex 0a0ff949..fc5d5757 100644--- a/frontend/i18n/locales/uk/nodes.ts+++ b/frontend/i18n/locales/uk/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: 'Доступ до вузла',+ helperText: 'Перед продовженням потрібен код запрошення або посилання.',inputPlaceholder: 'ABC123 or https://.../join-workspace?code=ABC123',join: 'Приєднатися',joining: 'Приєднання...',diff --git a/frontend/i18n/locales/zh-CN/nodes.ts b/frontend/i18n/locales/zh-CN/nodes.tsindex 12858623..891db6a2 100644--- a/frontend/i18n/locales/zh-CN/nodes.ts+++ b/frontend/i18n/locales/zh-CN/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: '节点访问权限',+ helperText: '在继续之前需要邀请码或链接。',inputPlaceholder: 'ABC123 或 https://.../join-workspace?code=ABC123',join: '加入',joining: '加入中...',diff --git a/frontend/i18n/locales/zh-TW/nodes.ts b/frontend/i18n/locales/zh-TW/nodes.tsindex 3f8410ad..81972751 100644--- a/frontend/i18n/locales/zh-TW/nodes.ts+++ b/frontend/i18n/locales/zh-TW/nodes.ts@@ -63,6 +63,7 @@ export default {},join: {access: '節點存取權',+ helperText: '在繼續之前需要邀請碼或連結。',inputPlaceholder: 'ABC123 或 https://.../join-workspace?code=ABC123',join: '加入',joining: '加入中...',