Skip to content

[Fix-8624][UI-Next][V1.0.0-Alpha] Rectify the issue to display the timing form when clicking the timing button in the process definition page.#8704

Merged
songjianet merged 2 commits intoapache:devfrom
calvinjiang:f-timing-process-difinition
Mar 5, 2022
Merged

[Fix-8624][UI-Next][V1.0.0-Alpha] Rectify the issue to display the timing form when clicking the timing button in the process definition page.#8704
songjianet merged 2 commits intoapache:devfrom
calvinjiang:f-timing-process-difinition

Conversation

@calvinjiang
Copy link
Copy Markdown
Contributor

Purpose of the pull request

This PR will close #8624 .

Brief change log

Verify this pull request

This change added tests and can be verified as follows:

  • Manually verified the change by testing locally.
    image

@songjianet songjianet added bug Something isn't working UI ui and front end related labels Mar 5, 2022
timingState.timingForm.startEndTime = [
new Date(props.row.startTime),
new Date(props.row.endTime)
props.row.startTime? new Date(props.row.startTime) : new Date(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You can use props.row.crontab to determine whether timeForm init is needed. Beause timeForm.crontab and other's needs to be initialized.

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.

No problem. I'll improve that.

@devosend
Copy link
Copy Markdown
Contributor

devosend commented Mar 5, 2022

LGTM

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Copy Markdown
Member

@songjianet songjianet left a comment

Choose a reason for hiding this comment

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

LGTM

@songjianet songjianet merged commit 26f5066 into apache:dev Mar 5, 2022
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.30%. Comparing base (6dc4be5) to head (8da1e25).
⚠️ Report is 2867 commits behind head on dev.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #8704      +/-   ##
============================================
- Coverage     45.31%   45.30%   -0.02%     
  Complexity     4075     4075              
============================================
  Files           700      700              
  Lines         27050    27050              
  Branches       2894     2894              
============================================
- Hits          12258    12255       -3     
- Misses        13636    13643       +7     
+ Partials       1156     1152       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

bug Something isn't working UI ui and front end related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][UI-Next][V1.0.0-Alpha] click timing error in process definition page

4 participants