InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Twos grid should be a class

Open
#1,668 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #1770 by @baltevl — closed without merging
good first issue maintenance
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Twos app code can be improved by making the grid a separate class with member functions that manipulate the grid, instead of everything being in the screen class.

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.

Research direction

Review the Twos app's screen class and the closed pull request #1770 to understand the existing direction. Identify how the grid is currently handled, then separate it into a class whose member functions manipulate the grid while the screen class no longer owns that responsibility. Done means the refactor is complete without changing the intended Twos app behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.