How tariqjaved06/kanaban-board works
Purpose and Runtime
TaskFlow is a static, client-side Kanban productivity dashboard. It organizes in-memory tasks through a Pending → Doing → Done workflow, with priority, tags, due dates, and subtasks represented in the UI. It runs directly in the browser: there is no backend, database, API, or persistence layer.
Core runtime assets: index.html, script.js, output.css.
Entry Points and Page Model
index.html is the primary all-tasks dashboard and likely the main rendering host for JavaScript task data. Navigation is split into separate static HTML views rather than a router or SPA.
Relevant views:
• index.html — main/all-task board
• home.html — overview/home page
• pending.html, doing.html, done.html — status-specific views
• about.html — informational page
Each page is an independent browser document boundary; shared behavior and state must be reinitialized on navigation.
Task Data and Rendering Layer
script.js is the application’s core state and presentation controller. It holds the task data array and dynamically renders task cards into the Kanban interface. Task fields support the board’s central model: title/description, status, priority, due date, hashtag/project association, and subtasks.
The current task collection is runtime-only. Reloading or changing pages resets state because no browser storage or server synchronization exists.
Grounding paths: script.js, index.html, pending.html.
Kanban Workflow and View Boundaries
The primary control flow is:
1. Browser loads a static HTML view.
2. Shared CSS establishes responsive visual layout.
3. script.js initializes task data and renders cards.
4. Cards are grouped or filtered by workflow status.
5. Navigation/filter tabs expose all-task or status-specific board views.
Status is the main domain boundary: Pending, Doing, and Done. The repository has dedicated documents for each status (pending.html, doing.html, done.html), alongside the combined board in index.html.
UI Composition
The dashboard architecture centers on a persistent dashboard shell: sidebar navigation/profile, header controls, statistics, task filters, and Kanban columns. Task creation is represented by a modal UI, but its submission is not yet connected to mutation of the data array.
Architecturally meaningful UI hosts:
• index.html — dashboard shell, header, board, modal host
• home.html — overview-oriented entry view
• script.js — dynamic card rendering and task-state source
Search, sort, filter controls, drag-and-drop, live counts, and project CRUD are planned rather than functional integration points.
Styling and Build Boundary
Styling uses Tailwind CSS. input.css is the Tailwind source layer and output.css is the browser-consumed generated stylesheet. Node dependencies and package metadata support CSS generation, but the delivered application remains static HTML/CSS/JavaScript.
Grounding paths: input.css, output.css, package.json.
Infrastructure and External Dependencies
Infrastructure is limited to local static asset delivery and Node-managed frontend dependencies (package.json, package-lock.json, node_modules). No external services, authentication, server runtime, database, or API integration are present. The key future integration boundary is persistence: task mutations, modal submission, and cross-page consistency would require a shared client storage layer or backend API.
Main entry points: output.css Generated stylesheet · index.html All-tasks dashboard · script.js Task controller · pending.html Pending view
Components 14
Browser views
Independent static document boundaries.
- All-tasks dashboard · Primary dashboard shell, board, and modal host.
index.html - Home overview
home.html - Pending view
pending.html - Doing view
doing.html - Done view
done.html - About page
about.html
Task board
- Task controller · Owns runtime task data and renders task cards.
script.js - In-memory tasks · Resets on reload or navigation.
- Kanban board · Cards are organized by task status.
index.html - Pending → Doing → Done · Status is the primary domain boundary.
- Task creation modal · Submission is not connected to task mutation.
index.html
Styling build
- Tailwind source
input.css - Generated stylesheet · Shared responsive styling.
output.css - Node dependencies · Supports CSS generation only.
package.json
Connections 18
- All-tasks dashboard → Task controller: loads
- Pending view → Task controller: loads
- Home overview → Generated stylesheet: uses
- All-tasks dashboard → Generated stylesheet: uses
- Pending view → Generated stylesheet: uses
- Doing view → Generated stylesheet: uses
- Done view → Generated stylesheet: uses
- About page → Generated stylesheet: uses
- Task controller → In-memory tasks: initializes
- Task controller → Kanban board: renders cards into
- In-memory tasks → Pending → Doing → Done: assigns status
- Pending → Doing → Done → Kanban board: groups cards
- Task creation modal → In-memory tasks: planned mutation
- Tailwind source → Generated stylesheet: generates
- Node dependencies → Tailwind source: build tooling
- All-tasks dashboard → Pending view: status navigation
- All-tasks dashboard → Doing view: status navigation
- All-tasks dashboard → Done view: status navigation