Waldur integration#48
Merged
Merged
Conversation
added openapi-ts API client generation.
- Implement OrganizationContext for managing selected organization state. - Create OrganizationBreadcrumbs component for navigation breadcrumbs. - Add OrganizationHeader component to display header with organization info and user actions. - Introduce OrganizationSelector for selecting different organizations. - Develop OrgLayoutWrapper to validate organization access and load context. - Create V2Layout for overall layout structure with authentication checks. - Implement VmDashboard to display virtual machines and organization stats. - Add hooks for fetching organizations and specific organization details.
- Implement oganizationContext for managing selected organization state. - Create OrganizationBreadcrumbs component for navigation breadcrumbs. - Add OrganizationHeader component to display header with organization info and user actions. - Introduce OrganizationSelector for selecting different organizations. - Develop OrgLayoutWrapper to validate organization access and load context. - Create V2Layout for overall layout structure with authentication checks. - Implement VmDashboard to display virtual machines and organization stats. - Add hooks for fetching organizations and specific organization details.
- Introduced a new Breadcrumbs component for improved navigation across the application. - Updated OrganizationBreadcrumbs to handle profile page navigation. - Replaced OrganizationBreadcrumbs with the new Breadcrumbs component in OrganizationHeader. - Enhanced organization selection flow by updating the organization selector to navigate to the correct VM view. - Added ProjectFilter component to allow filtering of VMs by project. - Implemented VmCard and VmList components to display VM resources with loading states and filtering capabilities. - Created useOrgVmResources hook for fetching and managing VM resources with smart polling. - Updated Profile and ViewOrganization pages to integrate new components and improve user experience. - Added resource statistics calculation and display in the VM Dashboard.
- Added VmDetails page to display detailed information about a VM, including resource and instance details, network information, and error messages. - Introduced VmStateIndicator component to visually represent the state of the VM. - Enhanced VmCard component to include action buttons for starting, syncing, and viewing details of the VM. - Created hooks for managing VM actions such as starting, stopping, restarting, and syncing with OpenStack. - Implemented useMarketplaceResource and useOpenstackInstance hooks for fetching resource and instance details. - Updated the index file to export the new VmDashboard and VmDetails components.
… and project credits - Introduced CreditBalanceCard component to display customer credit details. - Added ProjectCreditSummary component to summarize project credits. - Implemented ResourceUsageCard to estimate VM costs based on resource usage and plan details. - Created custom hooks (useCustomerCredits, useProjectCredits, useCustomerProjectCredits, useResourceComponentUsages) for fetching credit data. - Enhanced VmDashboard to include credit summaries and loading states. - Updated VmDetails to show resource usage and cost estimates. - Added utility functions for credit calculations and formatting. - Extended QueryKeys with new constants for credits and plan details.
- Implemented InvitationAccept component for users to accept or decline invitations. - Added NoAccessPage component for users without organization access, allowing them to request access. - Updated SelectOrganization to redirect users to NoAccessPage if they have no organizations and are not staff. - Created PermissionRequests and UserManagement admin pages for managing user permissions and invitations. - Introduced cost policy types and utility functions for managing spending limits and notifications.
…nhance organization projects and resources views
…adability and maintainability
Added updated api spec and doc for Waldur API.
…member management, and spending summaries
…urce usage in VM dashboard
…d project-centric VM management
- Added V1AuthContext and V2AuthContext to manage authentication for V1 and V2 systems. - Updated App component to include new routes for V1AuthRedirect. - Modified API error handling to skip redirect for /auth/status. - Refactored AppHeader, Sidebar, and LogOutButton components to use V1AuthContext. - Updated Home, Profile, and LogoutRedirect pages to utilize V2AuthContext. - Created V1AuthRedirect page to handle authentication status checks for V1. - Adjusted various components and hooks to support the new authentication structure. - Enhanced user experience with new buttons for switching between V1 and V2 systems.
There was a problem hiding this comment.
Pull request overview
Adds auto-generated Waldur OpenAPI reference documentation and a “waldur-api” skill guide to enable consistent lookup of endpoints/schemas/operation IDs during integration work.
Changes:
- Added multiple API reference markdown files (marketplace, auth, events, admin, AWS, DigitalOcean) generated from
waldur-openapi.json. - Added an index README for the reference set.
- Added
.claude/skills/waldur-api/SKILL.mddescribing how to navigate/search the API spec efficiently.
Reviewed changes
Copilot reviewed 18 out of 202 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| .claude/skills/waldur-api/references/marketplace-plans.md | New generated reference for marketplace plans & plan components endpoints |
| .claude/skills/waldur-api/references/marketplace-orders.md | New generated reference for marketplace order endpoints |
| .claude/skills/waldur-api/references/marketplace-offerings-config.md | New generated reference for offering config/media endpoints |
| .claude/skills/waldur-api/references/marketplace-categories.md | New generated reference for marketplace categories-related endpoints |
| .claude/skills/waldur-api/references/events.md | New generated reference for events/subscriptions/notifications endpoints |
| .claude/skills/waldur-api/references/digitalocean.md | New generated reference for DigitalOcean service endpoints |
| .claude/skills/waldur-api/references/aws.md | New generated reference for AWS service endpoints |
| .claude/skills/waldur-api/references/auth.md | New generated reference for authentication/identity provider endpoints |
| .claude/skills/waldur-api/references/admin-monitoring.md | New generated reference for monitoring/logs/debug/statistics endpoints |
| .claude/skills/waldur-api/references/admin-checklists.md | New generated reference for checklist administration endpoints |
| .claude/skills/waldur-api/references/README.md | New index of all reference markdown files and endpoint counts |
| .claude/skills/waldur-api/SKILL.md | New skill documentation explaining how to use the reference + search scripts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.