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

New Feature: Enable setting up Project visibility and Requesting access to a project #595

Merged
merged 17 commits into from
Aug 7, 2023

Conversation

vanessuniq
Copy link
Contributor

@vanessuniq vanessuniq commented Jun 24, 2023

This PR adds the following functionality to Vulcan:

  • Enable Admins to setup / edit visibility of a project (discoverable or hidden)
  • Allow non-members to search for, see discoverable projects on the project list, and request access to contribute
  • Allow admins to accept ( assign a role to the new member) / reject the access request

Screenshot 2023-06-25 at 4 24 14 AM

Screenshot 2023-06-25 at 4 02 55 AM

Screenshot 2023-06-25 at 4 03 09 AM

Screenshot 2023-06-25 at 3 19 50 AM

Fix #590

…ty for user to request access or cancel request, ability for admins to accept/reject access requests

Signed-off-by: Vanessa Fotso <[email protected]>
@vanessuniq vanessuniq added enhancement Pull requests that add a new feature javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code feature request labels Jun 24, 2023
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 05:30 Inactive
* Enable users with permissions to set up private slack channel for their projects/components and enable each user to set up direct slack notifications

Signed-off-by: Vanessa Fotso <[email protected]>

* Switch notifying users about error delivering slack notifications to logging the errors in the app logs

Signed-off-by: Vanessa Fotso <[email protected]>

* optimize user_mailer and associated views code

Signed-off-by: Vanessa Fotso <[email protected]>

* optimized the smtp notification workflow and updated to also notify users when membership updated or revoked

Signed-off-by: Vanessa Fotso <[email protected]>

* Refactored the slack workflow and updated to cover the review use case

Signed-off-by: Vanessa Fotso <[email protected]>

* Only project/component admins should be able to add/edit slackchannels

Signed-off-by: Vanessa Fotso <[email protected]>

* logic to determine which slack channel(s) should be notified

Signed-off-by: Vanessa Fotso <[email protected]>

* Setting default url for action mailer

Signed-off-by: Vanessa Fotso <[email protected]>

---------

Signed-off-by: Vanessa Fotso <[email protected]>
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 05:51 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 06:42 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 07:04 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 07:17 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 24, 2023 22:40 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 June 25, 2023 08:26 Inactive
Signed-off-by: Vanessa Fotso <[email protected]>
Signed-off-by: Vanessa Fotso <[email protected]>
@vanessuniq vanessuniq marked this pull request as ready for review July 9, 2023 17:04
Copy link
Contributor

@freddyfeelgood freddyfeelgood left a comment

Choose a reason for hiding this comment

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

Hey Vanessa, a couple of comments/discussion points:

  • On the Projects page, it looks like the alignment got changed to "center" for all the columns in the list. Can that be changed back to left-aligned?
  • Also on the Projects page, my personal opinion regarding the "filter discoverable" checkbox would be to flip the functionality. Meaning, by default, show only "my" projects or projects I'm already a member of, and when the checkbox is checked, then either:
  1. Show all of my projects, and include the discoverable projects.
  2. Show only discoverable projects (make the checkbox more of a "toggle")
  • Last comment - any thoughts (from anyone) on showing a more "generic" notification inside Vulcan regarding pending access requests? Meaning, maybe put an icon on the "Projects" menu link at the top that shows pending access requests (if I am an admin on any of the projects with access requests)? Reason being, if I don't have Slack or Email integration enabled, then the only way I'd know there were pending access requests is if I happen to actually open the project where the requests exist.

Otherwise everything looks great and seems to work as expected.

@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 July 14, 2023 16:21 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 July 17, 2023 20:53 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 July 17, 2023 21:17 Inactive
Signed-off-by: Vanessa Fotso <[email protected]>
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-595 July 17, 2023 21:35 Inactive
@vanessuniq
Copy link
Contributor Author

Updated project's page filter, added notification bell on the top menu for pending requests.

Screenshot 2023-07-17 at 4 51 22 PM
Screenshot 2023-07-17 at 4 51 14 PM

@freddyfeelgood
Copy link
Contributor

Hey Vanessa, I'm good with how everything looks and functions, with one "future" caveat. When I have the toggles set to Show My Projects (but not the Discoverable ones), it doesn't show me all the projects I've been approved to be a member of. If I turn on the Discoverable toggle, then I see all projects and can go into the projects I am a member of. Maybe a future update?

@vanessuniq vanessuniq merged commit a3c1abe into master Aug 7, 2023
1 check passed
@vanessuniq vanessuniq deleted the project_visibility branch August 7, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests that add a new feature feature request javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Give admins the ability to mark a project as 'open'
2 participants