Skip to content

Commit 1a71cfa

Browse files
Merge pull request #399 from FlyAndNotDown/master
Feat: Project Hub Basics
2 parents 6e779d6 + e81ab1a commit 1a71cfa

File tree

20 files changed

+49
-748
lines changed

20 files changed

+49
-748
lines changed

Editor/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
3030
TARGET Editor POST_BUILD
3131
# ++ QT 6.9.1 Temporal Fix Start
3232
# #see https://bugreports.qt.io/browse/QTBUG-137542
33+
# NOTICE: seems cause some error on debug config, like render process crash after hover a remote link, please use DebugWithRelease before official fix at 6.9.2
3334
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${QT_LIB_PREFIX}/resources/qtwebengine_devtools_resources.pak ${QT_LIB_PREFIX}/resources/qtwebengine_devtools_resources.debug.pak
3435
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${QT_LIB_PREFIX}/resources/qtwebengine_resources.pak ${QT_LIB_PREFIX}/resources/qtwebengine_resources.debug.pak
3536
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${QT_LIB_PREFIX}/resources/qtwebengine_resources_100p.pak ${QT_LIB_PREFIX}/resources/qtwebengine_resources_100p.debug.pak

Editor/Src/Widget/ProjectHub.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Editor {
99
ProjectHub::ProjectHub(QWidget* inParent)
1010
: WebWidget(inParent)
1111
{
12-
// TODO
13-
Load("/");
12+
setFixedSize(800, 600);
13+
Load("/project-hub");
1414
}
1515
} // namespace Editor

Editor/Web/README.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

Editor/Web/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@
1414
"@heroui/code": "^2.2.18",
1515
"@heroui/dropdown": "^2.3.24",
1616
"@heroui/input": "^2.4.25",
17+
"@heroui/breadcrumbs": "^2.2.20",
18+
"@heroui/avatar": "^2.2.20",
1719
"@heroui/kbd": "^2.2.19",
1820
"@heroui/link": "^2.2.21",
21+
"@heroui/tabs": "^2.2.21",
1922
"@heroui/navbar": "^2.2.22",
2023
"@heroui/snippet": "^2.2.25",
24+
"@heroui/form": "^2.1.24",
2125
"@heroui/switch": "^2.2.22",
26+
"@heroui/chip": "^2.2.20",
27+
"@heroui/user": "^2.2.20",
2228
"@heroui/system": "^2.4.20",
2329
"@heroui/theme": "^2.4.20",
2430
"@heroui/use-theme": "2.1.10",

Editor/Web/public/logo.png

131 KB
Loading

Editor/Web/src/App.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
import { Route, Routes } from "react-router-dom";
2-
3-
import IndexPage from "@/pages/index";
4-
import DocsPage from "@/pages/docs";
5-
import PricingPage from "@/pages/pricing";
6-
import BlogPage from "@/pages/blog";
7-
import AboutPage from "@/pages/about";
2+
import ProjectHubPage from "@/pages/project-hub";
83

94
function App() {
105
return (
116
<Routes>
12-
<Route element={<IndexPage />} path="/" />
13-
<Route element={<DocsPage />} path="/docs" />
14-
<Route element={<PricingPage />} path="/pricing" />
15-
<Route element={<BlogPage />} path="/blog" />
16-
<Route element={<AboutPage />} path="/about" />
7+
<Route element={<ProjectHubPage/>} path="/project-hub"/>
178
</Routes>
189
);
1910
}

Editor/Web/src/components/icons.tsx

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)