-
Notifications
You must be signed in to change notification settings - Fork 199
feat!: introduce global config for the Orthogonal connector #678
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
Conversation
Introduce a dedicated `OrthConnectorConfig` global object and its companion reset function. Also improve the CellStateStyle JSDoc, in particular about the jetty size properties. BREAKING CHANGES: `OrthConnector` is now configured with the global `OrthConnectorConfig` object. The following properties that were previously hold by `EdgeStyle` have moved to `OrthConnectorConfig`: - `orthBuffer` to `buffer` - `orthPointsFallback` to `pointsFallback`
|
Warning Rate limit exceeded@tbouffard has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 12 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughThis pull request refactors configuration management and internal utility visibility while updating documentation. It marks certain utility functions as private and removes others intended for internal use. The PR introduces a new global configuration object for the orthogonal connector, renaming related properties and adding a reset function. The edge style implementation is updated to use this centralized configuration, and corresponding tests and documentation are added to verify and describe the new behavior. Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Storybook Preview
participant RMG as resetMaxGraphConfigs
participant ROC as resetOrthConnectorConfig
participant OGC as OrthConnectorConfig
Client->>RMG: invoke resetMaxGraphConfigs()
RMG->>ROC: Call resetOrthConnectorConfig()
ROC->>OGC: Reset to default values (buffer: 10, pointsFallback: true)
OGC-->>ROC: Confirmation of reset
ROC-->>RMG: Reset complete
RMG-->>Client: Global config reset done
Possibly related PRs
Suggested labels
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
CodeRabbit Configuration File (
|
# Conflicts: # CHANGELOG.md
|



Introduce a dedicated
OrthConnectorConfigglobal object and its companion reset function.Also improve the CellStateStyle JSDoc, in particular about the jetty size properties.
BREAKING CHANGES:
OrthConnectoris now configured with the globalOrthConnectorConfigobject.The following properties that were previously hold by
EdgeStylehave moved toOrthConnectorConfig:orthBuffertobufferorthPointsFallbacktopointsFallbackSummary by CodeRabbit