nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
175 stars 63 forks source link

Start moving the UI/UX to LiveView #1335

Closed joshk closed 1 week ago

joshk commented 3 weeks ago

The core of this PR is the transition from the older style Phoenix controllers to LiveViews for web interactions.

I've started with all Org focused pieces first. This includes the following URLs:

/orgs
/orgs/new
/org/:org_name
/org/:org_name/new
/org/:org_name/settings/keys
/org/:org_name/settings/keys/new
/org/:org_name/settings/users
/org/:org_name/settings/users/invite
/org/:org_name/settings/users/:user_id/edit
/org/:org_name/settings/certificates
/org/:org_name/settings/certificates/new
/org/:org_name/settings/certificates/:serial/edit
/org/:org_name/settings

I've also added tests for all these pages and interactions. These tests are more complete than the previous ones as forms are being filled in and submitted.

I've also included a few features along the way:

And fixed some bugs which exist in the current UI.