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

initial page load rendering problem #22

Open
goteamkor opened this issue Jul 16, 2024 · 5 comments
Open

initial page load rendering problem #22

goteamkor opened this issue Jul 16, 2024 · 5 comments
Assignees

Comments

@goteamkor
Copy link

netbox-reorder-rack version

v1.1.1

Python version

3.12

Steps to Reproduce

install plugin on netbox 4.0.6
using chrome browser, latest
click on a rack (any rack) and click the re-order button

Expected Behavior

rack should load correctly

Observed Behavior

rendering issue. reloading/refreshing the page will force it to load correctly, but every time you click 'reorder' (on any rack) the first initial page load has a rendering problem.

Animation

@goteamkor goteamkor changed the title initial page load rendering initial page load rendering problem Jul 16, 2024
@goteamkor
Copy link
Author

is there any update on this? has anyone been able to reproduce this?

@cruse1977
Copy link
Member

cruse1977 commented Aug 29, 2024

Hi @goteamkor using NetBox 4.10 and latest chrome I've been unable to replicate this, the only time I get close is when I have developer tools enabled and very limited screen width when the racks can't be drawn. Expanding the screen width and the racks are drawn.

Can I ask if this happens on all racks, especially those whereas the names aren't as long ? - ie: create a rack, add some shorter device names does this happen ? I'm wondering if its something to do with text width of your devices.

Could you also list a few of the longest device/panel names in the affected rack please ?

@goteamkor
Copy link
Author

goteamkor commented Aug 30, 2024

not sure what to tell you. I just upgraded to 4.0.10 and tried again in both latest chrome (Version 128.0.6613.114 (Official Build) (64-bit)) and edge. Same result.
It's every single rack. short names, long names, doesn't matter.

Animation

Happy to do additional troubleshooting, but need guidance on what steps you'd like me to perform to give you more diagnostic information.

@goteamkor
Copy link
Author

any updates? is there any additional troubleshooting you'd like me to do?

@minitriga
Copy link
Collaborator

I cant replicate this. Can you look at console logs in browser and see if there are any errors. It looks like the HTML is loading but the javascript is not loading quick enough which causes it to not render fully as gridstack is not initializing.

@minitriga minitriga self-assigned this Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants