improve UI

This commit is contained in:
marlon-erler
2024-07-22 19:36:01 +02:00
parent 036dc5a805
commit 18771b142c
3 changed files with 7 additions and 29 deletions
+3
View File
@@ -376,6 +376,9 @@ body[showing-chat] #chat-page-wrapper {
}
}
@media (min-width: 700px) {
#message-page #composer input {
border-left: 1px solid var(--border);
}
#message-page #composer .content-width-constraint,
#message-page #composer .input-width-constraint {
display: flex;
-29
View File
@@ -781,35 +781,6 @@
this.chatModel = chatModel;
this.storageModel = storageModel2;
this.taskModel = new TaskModel(this.storageModel, chatModel, this);
this.taskModel.createBoard("Hello");
const boards = this.taskModel.listBoardIds();
console.log("boards", boards);
const boardId = boards[0];
console.log("board id", this.taskModel.getBoardInfo(boardId));
const newInfo = TaskModel.createBoardInfoFileContent(
boardId,
"renamed",
"coral" /* Coral */
);
this.taskModel.updateBoard(newInfo);
console.log("info", this.taskModel.getBoardInfo(boardId));
this.taskModel.createTask(boardId, "New task");
const tasks = this.taskModel.listTaskIds(boardId);
console.log("tasks", tasks);
const taskId = tasks[0];
console.log("task id", taskId);
const newTaskContent = TaskModel.createTaskFileContent(
taskId,
"renamed",
boardId
);
this.taskModel.updateTask(newTaskContent);
setTimeout(() => {
this.taskModel.deleteTask(boardId, taskId);
}, 2e4);
setTimeout(() => {
this.taskModel.deleteBoard(boardId);
}, 3e4);
}
// utility
static generateFileContentId = (creationDate) => {
+4
View File
@@ -39,6 +39,10 @@
}
@media (min-width: 700px) {
#message-page #composer input {
border-left: 1px solid var(--border);
}
#message-page #composer .content-width-constraint,
#message-page #composer .input-width-constraint {
display: flex;