add full screen view for task description

This commit is contained in:
marlon-erler
2026-09-22 21:33:20 +02:00
parent 3a2569b24e
commit d92a13dadb
11 changed files with 87 additions and 22 deletions
Binary file not shown.
+10
View File
@@ -58,6 +58,8 @@ export default class TaskViewModel extends Context {
selectedVersionId: React.State<string> = new React.State("");
versionIds: React.ListState<string> = new React.ListState();
isPresentingFullScreenDescription: React.State<boolean> = new React.State(false);
// methods
dragStart = (event: DragEvent): void => {
ViewController.allowDrag(event);
@@ -96,6 +98,14 @@ export default class TaskViewModel extends Context {
this.save();
};
openFullscreenDecription = (): void => {
this.isPresentingFullScreenDescription.value = true;
}
closeFullscreenDecription = (): void => {
this.isPresentingFullScreenDescription.value = false;
}
updateIndex = (): void => {
const index: number =
this.containingViewModel.taskIndexManager.getIndex(this);