#654-flashes-on-refresh #759
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#654-flashes-on-refresh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Regarding issue #654: flashes on refresh.
Problems: 1. A flash happens when reloading the page, the browser paints the page before CSS/js are fully applied/run.
Solution: 1. The flash happens when rendering is not done fast enough, Chromium (Chrome/Edge) paints faster than firefox, therefore it is not noticeable there. There is not a whole lot one can do about this since even professionals have this problem. What they do is they create a skeleton and set rules for performance, among other things. I have created a skeleton for the basic layout of all pages (navbar, footer and a content placeholder) so that they load immediately and shows something on the page that is not a white background. Also compressed some of the icons to improve performance.
Possible improvements:
Notes:
Review on #759
Whats done
I Reviewed the code that's been added and tested the application
Tested on ubuntu using firefox
Inspected following files frontend/public/index.css, frontend/public/index.html, frontend/src/app/App.js, frontend/src/components/Navbar/Navbar.js, frontend/src/pages/dashboard/Dashboard.js
What needs to be done
Conclusion
I have reviewed the changes. All the naming is now correct and the app still works. Great job, this is ready to be merged