Commit Graph

5 Commits

Author SHA1 Message Date
viet-anh.n
cafba21523 Configure ESLint, Prettier, and TypeScript strict mode
- Add package.json with ESLint v9, typescript-eslint, eslint-plugin-react,
  eslint-plugin-react-hooks, eslint-config-prettier, Prettier, and TypeScript
  as devDependencies; includes lint, format, and format:check npm scripts
- Add eslint.config.js (flat config) with TypeScript recommended rules,
  React + React Hooks plugin rules, and prettier conflict suppression
- Add tsconfig.json with strict: true, ES2020 target, DOM libs, react-jsx
- Add .prettierrc with single quotes, 2-space indent, ES5 trailing commas
- Update CLAUDE.md to document new tooling and commands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 10:35:51 +00:00
Viet-Anh Nguyen
b6dd764c87 Merge pull request '[TSC-4] Implement responsive CSS layout and styling' (#1) from ssmp/tsc-4-r2 into main
Reviewed-on: https://gitea.scopicsoftware.com/scopic-software/test-simple-calculator/pulls/1
2026-07-08 06:33:02 +00:00
viet-anh.n
f77fcbddc9 [TSC-4] Implement responsive CSS layout and styling
- Add styles.css with mobile-first responsive design (Flexbox/Grid)
- Three breakpoints: mobile (320px+), tablet (768px+), desktop (1024px+)
- All interactive elements meet 44x44px minimum touch target size
- WCAG AA color contrast: text #1a1a1a on white (~17:1), buttons #fff on #1565c0 (~5.85:1), error #c62828 on white (~5.6:1)
- Clear visual hierarchy: h1 > h2 > body text, prominent result area, red error styling
- Link styles.css from index.html
- Update CLAUDE.md project structure to include styles.css
2026-07-08 06:29:14 +00:00
viet-anh.n
bca10fcd13 [TSC-3] Build responsive HTML structure with semantic markup
Create semantic HTML5 structure for calculator interface:
- index.html: two labeled number inputs, four operation buttons,
  calculate/clear buttons, result <output>, and error <p role=alert>
  with aria-live regions for screen-reader accessibility
- CLAUDE.md: updated project structure and architecture notes
2026-07-08 06:19:21 +00:00
Viet-Anh Nguyen
15b0201696 chore: initialize repository 2026-07-08 05:53:53 +00:00