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

STSMACOM-878 Fetch updaters in <ViewMetaData> on props.metadata changes. #1543

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

BogdanDenis
Copy link
Contributor

Description

<ViewMetaData> component may initially mount with metadata.createdByUserId and metadata.updatedByUserId empty, so it won't make a call to fetch updaters. But when metadata props later change - the component should make additional calls to fetch users.

Screenshots

chrome_e5UXWiTQhD.mp4

Issues

STSMACOM-878

Copy link

github-actions bot commented Nov 26, 2024

Bigtest Unit Test Results

  1 files  ±0    1 suites  ±0   14s ⏱️ ±0s
508 tests ±0  466 ✅ ±0  42 💤 ±0  0 ❌ ±0 
510 runs  ±0  468 ✅ ±0  42 💤 ±0  0 ❌ ±0 

Results for commit 2aa630b. ± Comparison against base commit 221e07f.

♻️ This comment has been updated with latest results.

@BogdanDenis BogdanDenis requested review from Dmytro-Melnyshyn and a team November 26, 2024 14:22
Copy link
Member

@zburke zburke left a comment

Choose a reason for hiding this comment

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

Thank you for the refactor here. Soon we should take it a step further cut out the manifest, mutator, and resources entirely so we can excise stripesConnect.

@BogdanDenis BogdanDenis merged commit cc948c9 into master Nov 27, 2024
15 checks passed
@BogdanDenis BogdanDenis deleted the STSMACOM-878 branch November 27, 2024 09:41
zburke pushed a commit that referenced this pull request Dec 5, 2024
…hanges. (#1543)

`<ViewMetaData>` component may initially mount with
`metadata.createdByUserId` and `metadata.updatedByUserId` empty, so it
won't make a call to fetch updaters. But when `metadata` props later
change - the component should make additional calls to fetch users.

https://github.com/user-attachments/assets/4a1a1bf5-0509-464f-8142-02396ccf6ea0

[STSMACOM-878](https://folio-org.atlassian.net/browse/STSMACOM-878)

(cherry picked from commit cc948c9)
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.

3 participants