PM

Prince Malani

AI Specialist & Data Scientist
INITIATING ENVIRONMENT... [INIT]
← Return to Projects Portfolio

WorkSphere-DevPlanner

A centralized, AI-powered productivity hub built for developers to eliminate context switching between task trackers, calendars, notes, and bookmarks. Features automatic daily task migration that carries forward incomplete tasks while preserving historical records, alongside a Calendar Planner, Link Manager, and Markdown Notes Workspace with live preview and README export. Built on a React/TypeScript frontend with a Python/FastAPI backend and MongoDB, delivering a unified, mobile-responsive workspace for managing daily workflows, documentation, and resources.

Author: Prince Malani | Technologies: JavaScript, React, Next.js, Python, MongoDB

Project Overview & Architecture

# WorkSphere DevPlanner — Developer Productivity & Workspace Management Platform The **WorkSphere DevPlanner** is an enterprise-grade productivity and workspace management platform engineered to eliminate workflow fragmentation for high-velocity software engineering teams. Developers frequently struggle with context-switching overhead across disconnected tools for sprint tracking, daily task decomposition, reference bookmarking, and technical documentation. Built with an asynchronous Python FastAPI backend, an asynchronous MongoDB database via Motor, and a React 18 frontend with TypeScript and Tailwind CSS, the platform consolidates essential developer workflows into a unified, high-performance web interface. --- ## Problem Statement Modern software engineering routines require maintaining context across multiple fragmented tools, creating productivity friction and data inconsistencies: * **High Context-Switching Overhead:** Engineers alternate between issue trackers, digital sticky notes, bookmark managers, and knowledge bases, leading to fragmented context and lost references. * **Database Bloat from Daily Rollovers:** Conventional daily planning systems clone uncompleted tasks into brand-new database rows every midnight, ballooning storage and breaking historical audit trails. * **Lack of Granular Progress Visibility:** Standard flat task lists fail to represent multi-step engineering tasks (such as refactoring, API integration, and testing) where subtask progress directly dictates parent ticket completion. * **Opaque Timeliness & Accountability:** Many task platforms lack objective, automated tracking to distinguish whether a task was delivered on schedule or completed past its planned target date. * **Scattered Knowledge & Assets:** Architecture blueprints, API staging URLs, and sprint notes are often separated from the developer's daily execution dashboard. --- ## Solution Architecture WorkSphere DevPlanner uses a modular, decoupled full-stack architecture prioritizing asynchronous data handling, non-blocking I/O operations, and strict end-to-end schema enforcement. ### Core Architectural Components * **Asynchronous API Engine:** Built with FastAPI and Motor, ensuring non-blocking request pipelines with strict input/output contract enforcement via Pydantic V2. * **Dynamic Carry-Over Query Pipeline:** Eliminates nightly database cloning jobs by dynamically querying uncompleted historical records alongside active items in real time. * **Graph Lineage Synchronization (`get_lineage_ids`):** Traverses parent-child task relationships to propagate status mutations atomically across the hierarchy without altering original creation dates. * **Type-Safe Component Architecture:** React 18 frontend leveraging strict TypeScript interfaces to guarantee state consistency across deep nested task trees. --- ## Technical Execution The platform integrates deep task management capabilities with software engineering workspace tools: * **Hierarchical Task Breakdown & Real-Time Progress Calculation:** Built a nested task card interface featuring collapsible subtask accordions with smooth micro-animations. Implemented dynamic progress-tracking logic that computes subtask completion percentages in real time, rendered on a visual progress bar calibrated to 30% of the card width for visual hierarchy. * **Zero-Duplication Query Pipeline & Historical Integrity:** Replaced destructive nightly task-cloning mechanisms with dynamic aggregation pipelines in Motor/MongoDB. Retained historical integrity and original creation dates by pulling uncompleted past-due tasks directly into the active dashboard on-the-fly. * **Graph-Traversal Lineage Synchronization:** Implemented graph-traversal logic (`get_lineage_ids`) to resolve bidirectional parent-child task relationships. Leveraged atomic MongoDB `$set` updates to synchronize state changes across the entire lineage without mutating scheduling metadata. * **Automated Timeliness Auditing & Daily Completion Engine:** Configured automated ISO-8601 UTC timestamp tracking (`completed_at`) upon task resolution. Engineered frontend comparison algorithms between scheduled dates and `completed_at` values to dynamically apply emerald **Completed** (on-time) and amber **Completed Late** (overdue) status badges. Centralized daily completions to display all items finished on the current calendar day on the main dashboard. * **Interactive Calendar Planner & Developer Utilities:** Developed a monthly calendar workload grid featuring color-coded status markers (**None**, **Pending**, **Completed**) alongside a strict-date inspector for targeted day-level reviews. Built a Developer Bookmark Manager with a custom UTF-8 CSV/Excel export utility that escapes special characters, as well as a folder-categorized Markdown Notes Engine with real-time global text search. --- ## Results & Impact * **Eliminated Database Bloat:** Achieved zero record duplication for rollover items, maintaining a clean database and a single source of truth for every task lifecycle. * **Streamlined Developer Context:** Unified daily task breakdown, reference links, and technical documentation into one interface, significantly reducing productivity losses from context switching. * **Accurate Delivery Auditing:** Delivered transparent sprint tracking by automatically identifying on-time vs. overdue task resolutions. * **Sub-Millisecond UI State Updates:** Maintained fluid client-side performance and optimistic updates across deeply nested task trees using lightweight React state and Tailwind CSS micro-interactions. --- ## Key Learnings * **Query-Time Aggregation Over Data Duplication:** Dynamically aggregating carry-over tasks at the query layer preserves audit trails and minimizes database writes compared to batch cloning scripts. * **Atomic State Propagation:** Managing recursive tree structures in document databases requires explicit lineage resolution (`get_lineage_ids`) combined with atomic `$set` operations to avoid race conditions. * **Strict Type Contracts Across the Stack:** Aligning Pydantic V2 models on the backend with TypeScript interfaces on the client minimizes runtime serialization bugs, especially when handling complex nested subtask trees and ISO timestamp conversions.

View All Projects | Discuss this Project