Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Extract hardcoded UI strings in QrShareDialog into lib/copy

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript
Domain
frontend

Research direction

Start with components/streams/qr-share-dialog.tsx and list every user-visible string: labels, aria-labels, toasts and placeholders. Follow the pattern in lib/copy/dashboard.ts and lib/copy/streams.ts, moving the strings into lib/copy/stream-detail.ts with wording unchanged. Done when the component has no string literals left, its existing tests pass, and the rendered UI is the same.

Written by the indexing model from the issue text.

Description

frontend good first issue

Description

Most pages now keep user-facing text in lib/copy/* modules, but QrShareDialog still hardcodes its labels, aria-labels, toasts and placeholders inline.

Location

components/streams/qr-share-dialog.tsx. Existing examples: lib/copy/dashboard.ts, lib/copy/streams.ts.

Task

Move every user-visible string into lib/copy/stream-detail.ts and import it in the component. Keep wording identical.

Acceptance criteria

  • No user-visible string literals remain in the component
  • Existing tests still pass (update string imports in tests if needed)
  • UI is unchanged

Good for contributors because

Mechanical refactor following an established pattern.

Dominant language
TypeScript
Stars
1
Forks
144
Avg merge
11h 47m
Merged PRs (30d)
50

Getting set up

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 FlowwStar/FlowStar

All issues in FlowwStar/FlowStar

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.