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

Minor change to menu, and links to documentation #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
16 changes: 14 additions & 2 deletions src/components/DrawerMainNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,27 @@

<q-separator spaced/>

<!--START SUPPORT SELECT-->
<q-item
clickable
to="/ui/settings-support"
v-ripple>
<q-item-section avatar>
<q-icon name="help_outline"/>
</q-item-section>
<q-item-section>
{{ $t('navigation.helpAndSupport') }}
</q-item-section>
</q-item>
<!--END SUPPORT SELECT-->

<q-item-label header>{{ $t('navigation.documentation') }}:</q-item-label>
<!--START PRIVACY POLICY-->
<q-item
clickable
@click="showPrivacyPolicyDialog"
v-ripple>
<q-item-section avatar>
<q-icon name="subject"/>
<q-icon name="shield-account"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What icon is this? Doesn't reference anything that I can tell

</q-item-section>
<q-item-section>
{{ $t('headers.privacyPolicy') }}
Expand Down
13 changes: 13 additions & 0 deletions src/components/DrawerSettingsNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@
</q-item>
<!--END SUPPORT SELECT-->

<!--START PRIVACY POLICY-->
<q-item
clickable
@click="showPrivacyPolicyDialog"
v-ripple>
<q-item-section avatar>
<q-icon name="shield-account"/>
</q-item-section>
<q-item-section>
{{ $t('headers.privacyPolicy') }}
</q-item-section>
</q-item>
<!--END PRIVACY POLICY-->

</q-list>
</q-scroll-area>
Expand Down
16 changes: 12 additions & 4 deletions src/pages/SettingsLibrary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
>

<!--START LIBRARY PATHS-->
<h5 class="q-mb-none">{{ $t('components.settings.library.pathConfiguration') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.library.pathConfiguration') }}
<a href="https://docs.unmanic.app/docs/configuration/library_settings#library-path-configuration"><i class="on-right material-icons q-icon">help</i></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not want direct links to external documentation. If I break the urls, then that wrecks these links.
I would rather attempt to bring in the documentation text into theses sorts of help messages.

I have create an issue describing what I mean.

#21

</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="libraryPath === null"
Expand All @@ -44,7 +46,9 @@
<q-separator class="q-my-lg"/>

<!--START LIBRARY SCANNER-->
<h5 class="q-mb-none">{{ $t('components.settings.library.libraryScanner') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.library.libraryScanner') }}
<a href="https://docs.unmanic.app/docs/configuration/library_settings#library-scanner"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="enableLibraryScanner === null"
Expand Down Expand Up @@ -101,7 +105,9 @@
<q-separator class="q-my-lg"/>

<!--START LIBRARY FILE MONITOR-->
<h5 class="q-mb-none">{{ $t('components.settings.library.fileMonitor') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.library.fileMonitor') }}
<a href="https://docs.unmanic.app/docs/configuration/library_settings#library-file-monitor"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="enableLibraryFileMonitor === null"
Expand All @@ -117,7 +123,9 @@
<q-separator class="q-my-lg"/>

<!--START FILE TESTING-->
<h5 class="q-mb-none">{{ $t('components.settings.library.fileTesting') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.library.fileTesting') }}
<a href="https://docs.unmanic.app/docs/configuration/library_settings#pending-tasks"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="concurrentFileTesters === null"
Expand Down
8 changes: 6 additions & 2 deletions src/pages/SettingsLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
>

<!--START THIS INSTALLATION-->
<h5 class="q-mb-none">{{ $t('components.settings.link.thisInstallation') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.link.thisInstallation') }}
<a href="https://docs.unmanic.app/docs/configuration/link_settings#name-this-installation"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="installationName === null"
Expand All @@ -36,7 +38,9 @@
<q-separator class="q-my-lg"/>

<!--START REMOTE INSTALLATIONS-->
<h5 class="q-mb-none">{{ $t('components.settings.link.remoteInstallations') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.link.remoteInstallations') }}
<a href="https://docs.unmanic.app/docs/configuration/link_settings#remote-installations"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="remoteInstallations === null"
Expand Down
12 changes: 9 additions & 3 deletions src/pages/SettingsWorkers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
>

<!--START WORKER COUNT-->
<h5 class="q-mb-none">{{ $t('components.settings.workers.workerCount') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.workers.workerCount') }}
<a href="https://docs.unmanic.app/docs/configuration/workers_settings#worker-count"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="workerCount === null"
Expand Down Expand Up @@ -47,7 +49,9 @@
<q-separator class="q-my-lg"/>

<!--START EVENT SCHEDULE-->
<h5 class="q-mb-none">{{ $t('components.settings.workers.schedule') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.workers.schedule') }}
<a href="https://docs.unmanic.app/docs/configuration/workers_settings#worker-event-schedule"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="cachePath === null"
Expand Down Expand Up @@ -186,7 +190,9 @@
<q-separator class="q-my-lg"/>

<!--START CACHE PATHS-->
<h5 class="q-mb-none">{{ $t('components.settings.workers.path') }}</h5>
<h5 class="q-mb-none">{{ $t('components.settings.workers.path') }}
<a href="https://docs.unmanic.app/docs/configuration/workers_settings#cache-path"><i class="on-right material-icons q-icon">help</i></a>
</h5>
<div class="q-gutter-sm">
<q-skeleton
v-if="cachePath === null"
Expand Down