feat: Tax, tip and bill split calculator

Abierto
#174 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript, vite

Línea de trabajo

Read “Adding a tool” in docs/CODEMAP.md, then inspect src/tools/, src/tools/catalog.ts, and src/tools/registry.tsx to follow the existing tool pattern. Build the tax, tip, and split calculations with Vitest coverage, then connect the entry and component. Done means the listed calculation cases work offline, and the tool renders correctly in light and dark mode at phone width without layout shift.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement good first issue new tool wave-4

Why

Adding or removing GST or VAT from a price, and splitting a restaurant bill with tip, are everyday sums people search for on their phone.

Replaces: GST calculator and Splitwise for one-off bills.

Scope

  • GST/VAT: add to or remove from a price at any rate; for India show CGST + SGST split.
  • Tip and split: bill, tip %, people, round up; per-person amount.
  • Uneven split: list of people and what each had.

Dependency

None. Web APIs only (Intl.NumberFormat).

Done when

  • Logic lives in src/tools/<slug>/<slug>.ts with a Vitest test; the component only renders it.
  • One entry in src/tools/catalog.ts (category, audience, keywords, replaces) and one in src/tools/registry.tsx. See "Adding a tool" in docs/CODEMAP.md.
  • Nothing leaves the browser. It works offline once the page has loaded.
  • Works in light and dark mode and at phone width, with no layout shift when its state changes.
Lenguaje dominante
TypeScript
Estrellas
2
Forks
1
Merge medio
2 d 21 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ajithakdev/toolglass

Todos los issues de ajithakdev/toolglass

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.