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

BHBC-2246: More Data admin permissions #971

Merged
merged 2 commits into from
Mar 15, 2023
Merged

BHBC-2246: More Data admin permissions #971

merged 2 commits into from
Mar 15, 2023

Conversation

AlfredRosenthal
Copy link
Contributor

Overview

Links to Jira tickets

  • {List all applicable Jira tickets}

Description of relevant changes

  • {List all relevant changes, in particular anything that will help the reviewers test/verify this PR}

PR Checklist

A list of items that are good to consider when making any changes.

Note: this list is not exhaustive, and not all items are always applicable.

Code

  • New files/classes/functions have appropriately descriptive names and comment blocks to describe their use/behaviour
  • I have avoided duplicating code when possible, moving re-usable pieces into functions
  • I have avoided hard-coding values where possible and moved any re-usable constants to a constants file
  • My code is as flat as possible (avoids deeply nested if/else blocks, promise chains, etc)
  • My code changes account for null/undefined values and handle errors appropriately
  • My code uses types/interfaces to help describe values/parameters/etc, help ensure type safety, and improve readability

Style

  • My code follows the established style conventions
  • My code uses native material-ui components/icons/conventions when possible

Documentation

  • I have commented my code sufficiently, such that an unfamiliar developer could understand my code
  • I have added/updated README's and related documentation, as needed

Tests

  • I have added/updated unit tests for any code I've added/updated
  • I have added/updated the Postman requests/tests to account for any API endpoints I've added/updated

Linting/Formatting

  • I have run the linter and fixed any issues, as needed
    See the lint commands in package.json
  • I have run the formatter and fixed any issues, as needed
    See the format commands in package.json

SonarCloud

  • I have addressed all SonarCloud Bugs, Vulnerabilities, Security Hotspots, and Code Smells

@AlfredRosenthal AlfredRosenthal marked this pull request as ready for review March 15, 2023 00:20
1 similar comment
@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Merging #971 (5918993) into dev (dfef452) will decrease coverage by 0.03%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##              dev     #971      +/-   ##
==========================================
- Coverage   66.02%   66.00%   -0.03%     
==========================================
  Files         358      358              
  Lines       11651    11655       +4     
  Branches     2014     2015       +1     
==========================================
  Hits         7693     7693              
- Misses       3553     3557       +4     
  Partials      405      405              
Impacted Files Coverage Δ
api/src/paths/publish/survey.ts 95.65% <ø> (ø)
api/src/services/platform-service.ts 90.86% <0.00%> (-2.00%) ⬇️
.../src/paths/project/{projectId}/attachments/list.ts 96.29% <100.00%> (ø)
...s/project/{projectId}/attachments/report/upload.ts 91.66% <100.00%> (ø)
...rc/paths/project/{projectId}/attachments/upload.ts 91.89% <100.00%> (ø)
...t/{projectId}/attachments/{attachmentId}/delete.ts 96.87% <100.00%> (ø)
...jectId}/attachments/{attachmentId}/getSignedUrl.ts 96.66% <100.00%> (ø)
...jectId}/attachments/{attachmentId}/metadata/get.ts 96.00% <100.00%> (ø)
...tId}/attachments/{attachmentId}/metadata/update.ts 93.75% <100.00%> (ø)
...c/paths/project/{projectId}/participants/create.ts 86.11% <100.00%> (ø)
... and 3 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

No Coverage information No Coverage information
9.4% 9.4% Duplication

@NickPhura NickPhura merged commit 0687ba7 into dev Mar 15, 2023
@NickPhura NickPhura deleted the BHBC-2246-2 branch March 15, 2023 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants