The Dictation page's empty state still calls the figure "accuracy yesterday", which the rest of the app renamed "Left as dictated"

Open Beginner friendly
#562 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
95/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
swift
Domain
desktop

Research direction

Start at Sources/UttrflowUX/MainDictationPresentation.swift:438 and compare the chip caption with the existing accuracyTitle at lines 154-161. Update the expectation in Tests/UttrflowUXTests/MainDictationPresentationTests.swift:506, then run make verify with DEVELOPER_DIR set as described. Done means no user-facing string in Sources/UttrflowUX calls this figure accuracy and verification passes.

Written by the indexing model from the issue text.

Description

area:dictation bug good first issue P2

What happens

The figure built from how little clean-up changed is titled so it does not claim to be accuracy (see #153): DictationPresenter.accuracyTitle = "Left as dictated", with a caption saying it "does not say whether they were heard correctly" (Sources/UttrflowUX/MainDictationPresentation.swift:154-161). Insights uses the same title.

The chips under the empty Dictation page, which show yesterday's figures, still label the same number "accuracy yesterday" (Sources/UttrflowUX/MainDictationPresentation.swift:433-439).

Why it matters

The same number is called two different things on the same page, and the chip makes the claim the rename was made to remove.

Where to start

  • Change the chip caption in MainDictationPresentation.swift:438, for example to "left as dictated yesterday".
  • Update Tests/UttrflowUXTests/MainDictationPresentationTests.swift:506.
  • Run make verify (export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer first); CONTRIBUTING.md has the rest.

Acceptance criteria

  • No user-facing string in Sources/UttrflowUX calls this figure "accuracy".
  • The test pins the new caption; make verify passes.

Size: XS, under an hour.

Dominant language
Swift
Stars
4
Forks
17
Avg merge
18h 15m
Merged PRs (30d)
442

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uttrflow/uttrflow-swift

All issues in uttrflow/uttrflow-swift

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.