Refactor canvas storage URL handling and integrate adjustment presets
- Introduced a new `CanvasPresetsProvider` to manage adjustment presets for nodes, enhancing state management and reducing reactivity. - Updated storage URL resolution to utilize a mutation instead of a reactive query, improving performance and reducing unnecessary re-renders. - Refactored adjustment nodes (color-adjust, curves, detail-adjust, light-adjust) to use the new preset context for fetching user presets. - Improved overall canvas functionality by streamlining storage ID collection and URL resolution processes.
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
*/
|
||||
/**
|
||||
* Reichert Node-Dokumente mit `data.url` an (aus gebündelter Storage-URL-Map).
|
||||
* Behält eine zuvor gemappte URL bei, solange die Batch-Query noch lädt.
|
||||
* Behält eine zuvor gemappte URL bei, solange die URL-Auflösung noch lädt.
|
||||
*/
|
||||
export function convexNodeDocWithMergedStorageUrl(
|
||||
node: Doc<"nodes">,
|
||||
|
||||
Reference in New Issue
Block a user