diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 012559a2..6386594d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -223,13 +223,17 @@ cd ui pnpm install ``` +> [!NOTE] +> Create a `.env` file in the `ui/` directory based on `.env.example` to configure environment variables. +> to link the frontend to the backend API. + 3. **Run the frontend development server:** ```bash pnpm dev ``` -The frontend will be available at `http://localhost:3000` (or the port shown in the terminal) +The frontend will be available at `http://localhost:8082` (or the port shown in the terminal) 4. **Verify the setup:** diff --git a/ui/.env.example b/ui/.env.example new file mode 100644 index 00000000..0aa72bd5 --- /dev/null +++ b/ui/.env.example @@ -0,0 +1,2 @@ +NUXT_API_URL="http://localhost:8081/api/" +NUXT_PUBLIC_WSS=":8081/" diff --git a/ui/app/components/TaskForm.vue b/ui/app/components/TaskForm.vue index 157d5499..e05ac89a 100644 --- a/ui/app/components/TaskForm.vue +++ b/ui/app/components/TaskForm.vue @@ -231,6 +231,28 @@ +
+
+ +
+ + +
+ + + + If enabled, all existing items in the feed will be marked as downloaded after adding the task. + + +
+
+