* set property type unique on context * set the value * observe property type unique from content picker property editor * remove unused * observe data type unique * wip picker memories * append memory option to the picker data model * split into methods * initialize memory context * rename arg * make memory module * export constants * allow nested memories * pass memory from input document to picker context * Update property-editor-ui-content-picker.element.ts * fix import * prefix with interaction * clean up * fix import * rename module * Update vite.config.ts * update module name * observe after search is initialized * use memory manager in all places * make picker modal base element * update types * add memory for document picker property editor * store tree item picker expansion state in interaction memory * Update picker-modal-base.element.ts * remove the memory if we have no expansion state * delete memory if it doesn't include anything * clear picker input memories if nothing comes from the modal * Refactor interaction memory handling in picker input Moved the passing of interaction memories from the document picker input context to the core picker input context. Renamed the method for setting memories from the modal for clarity and consistency. * only dispatch an event if the value changes * remove unused * observe to support close on escape * add comments * fix type error * fix typings * Replaces data type-based memory keys with config hash-based keys * dont store picker search in interaction memory * Rename interaction memory key in picker modal base * Remove error throw for missing interaction memory * Refactor interaction memory handling in content picker Replaces the single 'memory' property with an 'interactionMemories' array and updates event handling to support multiple interaction memories. Adjusts property types, event listeners, and child component bindings to accommodate this change. * Refactor content picker to use interaction memories Replaces the previous memory handling with a new approach using interaction memories, including unique hash generation based on config. Updates event handling and property names to align with the new interaction memory model, improving state management and consistency. * remove debugger * rename const * wip media picker memories * remove args * simplify memory model * update internal value before dispatching event * remove unused * Update property-type-based-property.element.ts * rename method * simplify types * implement location memory for media picker * temp type cast * set location memory when using the breadcrumb * remove code duplication * bubble memories from input media to input content * Update src/Umbraco.Web.UI.Client/src/packages/property-editors/content-picker/property-editor-ui-content-picker.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix import * remove unused method * Refactor content picker interaction memory management Introduced UmbPropertyEditorUiInteractionMemoryManager to encapsulate interaction memory logic for property editors. Updated the content picker property editor to use this new manager, removing duplicated memory management code and improving maintainability. * Refactor interaction memory management in pickers Replaces custom interaction memory logic in document and media picker property editors with the shared UmbPropertyEditorUiInteractionMemoryManager. Updates unique memory key prefixes for consistency and simplifies related event handling. This improves maintainability and standardizes memory management across property editors. * export context token * add js docs * remove timestamp * add tests for interaction memory manager * Added tests for the property editor ui interaction memory manager * Rename memories to memoriesForPropertyEditor Renamed the 'memories' property to 'memoriesForPropertyEditor' in the interaction memory manager and updated all references in related property editor components and tests for clarity and consistency. * Separated out `import type`s + ordering * remove interaction memory implementation in modal context * remove interactionMemories from modal interface * revert to using the umbOpenModal helper * align property and event name --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: leekelleher <leekelleher@gmail.com>
Umbraco CMS
Umbraco is a free and open source .NET content management system. Our mission is to help you deliver delightful digital experiences by making Umbraco friendly, simpler and social.
Learn more at umbraco.com
Looking to install Umbraco?
You can get started using the following commands on Windows, Linux and MacOS (after installing the .NET Runtime and SDK):
dotnet new install Umbraco.Templates
dotnet new umbraco --name MyProject
cd MyProject
dotnet run
Documentation
Our comprehensive documentation takes you from the fundamentals on how to start with Umbraco to deploying it to production.
Some important documentation links to get you started:
- Installing Umbraco CMS
- Getting to know Umbraco
- Tutorials for creating a basic website and customizing the editing experience
Get help
If you need a bit of feedback while building your Umbraco projects, we are chatty on Discord. Our Discord server serves both a social space but also has channels for questions and answers. Feel free to lurk or join in with your own questions. Or just post your daily Wordle score, up to you!
Looking to contribute back to Umbraco?
You came to the right place! Our GitHub repository is available for all kinds of contributions:
Umbraco is contribution-focused and community-driven. If you want to contribute back to the Umbraco source code, please check out our guide to contributing.
