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

[ACA-3692] - Add completed date/due date/started date filter #6145

Merged
merged 11 commits into from Sep 24, 2020

Conversation

SilviuCPopa
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://issues.alfresco.com/jira/browse/ACA-3692

What is the new behaviour?

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Silviu Popa seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@VitoAlbano
Copy link
Contributor

Please fix the unit tests

@popovicsandras popovicsandras changed the title [ACA-3692] - Add completed date filter [ACA-3692] - Add completed date/due date/started date filter Sep 23, 2020
Copy link
Contributor

@popovicsandras popovicsandras left a comment

Choose a reason for hiding this comment

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

Given the close deadline, I approve it, but please for the marked duplication types create a separate Jira ticket in the next Technical Debt/Maintenance epic and assign to yourself and put into the sprint. (I think it is quite clear what I mean by the marked duplications, otherwise, let's discuss)

}
}

set completedFrom(completedFrom: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplication type #1

@@ -170,18 +170,22 @@ export class EditTaskFilterCloudComponent implements OnInit, OnChanges, OnDestro

getFormControlsConfig(taskFilterProperties: TaskFilterProperties[]): any {
const properties = taskFilterProperties.map((property: TaskFilterProperties) => {
if (!property.rangeKeys) {
return { [property.key]: property.value };
if (!!property.attributes) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplication type #2

@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2020

Codecov Report

Merging #6145 into develop will increase coverage by 3.08%.
The diff coverage is 84.69%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6145      +/-   ##
===========================================
+ Coverage    75.33%   78.41%   +3.08%     
===========================================
  Files          624      339     -285     
  Lines        14803     9277    -5526     
  Branches      3089     1880    -1209     
===========================================
- Hits         11152     7275    -3877     
+ Misses        2722     1421    -1301     
+ Partials       929      581     -348     
Impacted Files Coverage Δ
.../components/edit-process-filter-cloud.component.ts 75.00% <72.22%> (+1.63%) ⬆️
...ers/components/edit-task-filter-cloud.component.ts 74.14% <75.00%> (+1.28%) ⬆️
...ocess-filters/models/process-filter-cloud.model.ts 78.68% <86.20%> (+3.68%) ⬆️
...lib/task/task-filters/models/filter-cloud.model.ts 78.94% <87.50%> (+1.67%) ⬆️
...n/date-range-filter/date-range-filter.component.ts 92.59% <93.33%> (-1.86%) ⬇️
...mon/date-range-filter/date-range-filter.service.ts 86.36% <100.00%> (-0.60%) ⬇️
...ss-list/components/process-list-cloud.component.ts 80.20% <100.00%> (+0.63%) ⬆️
...s-list/models/process-cloud-query-request.model.ts 95.65% <100.00%> (+0.65%) ⬆️
...ponents/unknown-format/unknown-format.component.ts
lib/core/form/components/widgets/index.ts
... and 465 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 902b863...8e77c84. Read the comment docs.

@popovicsandras popovicsandras merged commit b5ae4eb into develop Sep 24, 2020
@popovicsandras popovicsandras deleted the dev-spopa-ACA-3692 branch September 24, 2020 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants