Skip to content

Add CopyMails component#381

Open
p-predolac wants to merge 1 commit into
mainfrom
fetch_all_email_issue_240
Open

Add CopyMails component#381
p-predolac wants to merge 1 commit into
mainfrom
fetch_all_email_issue_240

Conversation

@p-predolac

Copy link
Copy Markdown
Contributor

Added option Copy Emails to Admin Tools and copied the code from roster related to Copying emails. I left members list, so that Admin can see the names corresponding to email.

Please advise if this is what was meant in issue 240

@p-predolac p-predolac self-assigned this Jan 25, 2026
@p-predolac p-predolac added the Enhancement New feature or request label Jan 25, 2026
@netlify

netlify Bot commented Jan 25, 2026

Copy link
Copy Markdown

Deploy Preview for stuyepsilon ready!

Name Link
🔨 Latest commit ef5f683
🔍 Latest deploy log https://app.netlify.com/projects/stuyepsilon/deploys/69758ff6a9dc850008ef2a8b
😎 Deploy Preview https://deploy-preview-381--stuyepsilon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


const stuyActivitiesAdminLinks: LinkItem[] = [
{ to: `${main}/admin/messages`, display: "Messages" },
{ to: `${main}/admin/copyemails`, display: "Copy Emails" },

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should this be added to (so that Admins of a club see it) or only site Admins?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only site admins

@SnowyNate SnowyNate linked an issue Jan 25, 2026 that may be closed by this pull request
@SnowyNate

Copy link
Copy Markdown
Member

Looking good, some suggestions:

For simplicity, could you rename the page and its references to "Roster" instead of "Copy Emails"? Access should be granted to Club&Pub admins, as well as club administrators. The page in the menubar should only be visible if a user is a club admin or Club&Pub admin, like other admin tools (see the user admin checks for the admin tools pages, such as Join Requests, which are not visible if you are browsing the club as a regular member.)
image

The emails that are shown/able to be copied should only be the ones of club members who have club admin access (including creators/presidents/directors of the club).

@p-predolac

Copy link
Copy Markdown
Contributor Author

Looking good, some suggestions:

For simplicity, could you rename the page and its references to "Roster" instead of "Copy Emails"?

There is already option "Roster" visible when as a site admin I click into the club that I am creator of, or admin of. The only time that option is not visible is when I click into the club that I am only member of (when I see only messages). Please clarify if you want me to:

a) Add option for site-admins called 'Roster' that would appear in "Admin Tools" section of the menu if user is site-admin and is member of some activity, so that click takes user to the screen where Copy button copies only Admin and Creator emails of that activity, or

b) Add option for site admins even for activities where they are creators, or admins, but in that case option cannot be called 'Roster' since it already exists

The emails that are shown/able to be copied should only be the ones of club members who have club admin access (including creators/presidents/directors of the club).
Understood

@SnowyNate

Copy link
Copy Markdown
Member

Sorry about that- I phrased it poorly

I would like the Roster page, which already exists, to also be available to Club&Pub admins, instead of just club admins. Another copy email section should be added to the Roster page with just the emails of club admins/creators/directors. See the image for reference:
image

@p-predolac p-predolac force-pushed the fetch_all_email_issue_240 branch from bd7b130 to ef5f683 Compare January 25, 2026 03:37
@p-predolac

Copy link
Copy Markdown
Contributor Author

I redacted real email, but it looks like this
Screenshot 2026-01-24 at 10 48 57 PM

@SnowyNate

Copy link
Copy Markdown
Member

Sorry for the long delay, looks really great! However, the Roster page still isn't visible to Club&Pub sitewide admins, and only to club admins. Could you fix that so both Club&Pub sitewide admins as well as club admins have access to the Roster page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow fetching all club admin/creator emails from C&P admin panel

2 participants