From f3c817841fc8202cc01db4b73498afc79da88419 Mon Sep 17 00:00:00 2001
From: Tom Lanser
Date: Fri, 3 Feb 2023 12:38:10 +0100
Subject: [PATCH] refactor: Removed the word toolbox from everywhere and
changed it to siera-x
Signed-off-by: Tom Lanser
---
.github/workflows/build-and-release.yml | 6 +++---
README.md | 12 ++++++------
package.json | 6 +++---
.../{toolbox-core => siera-core}/jest.config.ts | 0
packages/{toolbox-core => siera-core}/package.json | 6 +++---
.../src/agent/AgentDependenciesProvider.ts | 0
.../src/agent/AgentFactory.ts | 0
.../src/agent/AgentInitializer.ts | 0
.../src/agent/SampleTransactions.ts | 0
.../src/agent/config/AgentConfigRecord.ts | 0
.../src/agent/config/ConfigFileRepository.ts | 6 ++++++
.../src/agent/config/DefaultConfiguration.ts | 6 ++++++
.../siera-core/src/agent/config/SieraUiConfig.ts | 11 +++++++++++
.../config/adapters/InMemoryConfigRepository.ts | 14 ++++++++++++++
.../config/adapters/SieraUiConfigValidation.ts} | 2 +-
.../src/agent/config/index.ts | 2 +-
packages/{toolbox-core => siera-core}/src/index.ts | 0
.../src/utils/formatSchemaName.ts | 0
.../src/utils/index.ts | 0
.../src/utils/records/ConnectionsUtil.ts | 0
.../src/utils/records/CredentialsUtil.ts | 0
.../src/utils/records/ProofsUtil.ts | 0
.../{toolbox-core => siera-core}/src/utils/uuid.ts | 0
.../tests/agent-factory.test.ts | 0
.../tsconfig.build.json | 0
.../{toolbox-core => siera-core}/tsconfig.json | 0
.../.eslintrc.json | 0
.../entitlements.mac.plist | 0
.../forge.config.js | 0
.../package.json | 10 +++++-----
.../patches/indy-sdk+1.16.0-dev-1655.patch | 0
.../public/index.css | 0
.../public/index.html | 0
.../src/adapters/ElectronConfigFileRepository.ts | 12 ++++++------
.../src/adapters/ElectronFileSystemAdapter.ts | 0
.../src/index.ts | 0
.../src/init.tsx | 0
.../src/preload.js | 0
.../providers/ElectronAgentDependenciesProvider.ts | 2 +-
.../src/renderer.ts | 0
.../src/ui/App.tsx | 14 +++++++-------
.../tests/.gitkeep | 0
.../tsconfig.build.json | 0
.../tsconfig.json | 0
.../webpack.main.config.js | 0
.../webpack.plugins.js | 0
.../webpack.renderer.config.js | 0
.../webpack.rules.js | 0
.../{toolbox-electron => siera-desktop}/yarn.lock | 0
packages/{toolbox-ui => siera-ui}/package.json | 8 ++++----
.../ToolboxApp.tsx => siera-ui/src/SieraUiApp.tsx} | 8 ++++----
.../src/SieraUiTheme.ts} | 2 +-
.../src/components/BackButton.tsx | 0
.../src/components/GlobalErrorHandler.tsx | 0
.../src/components/Loading.tsx | 0
.../src/components/RecordActions.tsx | 0
.../src/components/SmartAvatar.tsx | 0
.../components/connections/ConnectionsTable.tsx | 2 +-
.../components/credentials/CredentialsTable.tsx | 4 ++--
.../src/components/generic/buttons/Buttons.tsx | 0
.../src/components/generic/buttons/index.ts | 0
.../src/components/generic/index.ts | 0
.../src/components/generic/table/EmptyState.tsx | 0
.../src/components/generic/table/StatusBadge.tsx | 0
.../src/components/proofs/ProofsTable.tsx | 2 +-
.../src/contexts/AgentContext.tsx | 4 ++--
.../src/contexts/AgentManagerContext.tsx | 2 +-
.../src/contexts/ConfigProvider.tsx | 8 ++++----
.../src/contexts/CredentialFormatDataProvider.tsx | 0
.../src/contexts/ProofsFormatDataProvider.tsx | 0
.../src/hooks/useNavigation.ts | 0
.../{toolbox-ui => siera-ui}/src/layout/Layout.tsx | 0
.../src/layout/LayoutAvatar.tsx | 0
.../src/layout/LayoutNavBar.tsx | 0
.../src/layout/actions/ColorSchemeSwitch.tsx | 0
.../src/layout/actions/LogoutAction.tsx | 0
.../src/layout/themes/AnimoColorShades.ts | 0
.../src/layout/themes/AnimoDarkTheme.ts | 0
.../src/layout/themes/AnimoLightTheme.ts | 0
.../src/layout/themes/AnimoVariantTheme.ts | 0
.../src/layout/themes/index.ts | 0
.../src/modals/PresentInviteModal.tsx | 0
.../src/pages/AgentSelectionScreen.tsx | 0
.../src/pages/SetupScreen.tsx | 2 +-
.../src/pages/agent/AgentHomeScreen.tsx | 0
.../pages/agent/connections/ConnectionsScreen.tsx | 0
.../pages/agent/credentials/CredentialsScreen.tsx | 0
.../src/pages/agent/proofs/ProofsScreen.tsx | 0
packages/{toolbox-ui => siera-ui}/src/routes.tsx | 0
.../{toolbox-ui => siera-ui}/tsconfig.build.json | 0
packages/{toolbox-ui => siera-ui}/tsconfig.json | 0
.../src/agent/config/ConfigFileRepository.ts | 6 ------
.../src/agent/config/DefaultConfiguration.ts | 6 ------
.../toolbox-core/src/agent/config/ToolboxConfig.ts | 11 -----------
.../config/adapters/InMemoryConfigRepository.ts | 14 --------------
95 files changed, 94 insertions(+), 94 deletions(-)
rename packages/{toolbox-core => siera-core}/jest.config.ts (100%)
rename packages/{toolbox-core => siera-core}/package.json (84%)
rename packages/{toolbox-core => siera-core}/src/agent/AgentDependenciesProvider.ts (100%)
rename packages/{toolbox-core => siera-core}/src/agent/AgentFactory.ts (100%)
rename packages/{toolbox-core => siera-core}/src/agent/AgentInitializer.ts (100%)
rename packages/{toolbox-core => siera-core}/src/agent/SampleTransactions.ts (100%)
rename packages/{toolbox-core => siera-core}/src/agent/config/AgentConfigRecord.ts (100%)
create mode 100644 packages/siera-core/src/agent/config/ConfigFileRepository.ts
create mode 100644 packages/siera-core/src/agent/config/DefaultConfiguration.ts
create mode 100644 packages/siera-core/src/agent/config/SieraUiConfig.ts
create mode 100644 packages/siera-core/src/agent/config/adapters/InMemoryConfigRepository.ts
rename packages/{toolbox-core/src/agent/config/adapters/ToolBoxConfigValidation.ts => siera-core/src/agent/config/adapters/SieraUiConfigValidation.ts} (98%)
rename packages/{toolbox-core => siera-core}/src/agent/config/index.ts (83%)
rename packages/{toolbox-core => siera-core}/src/index.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/formatSchemaName.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/index.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/records/ConnectionsUtil.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/records/CredentialsUtil.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/records/ProofsUtil.ts (100%)
rename packages/{toolbox-core => siera-core}/src/utils/uuid.ts (100%)
rename packages/{toolbox-core => siera-core}/tests/agent-factory.test.ts (100%)
rename packages/{toolbox-core => siera-core}/tsconfig.build.json (100%)
rename packages/{toolbox-core => siera-core}/tsconfig.json (100%)
rename packages/{toolbox-electron => siera-desktop}/.eslintrc.json (100%)
rename packages/{toolbox-electron => siera-desktop}/entitlements.mac.plist (100%)
rename packages/{toolbox-electron => siera-desktop}/forge.config.js (100%)
rename packages/{toolbox-electron => siera-desktop}/package.json (92%)
rename packages/{toolbox-electron => siera-desktop}/patches/indy-sdk+1.16.0-dev-1655.patch (100%)
rename packages/{toolbox-electron => siera-desktop}/public/index.css (100%)
rename packages/{toolbox-electron => siera-desktop}/public/index.html (100%)
rename packages/{toolbox-electron => siera-desktop}/src/adapters/ElectronConfigFileRepository.ts (58%)
rename packages/{toolbox-electron => siera-desktop}/src/adapters/ElectronFileSystemAdapter.ts (100%)
rename packages/{toolbox-electron => siera-desktop}/src/index.ts (100%)
rename packages/{toolbox-electron => siera-desktop}/src/init.tsx (100%)
rename packages/{toolbox-electron => siera-desktop}/src/preload.js (100%)
rename packages/{toolbox-electron => siera-desktop}/src/providers/ElectronAgentDependenciesProvider.ts (97%)
rename packages/{toolbox-electron => siera-desktop}/src/renderer.ts (100%)
rename packages/{toolbox-electron => siera-desktop}/src/ui/App.tsx (78%)
rename packages/{toolbox-electron => siera-desktop}/tests/.gitkeep (100%)
rename packages/{toolbox-electron => siera-desktop}/tsconfig.build.json (100%)
rename packages/{toolbox-electron => siera-desktop}/tsconfig.json (100%)
rename packages/{toolbox-electron => siera-desktop}/webpack.main.config.js (100%)
rename packages/{toolbox-electron => siera-desktop}/webpack.plugins.js (100%)
rename packages/{toolbox-electron => siera-desktop}/webpack.renderer.config.js (100%)
rename packages/{toolbox-electron => siera-desktop}/webpack.rules.js (100%)
rename packages/{toolbox-electron => siera-desktop}/yarn.lock (100%)
rename packages/{toolbox-ui => siera-ui}/package.json (86%)
rename packages/{toolbox-ui/src/ToolboxApp.tsx => siera-ui/src/SieraUiApp.tsx} (89%)
rename packages/{toolbox-ui/src/ToolboxTheme.ts => siera-ui/src/SieraUiTheme.ts} (93%)
rename packages/{toolbox-ui => siera-ui}/src/components/BackButton.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/GlobalErrorHandler.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/Loading.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/RecordActions.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/SmartAvatar.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/connections/ConnectionsTable.tsx (97%)
rename packages/{toolbox-ui => siera-ui}/src/components/credentials/CredentialsTable.tsx (95%)
rename packages/{toolbox-ui => siera-ui}/src/components/generic/buttons/Buttons.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/generic/buttons/index.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/generic/index.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/generic/table/EmptyState.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/generic/table/StatusBadge.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/components/proofs/ProofsTable.tsx (97%)
rename packages/{toolbox-ui => siera-ui}/src/contexts/AgentContext.tsx (93%)
rename packages/{toolbox-ui => siera-ui}/src/contexts/AgentManagerContext.tsx (95%)
rename packages/{toolbox-ui => siera-ui}/src/contexts/ConfigProvider.tsx (88%)
rename packages/{toolbox-ui => siera-ui}/src/contexts/CredentialFormatDataProvider.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/contexts/ProofsFormatDataProvider.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/hooks/useNavigation.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/Layout.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/LayoutAvatar.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/LayoutNavBar.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/actions/ColorSchemeSwitch.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/actions/LogoutAction.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/themes/AnimoColorShades.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/themes/AnimoDarkTheme.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/themes/AnimoLightTheme.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/themes/AnimoVariantTheme.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/layout/themes/index.ts (100%)
rename packages/{toolbox-ui => siera-ui}/src/modals/PresentInviteModal.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/pages/AgentSelectionScreen.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/pages/SetupScreen.tsx (98%)
rename packages/{toolbox-ui => siera-ui}/src/pages/agent/AgentHomeScreen.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/pages/agent/connections/ConnectionsScreen.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/pages/agent/credentials/CredentialsScreen.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/pages/agent/proofs/ProofsScreen.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/src/routes.tsx (100%)
rename packages/{toolbox-ui => siera-ui}/tsconfig.build.json (100%)
rename packages/{toolbox-ui => siera-ui}/tsconfig.json (100%)
delete mode 100644 packages/toolbox-core/src/agent/config/ConfigFileRepository.ts
delete mode 100644 packages/toolbox-core/src/agent/config/DefaultConfiguration.ts
delete mode 100644 packages/toolbox-core/src/agent/config/ToolboxConfig.ts
delete mode 100644 packages/toolbox-core/src/agent/config/adapters/InMemoryConfigRepository.ts
diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml
index b2734a8..4d77efd 100644
--- a/.github/workflows/build-and-release.yml
+++ b/.github/workflows/build-and-release.yml
@@ -78,14 +78,14 @@ jobs:
sudo spctl --master-disable
- yarn --cwd packages/toolbox-electron make -p darwin --arch ${{ matrix.arch }}
+ yarn --cwd packages/siera-desktop make -p darwin --arch ${{ matrix.arch }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch'
with:
- name: toolbox-electron-macos-${{ matrix.arch }}
- path: ./packages/toolbox-electron/out/make/**/*.*
+ name: siera-desktop-macos-${{ matrix.arch }}
+ path: ./packages/siera-desktop/out/make/**/*.*
retention-days: 7
release:
diff --git a/README.md b/README.md
index ea14ab7..802278c 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-Animo Toolbox
+Siera Desktop
Powered by