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

UIORGS-336: Creating or changing a vendor code using number generator in Organizations App #536

Merged
merged 41 commits into from
Dec 11, 2024

Conversation

EthanFreestone
Copy link
Contributor

@EthanFreestone EthanFreestone commented Feb 16, 2023

https://folio-org.atlassian.net/browse/UIORGS-336
https://folio-org.atlassian.net/browse/UIORGS-337

  • Adds the number generator functionality to vendor code.
  • Adds a setting page to configure this functionality.

Requires the organizations-storage.settings 1.1 interface, which constitutes a breaking change.

Refs UXPROD-3891, UIORGS-336, UIORGS-337

screencast.webm

Hooked up Number generator to Organizations
Added servint as an optionalOkapiInterface dependency, and protected code against being called when interface is not present
Small tweaks, brought number generator code in line with users PR

refs UIORGS-336, UIORGS-337
Update generator code to use the new codes defined in this PR:

folio-org/mod-service-interaction#72
Added new permission and blocked access to number generator page based on that permission
@github-actions
Copy link

github-actions bot commented Feb 16, 2023

Jest Unit Test Statistics

    1 files  ±  0    92 suites  +3   3m 9s ⏱️ +5s
297 tests +14  295 ✔️ +14  2 💤 ±0  0 ±0 
301 runs  +14  298 ✔️ +14  3 💤 ±0  0 ±0 

Results for commit 0ab159c. ± Comparison against base commit e94bc6f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Feb 16, 2023

BigTest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit 0ab159c. ± Comparison against base commit e94bc6f.

♻️ This comment has been updated with latest results.

Update to use servint 3
Use new service-interaction
Swapped implementation to full Modal implementation as per the other apps
Changed Button from fullWidth to scale with text
Change back to do what is done on master
@EthanFreestone EthanFreestone marked this pull request as ready for review March 1, 2024 11:39
@EthanFreestone EthanFreestone marked this pull request as draft March 1, 2024 11:39
Mocked useSettings to rectify failing test
@EthanFreestone EthanFreestone marked this pull request as ready for review March 1, 2024 11:53
@alb3rtino alb3rtino marked this pull request as draft November 22, 2024 08:22
@alb3rtino
Copy link

Hello. I have updated the implementation provided by @EthanFreestone and made the requested changes:

  • use mod-settings
  • refactored code
  • increased coverage

I have also updated the PR description and included a screencast for better clarity on the changes.

@alb3rtino alb3rtino force-pushed the feat/number_generator branch 2 times, most recently from ebd1c65 to 1454363 Compare November 22, 2024 13:39
@alb3rtino alb3rtino marked this pull request as ready for review November 25, 2024 08:08
@alb3rtino
Copy link

alb3rtino commented Nov 25, 2024

Hi @NikitaSedyx,

I've temporarily disabled a test that fails on master to help move this PR forward. When you have a moment, could you please review? Thanks!

# Conflicts:
#	CHANGELOG.md
#	src/common/hooks/index.js
@alb3rtino alb3rtino requested a review from a team November 27, 2024 08:11
package.json Outdated Show resolved Hide resolved
@NikitaSedyx
Copy link
Contributor

@alb3rtino overall UI is very close to the final stage, only settings storage should be changed

@alb3rtino alb3rtino requested a review from a team December 9, 2024 16:20
Copy link
Contributor

@usavkov-epam usavkov-epam left a comment

Choose a reason for hiding this comment

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

Looks good.

@alb3rtino alb3rtino merged commit e02c827 into master Dec 11, 2024
6 checks passed
@alb3rtino alb3rtino deleted the feat/number_generator branch December 11, 2024 10:46
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.

5 participants