Update project structure and dependencies

Key features implemented:
- Updated .gitignore to include comprehensive ignore patterns for multiple languages and build artifacts
- Removed auto-score related components and routes from ContentArea, Sidebar, mobile navigation, and preload types
- Deleted AutoScoreManager, Rule builder, and associated service/engine files
- Updated Settings component to remove auto_score_enabled setting handling
- Cleaned up type definitions and navigation configurations to reflect feature removal

The changes streamline the project by removing the auto-scoring feature while maintaining core functionality and improving project organization through updated ignore rules.
This commit is contained in:
qwen.ai[bot]
2026-03-28 03:58:10 +00:00
parent 6f537bc887
commit 83475ffda7
14 changed files with 526 additions and 1366 deletions
-7
View File
@@ -19,7 +19,6 @@ const loadReasonManager = () => import("./ReasonManager")
const loadScoreManager = () => import("./ScoreManager")
const loadLeaderboard = () => import("./Leaderboard")
const loadSettlementHistory = () => import("./SettlementHistory")
const loadAutoScoreManager = () => import("./AutoScoreManager")
const loadRewardSettings = () => import("./RewardSettings")
const loadBoardManager = () => import("./BoardManager")
@@ -32,9 +31,6 @@ const Leaderboard = lazy(() => loadLeaderboard().then((m) => ({ default: m.Leade
const SettlementHistory = lazy(() =>
loadSettlementHistory().then((m) => ({ default: m.SettlementHistory }))
)
const AutoScoreManager = lazy(() =>
loadAutoScoreManager().then((m) => ({ default: m.AutoScoreManager }))
)
const RewardSettings = lazy(() => loadRewardSettings().then((m) => ({ default: m.RewardSettings })))
const BoardManager = lazy(() => loadBoardManager().then((m) => ({ default: m.BoardManager })))
@@ -47,7 +43,6 @@ const warmupRouteChunks = () =>
loadScoreManager(),
loadLeaderboard(),
loadSettlementHistory(),
loadAutoScoreManager(),
loadRewardSettings(),
loadBoardManager(),
])
@@ -109,7 +104,6 @@ export function ContentArea({
if (normalizedPath.startsWith("/leaderboard")) return t("sidebar.leaderboard")
if (normalizedPath.startsWith("/settlements")) return t("sidebar.settlements")
if (normalizedPath.startsWith("/reasons")) return t("sidebar.reasons")
if (normalizedPath.startsWith("/auto-score")) return t("sidebar.autoScore")
if (normalizedPath.startsWith("/reward-settings")) return t("sidebar.rewardSettings")
if (normalizedPath.startsWith("/settings")) return t("sidebar.settings")
return "SecScore"
@@ -373,7 +367,6 @@ export function ContentArea({
<Route path="/leaderboard" element={<Leaderboard />} />
<Route path="/settlements" element={<SettlementHistory />} />
<Route path="/reasons" element={<ReasonManager canEdit={permission === "admin"} />} />
<Route path="/auto-score" element={<AutoScoreManager />} />
<Route
path="/reward-settings"
element={<RewardSettings canEdit={permission === "admin"} />}