Design scientific view #14
Labels
No labels
blocked
duplicate
needs
approval
needs
criteria
needs
estimate
needs
tests
question
step
doing
step
review
step
testing
step
todo
step
uat
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
epic
type
idea
type
incident
type
investigation
type
spike
type
story
won't fix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RabbitLabs/calculator#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: #12
Story Points: 8
AS a designer, I want a design made for the scientific calculator GUI view
SO THAT developers can implement an expanded calculator layout with scientific functions
Acceptance Criteria
GIVEN the default GUI design delivered in #13
WHEN I create the scientific view design
THEN the mockup reuses the same visual language (colours, typography, spacing, button styling) as #13
GIVEN the application has a standard calculator view (#13)
WHEN the scientific view design is complete
THEN the design documents how the user switches between standard and scientific modes (control placement, labels, and resulting layout change)
GIVEN the scientific view design is complete
WHEN a developer reviews the mockup
THEN every button and control in the scientific layout is labelled and its purpose is unambiguous
GIVEN the scientific view design is complete
WHEN the mockup is attached to this issue
THEN the layout is detailed enough for a developer to implement the GTK window without further design clarification (window dimensions, button grid, display area)
GIVEN the scientific view design is complete
WHEN compared to the current basic GUI (
src/gui.rs— digits 0–9,.,C,+,-,*,/,=)THEN the scientific layout includes additional controls beyond the standard four-function keypad (e.g. trigonometric, logarithmic, power/root, constants, or other scientific operations — exact set documented in the mockup)
GIVEN the scientific view design is complete
WHEN the standard mode is shown in the deliverable
THEN the standard view matches (or is shown alongside) the #13 design so developers know both layouts
Subtasks
Notes
( )or variable keys if the designer choosesDo we need this still?
@Vylpes wrote in #14 (comment):
Not for now
@Smithy-bot Plan this but don't give it a milestone for now, we'll work on it in a future version
Fleshed out acceptance criteria for the scientific GUI view design (mirroring the deliverable format of #13).
Key points:
Criteria are specific enough to estimate. Moving to
needs/estimate.Story point estimate: 8
Design-only story (same deliverable format as #13). Criteria are specific enough to size.
Reference: #13 (default GUI design) was 5 points for a single layout. This story adds an expanded scientific grid, mode-switch UX, and a dual-layout deliverable while reusing #13's visual language.
No milestone (per @Vylpes, 2026-09-08).
Moving to
needs/tests.@Smithy-bot My only question for you to answer on this is, can you identify if you as a bot and the mcp has the ability to generate an image? or is this something for me to do?
Re: your question about image generation:
Short answer: Smithy-bot can generate images when running through Cursor (via the
GenerateImagetool), but the Forgejo MCP itself has no image-generation capability. For this story's deliverable, a human-created mockup (as with #13) is likely the better fit for polished GTK layout work — though I can produce draft UI mockups from descriptions if you assign that work to me at implementation time.QA Testing Scripts
Story: Design scientific view
Estimate: 8 story points
Scope: Design-only deliverable (mockup + mode-switch documentation attached to this issue — same format as #13). No GTK implementation in this story.
TC-01 — Mockup image(s) attached to the issue
TC-02 — Visual consistency with #13
TC-03 — Mode switch interaction documented
TC-04 — Every control in the scientific layout is labelled
TC-05 — Layout detail sufficient for GTK implementation
TC-06 — Scientific layout extends beyond the basic four-function keypad
src/gui.rs— digits 0–9,.,C,+,-,*,/,=)TC-07 — Standard view shown in the deliverable
TC-08 — Both layouts visible in one deliverable
TC-09 — Subtasks checklist satisfied
TC-10 — Design-only scope respected (regression)
Criteria are specific enough to test. Moving to
needs/approvalfor your review.