Skip to content

Commit

Permalink
Merge pull request #356 from wizarrrr/refactor/hiding-unimplemented-f…
Browse files Browse the repository at this point in the history
…eatures

refactor(): 📦 hiding unimplemented features
  • Loading branch information
MrDynamo authored Apr 11, 2024
2 parents 08b5816 + 5c7082f commit 5bd5be2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 38 deletions.
5 changes: 3 additions & 2 deletions apps/wizarr-frontend/src/modules/home/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
</p>
<div class="flex flex-col space-y-2 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-3">
<FormKit type="button" @click="$router.push('/join')" theme="primary" suffix-icon="fas fa-arrow-right">{{ __("Get Started") }}</FormKit>
<span class="inline-flex items-center text-gray-500 dark:text-gray-400 justify-center"> or </span>
<FormKit type="button" :disabled="true" data-theme="transparent">{{ __("Request Access") }}</FormKit>
<!-- TODO: hiding unimplemented features -->
<!-- <span class="inline-flex items-center text-gray-500 dark:text-gray-400 justify-center"> or </span> -->
<!-- <FormKit type="button" :disabled="true" data-theme="transparent">{{ __("Request Access") }}</FormKit> -->
</div>
</div>
</section>
Expand Down
75 changes: 39 additions & 36 deletions apps/wizarr-frontend/src/modules/settings/pages/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,28 +126,29 @@ export default defineComponent({
icon: "fas fa-link",
url: "/admin/settings/webhooks",
},
{
title: this.__("Payments"),
description: this.__("Configure payment settings"),
icon: "fas fa-dollar-sign",
url: "/admin/settings/payments",
disabled: true,
},
{
title: this.__("Notifications"),
description: this.__("Configure notification settings"),
roles: ["moderator", "user"],
icon: "fas fa-bell",
url: "/admin/settings/notifications",
disabled: true,
},
{
title: this.__("Discord Bot"),
description: this.__("Configure Discord bot settings"),
icon: "fab fa-discord",
url: "/admin/settings/discord-bot",
disabled: true,
},
//TODO: hiding unimplemented features
// {
// title: this.__("Payments"),
// description: this.__("Configure payment settings"),
// icon: "fas fa-dollar-sign",
// url: "/admin/settings/payments",
// disabled: true,
// },
// {
// title: this.__("Notifications"),
// description: this.__("Configure notification settings"),
// roles: ["moderator", "user"],
// icon: "fas fa-bell",
// url: "/admin/settings/notifications",
// disabled: true,
// },
// {
// title: this.__("Discord Bot"),
// description: this.__("Configure Discord bot settings"),
// icon: "fab fa-discord",
// url: "/admin/settings/discord-bot",
// disabled: true,
// },
],
},
{
Expand Down Expand Up @@ -199,13 +200,14 @@ export default defineComponent({
icon: "fab fa-discord",
url: "/admin/settings/discord",
},
{
title: this.__("Custom HTML"),
description: this.__("Add Custom HTML page to help screen"),
icon: "fas fa-code",
url: "/admin/settings/html",
disabled: true,
},
//TODO: hiding unimplemented features
// {
// title: this.__("Custom HTML"),
// description: this.__("Add Custom HTML page to help screen"),
// icon: "fas fa-code",
// url: "/admin/settings/html",
// disabled: true,
// },
],
},
{
Expand All @@ -225,13 +227,14 @@ export default defineComponent({
icon: "fas fa-tasks",
url: "/admin/settings/tasks",
},
{
title: this.__("Updates"),
description: this.__("Check for and view updates"),
icon: "fas fa-sync",
url: "/admin/settings/updates",
disabled: true,
},
//TODO: hiding unimplemented features
// {
// title: this.__("Updates"),
// description: this.__("Check for and view updates"),
// icon: "fas fa-sync",
// url: "/admin/settings/updates",
// disabled: true,
// },
{
title: this.__("Bug Reporting"),
description: this.__("Manage bug reporting settings"),
Expand Down

0 comments on commit 5bd5be2

Please sign in to comment.