Skip to content

Conversation

@scefali
Copy link
Contributor

@scefali scefali commented Oct 12, 2023

We only support the email provider for weekly reports. Also, we can hide the dropdown for organization for deploy notifications.

Before:

Screen Shot 2023-10-12 at 11 32 01 AM Screen Shot 2023-10-12 at 11 31 08 AM

After:
Screen Shot 2023-10-12 at 11 11 01 AM

Screen Shot 2023-10-12 at 11 26 05 AM

@scefali scefali requested a review from snigdhas October 12, 2023 18:12
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 12, 2023
@scefali scefali changed the title fix(notifications): hide provider option for weekly reports fix(notifications): hide provider option for weekly reports and fix org specific settings Oct 12, 2023
>
<BottomJsonForm fields={this.getProviderFields()} />
</Form>
) : null}
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this handle saving the data correctly? As in, will this set NotificationSettingProvider for email?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@snigdhas Yes, I verified. It all goes to the control silo so it's fine. I think the problem is that to get the projects you have to pick the region silo but not an issue for the organization which has replication in the control silo.

@scefali scefali requested review from scttcper and snigdhas October 12, 2023 20:32
handleOrgChange={handleOrgChange}
/>
) : (
t('Settings for Organizations')
Copy link
Member

Choose a reason for hiding this comment

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

for all organizations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@scttcper yea, should be all

@scefali scefali merged commit 6f91716 into master Oct 13, 2023
@scefali scefali deleted the fix/notification-report-providers branch October 13, 2023 19:48
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants