Closed brauliorivas closed 2 months ago
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-06-28 14:03 UTC
Very nice.
I observed the following issue: If I switch events very quickly in the tree view, I can trigger a mis-render, where I think what is happening is that the symbols from one event are overlaid onto another event. Or maybe the symbols of the current event are drawn twice but once out of position (see screenshot on the left)
And then I would also have an additional feature request (which might already solve the first one). Instead of having the lef-right arrows for the event selection in the tree view, I think I would also like a drop-down menu there. Or if both options are possible simultaneously, e.g. by having the arrows for switching, and if I click on the event itself I get a dropdown menu to select.
And then I would also have an additional feature request (which might already solve the first one). Instead of having the lef-right arrows for the event selection in the tree view, I think I would also like a drop-down menu there. Or if both options are possible simultaneously, e.g. by having the arrows for switching, and if I click on the event itself I get a dropdown menu to select.
I didn't specify it, but indeed there is a dropdown menu. If you click over the event number, then you can see the available events and choose between them (so both options are present, arrows + menu).
Huh, I didn't see that (or didn't figure it out at least). Very nice then. I am wondering whether it could be made a bit more obvious that this is clickable and will give you a list to select from.
This is nice :)
More comments from the meeting:
be made a bit more obvious that this is clickable and will give you a list to select from.
Can you unify the font sizes in the "menus"? It looks to me that the font size of the event switcher is a bit larger
[x] Oh didn't notice this 😄, fixed.
Would it be possible to keep window in the position from the previous event?
[ ] Done!
What happens with the dropdown if there is many events to select from? Is there any scrollbar?
[x] The scrollbar is now implemented.
Maybe delay start drawing of events after the selection to avoid some issues when quickly switching events
[ ] Hmm, this is a technical issue and somewhat "hard" to fix. Even if we add a setTimeOut
function, and disable the arrows
to switch between events, the code that draws the PDGs has an event on it, that forces to draw sooner or later the image for MCParticles. We could make this code async
, so we always wait for the image to load even if is already loaded but then we have to make all drawing-related code async, and this could affect other functions behave. For example, filtering or getting visible particles. This causes a bit of noise when drawing. So taking into account the trade-offs, we may want to leave it as it is. The simplest way to show the user a "loading" state, is to change the event number after the objects have been drawn (we can not take for granted that all images will be loaded). I would like to know what you both @tmadlener and @kjvbrt think, we can try the option I mentioned. But this is how I see this.
Very nice work on the visuals. I like it.
If we cannot change the drawing easily, can we put a loading ...
or drawing ...
on the screen, or maybe simply make the arrows / event selection unclickable until it's done? Otherwise we keep it as it is at the moment and open an issue to keep track of it.
Otherwise we keep it as it is at the moment and open an issue to keep track of it.
Yeah, I would prefer to open an issue and not lose this. I know how to fix it, but I would have to incorporate a lot of "boilerplate" async
code. However, drawing functions may change (making these changes in vain), so right I wouldn't worry about it too much.
Would it be possible to keep window in the position from the previous event?
* [ ] Done!
The position is still reset for me (to x: 0, y: middle). I'm on latest Firefox in Fedora 40.
Can you also harmonize shades of grey in the "menus"? I found three different ones :)
The position is still reset for me (to x: 0, y: middle). I'm on latest Firefox in Fedora 40.
Could you please try "hard" reloading the website (maybe ctrl + r
)? I think it's cached because it works for me both in the preview and on firefox 126.0.1.
Can you also harmonize shades of grey in the "menus"? I found three different ones :)
Of course!
The position is still reset for me (to x: 0, y: middle). I'm on latest Firefox in Fedora 40.
Could you please try "hard" reloading the website (maybe
ctrl + r
)? I think it's cached because it works for me both in the preview and on firefox 126.0.1.
Still does not work, but let's merge this PR and see. If it does not work I will create issue...
BEGINRELEASENOTES
ENDRELEASENOTES