feat(web): add step-by-step tour shell#38785
Draft
Jingyi-Dify wants to merge 47 commits into
Draft
Conversation
# Conflicts: # packages/iconify-collections/custom-public/icons.json # packages/iconify-collections/custom-vender/icons.json # packages/iconify-collections/custom-vender/info.json # web/app/components/apps/__tests__/list.spec.tsx # web/app/components/main-nav/index.tsx
…r-shell # Conflicts: # packages/contracts/generated/api/console/orpc.gen.ts # web/app/components/apps/__tests__/list.spec.tsx # web/app/components/datasets/list/first-empty-state/__tests__/index.spec.tsx # web/app/components/header/account-setting/model-provider-page/install-from-marketplace.tsx # web/app/components/header/account-setting/model-provider-page/model-provider-page-body.tsx # web/app/components/main-nav/index.tsx
This reverts commit 4f5eb6f.
…r-shell # Conflicts: # web/app/components/apps/__tests__/list.spec.tsx # web/app/components/plugins/plugin-page/empty/index.tsx # web/contract/router.ts
…r-shell # Conflicts: # web/app/components/header/account-setting/model-provider-page/__tests__/index.spec.tsx # web/app/components/header/account-setting/model-provider-page/model-provider-page-body.tsx
…r-shell # Conflicts: # web/app/components/apps/app-card.tsx # web/app/components/apps/list.tsx # web/app/components/datasets/list/__tests__/index.spec.tsx # web/app/components/datasets/list/dataset-card/components/operations-dropdown.tsx # web/app/components/datasets/list/index.tsx # web/app/components/explore/app-list/__tests__/index.spec.tsx # web/app/components/explore/app-list/index.tsx # web/app/components/header/account-setting/api-based-extension-page/index.tsx # web/app/components/main-nav/__tests__/index.spec.tsx # web/app/components/main-nav/components/help-menu.tsx # web/app/components/main-nav/index.tsx # web/hooks/use-import-dsl.ts
…r-shell # Conflicts: # packages/contracts/generated/api/console/orpc.gen.ts # packages/contracts/generated/api/console/router.gen.ts # packages/iconify-collections/custom-public/icons.json # web/app/components/apps/app-card.tsx # web/app/components/apps/empty.tsx # web/app/components/apps/first-empty-state/index.tsx # web/app/components/apps/list.tsx # web/app/components/datasets/list/dataset-card/components/operations-dropdown.tsx # web/app/components/datasets/list/datasets.tsx # web/app/components/datasets/list/first-empty-state/index.tsx # web/app/components/datasets/list/index.tsx # web/app/components/explore/app-list/index.tsx # web/app/components/explore/try-app/app-info/index.tsx # web/app/components/header/account-setting/api-based-extension-page/index.tsx # web/app/components/header/account-setting/model-provider-page/install-from-marketplace.tsx # web/app/components/main-nav/components/help-menu.tsx # web/app/components/main-nav/index.tsx
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-07-10 22:14:22.882382526 +0000
+++ /tmp/pyrefly_pr.txt 2026-07-10 22:14:06.878320355 +0000
@@ -8058,6 +8058,26 @@
--> tests/unit_tests/services/test_snippet_service.py:678:48
ERROR Argument `SimpleNamespace` is not assignable to parameter `snippet` with type `CustomizedSnippet` in function `services.snippet_service.SnippetService.increment_use_count` [bad-argument-type]
--> tests/unit_tests/services/test_snippet_service.py:678:65
+ERROR Class member `_RaceInsertSession.flush` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:57:9
+ERROR Class member `_RaceInsertSession.rollback` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:61:9
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.get_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:94:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.get_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:123:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:146:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:168:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:190:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:208:17
+ERROR Argument `_FakeSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:214:17
+ERROR Argument `_RaceInsertSession` is not assignable to parameter `session` with type `Session | scoped_session[Unknown]` in function `services.step_by_step_tour_service.StepByStepTourService.patch_state` [bad-argument-type]
+ --> tests/unit_tests/services/test_step_by_step_tour_service.py:232:17
ERROR Missing required key `enable` for TypedDict `SummaryIndexSettingDict` [bad-typed-dict-key]
--> tests/unit_tests/services/test_summary_index_service.py:101:93
ERROR Key `a` is not defined in TypedDict `SummaryIndexSettingDict` [bad-typed-dict-key]
|
Contributor
Pyrefly Type Coverage
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #38785 +/- ##
==========================================
+ Coverage 85.47% 85.51% +0.04%
==========================================
Files 5025 5042 +17
Lines 273457 274947 +1490
Branches 51259 51742 +483
==========================================
+ Hits 233729 235113 +1384
- Misses 35238 35331 +93
- Partials 4490 4503 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
origin/main.From Codex
Screenshots
Checklist
make lint && make type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint godsValidation:
CI=true pnpm -C web test app/components/step-by-step-tour/__tests__/mount.spec.tsx app/components/apps/__tests__/list.spec.tsx app/components/apps/__tests__/empty.spec.tsx app/components/datasets/list/__tests__/index.spec.tsx app/components/datasets/list/__tests__/datasets.spec.tsx app/components/integrations/__tests__/page.spec.tsxpnpm -C web lint:tssgit diff --check