This commit is contained in:
2026-08-09 16:00:44 +02:00
parent 459efae41c
commit de84e45fb3
17 changed files with 58 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import React, { useState, useEffect } from 'react';
import { DragDropContext, Droppable, Draggable, DropResult } from '@hello-pangea/dnd';
import { focusTaskApi } from './api';
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import axios from 'axios';
import { FocusTask, CreateTaskDto, UpdateTaskDto } from './types';
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import React, { useState, useEffect } from 'react';
import { FocusTask } from '../types';
import './TaskCard.css';
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import React, { useState } from 'react';
import './TaskForm.css';
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
export interface FocusTask {
id: number;
title: string;
+2
View File
@@ -1 +1,3 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
/// <reference types="vite/client" />
+2
View File
@@ -1,3 +1,5 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'