refactor(pages): group the screens by what the user is doing

pages/ was a flat row of eight screens, so a change to one meant scanning
the whole folder to see what else was in it. The screens now sit in
packages/ (browse, cleanup), overview/ (dashboard, history), system/
(logs, settings) and extensions/ (plugins), with the scaffolding they
all build on — the Page base and the shared widgets — in base/.
This commit is contained in:
BlackAngelTV committed 2026-09-29 21:26:51 +02:00
1 parent 5a6aaae244
commit 3e85db87b2
19 files changed
+19 -19

No files matched your search

+19 -19
View File
@@ -45,16 +45,16 @@ set(SOURCES
plugins/plugin-package.cpp
core/app-core.cpp
# Interface: one file per screen under pages/, on top of the logic layer.
pages/page.cpp
pages/ui-kit.cpp
pages/dashboard-page.cpp
pages/browse-page.cpp
pages/cleanup-page.cpp
pages/history-page.cpp
pages/base/page.cpp
pages/base/ui-kit.cpp
pages/overview/dashboard-page.cpp
pages/packages/browse-page.cpp
pages/packages/cleanup-page.cpp
pages/overview/history-page.cpp
logging/log-manager.cpp
pages/logs-page.cpp
pages/plugins-page.cpp
pages/settings-page.cpp
pages/system/logs-page.cpp
pages/extensions/plugins-page.cpp
pages/system/settings-page.cpp
resources/resources.qrc
)
@@ -76,21 +76,21 @@ set(HEADERS
plugins/plugin-package.h
core/app-core.h
logging/log-manager.h
pages/page.h
pages/ui-kit.h
pages/dashboard-page.h
pages/browse-page.h
pages/cleanup-page.h
pages/history-page.h
pages/logs-page.h
pages/plugins-page.h
pages/settings-page.h
pages/base/page.h
pages/base/ui-kit.h
pages/overview/dashboard-page.h
pages/packages/browse-page.h
pages/packages/cleanup-page.h
pages/overview/history-page.h
pages/system/logs-page.h
pages/extensions/plugins-page.h
pages/system/settings-page.h
)
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
target_include_directories(${PROJECT_NAME} PRIVATE
include pages include/sdk logging preferences history archive update plugins providers core app)
include pages pages/base pages/packages pages/overview pages/system pages/extensions include/sdk logging preferences history archive update plugins providers core app)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::Widgets Qt6::Network ZLIB::ZLIB)
target_compile_definitions(${PROJECT_NAME} PRIVATE
FWSPACMANAGE_VERSION="${PACMANAGER_VERSION}"