schmidtocean / sealog-client-vehicle

Sealog Client intended for use with vehicles deployed from research vessels such as ROVs, AUVs and HOVs
MIT License
0 stars 0 forks source link

coords format select #6

Closed KaarelRaeis-SOI closed 2 months ago

KaarelRaeis-SOI commented 4 months ago

Right-click select format?

Would be a great use of shadcn/ui context menu https://ui.shadcn.com/docs/components/context-menu

KaarelRaeis-SOI commented 2 months ago

Didn't end up using right-click context menus, just a left-click feature

Initially planned to leave the function in misc/utils.js but the code ended up growing to slightly unreasonable length in many iterations to catch all edge-cases a not be FK specific

adds a coords_format_cycler.js component and tweaks event_history and event_details views

Tested on cloud-dev and deployed to production