Skip to content

Conversation

@mkuklis
Copy link
Contributor

@mkuklis mkuklis commented Apr 25, 2023

@mkuklis mkuklis marked this pull request as draft April 25, 2023 13:56
@github-actions
Copy link

github-actions bot commented Apr 25, 2023

Jest Unit Test Statistics

56 tests  ±0   56 ✔️ ±0   6s ⏱️ +2s
  8 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 01f3df8. ± Comparison against base commit 9cefa1d.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Apr 25, 2023

BigTest Unit Test Statistics

    1 files  ±    0      1 suites  ±0   3m 43s ⏱️ + 3m 33s
160 tests  - 111    45 ✔️  - 221  4 💤  - 1  111 +111 
274 runs  ±    0  159 ✔️  - 110  4 💤  - 1  111 +111 

For more details on these failures, see this check.

Results for commit 01f3df8. ± Comparison against base commit 9cefa1d.

♻️ This comment has been updated with latest results.

@mkuklis mkuklis changed the title STRIPES-861: Setup federation STRIPES-861: Setup module federation Apr 25, 2023
mkuklis and others added 12 commits December 4, 2024 12:33
Draft: load translations when loading remote modules

Note: QueryClientProvider must be explicitly shared
See https://tanstack.com/query/v3/docs/react/reference/QueryClientProvider

Refs STCOR-718, STRIPES-861
Load remote icons, and clean up the translation loading a bit; it was
still very much in draft form, and still is, but at least it doesn't
throw lint errors everywhere now.

Refs STCOR-725, STRIPES-861
Correctly set each apps' localized `displayName` attribute. It isn't
totally clear to me why this doesn't work via `formattedMessage`. It
seems that something is happening asynchronously that we don't realize
is async, and therefore don't await, and then we end up calling
`formatMessage()` before the translations have been pushed to the store.
In any case, pulling the value straight from the translations array
works fine.

Refs STCOR-718
Correctly handle multiple icons per application.

Refs STCOR-725
Major refactoring in stripes-core between this branch's initial work and
the present lead to some discrepancies. The only change of note here, I
think, is the relocation of `<Suspense>` from ModuleRoutes down into
AppRoutes. It isn't clear to me why that was necessary or why it worked.
It was just a hunch that I tried ... and it worked.

Prior to that change, AppRoutes would get stuck in a render loop,
infinitely reloading (yes, even the memoized functions). I don't have a
good explanation for the bug or the fix.
@github-actions
Copy link

github-actions bot commented Dec 4, 2024

Jest Unit Test Results

0 files   -   1  0 suites   - 82   0s ⏱️ - 1m 55s
0 tests  - 491  0 ✅  - 491  0 💤 ±0  0 ❌ ±0 
0 runs   - 497  0 ✅  - 497  0 💤 ±0  0 ❌ ±0 

Results for commit 7dc0e1d. ± Comparison against base commit 7ee18e0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 4, 2024

Bigtest Unit Test Results

0 tests   - 150   0 ✅  - 149   0s ⏱️ -6s
0 suites  -   1   0 💤  -   1 
0 files    -   1   0 ❌ ±  0 

Results for commit 7dc0e1d. ± Comparison against base commit 7ee18e0.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2024

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

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.

4 participants