AS a user, I want there to be a basic GUI mode of the calculator #20

Open
opened 2025-09-20 13:01:04 +01:00 by Vylpes · 2 comments
Owner

Epic: #16
Estimate: 0


SO THAT I can have a GUI calculator mode setup and easily used graphically

Acceptance Criteria

GIVEN I am a user
WHEN I run calculator in the terminal
THEN the GUI will launch

GIVEN I am a user
WHEN I run calculator gui in the terminal
THEN the GUI will launch

GIVEN I am on the GUI
WHEN I enter a valid expression with the buttons
THEN the output will be displayed

GIVEN I am on the GUI
WHEN I enter an invalid expression with the buttons
THEN the "Error" will be displayed on the output

GIVEN I am on the GUI
WHEN I type with my keyboard numbers and operation symbols
THEN the input will be added the same way as buttons

Subtasks

  • Create design
  • Link to expression handler
  • Display error
  • Input via typing

Notes

  • Of course using a .desktop file will work too, but this will be the packaged flow's job
  • Replace calculator with whatever the path to the binary is for you
Epic: #16 Estimate: 0 --- SO THAT I can have a GUI calculator mode setup and easily used graphically ## Acceptance Criteria GIVEN I am a user WHEN I run `calculator` in the terminal THEN the GUI will launch GIVEN I am a user WHEN I run `calculator gui` in the terminal THEN the GUI will launch GIVEN I am on the GUI WHEN I enter a valid expression with the buttons THEN the output will be displayed GIVEN I am on the GUI WHEN I enter an invalid expression with the buttons THEN the "Error" will be displayed on the output GIVEN I am on the GUI WHEN I type with my keyboard numbers and operation symbols THEN the input will be added the same way as buttons ## Subtasks - [ ] Create design - [ ] Link to expression handler - [ ] Display error - [ ] Input via typing ## Notes - Of course using a `.desktop` file will work too, but this will be the packaged flow's job - Replace `calculator` with whatever the path to the binary is for you
Vylpes added this to the 0.1.0 milestone 2025-09-20 13:01:04 +01:00
Author
Owner

Blocked by #13

Blocked by #13
Vylpes changed title from Basic GUI to AS a user, I want there to be a basic GUI mode of the calculator 2025-10-30 18:52:24 +00:00
Author
Owner

image

![image](/attachments/bde337a9-b871-43d6-af91-fe679eece802)
208 KiB
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/calculator#20
No description provided.