Mads Rasmussen
513f980e5c
Split "Sort Children"-logic to remove "illegal" import from core to packages ( #19105 )
...
* wip sortChildrenOfContent kind
* export types
* add modal token + consts
* Update manifests.ts
* add content tree item model
* wip use umb-table element
* set as prop
* render sort icon
* prevent selection when sortable
* remove unused
* clean up
* reflect sortable prop
* start implementing sortChildrenOfContent
* render name and create date
* handle date ordering
* remove unused
* clean up
* fix grab and grabbing styling for sortable table rows
* render label when no children
* Update sort-children-of-content-modal.element.ts
* fix styling of load more
* only allow sorting when all items are loaded
* Update index.js
2025-04-23 15:12:48 +00:00
Mads Rasmussen
bdb7baf946
Add report for bidirectional module imports ( #19112 )
...
* add report for bidirectional module imports
* remove duplicates
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk >
2025-04-23 11:35:35 +00:00
Mads Rasmussen
59cad092ae
Cleanup last known self imports ( #19067 )
...
* clean up self imports in workspace module
* clean up media type self imports
* fix self imports in property action module
* fix self imports in propety editor module
* Update index.js
* lower threshold
2025-04-16 19:33:25 +00:00
Mads Rasmussen
fcc8e2fe3a
Chore: Temp solution to remove user circular imports ( #19021 )
...
* remove user and document/media circular imports
* fix code order
* change MAX_CIRCULAR_DEPENDENCIES
* remove all comments from content before checking for imports
* fix self import
* fix self imports
2025-04-15 13:18:14 +00:00
Mads Rasmussen
3cd3abe5c8
Fix document module self import ( #19035 )
...
* fix document self import
* lower SELF_IMPORTS_THRESHOLD
* Update index.js
* Update index.js
2025-04-15 10:46:33 +00:00
Mads Rasmussen
e6ab1d9a6b
Move + Rename input-collection-configuration element to input-content-type-collection-configuration ( #19041 )
...
* move to content-type module
* make name more explicit
* add total to text
* update threshold
* remove completed todo
2025-04-15 09:27:06 +00:00
Mads Rasmussen
37e25c3b2b
fix for member and member type ( #19037 )
2025-04-15 10:48:19 +02:00
Mads Rasmussen
906285120e
Dont check for imports in comments ( #19026 )
...
* remove all comments from content before checking for imports
* lower treshold
2025-04-14 18:50:20 +00:00
Mads Rasmussen
797db55f73
Content client package ( #18978 )
...
* scaffold content package
* move content module files
* move content type module files
* update module paths
* fix imports and registration
* import package
* move content collection condition to content module
* align naming
* use consts
* fix imports
* fix import
* change circular threshold
* adjust threshold
* build the correct modules for content package
* Update package-lock.json
* Update index.js
* Update package-lock.json
* Update index.js
* move UmbPropertyStructureWorkspaceContext token and interface
* move UmbWorkspaceContentTypeAliasConditionConfig to content-type module
* fix self import
* fix self imports
* Update content-workspace-context.interface.ts
* remove type from import
* add readOnlyGuard to interface
* remove dependency on content
* move property type module into content package
* update package.json + tsconfig
* import manifests
* move build config
* Update index.js
* lint corrections
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com >
2025-04-14 14:25:03 +00:00
Mads Rasmussen
684790df70
Chore: Add script to check for "illegal" imports ( #18992 )
...
* stop webhook module from importing itself
* wip script to list all module imports from a folder
* Update package.json
* fix ufm
* fix tip tap
* order by name
* fix stylesheet module
* fix self import
* fix self import
* pass folder as a variable
* implement folder variable
* allow to pass module name + prettify log output
* check for imports from core to packages and report error
* add comments
* run as part of test
* Update package.json
* add threshold
* Update index.js
* add report of module self imports
* Update index.js
* Update index.js
* Update src/Umbraco.Web.UI.Client/devops/module-dependencies/index.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove self imports in /extension-api
* fix order
* fix self imports
* fix self import
* fix self imports
* fix self imports
* fix collection self import
* fix self imports
* fix self import
* Update collection-pagination.element.ts
* Update entity-action.extension.ts
* fix self imports
* lower threshold
* fix self imports
* fix self imports
* fix self imports
* fix merge
* fix tree self imports
* Update sort-children-of-modal.element.ts
* Update section.context.ts
* change threshold
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-14 07:55:20 +00:00