-
Notifications
You must be signed in to change notification settings - Fork 531
use AppMeta instead of AppTitle/AppShortDesc #2551
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
|
Warning Rate limit exceeded@sawka has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 2 minutes and 51 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 (2)
WalkthroughThe changes introduce a refactored metadata handling system for the Tsunami framework. A new Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes This is a homogeneous refactoring with consistent pattern changes. The core logic is straightforward—moving from separate metadata constants to a composite struct. The same refactoring pattern is applied identically across eight demo applications, which reduces cognitive overhead once the pattern is understood. Key areas to verify:
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
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. Comment |
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: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
tsunami/app/defaultclient.go(2 hunks)tsunami/demo/cpuchart/app.go(1 hunks)tsunami/demo/githubaction/app.go(1 hunks)tsunami/demo/modaltest/app.go(1 hunks)tsunami/demo/pomodoro/app.go(1 hunks)tsunami/demo/recharts/app.go(1 hunks)tsunami/demo/tabletest/app.go(1 hunks)tsunami/demo/todo/app.go(1 hunks)tsunami/demo/tsunamiconfig/app.go(1 hunks)tsunami/templates/app-main.go.tmpl(1 hunks)
🧰 Additional context used
🧬 Code graph analysis (8)
tsunami/demo/pomodoro/app.go (8)
tsunami/demo/cpuchart/app.go (1)
AppMeta(12-15)tsunami/demo/githubaction/app.go (1)
AppMeta(18-21)tsunami/demo/modaltest/app.go (1)
AppMeta(8-11)tsunami/demo/recharts/app.go (1)
AppMeta(11-14)tsunami/demo/tabletest/app.go (1)
AppMeta(11-14)tsunami/demo/todo/app.go (1)
AppMeta(11-14)tsunami/demo/tsunamiconfig/app.go (1)
AppMeta(17-20)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/recharts/app.go (2)
tsunami/demo/cpuchart/app.go (1)
AppMeta(12-15)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/cpuchart/app.go (8)
tsunami/demo/githubaction/app.go (1)
AppMeta(18-21)tsunami/demo/modaltest/app.go (1)
AppMeta(8-11)tsunami/demo/pomodoro/app.go (1)
AppMeta(11-14)tsunami/demo/recharts/app.go (1)
AppMeta(11-14)tsunami/demo/tabletest/app.go (1)
AppMeta(11-14)tsunami/demo/todo/app.go (1)
AppMeta(11-14)tsunami/demo/tsunamiconfig/app.go (1)
AppMeta(17-20)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/todo/app.go (1)
tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/modaltest/app.go (1)
tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/tabletest/app.go (3)
tsunami/demo/cpuchart/app.go (1)
AppMeta(12-15)tsunami/demo/modaltest/app.go (1)
AppMeta(8-11)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/tsunamiconfig/app.go (2)
tsunami/demo/cpuchart/app.go (1)
AppMeta(12-15)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
tsunami/demo/githubaction/app.go (2)
tsunami/demo/cpuchart/app.go (1)
AppMeta(12-15)tsunami/engine/clientimpl.go (1)
AppMeta(43-46)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Build for TestDriver.ai
- GitHub Check: Analyze (go)
- GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (10)
tsunami/app/defaultclient.go (1)
21-21: LGTM! Clean type alias.The
AppMetatype alias appropriately exposesengine.AppMetathrough the app package, providing a clean public API for application metadata.tsunami/templates/app-main.go.tmpl (1)
21-21: LGTM! Clean consolidation of metadata setup.The template now uses a single
SetAppMeta(AppMeta)call instead of separateSetTitleandSetShortDesccalls, which simplifies the initialization and aligns with the new unified metadata approach.tsunami/demo/recharts/app.go (1)
11-14: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly replaces the separateAppTitleandAppShortDescconstants, consolidating application metadata into a single structured value.tsunami/demo/pomodoro/app.go (1)
11-14: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly replaces the separateAppTitleandAppShortDescconstants, following the same pattern as other demos.tsunami/demo/cpuchart/app.go (1)
12-15: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly consolidates the application metadata into a single structured value, consistent with the refactoring pattern applied across all demos.tsunami/demo/tabletest/app.go (1)
11-14: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly replaces the separate metadata constants, following the unified approach established in this PR.tsunami/demo/githubaction/app.go (1)
18-21: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly consolidates application metadata, consistent with the refactoring pattern across all demo applications.tsunami/demo/tsunamiconfig/app.go (1)
17-20: LGTM! Consistent metadata refactoring.The
AppMetavariable correctly consolidates application metadata, completing the consistent refactoring pattern across all demo applications.tsunami/demo/todo/app.go (1)
11-14: LGTM! Consistent with the refactoring pattern.The migration to
AppMetais correctly implemented and follows the same pattern as other demo apps.tsunami/demo/modaltest/app.go (1)
8-11: Verification passed—migration is complete and correct.All references to the old
AppTitleandAppShortDescstruct fields have been properly updated. TheAppManifeststruct now correctly populates these fields fromappMeta.TitleandappMeta.ShortDesc, and the exportedSetTitle()andSetShortDesc()functions continue to work as public API convenience wrappers around the newAppMetastructure. No dangling or broken references remain.
No description provided.