nycmeshnet / meshdb

A convenient, stable, and sane database for tracking Members and Nodes for use with robots and humans
https://db.mesh.nycmesh.net
MIT License
8 stars 13 forks source link

Add buttons to view devices in UISP and Installs in OSTicket #474

Closed WillNilges closed 2 weeks ago

WillNilges commented 1 month ago

What it says on the tin, plus we now have an ExternalHyperlinkWidget that we can use to create more of these for other services if it comes up.

Closes #419 Closes #404

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.02%. Comparing base (ef13dbe) to head (2eccb6b). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #474 +/- ## ========================================== + Coverage 92.94% 93.02% +0.07% ========================================== Files 64 64 Lines 2325 2350 +25 ========================================== + Hits 2161 2186 +25 Misses 164 164 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Andrew-Dickinson commented 2 weeks ago

Can you add this to links also? they also have a UISP ID

Does what you've done appear on sectors and APs also?

WillNilges commented 2 weeks ago

Can you add this to links also? they also have a UISP ID

Does what you've done appear on sectors and APs also?

Can you give me an example of what a link's url looks like in UISP? Pulling up this link isn't working for me: https://db.mesh.nycmesh.net/admin/meshapi/link/609/change/?_changelist_filters=q%3D365

Andrew-Dickinson commented 2 weeks ago

Oh bummer you’re right I don’t think it supports deep-linking to links :(

Andrew-Dickinson commented 2 weeks ago

The best we could do would be to call the UISP API and describe the link and then hyperlink to one of the endpoints, but gross

WillNilges commented 2 weeks ago

I can make it work on sectors. I can also add it to access points, but I don't see any UISP IDs for them, at least in my copy of the DB.