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

[ENG-6665] Add user messaging modal to user's tab on institutional dashboard #2421

Conversation

Johnetordoff
Copy link
Collaborator

@Johnetordoff Johnetordoff commented Dec 5, 2024

⚠️ Needs CenterForOpenScience/osf.io#10824 for API usaage.

Purpose

Adds a modal that allows an institutional admin to send a message through a text input as part of an email template.

Summary of Changes

  • add user-message modal
  • modifies component to allow for model logic
  • Add modal to template with styling

Screenshot(s)

Screenshot 2024-12-05 at 8 02 44 AM
Screenshot 2024-12-11 at 2 15 25 PM
Screenshot 2024-12-05 at 8 02 00 AM

Side Effects

QA Notes

@coveralls
Copy link

coveralls commented Dec 5, 2024

Pull Request Test Coverage Report for Build 12303026020

Details

  • 2 of 28 (7.14%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 64.78%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/adapters/user-message.ts 1 3 33.33%
app/institutions/dashboard/-components/institutional-users-list/component.ts 1 25 4.0%
Totals Coverage Status
Change from base Build 12282491781: -0.1%
Covered Lines: 6970
Relevant Lines: 10341

💛 - Coveralls

@Johnetordoff Johnetordoff force-pushed the institutional-access-user-message-modal branch from e91a7f1 to 8375eb7 Compare December 6, 2024 15:02
@Johnetordoff Johnetordoff marked this pull request as ready for review December 6, 2024 15:13
Copy link
Contributor

@futa-ikeda futa-ikeda left a comment

Choose a reason for hiding this comment

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

Did a quick drive-by review. Looks pretty good, just some a11y and FE convention stuff

@Johnetordoff
Copy link
Collaborator Author

@futa-ikeda Based on the ARB, we decided we wanted two additional features here:

  1. a checkbox that CC you the email you sent
  2. a checkbox that puts your email address as the reply-to header

So bare with me as I address your comments, but also add those two things in the next iteration.

@Johnetordoff Johnetordoff force-pushed the institutional-access-user-message-modal branch from 7c80ef4 to 28aadaf Compare December 12, 2024 18:57
…er-osf-web into institutional-access-user-message-modal

* 'develop' of https://github.com/CenterForOpenScience/ember-osf-web:
  Update CHANGELOG, bump version
  [ENG-5024] Feature/dashboard b and i (CenterForOpenScience#2429)

# Conflicts:
#	app/institutions/dashboard/-components/institutional-users-list/component.ts
Copy link
Contributor

@futa-ikeda futa-ikeda left a comment

Choose a reason for hiding this comment

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

Looks good! Just a couple of minor suggestions...

@brianjgeiger
Copy link
Contributor

@Johnetordoff This should be pointing to a feature branch based off of develop, please.

@Johnetordoff Johnetordoff changed the base branch from develop to feature/institutional-dashboard December 16, 2024 18:33
@Johnetordoff Johnetordoff changed the base branch from feature/institutional-dashboard to feature/institutional-access December 16, 2024 18:38
Copy link
Contributor

@futa-ikeda futa-ikeda left a comment

Choose a reason for hiding this comment

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

Looks good!

@Johnetordoff Johnetordoff merged commit 5bbb5a3 into CenterForOpenScience:feature/institutional-access Dec 18, 2024
9 checks passed
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.

4 participants