From 9fe73a607a8bec8c90598747b1ba926ff226760c Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:45:10 +0300 Subject: [PATCH] Refactoring: centralize internal URLs + animation fixes --- rsconcept/frontend/src/app/Footer.tsx | 4 +- .../src/app/Navigation/Navigation.tsx | 9 +- .../src/app/Navigation/UserDropdown.tsx | 6 +- .../frontend/src/app/Navigation/UserMenu.tsx | 3 +- rsconcept/frontend/src/app/Router.tsx | 33 ++--- rsconcept/frontend/src/app/urls.ts | 49 ++++++++ .../src/components/RefsInput/RefsInput.tsx | 43 +++---- .../src/components/info/InfoError.tsx | 4 +- .../frontend/src/components/man/HelpAPI.tsx | 6 +- .../src/components/man/HelpExteor.tsx | 4 +- .../frontend/src/components/man/HelpMain.tsx | 6 +- .../src/components/man/HelpRSLang.tsx | 8 +- .../src/components/wrap/DataLoader.tsx | 4 +- .../src/components/wrap/ExpectedAnonymous.tsx | 3 +- .../src/dialogs/DlgCloneLibraryItem.tsx | 3 +- .../dialogs/DlgCreateCst/FormCreateCst.tsx | 10 +- .../frontend/src/pages/CreateRSFormPage.tsx | 5 +- rsconcept/frontend/src/pages/HomePage.tsx | 5 +- .../src/pages/LibraryPage/LibraryPage.tsx | 3 +- .../src/pages/LibraryPage/SearchPanel.tsx | 3 +- .../src/pages/LibraryPage/ViewLibrary.tsx | 3 +- rsconcept/frontend/src/pages/LoginPage.tsx | 3 +- .../src/pages/ManualsPage/ManualsPage.tsx | 3 +- .../frontend/src/pages/PasswordChangePage.tsx | 5 +- .../EditorConstituenta/FormConstituenta.tsx | 59 ++++----- .../EditorRSExpression/EditorRSExpression.tsx | 114 +++++++++--------- .../EditorRSExpression/StatusBar.tsx | 6 +- .../src/pages/RSFormPage/RSEditContext.tsx | 9 +- .../frontend/src/pages/RSFormPage/RSTabs.tsx | 22 ++-- .../src/pages/RSFormPage/RSTabsMenu.tsx | 7 +- rsconcept/frontend/src/pages/RegisterPage.tsx | 5 +- .../pages/UserProfilePage/EditorPassword.tsx | 3 +- .../UserProfilePage/ViewSubscriptions.tsx | 3 +- rsconcept/frontend/src/utils/constants.ts | 2 +- 34 files changed, 265 insertions(+), 190 deletions(-) create mode 100644 rsconcept/frontend/src/app/urls.ts diff --git a/rsconcept/frontend/src/app/Footer.tsx b/rsconcept/frontend/src/app/Footer.tsx index ed46361a..2b017f4b 100644 --- a/rsconcept/frontend/src/app/Footer.tsx +++ b/rsconcept/frontend/src/app/Footer.tsx @@ -1,7 +1,7 @@ import clsx from 'clsx'; import { useConceptOptions } from '@/context/OptionsContext'; -import { urls } from '@/utils/constants'; +import { external_urls } from '@/utils/constants'; import TextURL from '../components/ui/TextURL'; @@ -22,7 +22,7 @@ function Footer() {
Данный математический аппарат основан на аксиоматической теории множеств Цермелло-Френкеля и аппарате родов структур Н.Бурбаки.
Для ознакомления с основами родов структур можно использовать следующие материалы: