dfinity / dfinity/orbit

Sort groups in users table

Open
#592 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
43
Forks
18
Avg merge
2d 19h
Merged PRs (30d)
6

Description

Small feature request: may you please sort the groups in the users table in column User Groups, when rendering the list of groups for each user?

For example: Developer, Reviewer, Admin --> Admin, Developer, Reviewer

The snippet could something like this

<template #item.user_groups="{ item: user }">
              {{ user.groups.slice().sort((a, b) => a.name.localeCompare(b.name)).map(ug => ug.name).join(', ') }}
</template>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the frontend for the users-table template slot #item.user_groups and the User Groups column, then inspect how each user's groups are rendered. Confirm the displayed group names are alphabetized, such as Admin, Developer, Reviewer, and verify the users table still renders correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.