add context, rewrite keystrokes

This commit is contained in:
marlon-erler
2026-04-12 19:20:37 +00:00
parent ee093d4035
commit 231fc0d345
20 changed files with 1329 additions and 872 deletions
@@ -5,11 +5,11 @@ import BoardsAndTasksModel, {
} from "../../Model/Files/boardsAndTasksModel";
import ChatViewModel from "../Chat/chatViewModel";
import CoreViewModel from "../Global/coreViewModel";
import CoreViewModel, { Context } from "../Global/coreViewModel";
import { IndexManager } from "../../Model/Utility/utility";
import TaskViewModel from "./taskViewModel";
export default class TaskContainingPageViewModel {
export default class TaskContainingPageViewModel extends Context {
// state
taskIndexManager: IndexManager<TaskViewModel> = new IndexManager(
(taskViewModel: TaskViewModel) => taskViewModel.sortingString,
@@ -59,5 +59,7 @@ export default class TaskContainingPageViewModel {
public coreViewModel: CoreViewModel,
public chatViewModel: ChatViewModel,
public boardsAndTasksModel: BoardsAndTasksModel,
) {}
) {
super();
}
}