Commit Graph

22 Commits

Author SHA1 Message Date
Niels Lyngsø
f8672605ac no need for this amount of code in here. 2023-04-12 11:23:35 +02:00
Niels Lyngsø
5f884c2004 remove dublet 2023-04-12 11:17:43 +02:00
Niels Lyngsø
753c3a2d6d Merge remote-tracking branch 'origin/main' into feature/navigate_to_edit_path_when_created
# Conflicts:
#	libs/workspace/actions/save/save.action.ts
2023-04-12 11:11:05 +02:00
Mads Rasmussen
e546f469e8 Feature: Data type creation (#645)
* split data type handlers into multiple files

* return promise

* test register root as same entity as items

* add insert method to entity db

* redirect to new data type when selecting in options modal

* add options to modal name

* Update manifests.ts

* add margin to data type info view

* fix import

* update with models from server

* push new item to tree
2023-04-12 10:04:46 +02:00
Niels Lyngsø
42f901aa41 Proff of concept for navigating to edit path when created 2023-04-04 15:48:36 +02:00
Niels Lyngsø
f8b8f2c259 updated models (#639)
* updated models

* potential fix of eslint

* fix eslint rules

* first batch

* dictionary corrections

* batch 2

* batch 3

* tiny correction

* batch 4

* rename key to id internal models

* batch 5

* batch 6

* correct LogLevelCountsReponseModel

* batch 7

* batch 8

* batch 9

* health check data

* _createTableItems

* revert to key for checkbox list

* batch 9
2023-04-04 13:19:19 +02:00
Niels Lyngsø
17eeb40e91 one more commit 2023-03-30 09:59:19 +02:00
Niels Lyngsø
3504b837d3 Merge remote-tracking branch 'origin/main' into feature/documen-type-workspace
# Conflicts:
#	libs/workspace/actions/workspace-action-base.ts
#	libs/workspace/context/workspace-context.interface.ts
#	src/backoffice/documents/document-types/workspace/document-type-workspace.context.ts
#	src/backoffice/media/media/repository/media.repository.ts
#	src/backoffice/shared/components/code-editor/code-editor.stories.ts
#	src/backoffice/shared/components/input-document-type-picker/input-document-type-picker.element.ts
#	src/backoffice/shared/components/tree/tree-item.context.interface.ts
#	src/backoffice/shared/components/workspace/workspace-context/workspace-context.ts
#	src/backoffice/shared/components/workspace/workspace-context/workspace-property-structure-manager.class.ts
#	src/backoffice/shared/components/workspace/workspace-variant/workspace-variant.context.ts
#	src/backoffice/shared/modals/template/template-modal.element.ts
#	src/backoffice/templating/stylesheets/repository/manifests.ts
#	src/backoffice/templating/stylesheets/workspace/stylesheet-workspace.context.ts
2023-03-29 22:45:57 +02:00
Niels Lyngsø
c637a3a74b workspace context token 2023-03-29 22:06:08 +02:00
Mads Rasmussen
70c2f70420 Chore: Eslint rule to enforce element suffix (#625)
* add eslint rule to enforce element suffix on elements

* remove fixer

* rename first round of elements

* add element to element class name

* add element suffix

* rename element

* add element to UmbControllerHost instead of interface

* update imports after merge

* remove fixable flag

* fix after merge
2023-03-29 17:56:39 +02:00
Mads Rasmussen
fd05ff7637 move workspace context interface to workspace lib 2023-03-24 13:23:46 +01:00
Jacob Overgaard
796533ff11 Refactor libs into @umbraco-cms/backoffice/* (#608)
* merge libs rollup configs to one rollup

* move css from libs to src/core

* run rollup on cms build

* move test-utils to /utils folder

* move css to src/core

* mark @umbraco-cms/backoffice as external when building for CMS

* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module

* rename all imports to @umbraco-cms/backoffice/*

* rename events to umb-events to avoid rollup error of protected module name(?)

* test that libs can build

* move css to src/core

* move umb-lit-element and modal elements to src/core

* move some modal interfaces back to libs/modal

* move the icon store into src/core since it is very localized to the backoffice

* comment out build:libs for now since Github runs out of memory

* rename to match tsconfig alias

* add package.json to libs

* only make libs for lib folders

* turn off emit for typescript since we are handling types for libs separately

* build libs locally

* add script to move libs to final destination with some transform

* move libs after build

* move package.json to dist folder first (so we can publish from there)

* remove inline comments

* ensure the outputDir exists

* Remove re-export of extensions-registry library from models library

* move to individual files to avoid circular imports

* check if outputDir exists before trying to create it

* write transforms first in dist file and then copy the file to outputDir

* ensure all umbraco types are external

* copy information from main package.json file
2023-03-21 11:41:06 +01:00
Jacob Overgaard
3eca46f17d optimise build of workspace lib 2023-03-07 16:04:31 +01:00
Jacob Overgaard
8fd2bf910c build declarations for libraries 2023-03-07 15:31:56 +01:00
Niels Lyngsø
7b6bd3fe34 lint fix 2023-03-01 13:55:04 +01:00
Mads Rasmussen
1ec0a805ee add execute to WorkspaceAction interface 2023-02-28 14:08:43 +01:00
Mads Rasmussen
f2dd81a2f9 move default save action to lib folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
baa4309304 organize workspace actions in folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
2030fd915c add rollup config 2023-02-28 14:08:43 +01:00
Mads Rasmussen
2ec4ee4d72 add UmbWorkspace interface 2023-02-28 14:08:43 +01:00
Mads Rasmussen
9c1e97813d add import barrel 2023-02-28 14:08:43 +01:00
Mads Rasmussen
93bb443e50 create workspace lib folder 2023-02-28 14:08:43 +01:00