Skip to content
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

Add support for showing custom resources in the dashboard #2390

Merged
merged 10 commits into from
Feb 28, 2024

Commits on Feb 27, 2024

  1. Add support for showing custom resources in the dashboard

    - Added DashboardAnnotation which allows changing a dashboard context. This context consists of properties, urls and the resource state.
    - Show all resources based on the app model before watching dcp for updates.
    
    Added a model for upates
    - Use a snapshotting model for dashboard updates
    
    Update the previous state
    
    Clean up how we resolve projects from DCP resources
    
    Some feedback
    - Make the initial snapshot state take computed values from well known annotations.
    
    Fixed typos
    
    Small change
    
    Added a public DashboardKnownProperties
    
    Added playground for testing custom resource API
    
    Remove manifest
    
    Handle missing parameter values
    
    Fix configuration
    
    Apply feedback and made more changes
    - Clean up te threading model. There can only be a single producer and consumer. The producer is responsible to keeping the state around if small mutations are to be made.
    - Keep the resource type filter working
    
    Remove exit code, fix create timestamp
    
    ExecutionContext not used
    
    Flow the cancellation token
    
    Move to single loop
    
    Remove logs hack for now
    davidfowl committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    41570c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb2db94 View commit details
    Browse the repository at this point in the history
  3. Removed unnecesary changes

    davidfowl committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    72a5318 View commit details
    Browse the repository at this point in the history
  4. Print no logs available.

    davidfowl committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    76658f1 View commit details
    Browse the repository at this point in the history
  5. dummy -> placeholder

    davidfowl committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    d20f07f View commit details
    Browse the repository at this point in the history
  6. Tests for the new API

    davidfowl committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    947a7fd View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Update playground/CustomResources/CustomResources.AppHost/TestResourc…

    …e.cs
    
    Co-authored-by: Karol Zadora-Przylecki <[email protected]>
    davidfowl and karolz-ms committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9be96ba View commit details
    Browse the repository at this point in the history
  2. PR feedback

    - Rename the annotation to CustomResourceAnnotation
    - Simplify the UI
    - Suppress async warning
    davidfowl committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0c86f71 View commit details
    Browse the repository at this point in the history
  3. Concurrent dictionaries everywhere

    - Does not remove resource types from the filter
    davidfowl committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1f2b625 View commit details
    Browse the repository at this point in the history
  4. Rename state to snapshot

    davidfowl committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    77a34dd View commit details
    Browse the repository at this point in the history