[COMPLETED] Add shortcuts to go back and quit in the TUI#38
Open
Harshithkv07 wants to merge 2 commits into
Open
[COMPLETED] Add shortcuts to go back and quit in the TUI#38Harshithkv07 wants to merge 2 commits into
Harshithkv07 wants to merge 2 commits into
Conversation
Collaborator
|
Hey @Harshithkv07! Thank you for opening a pull request. Make sure to tag the maintainers and link the issue you are solving in your pull-request description if you have not already and they'll review as soon as possible. |
Member
|
@Harshithkv07, why was code indentation changed? |
Contributor
Author
|
I ran go fmt ./... on the project to prevent future linders , @Abhinav-ark |
Ashrockzzz2003
requested changes
Jan 11, 2026
| } | ||
|
|
||
| // --- Added Go Back and Quit --- | ||
| options = append(options, huh.NewOption("Go Back", "Back")) |
Member
There was a problem hiding this comment.
Go back, in the case of course choose page, is the same thing right? Essentially making your change a duplicate of an existing feature of course page
What we need is a stack prolly that can track our path, and then when user chooses go back, we wanna pop one off the stack and go the prev menu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented 'Go Back' and 'Quit' options in the Course Selection menu (
coursechoose.go).This aligns the main menu with the sub-menus' navigation pattern.
@Abhinav-ark @Ashrockzzz2003