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

MODSER-57: Generate pieces deprecation handling #323

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

Jack-Golding
Copy link
Contributor

Added conditional when passing genrated pieces to pieces list, older versions of the backend fetched an array of pieces, whereas the new endpoint returns a predicted piece set, this conditional sorts if the enpoint is either an object or an array

Merge after mod-serials-management PR #117

Added conditional when passing genrated pieces to pieces list, older versions of the  backend fetched an array of pieces, whereas the new endpoint returns a predicted piece set, this conditional sorts if the enpoint is either an object or an array
Copy link

License CLA Stuck? (Developer should make sure that it is really stuck before clicking)

@Jack-Golding
Copy link
Contributor Author

Pieces within the pieces preview modal fetched from the endpoint are now currently sorted, fix

Copy link

github-actions bot commented Oct 24, 2024

Jest Unit Test Results

  1 files  ±0   48 suites  ±0   1m 43s ⏱️ -1s
313 tests ±0  313 ✅ ±0  0 💤 ±0  0 ❌ ±0 
352 runs  ±0  352 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit dbec9cf. ± Comparison against base commit e951ece.

♻️ This comment has been updated with latest results.

Moved sort pieces function to utility class and implemeted into pieces preview modal
@Jack-Golding Jack-Golding marked this pull request as ready for review October 25, 2024 09:34
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
38.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@Jack-Golding Jack-Golding merged commit 16d54b3 into master Oct 25, 2024
17 of 18 checks passed
@Jack-Golding Jack-Golding deleted the refactor/modser-57 branch October 25, 2024 09:39
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.

1 participant