Commit 538fafb
First attempt at structured data in SeoToolkit (#538)
* Starting on schema implementation
* Some starting points
* chore: outline schema resolver integration plan
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/51b4741c-0cf6-4891-8dd7-82877e03c18b
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* feat: wire schema editor persistence and schema.net resolution
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/51b4741c-0cf6-4891-8dd7-82877e03c18b
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Implement dedicated schema entry DB table with CRUD service, migration, and UI
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/d9bbc074-03ce-475d-bffa-6fb46a2ac480
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Fix merge conflicts
* Fix schema editor: immediate picker submit, entry loading on refresh, property value input
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/b2c4c012-d7fc-452d-a6f2-9c5277d2c42d
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Fix trailing whitespace in SchemaPickerModal
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/b2c4c012-d7fc-452d-a6f2-9c5277d2c42d
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Fix schema editor feedback: displayName, pick existing names, reference dropdown, doc type ownerKey, remove edit dropdown
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/2a667a7c-49cf-4667-b2aa-2d8b3cdc5c40
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Clean up: add using directives, extract PropertyValue import, fix code review feedback
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/2a667a7c-49cf-4667-b2aa-2d8b3cdc5c40
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Additive schemas with doc type inheritance, media picker for logo field
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/87519cb0-70d5-4ac1-a816-8ee35e9fac41
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Add Raw JSON schema type with allowReference support
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/eab47e70-5014-40a2-a50a-9b9f85c37ea3
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Fix schema logo media picker persistence
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/97b788e3-258e-4b77-b106-e3f0e189e350
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* Some fixes
* Add value converter pipeline for schema property values
Agent-Logs-Url: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/sessions/e4c902cd-0f56-4c10-8e09-1069869d4025
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
* More fixes
* Schema config passthrough, allowedSchemas filtering, and ownerKey fix
- Add Config dictionary to SchemaProperty for passing editor config to umb-property
- Add allowedSchemas config support to SchemaEditorPropertyEditor for filtering schema types
- Fix ownerKey for nested schema editors by pre-generating GUID client-side
- Fix 'Address Country' display name in PostalAddressSchemaResolver
- Wrap JsonDocument.Parse in try-catch in RawJsonSchemaResolver
* Bit of cleanup
* Fix some typings
* Some feedback things
* Add website as ownerType and some bugfixes
* Small fixes
* Fix with the migration
* Up versions
* Some fixes
* Add developmentmode package
* Up versions
* Fix tests
* Add way to reference context on the page itself
* Add more schema fields
---------
Co-authored-by: patrickdemooij9 <11466511+patrickdemooij9@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent 2df0be4 commit 538fafb
71 files changed
Lines changed: 4553 additions & 31 deletions
File tree
- src
- SeoToolkit.Tests/SeoToolkit.Tests
- SeoToolkit.Umbraco.Common.Core
- Controllers
- Interfaces
- Models/ViewModels
- SeoToolkit.Umbraco.Common/assets/src
- api
- components
- SeoToolkit.Umbraco.MetaFields.Core
- Collections
- Common
- Converters
- EditorConverters
- SeoValueConverters
- SchemaResolvers
- SeoFieldEditEditors
- SeoSettings
- Composers
- Config
- Models
- Constants
- Controllers
- Interfaces
- SeoField
- Migrations
- Models
- SchemaEditor
- SchemaEntry
- Business
- Database
- PostModels
- ViewModels
- SeoField
- ViewModels
- Providers
- Repositories/SchemaEntryRepository
- Services/SchemaEntryService
- SeoToolkit.Umbraco.MetaFields/assets/src
- api
- components
- constants
- dataAccess
- manifests
- popups
- propertyEditors
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 123 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
Lines changed: 141 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
0 commit comments