codecharta
codecharta copied to clipboard
loading indicator isn't working
Bug
Expected Behavior
Given a huge map When I load it Then a loading indicator is displayed on the map while it is loading
Actual Behavior
The page becomes unresponsive until the map is loading
Screenshots
Steps to Reproduce the Problem
- Load a huge map, which needs several seconds to load
- Wait until it gets loaded and see that there was no loading indicator
Specifications
- is released in online-demo: yes
- CodeCharta Version: 1.103.1
Developer notes
Without checking I assume that:
- Parsing of file is probably done on main thread, which would block animation of loading give anyway.
- Rendering is probably done on main thread, which would block animation of loading give anyway.
TODOs
- [ ] Check if we still need
isLoadingMap
andisLoadingFile
within store/appSettings
This issue is included in our current milestone. Please do a first analysis of the bug and see how much effort it is to fix it. If a lot of effort is needed, I would like to exclude it from the milestone, as it is not a critical bug.
With a very quick look, I don't know at which point in time it broke. I am currently migrating / reworking the render process. I recommend to postpone this ticket until then and volunteer to take over it afterwards.