aelishRollo / aelishRollo/Pretty-Calc

Implement core scientific calculator UX (multi-line expressions + keypad modes)

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Goal
Implement the baseline Desmos-style scientific calculator interaction model in Pretty-Calc.

## Scope
- Multi-line expression list (not single-entry only)
- Reuse previous answer token (`ans`)
- Three keypad modes:
- `main` (numbers/operators/roots/fractions/trig basics)
- `abc` (qwerty-style symbols/text helpers)
- `func` (advanced function entry)
- Decimal-to-fraction answer toggle (where rational approximation is available)
- Angle mode toggle (degrees/radians) in settings
- Calculator settings surface that can host future toggles

## Acceptance Criteria
- Users can enter and evaluate expressions across multiple lines.
- `ans` resolves to the previous evaluated result.
- Keypad mode switching is discoverable and preserves expression focus.
- Degree/radian mode changes affect trig evaluation correctly.
- Decimal/fraction representation can be toggled on supported outputs.
- Existing tests pass and new interaction tests are added for keypad mode + `ans` + angle mode.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.