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

Ids catalogue properties #515 #516

Merged
merged 16 commits into from
Apr 30, 2024
Merged

Conversation

joshuadkitenge
Copy link
Collaborator

Description

  • Change to use id in the post and patch request for items and catalogue items
  • Change it so it can only edit the name

Testing instructions

Add a set up instructions describing how the reviewer should test the code

  • Review code
  • Check Actions build
  • Review changes to test coverage
  • {more steps here}

Agile board tracking

closes #515

@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2024

Codecov Report

Attention: Patch coverage is 97.66607% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 94.06%. Comparing base (0d68846) to head (56b61ef).

❗ Current head 56b61ef differs from pull request most recent head 6a0a71f. Consider uploading reports for the commit 6a0a71f to get more accurate results

Files Patch % Lines
...gue/category/catalogueCategoryDialog.component.tsx 73.17% 11 Missing ⚠️
...gue/category/cataloguePropertiesForm.component.tsx 98.61% 1 Missing ⚠️
src/testUtils.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #516      +/-   ##
===========================================
+ Coverage    93.98%   94.06%   +0.07%     
===========================================
  Files           62       63       +1     
  Lines        17700    17782      +82     
  Branches      2389     2076     -313     
===========================================
+ Hits         16636    16726      +90     
+ Misses        1058     1054       -4     
+ Partials         6        2       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -82,7 +82,7 @@ jobs:
MONGO_INITDB_ROOT_PASSWORD: example

ims-api:
image: harbor.stfc.ac.uk/inventory-management-system/ims-api:develop
image: harbor.stfc.ac.uk/inventory-management-system/ims-api:pr-240
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
image: harbor.stfc.ac.uk/inventory-management-system/ims-api:pr-240
image: harbor.stfc.ac.uk/inventory-management-system/ims-api:develop

Copy link
Collaborator

@joelvdavies joelvdavies left a comment

Choose a reason for hiding this comment

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

Just a couple minor comments but LGTM.

src/api/catalogueCategories.test.tsx Show resolved Hide resolved
src/api/catalogueItems.tsx Outdated Show resolved Hide resolved
src/mocks/handlers.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@MatteoGuarnaccia5 MatteoGuarnaccia5 left a comment

Choose a reason for hiding this comment

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

LGTM

* develop:
  Update dependency eslint-plugin-cypress to v3
  Update tanstack-query monorepo to v5.31.0
  Update actions/setup-python action to v5.1.0
  Update actions/checkout digest
  Fix connection after changing backend docker compose to host networking #499
  Use develop branch for dev cli script
  Update dependency material-react-table to v2.13.0
  Use dev_cli script from api to setup the database for e2e api tests #499
@joshuadkitenge
Copy link
Collaborator Author

the e2e tests are failing because the backend hasn't been merged in

joelvdavies
joelvdavies previously approved these changes Apr 30, 2024
@joshuadkitenge joshuadkitenge merged commit a86c817 into develop Apr 30, 2024
8 checks passed
@joshuadkitenge joshuadkitenge deleted the ids-catalogue-properties-#515 branch April 30, 2024 09:58
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.

ids for catalogue item properties
4 participants