From 178424a18479d300620fc9a3695e8540f6d9c659 Mon Sep 17 00:00:00 2001 From: formsdev <136701234+formsdev@users.noreply.github.com> Date: Tue, 2 Jan 2024 17:39:41 +0530 Subject: [PATCH] Migrate to nuxt settings page AND remove axios (#266) * Settings pages migration * remove axios and use opnFetch * Make created form reactive (#267) * Remove verify pages and axios lib --------- Co-authored-by: Julien Nahum --- client/components/forms/FileInput.vue | 8 +- client/components/forms/ImageInput.vue | 8 +- .../open/components/RecordOperations.vue | 7 +- client/components/open/forms/OpenForm.vue | 5 +- .../open/forms/components/FormStats.vue | 1 - .../templates/FormTemplateModal.vue | 7 +- client/components/pages/forms/NewFeatures.vue | 5 +- .../forms/create/CreateFormBaseModal.vue | 11 +- .../components/pages/forms/show/ExtraMenu.vue | 1 - .../pages/forms/show/RegenerateFormLink.vue | 9 +- .../pages/pricing/CheckoutDetailsModal.vue | 5 +- .../components/pages/pricing/PricingTable.vue | 5 +- client/composables/lib/vForm/Form.js | 4 +- client/composables/useForm.js | 2 +- client/package-lock.json | 677 +++++++++--------- client/package.json | 1 - client/pages/auth/verification/resend.vue | 55 -- client/pages/auth/verification/verify.vue | 59 -- client/pages/settings.vue | 87 +++ client/pages/settings/account.vue | 57 +- client/pages/settings/admin.vue | 72 +- client/pages/settings/billing.vue | 50 +- client/pages/settings/index.vue | 108 +-- client/pages/settings/password.vue | 34 +- client/pages/settings/profile.vue | 55 +- client/pages/settings/workspace.vue | 175 +++-- client/stores/workspaces.js | 2 +- 27 files changed, 622 insertions(+), 888 deletions(-) delete mode 100644 client/pages/auth/verification/resend.vue delete mode 100644 client/pages/auth/verification/verify.vue create mode 100644 client/pages/settings.vue diff --git a/client/components/forms/FileInput.vue b/client/components/forms/FileInput.vue index 423e468..1240a87 100644 --- a/client/components/forms/FileInput.vue +++ b/client/components/forms/FileInput.vue @@ -76,7 +76,6 @@ diff --git a/client/pages/auth/verification/verify.vue b/client/pages/auth/verification/verify.vue deleted file mode 100644 index d6f7262..0000000 --- a/client/pages/auth/verification/verify.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/client/pages/settings.vue b/client/pages/settings.vue new file mode 100644 index 0000000..b06a226 --- /dev/null +++ b/client/pages/settings.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file diff --git a/client/pages/settings/account.vue b/client/pages/settings/account.vue index d8a0032..b08f159 100644 --- a/client/pages/settings/account.vue +++ b/client/pages/settings/account.vue @@ -9,49 +9,34 @@

- + Delete account - diff --git a/client/pages/settings/admin.vue b/client/pages/settings/admin.vue index 6e0155b..e9d80bf 100644 --- a/client/pages/settings/admin.vue +++ b/client/pages/settings/admin.vue @@ -34,54 +34,40 @@ - diff --git a/client/pages/settings/billing.vue b/client/pages/settings/billing.vue index a4d214e..4eabbb4 100644 --- a/client/pages/settings/billing.vue +++ b/client/pages/settings/billing.vue @@ -19,45 +19,25 @@ - diff --git a/client/pages/settings/index.vue b/client/pages/settings/index.vue index 947e5ae..c04904b 100644 --- a/client/pages/settings/index.vue +++ b/client/pages/settings/index.vue @@ -1,105 +1,5 @@ - - - diff --git a/client/pages/settings/password.vue b/client/pages/settings/password.vue index 57b7711..5db6033 100644 --- a/client/pages/settings/password.vue +++ b/client/pages/settings/password.vue @@ -6,8 +6,6 @@ Manage your password.
- - - diff --git a/client/pages/settings/profile.vue b/client/pages/settings/profile.vue index b1404a5..6fcfd31 100644 --- a/client/pages/settings/profile.vue +++ b/client/pages/settings/profile.vue @@ -6,8 +6,6 @@ Update your username and manage your account details. - - @@ -22,39 +20,26 @@ - diff --git a/client/pages/settings/workspace.vue b/client/pages/settings/workspace.vue index 368be51..22dc0ce 100644 --- a/client/pages/settings/workspace.vue +++ b/client/pages/settings/workspace.vue @@ -46,7 +46,7 @@ />

Read our custom domain instructions to learn how to use your own domain.

@@ -65,7 +65,7 @@ Save Domains -