Skip to content

Comments

STCOR-1040 Use non-webpack module-federation toolset runtime.#1694

Draft
JohnC-80 wants to merge 30 commits intomainfrom
STRWEB-139
Draft

STCOR-1040 Use non-webpack module-federation toolset runtime.#1694
JohnC-80 wants to merge 30 commits intomainfrom
STRWEB-139

Conversation

@JohnC-80
Copy link
Contributor

@JohnC-80 JohnC-80 commented Feb 6, 2026

No description provided.

mkuklis and others added 22 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 Feb 6, 2026

Bigtest Unit Test Results

0 files   -   1  0 suites   - 1   0s ⏱️ ±0s
0 tests  -   2  0 ✅  -   2  0 💤 ±0  0 ❌ ±0 
0 runs   - 152  0 ✅  - 152  0 💤 ±0  0 ❌ ±0 

Results for commit 48389de. ± Comparison against base commit f90518f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

Jest Unit Test Results

0 files   -   1  0 suites   - 84   0s ⏱️ - 1m 43s
0 tests  - 523  0 ✅  - 523  0 💤 ±0  0 ❌ ±0 
0 runs   - 529  0 ✅  - 529  0 💤 ±0  0 ❌ ±0 

Results for commit 48389de. ± Comparison against base commit f90518f.

♻️ This comment has been updated with latest results.

@JohnC-80 JohnC-80 changed the title STRWEB-138 Use non-webpack module-federation toolset runtime. STRWEB-139 Use non-webpack module-federation toolset runtime. Feb 9, 2026
@zburke zburke changed the title STRWEB-139 Use non-webpack module-federation toolset runtime. STCOR-1040 Use non-webpack module-federation toolset runtime. Feb 11, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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