[examples] Added UI guidance to JSONDataUpdate override example#494
[examples] Added UI guidance to JSONDataUpdate override example#494Adityashandilya555 wants to merge 3 commits intoopenwisp:masterfrom
Conversation
📝 WalkthroughWalkthroughThe changes include formatting refinements to Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2026-01-04T08:00:40.936ZApplied to files:
📚 Learning: 2026-01-22T22:37:11.271ZApplied to files:
🔇 Additional comments (5)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b09363c to
d09f7ee
Compare
…isp#492 Added an info banner to the netjsonmap-nodeTiles.html example explaining that it demonstrates replacing existing map data with new data based on zoom level, and instructing users to zoom in to levels 4 and 6 to see the behavior. Related to openwisp#492
d09f7ee to
df25ab3
Compare
nemesifier
left a comment
There was a problem hiding this comment.
Thanks for the prompt response on this issue, I have one question below:
| color: white; | ||
| padding: 12px 20px; | ||
| border-radius: 8px; | ||
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
There was a problem hiding this comment.
Why are you changing the font?
There was a problem hiding this comment.
oh that might be the issue why qa checks are filing sorry for the oversight . thanks @nemesifier .i will configure it properly
7ba3571 to
9319f23
Compare
nemesifier
left a comment
There was a problem hiding this comment.
I am not seeing any change, weird:
Screencast.from.2026-01-23.15-25-00.mp4
What about the name of the example file? I don't understand why it contains "nodeTiles", it sounds misleading to me.
Are you moving forward also with the test for this?
| z-index: 1000; | ||
| max-width: 90%; | ||
| text-align: center; | ||
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); |
There was a problem hiding this comment.
I think it would be good to move all the CSS logic to one file so it can be shared between different examples which need further explanation.
e000813 to
f502b36
Compare
Netjsongraph.js_.Examples.mp4 |
| z-index: 1000; | ||
| max-width: 90%; | ||
| text-align: center; | ||
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); |
There was a problem hiding this comment.
Can we extract this to a dedicated CSS so we can reuse it across different examples.
Can you also add a close button?
|
|
||
| themeToggle.addEventListener('click', () => { | ||
| htmlElement.classList.toggle('dark-mode'); | ||
| themeToggle.addEventListener("click", () => { |
Are you moving forward with this? |
|
closed this pr in support of this ->#498 |
Summary
netjsonmap-nodeTiles.htmltonetjsonmap-overrideData.htmlfor clarity (file name now matches its purpose)Related Issue
#492
Test plan