project-07b4ce75

byAXO

תבנה מחשבון

Calculator
Calculator

Comments (0)

No comments yet. Be the first!

Project Tasks7

#1

Implement Theme and Structure

To Do

As a Frontend Developer, I want to implement the color palette and design theme from the mock-design pages so that all application pages look exactly identical to the designed mockups. This includes setting up the color scheme (#F3F4F6 background, #FFFFFF surface, #1F2937 text, #3B82F6 accent, #9CA3AF muted), typography, global CSS variables, and removing any pages not required by the project (e.g., login, signup, welcome, dashboard pages that are not part of the calculator flow). Ensure responsive design foundations are in place for both desktop and mobile.

AI 80%
Human 20%
High Priority
1 day
AI Credits:4
Frontend Developer
#3

Implement Arithmetic API

To Do

As a Backend Developer, I want to implement a FastAPI backend that exposes endpoints for basic arithmetic operations (addition, subtraction, multiplication, division) so that the frontend Calculator page can perform calculations via API. Endpoints should handle: input validation, division by zero error responses with clear error messages, and return results in a format compatible with Greek locale numeric formatting. The API should be lightweight and respond within performance constraints.

AI 85%
Human 15%
High Priority
1.5 days
AI Credits:5
Backend Developer
#4

Implement Calculation History API

To Do

As a Backend Developer, I want to implement a FastAPI endpoint to store and retrieve the last 5 calculations per session so that the frontend can display a history carousel. The endpoint should support saving a calculation result and fetching the most recent 5 entries. Use MySQL with Alembic migrations for persistence.

Depends on:#3
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1.5 days
AI Credits:5
Backend Developer
#2

Build Calculator Page

To Do

As a Frontend Developer, I want to implement the Calculator page based on the existing JSX design (Calculator v2) so that users can perform addition, subtraction, multiplication, and division. The page should include: numeric and operator buttons with 3D press animations on click, a display area showing current input and result, a calculation history carousel at the bottom showing the last 5 calculations with smooth scrolling, a reset button to clear the calculator state, a light/dark mode toggle with fluid gradient transition animation, and an error state (e.g., division by zero) with shake animation and red highlight on the input field. Numeric formatting should follow Greek locale (commas as decimal separators, periods as thousand separators). The page is the central hub of the user flow — all actions (perform operations, view result, view history, reset, toggle theme) happen here.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:7
Frontend Developer
#6

Implement Greek Localization

To Do

As a Frontend Developer, I want to implement Greek language support and locale-specific numeric formatting so that the application defaults to Greek language and displays numbers using commas as decimal separators and periods as thousand separators (e.g., 1.000,50). This includes i18n setup for UI labels and error messages in Greek.

Depends on:#2
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
1 day
AI Credits:4
Frontend Developer
#5

Integrate Calculator with Backend

To Do

As a Frontend Developer, I want to connect the Calculator page to the backend arithmetic and history APIs so that calculations are processed server-side and history is persisted. This includes wiring up API calls for each operation, displaying API error messages (e.g., division by zero) with the shake animation, and populating the history carousel from the history API response.

Depends on:#3#2#4
Waiting for dependencies
AI 85%
Human 15%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#7

Implement Accessibility Compliance

To Do

As a Frontend Developer, I want to ensure the Calculator page meets WCAG 2.1 AA accessibility standards so that all users, including those with disabilities, can use the application. This includes proper ARIA labels on buttons and display elements, keyboard navigation support, sufficient color contrast ratios for both light and dark themes, and focus management.

Depends on:#2#6
Waiting for dependencies
AI 70%
Human 30%
Medium Priority
1 day
AI Credits:4
Frontend Developer
Calculator design preview
Calculator: Perform Addition
Calculator: View Result
Calculator: Perform Subtraction
Calculator: View Result
Calculator: View History
Calculator: Reset Calculator
Calculator: Toggle Theme