Enhance public access and error handling in site-related views and loaders
- Updated `DebugScopedRateThrottle` to allow public access for blueprint list requests with site filters. - Modified `SiteViewSet` and `SiteBlueprintViewSet` to permit public read access for list requests. - Enhanced `loadSiteDefinition` to resolve site slugs to IDs, improving the loading process for site definitions. - Improved error handling in `SiteDefinitionView` and `loadSiteDefinition` for better user feedback. - Adjusted CSS styles for better layout and alignment in shared components.
This commit is contained in:
@@ -25,6 +25,7 @@ export interface PageDefinition {
|
||||
type: string;
|
||||
blocks: Block[];
|
||||
status: string;
|
||||
order?: number;
|
||||
}
|
||||
|
||||
export interface Block {
|
||||
|
||||
Reference in New Issue
Block a user