Skip to content

Full Implementation of MistakeWidget and Overrides#4

Open
Gbeckler8 wants to merge 3 commits into
hyuncat:mainfrom
Gbeckler8:main
Open

Full Implementation of MistakeWidget and Overrides#4
Gbeckler8 wants to merge 3 commits into
hyuncat:mainfrom
Gbeckler8:main

Conversation

@Gbeckler8
Copy link
Copy Markdown
Contributor

@Gbeckler8 Gbeckler8 commented May 30, 2026

Overview
Adds a Mistake Widget that shows a list of mistakes and related information in a sidebar on the right side of the window. Additionally, allows users to override mistakes that they believe are actually correct. When a mistake is pressed, the GuitarHero window will navigate to that mistake and highlight it.

Elements to Discuss/Change
Currently, the color of the highlight for an outstanding mistake (one that hasn't been overridden) is red, while the color of an overridden mistake is green. While these colors do work for their purposes, it may be difficult to see them (as the recorded pitches are often the same colors) - as such, I'm considering changing an outstanding mistake to a white highlight.

Additionally, there are likely too many columns in the Mistake Widget as of right now - for example, Mistake # and Pair # are unnecessary together. However, I am still deciding as to which one should be removed.

Existing Code Design Notes
I had to change init_2 to have sorted times_1 and times_2 so that pairs and times would line up in the backend logic.
Additionally, changed the string editor to store mistakes so that mistake indices are stored metadata (this may not be necessary if mistake indices aren't a desired feature).

Please test! I've only tested on a couple examples, and sometimes the mistakes seem to be a bit strange/notated as the wrong type in some cases.

Gbeckler8 added 3 commits May 26, 2026 16:32
Implements the backend logic needed for Duolingo-style: "Override - I was correct". Have not done frontend work  yet.
Improved logic to have better data storage/more utility for the backend of user-overrided mistakes
Finishes the mistake widget, a new feature on the right side of the window. Allows for override and interaction in the mistake widget.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant