DDMAL / DDMAL/mothra-annotator

Second opinion requested: drawing hidden boxes

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
45m
Merged PRs (30d)
2

Description

Mothra allows the user to hide a certain type of box (text, music, or staves) so that they can see another type of box more clearly. This is very useful. However, if, as I keep doing, the user tries to draw a text box while the text boxes are hidden, the box will just disappear as if nothing has happened. So if the user isn't savvy, it looks like the drawing of the box was unsuccessful. Demo:

https://github.com/user-attachments/assets/06e1884c-826a-4d69-b814-e9baa38f6ea5

In the demo, it becomes obvious that boxes were drawn as soon as I flip the staff boxes back on, but I can easily imagine a situation where the extra box is in a sea of other boxes and gets completely missed. I have three possible solutions/thoughts:

1. Add a little message when a user tries to add a box of a type that isn't currently visible, alerting them to the fact that the box _is_ there, even if they can't currently see it;
2. If a user hides one of the type of boxes, automatically change the drawing selection to another, visible type of box. So for example, if I hide the text boxes, the drawing type switches to music. And if I hide the music boxes, the drawing type switches to staves. After all, it makes sense that if a user is only looking at staves, they want to draw staves.
3. Maybe this isn't actually a problem! Maybe I'm underestimating the average user's savviness and actually everyone will figure out that they've just drawn a box that is hidden. After all, I figured it out immediately, and I'm famously not so savvy often.

@kyrieb-ekat, @yinanazhou, what do you think?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.