smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Use server side JSON for node table #31

Closed smsearcy closed 1 year ago

smsearcy commented 2 years ago

Using a fetch for Grid.js to get JSON for the node table from another endpoint means we could use Pyramid's JSON renderer to simplify generating the node data and make the table HTML much simpler.

Similar to what I've done on the map view.

While Pyramid supports the __json__(), I think I prefer having the conversion done closer to the view.

smsearcy commented 1 year ago

Change of plans, going to try out HTMX for server-side tables. Will offer better sorting capabilities (at cost of putting more load on server).