Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tui): right click to return to previous view #166

Merged

Conversation

AnthonyMichaelTDM
Copy link
Owner

right click with the mouse over the ContentView to return to the previous ActiveView.

there is currently no keybind to perform this action

uses a stack (implemented as a vec) to track previous Views so they can be returned to.

right click with the mouse over the ContentView to return to the previous ActiveView.

there is currently no keybind to perform this action

uses a stack (implemented as a vec) to track previous Views so they can be returned to.
@AnthonyMichaelTDM AnthonyMichaelTDM linked an issue Oct 15, 2024 that may be closed by this pull request
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 90.47619% with 4 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tui/src/ui/components/content_view/mod.rs 66.66% 3 Missing ⚠️
tui/src/ui/components/content_view/views/search.rs 66.66% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main     #166      +/-   ##
==========================================
- Coverage   83.32%   83.30%   -0.02%     
==========================================
  Files          93       93              
  Lines        6452     6463      +11     
==========================================
+ Hits         5376     5384       +8     
- Misses       1076     1079       +3     
Components Coverage Δ
MECOMP Core 93.27% <ø> (ø)
MECOMP Daemon 60.82% <ø> (ø)
MECOMP Storage 91.13% <ø> (ø)
SurrealQLX 85.14% <ø> (ø)
OneOrMany 99.35% <ø> (ø)
Analysis 81.93% <ø> (ø)
MECOMP CLI 85.23% <ø> (-0.38%) ⬇️
MECOMP TUI 86.24% <90.47%> (+0.01%) ⬆️
Files with missing lines Coverage Δ
tui/src/state/mod.rs 0.00% <ø> (ø)
tui/src/state/view.rs 88.88% <100.00%> (+88.88%) ⬆️
tui/src/ui/components/content_view/views/album.rs 100.00% <100.00%> (ø)
tui/src/ui/components/content_view/views/artist.rs 100.00% <100.00%> (ø)
...src/ui/components/content_view/views/collection.rs 95.56% <100.00%> (ø)
...ui/src/ui/components/content_view/views/generic.rs 84.40% <100.00%> (ø)
tui/src/ui/components/content_view/views/mod.rs 95.47% <100.00%> (+0.02%) ⬆️
...i/src/ui/components/content_view/views/playlist.rs 93.30% <100.00%> (ø)
tui/src/ui/components/content_view/views/radio.rs 99.02% <100.00%> (ø)
tui/src/ui/components/content_view/views/song.rs 100.00% <100.00%> (ø)
... and 3 more

... and 1 file with indirect coverage changes

@AnthonyMichaelTDM AnthonyMichaelTDM merged commit d64a210 into main Oct 15, 2024
24 checks passed
@AnthonyMichaelTDM AnthonyMichaelTDM deleted the 163-feattui-support-returning-to-previous-view branch October 15, 2024 22:11
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.

feat(tui): support returning to previous view
1 participant