feat(FN-3159): move roadmap ownership from core to fusion-plugin-roadmap pl
Moves roadmap ownership from `@fusion/core` to `fusion-plugin-roadmap`, deleting ~1,800 lines of roadmap store, types, ordering, and handoff logic from core and replacing it with ~760 lines of new route handlers in the plugin. The dashboard's roadmap routes and suggestions modules are substantially Fusion-Task-Id: FN-3159
This commit is contained in:
@@ -14,7 +14,6 @@ import { ArchiveDatabase } from "./archive-db.js";
|
||||
import { detectLegacyData, migrateFromLegacy } from "./db-migrate.js";
|
||||
import { MissionStore } from "./mission-store.js";
|
||||
import { PluginStore } from "./plugin-store.js";
|
||||
import { RoadmapStore } from "./roadmap-store.js";
|
||||
import { InsightStore } from "./insight-store.js";
|
||||
import { ResearchStore } from "./research-store.js";
|
||||
import { TodoStore } from "./todo-store.js";
|
||||
@@ -513,8 +512,6 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
|
||||
private missionStore: MissionStore | null = null;
|
||||
/** Cached PluginStore instance */
|
||||
private pluginStore: PluginStore | null = null;
|
||||
/** Cached RoadmapStore instance */
|
||||
private roadmapStore: RoadmapStore | null = null;
|
||||
/** Cached InsightStore instance */
|
||||
private insightStore: InsightStore | null = null;
|
||||
/** Cached ResearchStore instance */
|
||||
@@ -6813,17 +6810,6 @@ ${notificationsSection}`;
|
||||
return this.pluginStore;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the RoadmapStore instance for standalone roadmap operations.
|
||||
* Lazily initializes the RoadmapStore on first access.
|
||||
*/
|
||||
getRoadmapStore(): RoadmapStore {
|
||||
if (!this.roadmapStore) {
|
||||
this.roadmapStore = new RoadmapStore(this.db);
|
||||
}
|
||||
return this.roadmapStore;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the InsightStore instance for project insights operations.
|
||||
* Lazily initializes the InsightStore on first access.
|
||||
|
||||
Reference in New Issue
Block a user