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

[AAE-3110] Move upload button inside the node selector dialog #5901

Merged
merged 16 commits into from Jul 31, 2020

Conversation

arditdomi
Copy link
Contributor

@arditdomi arditdomi commented Jul 22, 2020

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/AAE-3110

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:

@pr-triage pr-triage bot added the PR: draft label Jul 22, 2020
@arditdomi arditdomi changed the title Open select dialog on all types, fetch destination folder from a rela… [AAE-3110] Move upload button inside the node selector dialog Jul 22, 2020
@arditdomi
Copy link
Contributor Author

@@ -34,4 +34,6 @@ export interface ContentNodeSelectorComponentData {
showSearch?: boolean;
showFilesInResult?: boolean;
showDropdownSiteList?: boolean;
showUploadButton?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

showLocalUploadButton ?

@@ -342,6 +344,18 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
.subscribe(pagSize => {
this.maxItems = this._pagination.maxItems = pagSize;
});

this.uploadService.fileUploadComplete
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be better to have a NotificationService.nodesDataChanged().subscribe(this.reload)

@arditdomi arditdomi force-pushed the dev-adomi-AAE-3110 branch 2 times, most recently from 7deedbf to fc08f28 Compare July 28, 2020 14:40
@codecov-commenter
Copy link

codecov-commenter commented Jul 28, 2020

Codecov Report

Merging #5901 into develop will decrease coverage by 0.18%.
The diff coverage is 76.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5901      +/-   ##
===========================================
- Coverage    76.11%   75.93%   -0.19%     
===========================================
  Files          843      692     -151     
  Lines        18748    14589    -4159     
  Branches      3690     2844     -846     
===========================================
- Hits         14270    11078    -3192     
+ Misses        3363     2661     -702     
+ Partials      1115      850     -265     
Impacted Files Coverage Δ
...ib/core/form/components/widgets/core/form.model.ts 86.86% <ø> (ø)
...ponents/widgets/attach-file/upload-cloud.widget.ts 44.89% <0.00%> (-24.49%) ⬇️
...d/src/lib/form/models/task-variable-cloud.model.ts 0.00% <ø> (ø)
...rm/services/content-cloud-node-selector.service.ts 20.00% <0.00%> (ø)
...-cloud/src/lib/form/services/form-cloud.service.ts 67.39% <ø> (-3.20%) ⬇️
...lib/form/services/process-cloud-content.service.ts 40.00% <ø> (-2.86%) ⬇️
...ud/src/lib/form/components/form-cloud.component.ts 84.40% <50.00%> (-1.09%) ⬇️
.../attach-file/attach-file-cloud-widget.component.ts 94.11% <100.00%> (+1.26%) ⬆️
...rvices-cloud/src/lib/form/mocks/cloud-form.mock.ts 100.00% <0.00%> (ø)
... and 150 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 6dde977...67fe620. Read the comment docs.

@mauriziovitale mauriziovitale merged commit d553c71 into develop Jul 31, 2020
@mauriziovitale mauriziovitale deleted the dev-adomi-AAE-3110 branch July 31, 2020 05:39
@pr-triage pr-triage bot added the PR: merged label Jul 31, 2020
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

4 participants