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

PSP-7069 : Show ACQ team (organization) in filter by ACQ team in Acqu… #3566

Merged
merged 5 commits into from
Nov 3, 2023

Conversation

eddherrera
Copy link
Collaborator

…isition List View

image

@eddherrera eddherrera added the enhancement New feature or request label Nov 3, 2023
@eddherrera eddherrera self-assigned this Nov 3, 2023
Copy link
Contributor

github-actions bot commented Nov 3, 2023

✅ No secrets were detected in the code.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Merging #3566 (8dc292b) into dev (cdd4e5b) will increase coverage by 0.01%.
The diff coverage is 55.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #3566      +/-   ##
==========================================
+ Coverage   69.51%   69.52%   +0.01%     
==========================================
  Files        1369     1369              
  Lines       33634    33661      +27     
  Branches     6252     6260       +8     
==========================================
+ Hits        23380    23404      +24     
- Misses      10003    10005       +2     
- Partials      251      252       +1     
Flag Coverage Δ
unittests 69.52% <55.81%> (+0.01%) ⬆️

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

Files Coverage Δ
...rce/backend/api/Services/AcquisitionFileService.cs 73.81% <100.00%> (+0.26%) ⬆️
source/backend/dal/Models/AcquisitionFilter.cs 100.00% <ø> (ø)
...rtyDetailsManagement/activity/edit/InvoiceForm.tsx 2.85% <ø> (+0.15%) ⬆️
...d/src/hooks/repositories/useAcquisitionProvider.ts 71.11% <ø> (ø)
...ontend/src/hooks/pims-api/useApiAcquisitionFile.ts 32.35% <0.00%> (ø)
...quisition/Controllers/AcquisitionFileController.cs 50.43% <0.00%> (ø)
...ition/list/AcquisitionFilter/AcquisitionFilter.tsx 86.20% <33.33%> (-3.08%) ⬇️
...uisition/list/AcquisitionSearchResults/columns.tsx 78.00% <70.00%> (+10.35%) ⬆️
...kend/dal/Repositories/AcquisitionFileRepository.cs 21.19% <20.00%> (+0.12%) ⬆️

@@ -206,14 +206,14 @@ public IActionResult GetAcquisitionFileOwners([FromRoute] long id)
[HasPermission(Permissions.AcquisitionFileView)]
[HasPermission(Permissions.ContactView)]
[Produces("application/json")]
[ProducesResponseType(typeof(IEnumerable<PersonModel>), 200)]
[ProducesResponseType(typeof(IEnumerable<AcquisitionFileTeamModel>), 200)]
[SwaggerOperation(Tags = new[] { "acquisitionfile" })]
public IActionResult GetAcquisitionTeamMembers()
{
// TODO: This endpoint needs to be fixed to support ORGANIZATIONS as team members (which were introduced by PSP-6960)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this todo appears to have been addressed, can it be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

newModel.projectNameOrNumber = model.projectNameOrNumber;
newModel.searchBy = model.searchBy;
newModel.pin = model.pin;
newModel.pid = model.pid;
newModel.address = model.address;
console.log(model);
Copy link
Collaborator

Choose a reason for hiding this comment

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

console.log and debugger should be removed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

}

var filterOrgItems = options.filter(option => String(option.id).startsWith(selector));
console.log(filterOrgItems);
Copy link
Collaborator

Choose a reason for hiding this comment

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

this as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

Copy link
Contributor

github-actions bot commented Nov 3, 2023

✅ No secrets were detected in the code.

1 similar comment
Copy link
Contributor

github-actions bot commented Nov 3, 2023

✅ No secrets were detected in the code.

@eddherrera eddherrera merged commit cdf4b1d into bcgov:dev Nov 3, 2023
8 of 9 checks passed
@eddherrera eddherrera deleted the psp-7069 branch November 6, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants