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

Add a tooltip for slack notification #18787

Merged
merged 1 commit into from Jun 7, 2023

Conversation

AllForNothing
Copy link
Contributor

@AllForNothing AllForNothing commented Jun 5, 2023

1.Fixes #18507
2.Remind the users of Slack's rate limits
image

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@AllForNothing AllForNothing requested a review from a team as a code owner June 5, 2023 03:54
@AllForNothing AllForNothing added the release-note/enhancement Label to mark PR to be added under release notes as enhancement label Jun 5, 2023
@AllForNothing
Copy link
Contributor Author

@OrlinVasilev Can you help to review the English text for the added tooltip?
We want to remind the users of the rate limits for Slack(https://api.slack.com/docs/rate-limits)

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #18787 (0d79168) into main (61d74b9) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #18787      +/-   ##
==========================================
+ Coverage   67.34%   67.36%   +0.02%     
==========================================
  Files         980      980              
  Lines      106864   106864              
  Branches     2665     2665              
==========================================
+ Hits        71964    71992      +28     
+ Misses      31032    31004      -28     
  Partials     3868     3868              
Flag Coverage Δ
unittests 67.36% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes

src/portal/src/i18n/lang/en-us-lang.json Outdated Show resolved Hide resolved
src/portal/src/i18n/lang/de-de-lang.json Outdated Show resolved Hide resolved
@@ -432,7 +432,8 @@
"EVENT_TYPE_REQUIRED": "Require at least one event type",
"PAYLOAD_FORMAT": "Payload Format",
"CLOUD_EVENT": "CloudEvents",
"PAYLOAD_DATA": "Payload Data"
"PAYLOAD_DATA": "Payload Data",
"SLACK_RATE_LIMIT": "Please be ware of the rate limits for Slack"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"SLACK_RATE_LIMIT": "Please be ware of the rate limits for Slack"
"SLACK_RATE_LIMIT": "Please be aware of Slack Rate Limits"

src/portal/src/i18n/lang/fr-fr-lang.json Outdated Show resolved Hide resolved
@@ -463,7 +463,8 @@
"EVENT_TYPE_REQUIRED": "Pelo menos um tipo de evento é obrigatório",
"PAYLOAD_FORMAT": "Payload Format",
"CLOUD_EVENT": "CloudEvents",
"PAYLOAD_DATA": "Payload Data"
"PAYLOAD_DATA": "Payload Data",
"SLACK_RATE_LIMIT": "Please be ware of the rate limits for Slack"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"SLACK_RATE_LIMIT": "Please be ware of the rate limits for Slack"
"SLACK_RATE_LIMIT": "Please be aware of Slack Rate Limits"

src/portal/src/i18n/lang/tr-tr-lang.json Outdated Show resolved Hide resolved
@@ -430,7 +430,8 @@
"EVENT_TYPE_REQUIRED": "请至少选择一种事件类型",
"PAYLOAD_FORMAT": "载荷形式",
"CLOUD_EVENT": "CloudEvents",
"PAYLOAD_DATA": "载荷数据"
"PAYLOAD_DATA": "载荷数据",
"SLACK_RATE_LIMIT": "请注意 Slack 的速率限制"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"SLACK_RATE_LIMIT": "请注意 Slack 的速率限制"
"SLACK_RATE_LIMIT": "Please be aware of Slack Rate Limits"

src/portal/src/i18n/lang/zh-tw-lang.json Outdated Show resolved Hide resolved
@OrlinVasilev
Copy link
Member

@AllForNothing suggested changes

@AllForNothing
Copy link
Contributor Author

@OrlinVasilev Thanks for the comments. PR updated

Copy link
Member

@OrlinVasilev OrlinVasilev left a comment

Choose a reason for hiding this comment

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

lgtm

1.Fixes goharbor#18507
2.Remind the users of Slack's rate limits

Signed-off-by: AllForNothing <sshijun@vmware.com>
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 merged commit 2f51daf into goharbor:main Jun 7, 2023
12 checks passed
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
1.Fixes goharbor#18507
2.Remind the users of Slack's rate limits

Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: Wilfred Almeida <60785452+WilfredAlmeida@users.noreply.github.com>
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
1.Fixes goharbor#18507
2.Remind the users of Slack's rate limits

Signed-off-by: AllForNothing <sshijun@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/enhancement Label to mark PR to be added under release notes as enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tooltip to remind webhook slack rate limit
5 participants