-
Notifications
You must be signed in to change notification settings - Fork 591
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
fix timeline api bugs #4799
fix timeline api bugs #4799
Conversation
WalkthroughThe changes introduce a new atom family for checking timeline initialization status, restructure the Changes
Sequence Diagram(s)sequenceDiagram
participant A as TimelineCreator
participant B as TimelineSubscriber1
participant C as TimelineSubscriber2
participant D as Timeline API
A->>D: Initialize timeline
D-->>A: Timeline created
A->>D: Subscribe to timeline updates
D-->>A: Confirmation of subscription
B->>D: Subscribe to timeline updates
D-->>B: Confirmation of subscription
C->>D: Subscribe to timeline updates
D-->>C: Confirmation of subscription
Possibly related PRs
Suggested labels
Suggested reviewers
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (5)
Files skipped from review as they are similar to previous changes (4)
Additional context usedPath-based instructions (1)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
e2e is timing out 😅 |
Was a regression I introduced. ; ( (now timing out because of rate limiting for zoo datasets) |
3fa144e
to
109e530
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (4)
- e2e-pw/src/oss/specs/sidebar/frame-filtering.spec.ts (1 hunks)
- e2e-pw/src/oss/specs/smoke-tests/embeddings.spec.ts (2 hunks)
- e2e-pw/src/oss/specs/smoke-tests/field-visibility.spec.ts (1 hunks)
- e2e-pw/src/oss/specs/smoke-tests/quickstart-groups-dynamic.spec.ts (1 hunks)
Files skipped from review due to trivial changes (2)
- e2e-pw/src/oss/specs/sidebar/frame-filtering.spec.ts
- e2e-pw/src/oss/specs/smoke-tests/field-visibility.spec.ts
Additional context used
Path-based instructions (2)
e2e-pw/src/oss/specs/smoke-tests/embeddings.spec.ts (1)
Pattern
**/*.{ts,tsx}
: Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.e2e-pw/src/oss/specs/smoke-tests/quickstart-groups-dynamic.spec.ts (1)
Pattern
**/*.{ts,tsx}
: Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.
Additional comments not posted (1)
e2e-pw/src/oss/specs/smoke-tests/quickstart-groups-dynamic.spec.ts (1)
26-26
: Skipping the test case is a temporary measure. Prioritize fixing the zoo dataset issue.Skipping the test case ensures that the test suite can run without failures related to the problematic dataset. However, it's important to prioritize resolving the underlying issue with the zoo dataset so that this test case can be re-enabled and the corresponding functionality can be actively tested.
The TODO comment serves as a good reminder. Consider creating a separate issue to track the progress of fixing the dataset issue, if one doesn't already exist.
test.skip(true, "THIS TEST USES ZOO DATASET. TODO: FIX IT"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide a more detailed reason for skipping the test and consider skipping only the affected test cases.
Skipping the entire test suite could lead to missing critical test coverage. Please consider the following suggestions:
-
Provide a more detailed reason for skipping the test. The current reason "THIS TEST USES ZOO DATASET. TODO: FIX IT" doesn't provide enough context on how to fix the issue.
-
Consider skipping only the affected test cases instead of the entire test suite. This will ensure that the unaffected test cases are still being executed.
-
Create a GitHub issue to track the fix for the "ZOO DATASET" issue. This will ensure that the issue is not forgotten and can be prioritized accordingly.
test.skip(true, "THIS TEST USES ZOO DATASET. TODO: FIX IT"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide a more detailed reason for skipping the test.
Skipping the tests within the "embeddings on quickstart dataset" block could lead to missing coverage for that specific functionality. Please consider the following suggestions:
-
Provide a more detailed reason for skipping the test. The current reason "THIS TEST USES ZOO DATASET. TODO: FIX IT" doesn't provide enough context on how to fix the issue.
-
Create a GitHub issue to track the fix for the "ZOO DATASET" issue. This will ensure that the issue is not forgotten and can be prioritized accordingly.
228404d
to
109e530
Compare
109e530
to
a3c1404
Compare
Discarding in favor of #4816 |
Changelog
Summary by CodeRabbit
New Features
getIsTimelineInitializedAtom
for checking timeline initialization status.TimelineExamples.tsx
with components to demonstrate timeline API usage.Improvements
useCreateTimeline
hook for better lifecycle management and animation control.Timeline
component withReact.memo
to optimize rendering performance.Chores
Panel
component, streamlining its functionality.