GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
22 stars 9 forks source link

✨ Create Communities pages #10361

Closed tristan-orourke closed 2 months ago

tristan-orourke commented 5 months ago

✨ Feature

Create pages where Communities can be created, can be edited, and Community Managers and Community Recruiters can be added.

🕵️ Details

These pages can basically be a reflavour of the Teams pages.

Who can access these pages:

Create new graphql queries and mutations as necessary for these pages to work.

For users with the appropriate roles, ensure the appropriate links appear on the Admin Dashboard page and the nav menu.

🎨 Design File

Figma file by @Jerryescandon

📸 Screenshot

📸 Table

![COMMUNITY TABLE-2](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/6a0bfdb0-ebe7-4a30-96ed-a89eff18cd5e)

📸 Create a new community

![COMMUNITY TABLE](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/1524fa96-c79f-41ce-8d64-cb311edca443)

📸 Information Tab

![COMMUNITY TABLE](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/72d78eb9-1dcc-4b6b-8540-5a745a63005d) ![COMMUNITY TABLE](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/22165240-35d7-441b-bc8d-0f7fd129cbcb)

📸 Manage Access Tab

![COMMUNITY TABLE-1](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/e12ac29e-487d-4b81-8d0e-300d1c0cd20e)

📸 Modals

![image](https://github.com/GCTC-NTGC/gc-digital-talent/assets/16977254/a16b4667-7eae-4dbc-a378-c11f29b889a3)

📸 Dashboard and menu buttons

![image](https://github.com/GCTC-NTGC/gc-digital-talent/assets/8978655/f03f93d8-2f77-4295-aed5-0bdc470c091b)

🙋‍♀️ Proposed Implementation

For assigning/removing roles, use the mutation deleveloped in #10351.

GraphQL details TBD

🌎 Localization

(optional) Provide any new copy along with translations available.

✅ Acceptance Criteria

A set of assumptions which, when tested, verify that the feature was properly implemented.

OUT OF SCOPE:

🛑 Blockers

Issues which must be completed before this one.

### Blocked By
- [ ] #10351
- [ ] https://github.com/GCTC-NTGC/gc-digital-talent/issues/10349

Deployment

Use the new UI to assign users who currently have to Community Manager or Request Responder roles to Community Admin and Community Recruiter in the appropriate community. (Consult @gobyrne )

github-actions[bot] commented 5 months ago

Status: Error :warning:

Issues blocking this PR:

petertgiles commented 5 months ago

Let's nail down URLs, too, in the design process.

petertgiles commented 4 months ago

I will merge with https://github.com/GCTC-NTGC/gc-digital-talent/issues/10442

mnigh commented 2 months ago

@tristan-orourke a few questions related to roles:

Community Admins and Community Recruiters can view the Communities they're in, and their team members

  1. can a user with either of those roles view communities they are not in?

Community Admins can edit Community details and assign Community Recruiters

  1. can a user with a Community Admin role edit community details for communities that they do not belong to? can a user with a Community Admin role manage members for communities that they do not belong to?
  1. if "Maintaining the platform" is for platform_adminand "Publishing pools and managing teams" is for community_manager, should community_admin and community_recruiter have their own admin dashboard section with a button for Communities?
tristan-orourke commented 2 months ago
  1. Community details are public information, however, Community Admins and Community Recruiters cannot see the members of other communities.
  2. A Community Admin cannot edit the details or members of a community they are not an Admin for.
  3. Don't worry about adding a new section right now, just add a Communities link next to the Teams links.