Skip to content

Comments

Add users by role to the champion dashboard#16

Merged
jonkeane merged 3 commits intomainfrom
champion_users_by_role
Jan 9, 2026
Merged

Add users by role to the champion dashboard#16
jonkeane merged 3 commits intomainfrom
champion_users_by_role

Conversation

@jonkeane
Copy link
Contributor

@jonkeane jonkeane commented Jan 6, 2026

Here is what this looks like against my local connect (which only has one account right now, so isn't super exciting):

image

Comment on lines +597 to +601
ui.div(
ui.div("Active Users by Role", class_="card-title"),
ui.output_ui("active_users_by_role"),
class_="content-card"
),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if this actually was hidden if we got back 0s/nones in the data. But maybe that's optimizing for a state we don't ever really expect people to be in.

return ui.tags.table(
ui.tags.thead(header_row),
ui.tags.tbody(*table_rows),
class_="oauth-association-table"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name here seems unrelated. Maybe the oauth-association-table needs to renamed since it's being reused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, absolutely. God catch, thanks!

@jonkeane jonkeane merged commit 627716c into main Jan 9, 2026
13 checks passed
@jonkeane jonkeane deleted the champion_users_by_role branch January 9, 2026 23:43
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