-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#23] Add example user interface implementation #25
[#23] Add example user interface implementation #25
Conversation
@michelleFranke Thanks for the PR, this looks very nice and very useful! In fact, it would be good to have such a device-management UI in the Hono repository itself, being more prominent there. Another thing: could you add a copyright header to the source files (mainly the typescript files)?
|
At this PR we have created an example user interface for a Google Cloud based deployment. The UI is able to communicate with the Device Registry API and the Device Communication API. - Added new module to support a user interface based on Angular 15 - Added components for tenants, devices, credentials, configs and states - Added services for communicating with the APIs - Added Dockerfile - Updated Readme Signed-off-by: michelle <m.franke@sotec.eu>
9690948
to
f456ab4
Compare
fixed loader interceptor, updated unittest for device service, removed unnecessary variable in device modal add via in device detail view, remove functions in bound devices list remove gateway / device differentiation logic and add mocks update save functionality add body with via, add isGateway logic, add async call add gateway list component & functionality to filter for gateways remove gateways & devices under gateways in devices list show devices under gateway, optimize filter function add devices via functionality, fix wrong count of devices, add list all functionality Signed-off-by: michelle <m.franke@sotec.eu>
filter lists of selectable devices in modals fix bind after refactoring refactor bind device method - moved to device detail - adjusted button to match rest of the page remove delete device button in bound devices list fix list in bind devices modal - only devices that are not gateways are shown implement display of tooltip dependent on modal update list on modal close rename and replace subcomponent name refresh lists when changing tab devices gateways fix create device modal - fixed validation - fixed create function modals api calls - reworking the loop to use whole device so we can use the device via started changing to common reusable descriptions fixed modal closing console error fixed console error when dismissing modal extended Create Gateway Modal extending create gateway modal fix display gateway box when removing all items updated Device Detail Component to be reused - prepared for check if device is gateway - added Tab for bound devices - added function to switch out title and labels add tab nav to tenant detail - displaying Gateways and Devices via Tabs add create gateway modal add device list in bound devices tab add search for selecting device as gateway refactor Lists in Modal - extended Device class with optional parameter - implemented check uncheck function added component to create device modal - created new subcomponent - moved list and logic to subcomponent - check / uncheck not finished add area for checked devices used as gateways WIP gateways feature - extended Service - extended List Calls Signed-off-by: patrick <p.koelle@sotec.eu>
…al with a public key list-authentication delete bug fix and clean up fixed pagination in bind-devices-modal fixes due to the review change isGateway device registry query parameter bug fixed. gateway is displayed in the list directly after creation (creation time still missing) bind devices button deleted from the device detail page of devices that are already bound to a gateway added unbind devices functionality added bind devices functionality working on bind-devices-modal component bind-devices-modal component added bind and unbind devices edited tab "Bound Devices" for gateways overworked tab "Bound Devices" for gateways added Signed-off-by: Muhammed <m.oeztuerk@sotec.eu> Signed-off-by: Matthias Kaemmer <m.kaemmer@sotec.eu>
fix put request Signed-off-by: g.dimitropoulos <g.dimitropoulos@sotec.eu>
Fixed pagination bug Signed-off-by: Hoang Sa Nguyen <h.nguyen@sotec.eu>
Signed-off-by: julian <j.hauth@sotec.eu> Signed-off-by: Matthias Kaemmer <m.kaemmer@sotec.eu>
…ces-modal.component to create-and-bind-modal.component Signed-off-by: Muhammed <m.oeztuerk@sotec.eu>
Good morning @calohmn I took over this frontend PR from michelleFranke. The option you mentioned to first merge this PR into Hono-extras sounds good. Regarding the above mentioned changes to the optional google service integration, the optional device communication API and the moving of the UI to the Hono repository itself is a good idea in our opinion, that we can discuss at a later point together. I will add the copyright headers to the source files. There are also some improvements in usabilty and support for gateways has been added. Those changes will be commited soon and will be part of this PR. |
Hi @calohmn , I just pushed the recent changes, which mainly includes support for gateways, request-response commands, general UI improvements and including the header into the source files. |
ec6493f
to
b4472d7
Compare
@sanguyen123 Thanks for following up on this. As this is a quite large contribution, there is an IP check required. I've created a corresponding ticket. This will possibly take some days to be reviewed. |
Added copyright header to source files Added exact search in device/gateway list and service Signed-off-by: Hoang Sa Nguyen <h.nguyen@sotec.eu>
b4472d7
to
0c51c23
Compare
Hi @calohmn the two referenced SVGs fall under the free license of fontawesome and are open source / GPL friendly. I updated the SVGs to the newest svg-code from the offical website. Now it also states that it is Font Awesome Free. I hope this clarifies it. For reference: https://fontawesome.com/license/free |
@sanguyen123 Thanks, the changes got approved in the IP check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot for the contribution!
@sanguyen123 I've added #28 and #29 as follow-ups. |
Hi @calohmn - While it is great that the UI has been merged now - I have one little thing that I like to ask here: |
@julian-sotec Sorry, as we usually squash PRs into one commit in Hono, I did so here as well, listing the individual authors in the commit message. If you prefer, I could add a commit that reverts the changes, so that you can then create a new PR based on the branch used here. That PR can then be completed without squashing. |
Hi @calohmn - thank you for clarifying this for us - I usually would expect to have only one commit - and ideally a small one. |
@julian-sotec The changes have been reverted now. As for the 2nd point: My initial idea was, that just copying the UI files from the hono-extras repo to the Hono repo and then doing one commit there would be a lot easier than copying the commits somehow. But thinking more about it, the latter also seems rather straightforward (adding hono-extras repo as remote to the local hono repo, fetching, and then cherry-picking the commits with the UI changes). |
@calohmn sounds perfect to me, thanks! |
At this PR we have created an example user interface for a Google Cloud based deployment. The UI is able to communicate with the Device Registry API and the Device Communication API.