Skip to content
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

Team broker client UI #4646

Draft
wants to merge 15 commits into
base: emqx-backend-update
Choose a base branch
from
Draft

Conversation

hardillb
Copy link
Contributor

fixes #4433

Description

Starts to add the UI for adding Broker Clients

Still needs a lot of work

#1350

Related Issue(s)

#4433

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

Still needs create, delete and edit hooking up
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.57%. Comparing base (bbcf663) to head (1c208c0).

Additional details and impacted files
@@                   Coverage Diff                   @@
##           emqx-backend-update    #4646      +/-   ##
=======================================================
- Coverage                78.67%   78.57%   -0.11%     
=======================================================
  Files                      310      309       -1     
  Lines                    14594    14532      -62     
  Branches                  3334     3308      -26     
=======================================================
- Hits                     11482    11418      -64     
- Misses                    3112     3114       +2     
Flag Coverage Δ
backend 78.57% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hardillb
Copy link
Contributor Author

@joepavitt this is functional enough for me to test things, but needs a lot of love.

I also need to write the backend API for edits to the ACL and to allow password changes. Will get those done tomorrow.

@joepavitt
Copy link
Contributor

@cstns how you looking on Visual History? Need me to jump in here, or could you finish both, visual history and this by Thursday next week?

@cstns
Copy link
Contributor

cstns commented Oct 16, 2024

I think I could tackle both! My best guess is that the Visual History ui will be done by the end on this week and can jump to this one afterwards.

@hardillb
Copy link
Contributor Author

Couple of points

  • create/edit/delete should only be available to team owner
  • dashboard only users should not have access

@cstns cstns self-assigned this Oct 16, 2024
@hardillb
Copy link
Contributor Author

Also when displaying the username, it should have @[teamHashId] added to the end.

e.g. is username alice is created in a team with a hash id of 1234abc then the username should be displayed as alice@1234abc

Might be worth adding another dialog shown after creating a user that shows the username (and client id with the same value) and the topics.

@hardillb hardillb mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants