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

[Task-1386] When adding tags in tag management, random colors are given by default. #1412

Merged
merged 5 commits into from
Dec 10, 2023

Conversation

prolevel1
Copy link
Contributor

What's changed?

Whenever we add a new tag from a the Tag Management, a random color will be given by default to that Tag
image

Checklist

  • I hereby agree to the terms of the HertzBeat CLA
  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@prolevel1 prolevel1 marked this pull request as draft December 9, 2023 09:33
@prolevel1 prolevel1 marked this pull request as ready for review December 9, 2023 09:33
@tomsun28 tomsun28 added enhancement New feature or request good first pull request Good for newcomers labels Dec 9, 2023
@tomsun28 tomsun28 added this to the 1.4.4 milestone Dec 9, 2023
Copy link
Contributor

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

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

LGTM👍👍 and please fix the eslint code warning.

/home/runner/work/hertzbeat/hertzbeat/web-app/src/app/pojo/Tag.ts
  14:12  error  Unexpected string concatenation  prefer-template

✖ 1 problem (1 error, 0 warnings)
Lint errors found in the listed files.

  1 error and 0 warnings potentially fixable with the `--fix` option.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

@tomsun28
Copy link
Contributor

@all-contributors please add @prolevel1 for code

@tomsun28 tomsun28 merged commit 4a4e1a0 into apache:master Dec 10, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first pull request Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] When adding tags in tag management, random colors are given by default.
2 participants