Skip to content

Added time traveling use case tutorial#886

Merged
stktung merged 29 commits intomasterfrom
use-case-time-travel
Jun 2, 2025
Merged

Added time traveling use case tutorial#886
stktung merged 29 commits intomasterfrom
use-case-time-travel

Conversation

@stktung
Copy link
Copy Markdown
Contributor

@stktung stktung commented May 20, 2025

Description

Page previews

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 20, 2025

@github-actions
Copy link
Copy Markdown

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented May 20, 2025

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 88aac04
Status: ✅  Deploy successful!
Preview URL: https://d92745f8.documentation-21k.pages.dev
Branch Preview URL: https://use-case-time-travel.documentation-21k.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

Comment thread docs/getting-started/use-cases/time-travel/tutorial-intro.md Outdated
Comment thread docs/getting-started/use-cases/time-travel/tutorial-intro.md Outdated
Comment thread docs/getting-started/use-cases/time-travel/tutorial-intro.md
Comment thread docs/getting-started/use-cases/time-travel/tutorial-intro.md Outdated
Comment thread docs/getting-started/use-cases/time-travel/tutorial-2.md Outdated
Comment thread docs/getting-started/use-cases/time-travel/tutorial-4.md Outdated

2. Copy the URL printed in the terminal and navigate to it in a browser.

The page shows a snapshot of the month end report for a particular day.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Getting the following error when trying to open the URL:

Error fetching sales data from the server: Failed to execute 'json' on 'Response': Unexpected end of JSON input

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is super weird and I can't reproduce this. Do you see a json file when you run this?

code ./data/report-read-model.json

It'll be great if you can walk me through it with your screen shared.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

well - good news / bad news... I can now access the Month End Sales Report, but I can't use the slider (based on the start and end dates both being 2025-01-31
image

@@ -0,0 +1,188 @@
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Clicking the "Next" link at the end of part 4 didn't open the page. Nor did clicking the title in the left nav bar. To access I had to update the URL in my browser (changed tutorial-4 to tutorial-5) to access the page.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I wasn't able to reproduce the problem, can you try again?

URL to Demo Web Application 👉 http://XXXXXXXX
```

2. Copy the URL printed in the terminal and navigate to it in a browser.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Still getting the following error:

Error fetching sales data from the server: Unexpected end of JSON input

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It opens now, but it is the same Month End Sales report that I've seen the last two times I've run that command. For the next section, I have $0 in Oceania, so no events show up on the right. Could this be because I didn't know what to do in step 8 # 4? (comment on that above)

image

Comment thread docs/getting-started/use-cases/time-travel/tutorial-summary.md Outdated
@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Docs Preview

  • Status: ⏳ Creating preview…

@github-actions
Copy link
Copy Markdown

@stktung stktung force-pushed the use-case-time-travel branch from 7a9c698 to 9767608 Compare May 30, 2025 16:21
@stktung stktung marked this pull request as ready for review May 30, 2025 17:06
@stktung stktung requested a review from a team as a code owner May 30, 2025 17:06
@stktung stktung requested a review from rk9506 May 30, 2025 17:34
@stktung stktung merged commit 1b4727c into master Jun 2, 2025
3 checks passed
@stktung stktung deleted the use-case-time-travel branch June 2, 2025 04:24
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