- Notifications
You must be signed in to change notification settings - Fork715
fix: should show expired at status column#9584
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
2928303 intobranch-v0.30.0Uh oh!
There was an error while loading.Please reload this page.
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryFixed the license status display in the About page to correctly show whether a license is expired or active. Key Changes:
Impact: Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram participant User participant AboutPage as About.vue participant API as License API participant Backend as License Handler User->>AboutPage: Navigate to About page activate AboutPage AboutPage->>AboutPage: Check config (isEnterprise && !isCloud) alt Enterprise & Self-hosted AboutPage->>API: GET /api/license activate API API->>Backend: get_license_info() activate Backend Backend->>Backend: get_license() Backend->>Backend: license_expired() Backend->>Backend: ingestion_used() Backend-->>API: LicenseResponse {expired, license, ...} deactivate Backend API-->>AboutPage: response.data deactivate API AboutPage->>AboutPage: Update licenseData with response AboutPage->>AboutPage: Display status badge using licenseData?.expired alt License Expired AboutPage->>User: Show "Expired" badge (red) else License Active AboutPage->>User: Show "Active" badge (green) end else Not Enterprise or Cloud AboutPage->>User: Show page without license section end deactivate AboutPage |
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.
1 file reviewed, no comments
No description provided.