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

SLB-445: Integrate Waku with Decap #296

Merged
merged 24 commits into from
Sep 3, 2024
Merged

SLB-445: Integrate Waku with Decap #296

merged 24 commits into from
Sep 3, 2024

Conversation

pmelab
Copy link
Contributor

@pmelab pmelab commented Jul 4, 2024

Description of changes

  • Render Decap pages in Waku
  • Use Decap translations in Waku

Motivation and context

Use Decap contents in Waku. Also create an architecture that allows Waku to fetch data from multiple sources through the same GraphQL Schema.

How has this been tested?

  • Manually
  • Unit tests
  • Integration tests

@pmelab pmelab force-pushed the SLB-445-waku-decap branch from aa541a4 to 8619a53 Compare July 11, 2024 03:59
@pmelab pmelab force-pushed the SLB-445-waku-decap branch from 8619a53 to 6f54ee1 Compare July 31, 2024 08:54
@pmelab pmelab force-pushed the SLB-445-waku-decap branch from 0fae94f to aa8245c Compare July 31, 2024 14:20
@pmelab pmelab marked this pull request as ready for review July 31, 2024 14:36
Copy link
Member

@Leksat Leksat left a comment

Choose a reason for hiding this comment

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

Some minor things only.

In general, looks awesome 💪 The data flow is much easier to track now 🎉

apps/preview/server/index.ts Outdated Show resolved Hide resolved
apps/cms/src/index.ts Outdated Show resolved Hide resolved
apps/cms/src/index.ts Outdated Show resolved Hide resolved
apps/cms/src/index.ts Outdated Show resolved Hide resolved
apps/decap/src/collections/page.ts Show resolved Hide resolved
apps/website/src/entries.tsx Show resolved Hide resolved
apps/website/src/executors-client.tsx Show resolved Hide resolved
packages/ui/src/components/Routes/Frame.tsx Outdated Show resolved Hide resolved
packages/ui/src/components/Routes/Page.tsx Show resolved Hide resolved
packages/ui/src/components/Routes/Page.tsx Show resolved Hide resolved
@pmelab
Copy link
Contributor Author

pmelab commented Aug 14, 2024

@Leksat The green test on the admin ui is actually a false negative. The path can be accessed now, but the UI itself is broken because its not compatible with React 19. Either we manage to have two React versions in the repository without breaking Waku, or Decap compatibility is fixed at some point. Either way, I would defer this to another issue and close this PR to not have it generate conflicts for too long.

Leksat and others added 3 commits August 15, 2024 11:53
A fetch error might include request and response objects that could contain circular references,
potentially causing JSON.stringify to fail.
@pmelab pmelab merged commit 5de3d47 into lagoon-waku Sep 3, 2024
6 checks passed
@pmelab pmelab deleted the SLB-445-waku-decap branch September 3, 2024 07:28
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