diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 518f8c8..ce89aab 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,8 +2,7 @@ "recommendations": [ "dbaeumer.vscode-eslint", "editorconfig.editorconfig", - "vue.volar", - "wayou.vscode-todo-highlight" + "vue.volar" ], "unwantedRecommendations": [ "octref.vetur", diff --git a/i18n-2.xlsm b/i18n-2.xlsm index 8e5cbbb..246ef95 100644 Binary files a/i18n-2.xlsm and b/i18n-2.xlsm differ diff --git a/src/components/admin/account-page/qtyChatCard.vue b/src/components/admin/account-page/qtyChatCard.vue index 1c96b0d..9ff7891 100644 --- a/src/components/admin/account-page/qtyChatCard.vue +++ b/src/components/admin/account-page/qtyChatCard.vue @@ -1,6 +1,6 @@ diff --git a/src/components/admin/project-page/ProjectPageCompanies.vue b/src/components/admin/project-page/ProjectPageCompanies.vue index aa19888..e254b3c 100644 --- a/src/components/admin/project-page/ProjectPageCompanies.vue +++ b/src/components/admin/project-page/ProjectPageCompanies.vue @@ -58,13 +58,18 @@ position="bottom-right" :offset="[18, 18]" > + + @@ -98,11 +103,15 @@ diff --git a/src/components/admin/project-page/ProjectPagePersons.vue b/src/components/admin/project-page/ProjectPagePersons.vue index 832af81..f29da04 100644 --- a/src/components/admin/project-page/ProjectPagePersons.vue +++ b/src/components/admin/project-page/ProjectPagePersons.vue @@ -53,6 +53,7 @@ diff --git a/src/pages/AccountChangePasswordPage.vue b/src/pages/AccountChangePasswordPage.vue new file mode 100644 index 0000000..73d4a21 --- /dev/null +++ b/src/pages/AccountChangePasswordPage.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/pages/CreateAccountPage.vue b/src/pages/AccountCreatePage.vue similarity index 100% rename from src/pages/CreateAccountPage.vue rename to src/pages/AccountCreatePage.vue diff --git a/src/pages/ForgotPasswordPage.vue b/src/pages/AccountForgotPasswordPage.vue similarity index 100% rename from src/pages/ForgotPasswordPage.vue rename to src/pages/AccountForgotPasswordPage.vue diff --git a/src/pages/AccountPage.vue b/src/pages/AccountPage.vue index 1edc152..2b0f59c 100644 --- a/src/pages/AccountPage.vue +++ b/src/pages/AccountPage.vue @@ -19,258 +19,70 @@ + -
-
-
- {{ $t('account__user_settings') }}
- -
- + - - - - - - - - -
- {{$t('account__change_auth_message_1')}} - {{$t('account__change_auth_message_2')}} -
- - {{$t('account__change_auth_btn')}} ► - -
-
-
-
-
- -
-
- {{ $t('account__chats') }} -
-
- -
-
- -
-
- {{ $t('account__subscribe') }} -
- - - - - - - {{ $t('account__subscribe_info') }} - {{ $t('account__subscribe_select_payment_1') }} - - {{ $t('account__subscribe_select_payment_2') }} - - - -
-
-
- {{ $t('account__subscribe_current_balance') }} -
-
- -
- -
- 50 -
- -
-
- -
-
- -
- - - - - - - - -
-
-
+ + + {{ $t(item.name) }} + + + {{ $t(item.description) }} + + + +
- - - - -
{{ $t('account__change_auth_warning') }}
-
- - - {{ $t('account__change_auth_warning_message') }} - - - - - - -
-
- - \ No newline at end of file diff --git a/src/pages/CreateCompanyPage.vue b/src/pages/CompanyCreatePage.vue similarity index 100% rename from src/pages/CreateCompanyPage.vue rename to src/pages/CompanyCreatePage.vue diff --git a/src/pages/CompanyMaskPage.vue b/src/pages/CompanyMaskPage.vue index 653f352..9a51a34 100644 --- a/src/pages/CompanyMaskPage.vue +++ b/src/pages/CompanyMaskPage.vue @@ -19,11 +19,8 @@ - + {{ $t('mask__title_table') }} - - {{ $t('mask__title_table2') }} - -
{{ $t('mask__help_title')}}
+ + + {{ $t('mask__help_title')}} +
diff --git a/src/pages/CompanyYourPage.vue b/src/pages/CompanyYourPage.vue new file mode 100644 index 0000000..2678853 --- /dev/null +++ b/src/pages/CompanyYourPage.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/pages/PrivacyPage.vue b/src/pages/PrivacyPage.vue new file mode 100644 index 0000000..bc1de39 --- /dev/null +++ b/src/pages/PrivacyPage.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/src/pages/CreateProjectPage.vue b/src/pages/ProjectCreatePage.vue similarity index 100% rename from src/pages/CreateProjectPage.vue rename to src/pages/ProjectCreatePage.vue diff --git a/src/pages/ProjectPage.vue b/src/pages/ProjectPage.vue index 0a6649c..57658b2 100644 --- a/src/pages/ProjectPage.vue +++ b/src/pages/ProjectPage.vue @@ -7,6 +7,9 @@ - + - Фигня которую никто не читает! + {{ $t('under_construction') }} diff --git a/src/router/index.ts b/src/router/index.ts index 124bd68..d77f8b4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -33,7 +33,7 @@ export default defineRouter(function (/* { store, ssrContext } */) { history: createHistory(process.env.VUE_ROUTER_BASE), }) - const publicPaths = ['/login', '/terms-of-use', '/create-account', '/recovery-password'] + const publicPaths = ['/login', '/create-account', '/recovery-password'] Router.beforeEach(async (to) => { const authStore = useAuthStore() diff --git a/src/router/routes.ts b/src/router/routes.ts index acb2807..108ce26 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -27,7 +27,7 @@ const routes: RouteRecordRaw[] = [ { name: 'project_add', path: '/project/add', - component: () => import('pages/CreateProjectPage.vue') + component: () => import('pages/ProjectCreatePage.vue') }, { @@ -94,9 +94,38 @@ const routes: RouteRecordRaw[] = [ { name: 'create_account', path: '/create-account', - component: () => import('pages/CreateAccountPage.vue') + component: () => import('src/pages/AccountCreatePage.vue') + }, + { + name: 'change_account_password', + path: '/change-password', + component: () => import('pages/AccountChangePasswordPage.vue') + }, + { + name: 'change_account_email', + path: '/change-email', + component: () => import('pages/AccountChangeEmailPage.vue') + }, + { + name: 'subscribe', + path: '/subscribe', + component: () => import('pages/SubscribePage.vue') + }, + { + name: 'terms', + path: '/terms-of-use', + component: () => import('pages/TermsPage.vue') + }, + { + name: 'privacy', + path: '/privacy', + component: () => import('pages/PrivacyPage.vue') + }, + { + name: 'your_company', + path: '/your-company', + component: () => import('src/pages/CompanyYourPage.vue') }, - { name: 'login', path: '/login', @@ -106,13 +135,13 @@ const routes: RouteRecordRaw[] = [ { name: 'recovery_password', path: '/recovery-password', - component: () => import('pages/ForgotPasswordPage.vue') + component: () => import('src/pages/AccountForgotPasswordPage.vue') }, { name: 'add_company', path: '/add-company', - component: () => import('pages/CreateCompanyPage.vue') + component: () => import('src/pages/CompanyCreatePage.vue') }, { @@ -125,12 +154,6 @@ const routes: RouteRecordRaw[] = [ name: 'settings', path: '/settings', component: () => import('pages/SettingsPage.vue') - }, - - { - name: 'terms', - path: '/terms-of-use', - component: () => import('pages/TermsPage.vue') } ] }, diff --git a/todo.txt b/todo.txt index e405bf0..e313d65 100644 --- a/todo.txt +++ b/todo.txt @@ -4,8 +4,7 @@ + Окно "Забыли пароль?" + Надпись "Неправильный логин или пароль" + Окно "Регистрация нового пользователя" -- Переводы -+ Верификация e-mail (не делать - плохо выглядит) ++ Верификация поля ввода e-mail (не делать - плохо выглядит) 2. Account: + Работа с изображением логотипа компании @@ -34,6 +33,7 @@ + Настроить роутинг + У чатов добавить кол-во пользователей - У чатов добавить указание владельца чата и его компанию +- Удаление чата свайпом и отключенные чаты. 4.3 ProjectPage - Люди: - Перечень сотрудников @@ -54,7 +54,7 @@ 5. Settings: - Роутинг - Переключатель языков -- Встроить в Телеграмм ++ Встроить в Телеграмм 6. Лицензионное соглашение: - Роутинг и заготовка @@ -62,7 +62,7 @@ - Встроить в Телеграмм BUGS: -- 1. Прыгает кнопка fab при перещелкивании табов ++- 1. Прыгает кнопка fab при перещелкивании табов (при быстром переключении все равно прыгает, проблема установлена в q-page-sticky -как-то некорректно отрабатывается bottom и right) + 2. Верстка в шапке Projects плохая - переделать - 3. Не хватает перевода местами + 4. При нажатии Back браузера скидывается активная табка. @@ -73,7 +73,7 @@ Need refactor Current ToDo: + 1. pinia -+ 2. Реализовать функционал меню - редактирование проекта. (Бекар на потом) ++ 2. Реализовать функционал меню - редактирование проекта. (Бекап на потом) + 3. Архивные чаты и проекты. (Чаты отказался) +4. Добавление компании. + 5. Удаление компании (слайдер), как в чате.