Skip to content

Bind GraphService to Wails frontend - #38

Closed
joshuapare wants to merge 2 commits into
mainfrom
feat/bind-graph-service
Closed

Bind GraphService to Wails frontend#38
joshuapare wants to merge 2 commits into
mainfrom
feat/bind-graph-service

Conversation

@joshuapare

@joshuapare joshuapare commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add GraphService to the Wails Bind array in main.go
  • Creates the service via resource.NewGraphService(resourceController.Graph())
  • Exposes GetRelated, GetRelationshipChain, and GetDependencyTree to the frontend

Verification

  • Go build passes (go build ./...)
  • All existing GraphService unit tests pass
  • Diff is minimal: 2 lines added to main.go

Summary by CodeRabbit

  • New Features
    • Graph service is now initialized and made available to the application's user interface layer.

@coderabbitai

coderabbitai Bot commented Mar 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@joshuapare has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 54 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6ab587bb-dbb4-4f7c-a13e-65a657ea34d2

📥 Commits

Reviewing files that changed from the base of the PR and between 68fdabe and bb1372a.

📒 Files selected for processing (3)
  • packages/omniviewdev-runtime/src/wailsjs/go/models.ts
  • packages/omniviewdev-runtime/src/wailsjs/go/resource/GraphService.d.ts
  • packages/omniviewdev-runtime/src/wailsjs/go/resource/GraphService.js
📝 Walkthrough

Walkthrough

A graphService instance is newly created using resource.NewGraphService() and added to the Wails Bind slice in main.go, making the graph service available to the UI layer alongside other bound services.

Changes

Cohort / File(s) Summary
GraphService Binding
main.go
Instantiate graphService via resource.NewGraphService(resourceController.Graph()) and add it to the Wails Bind slice for UI layer access.

Possibly related issues

  • Issue #31: The PR implements the requested change to bind GraphService in main.go, directly fulfilling the feature request.

Poem

🐰 A graph takes flight,
Bound to the Wails framework so tight,
Two lines of pure delight,
Services dancing in the night! ✨

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: binding GraphService to the Wails frontend by adding it to the Bind array in main.go.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/bind-graph-service
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@joshuapare

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Mar 18, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Add GraphService to the Wails Bind array so GetRelated,
GetRelationshipChain, and GetDependencyTree are callable from
the frontend via generated TypeScript bindings.
@joshuapare
joshuapare force-pushed the feat/bind-graph-service branch from 4885002 to 68fdabe Compare March 19, 2026 18:03
@joshuapare joshuapare closed this Mar 28, 2026
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.

1 participant