You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/10/27 03:41:03 UTC
[incubator-devlake] branch next updated (51a08e70c -> cae307723)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a change to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
discard 51a08e70c feat(config-ui): integrate external code
new cae307723 feat(config-ui): integrate external code
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (51a08e70c)
\
N -- N -- N refs/heads/next (cae307723)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
config-ui/src/routes/layout/layout.tsx | 19 -------------------
1 file changed, 19 deletions(-)
[incubator-devlake] 01/01: feat(config-ui): integrate external code
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit cae307723bfd716b37052f4eb1209280918ea697
Author: mintsweet <0x...@gmail.com>
AuthorDate: Mon Oct 23 16:46:24 2023 +1300
feat(config-ui): integrate external code
---
config-ui/src/app/routrer.tsx | 7 ++++++-
config-ui/src/app/store.ts | 6 ++++--
config-ui/src/routes/layout/layout.tsx | 19 -------------------
config-ui/vite.config.ts | 1 +
4 files changed, 11 insertions(+), 22 deletions(-)
diff --git a/config-ui/src/app/routrer.tsx b/config-ui/src/app/routrer.tsx
index c3e86021b..250fe9cf0 100644
--- a/config-ui/src/app/routrer.tsx
+++ b/config-ui/src/app/routrer.tsx
@@ -31,6 +31,7 @@ import { Layout, loader as layoutLoader } from '@/routes/layout';
import { Error, ErrorEnum } from '@/routes/error';
import { Pipelines, Pipeline } from '@/routes/pipeline';
import { ApiKeys } from '@/routes/api-keys';
+import { ExtraLayout } from '@next';
export const router = createBrowserRouter([
{
@@ -43,7 +44,11 @@ export const router = createBrowserRouter([
},
{
path: '/',
- element: <Layout />,
+ element: (
+ <ExtraLayout>
+ <Layout></Layout>
+ </ExtraLayout>
+ ),
loader: layoutLoader,
errorElement: <Error />,
children: [
diff --git a/config-ui/src/app/store.ts b/config-ui/src/app/store.ts
index b838101b5..02180d094 100644
--- a/config-ui/src/app/store.ts
+++ b/config-ui/src/app/store.ts
@@ -17,11 +17,13 @@
*/
import { configureStore, ThunkAction, Action } from '@reduxjs/toolkit';
-import connectionsSlice from '@/features/connections/slice';
+import connectionSlice from '@/features/connections/slice';
+import userSlice from '@next/user/slice';
export const store = configureStore({
reducer: {
- connections: connectionsSlice,
+ connections: connectionSlice,
+ user: userSlice,
},
});
diff --git a/config-ui/src/routes/layout/layout.tsx b/config-ui/src/routes/layout/layout.tsx
index fc3fd222c..e050a585e 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -137,25 +137,6 @@ export const Layout = () => {
<img src={APIIcon} alt="api" />
<span>API</span>
</ExternalLink>
- <Navbar.Divider />
- <a
- href="https://github.com/apache/incubator-devlake"
- rel="noreferrer"
- target="_blank"
- className="navIconLink"
- >
- <img src={GitHubIcon} alt="github" />
- <span>GitHub</span>
- </a>
- <Navbar.Divider />
- <a
- href="https://join.slack.com/t/devlake-io/shared_invite/zt-17b6vuvps-x98pqseoUagM7EAmKC82xQ"
- rel="noreferrer"
- target="_blank"
- >
- <img src={SlackIcon} alt="slack" />
- <span>Slack</span>
- </a>
</Navbar.Group>
</S.Header>
<S.Inner>
diff --git a/config-ui/vite.config.ts b/config-ui/vite.config.ts
index d8416b25e..7551faba1 100644
--- a/config-ui/vite.config.ts
+++ b/config-ui/vite.config.ts
@@ -40,6 +40,7 @@ export default defineConfig({
resolve: {
alias: {
'@': path.join(__dirname, './src'),
+ '@next': path.join(__dirname, '../../frontend/src'),
},
},
});