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-6984 add support for activity documents #3554

Merged
merged 4 commits into from
Oct 31, 2023

Conversation

devinleighsmith
Copy link
Collaborator

No description provided.

@devinleighsmith devinleighsmith added the enhancement New feature or request label Oct 31, 2023
@devinleighsmith devinleighsmith self-assigned this Oct 31, 2023
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #3554 (03abae6) into dev (e523411) will increase coverage by 0.04%.
The diff coverage is 64.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #3554      +/-   ##
==========================================
+ Coverage   69.22%   69.27%   +0.04%     
==========================================
  Files        1370     1370              
  Lines       33539    33597      +58     
  Branches     6233     6238       +5     
==========================================
+ Hits        23218    23274      +56     
- Misses      10071    10072       +1     
- Partials      250      251       +1     
Flag Coverage Δ
unittests 69.27% <64.51%> (+0.04%) ⬆️

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

Files Coverage Δ
...odels/Concepts/Document/DocumentRelationshipMap.cs 100.00% <100.00%> (ø)
source/backend/api/Services/DocumentFileService.cs 100.00% <100.00%> (ø)
source/frontend/src/AppRouter.tsx 81.25% <ø> (ø)
...ent/activity/detail/PropertyActivityDetailView.tsx 6.89% <0.00%> (-0.25%) ⬇️
source/backend/api/Services/DocumentService.cs 69.64% <0.00%> (-2.58%) ⬇️
.../Areas/Documents/DocumentRelationshipController.cs 0.00% <0.00%> (ø)
...sitories/PropertyActivityFileDocumentRepository.cs 89.65% <89.65%> (ø)
...kend/api/Areas/Admin/Controllers/RoleController.cs 0.00% <0.00%> (ø)
...rce/backend/dal/Repositories/DocumentRepository.cs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

#region Methods

/// <summary>
/// Get a list of all the document file relationships for a a given acquisition file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

for a given property activity

/// Get a list of all the document file relationships for a a given acquisition file.
/// </summary>
/// <returns></returns>
public IList<PimsPropertyActivityDocument> GetAllByPropertyActivityFile(long fileId)
Copy link
Collaborator

Choose a reason for hiding this comment

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

variable and method naming looks copy pasted?
fileId => activityId | propertyActivityId
GetAllByPropertyActivityFile => GetAllByPropertyActivity

Copy link
Contributor

✅ No secrets were detected in the code.

1 similar comment
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

1 similar comment
Copy link
Contributor

✅ No secrets were detected in the code.

@devinleighsmith devinleighsmith merged commit bb66979 into bcgov:dev Oct 31, 2023
8 of 9 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants