3 Commits
Author SHA1 Message Date
klemek 0f5f3b2fc5 feat: animated background
TS Lint / Oxlint (push) Successful in 54s
TS Lint / TypeScript (push) Successful in 1m3s
TS Lint / ESLint (push) Successful in 1m4s
Docker Build / build (push) Successful in 9m19s
2026-07-15 15:00:15 +02:00
klemek 3a40b06354 chore: 1.0.4
Python Lint CI / ruff (push) Failing after 1m45s
Python Lint CI / ruff-format-check (push) Successful in 4m11s
Python Lint CI / ty (push) Successful in 6m6s
TS Lint / ESLint (push) Successful in 4m53s
Docker Build / build (push) Successful in 10m12s
TS Lint / Oxlint (push) Successful in 6m46s
TS Lint / TypeScript (push) Successful in 5m59s
2026-07-14 19:17:43 +02:00
klemek 117d3a2029 fix: initial loading of list
Docker Build / build (push) Has been cancelled
TS Lint / Oxlint (push) Has been cancelled
TS Lint / ESLint (push) Has been cancelled
TS Lint / TypeScript (push) Has been cancelled
2026-07-14 19:17:38 +02:00
6 changed files with 35 additions and 8 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tout-doux",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"type": "module",
"engines": {
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "tout-doux"
version = "1.0.3"
version = "1.0.4"
description = ""
requires-python = ">=3.14"
dependencies = [
+25
View File
@@ -10,3 +10,28 @@ body {
font-style: normal;
font-variation-settings: "wdth" 100;
}
.bg-hero {
--size: 5vh;
--angle: 45deg;
background: repeating-linear-gradient(
var(--angle),
var(--color-base-200) calc(0 * var(--size)),
var(--color-base-200) calc(1 * var(--size)),
var(--color-secondary) calc(1 * var(--size)),
var(--color-secondary) calc(2 * var(--size)),
var(--color-base-200) calc(2 * var(--size)),
var(--color-base-200) calc(3 * var(--size)),
var(--color-accent) calc(3 * var(--size)),
var(--color-accent) calc(4 * var(--size))
);
background-size: calc(4 * var(--size) / sin(var(--angle)))
calc(4 * var(--size) / sin(var(--angle)));
animation: BackgroundAnimate 10s linear infinite reverse;
}
@keyframes BackgroundAnimate {
0% {
background-position: calc(4 * var(--size) / sin(var(--angle))) 0;
}
}
+1 -1
View File
@@ -22,7 +22,7 @@ onMounted(() => {
:style="{ display: visible ? 'flex' : 'none' }"
class="min-h-screen flex-col w-screen"
>
<div class="hero bg-base-200 grow">
<div class="hero bg-hero grow">
<div class="hero-content text-center p-0">
<div
class="max-w-md min-w-96 bg-base-100 rounded-box shadow-md"
+6 -4
View File
@@ -25,6 +25,7 @@ import { shareLink } from "@/lib/share";
const route = useRoute();
const list = ref<string | null>(null);
const loading = ref<boolean>(true);
const taskInput = ref<string>("");
const tasks = ref<Task[]>([]);
@@ -54,6 +55,7 @@ function fetchTasks() {
.then((data: Task[]) => {
tasks.value = data;
reSortTasks();
loading.value = false;
setTimeout(fetchTasks, 10000);
})
.catch(() => {
@@ -72,7 +74,7 @@ function reSortTasks() {
}
function onNewTask() {
if (taskInput.value.trim() && list.value) {
if (taskInput.value.trim() && list.value && !loading.value) {
createTask(list.value, {
name: taskInput.value.trim(),
reset_cron: null,
@@ -179,7 +181,7 @@ onBeforeRouteUpdate((to) => {
</li>
</template>
<li
v-if="empty"
v-if="!loading && empty"
class="list-row italic text-xl font-extralight self-center"
>
<span
@@ -188,7 +190,7 @@ onBeforeRouteUpdate((to) => {
></span>
</li>
<li
v-else-if="allCompleted && separateCompleted"
v-else-if="!loading && allCompleted && separateCompleted"
class="list-row italic text-xl font-extralight self-center"
>
<span
@@ -209,7 +211,7 @@ onBeforeRouteUpdate((to) => {
<div>
<button
class="btn btn-square"
:disabled="taskInput.trim().length === 0"
:disabled="loading || taskInput.trim().length === 0"
@click="onNewTask"
>
<circle-plus-icon />
Generated
+1 -1
View File
@@ -323,7 +323,7 @@ asyncpg = [
[[package]]
name = "tout-doux"
version = "1.0.3"
version = "1.0.4"
source = { editable = "." }
dependencies = [
{ name = "flask", extra = ["async"] },