Commit Graph

543 Commits

Author SHA1 Message Date
Mads Rasmussen
459df80680 add item repository 2023-04-17 16:18:55 +02:00
Mads Rasmussen
586a73bfd2 add item data source 2023-04-17 16:18:28 +02:00
Mads Rasmussen
f2c9c23b00 use picker context in language picker 2023-04-17 15:43:59 +02:00
Mads Rasmussen
1b0d2ebec2 look in selected items instead of requesting the repository 2023-04-17 10:47:38 +02:00
Mads Rasmussen
0880c199f0 add support for multiple + request items in context 2023-04-17 10:41:41 +02:00
Mads Rasmussen
39ed952cf7 Merge branch 'main' into feature/data-type-picker 2023-04-17 08:58:54 +02:00
Warren Buckley
0e77570527 Simplify the problem and show if something is an RxJS subscribable, a HTML WebComponent or some other object 2023-04-13 12:58:19 +02:00
Warren Buckley
1dcf75c32a Attempt number two - data returned doesn't seem right :S 2023-04-13 12:58:19 +02:00
Warren Buckley
07b1febdc9 WIP & messy but trying to serialize the object data
NOTE: Currently gets so far before another circular dependancy this time its trying to serialize lit stuff - so way toooo deep
2023-04-13 12:58:19 +02:00
Mads Rasmussen
bef326ec69 add data type picker token 2023-04-12 17:05:28 +02:00
Mads Rasmussen
06744ec39b add picker context base class 2023-04-12 17:05:01 +02:00
Niels Lyngsø
f8672605ac no need for this amount of code in here. 2023-04-12 11:23:35 +02:00
Niels Lyngsø
2694069dd5 don't lint fix this import. 2023-04-12 11:18:46 +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ø
78a65d3b67 fix import 2023-04-12 09:35:56 +02:00
Niels Lyngsø
2016f4ec03 clean up router utils 2023-04-12 09:22:18 +02:00
Niels Lyngsø
e5bbb10638 Merge remote-tracking branch 'origin/main' into feature/navigate_to_edit_path_when_created
# Conflicts:
#	libs/router/route.context.ts
#	src/backoffice/settings/languages/workspace/language/language-workspace.element.ts
2023-04-11 15:31:36 +02:00
Niels Lyngsø
b177677145 Merge remote-tracking branch 'origin/main' into feature/router-slot-2.0.0 2023-04-11 12:33:07 +02:00
Jacob Overgaard
b16b8b7335 Chore/update tree api types (#644)
* update types from v13

* replace endpoint names
2023-04-11 10:32:05 +02:00
Jacob Overgaard
630b727a02 upgrade router-slot to 2.0.0 2023-04-04 16:47:29 +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ø
debc94481c more changes 2023-04-04 14:03:05 +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ø
dae902c2a0 Partly Document Type Workspace (#636)
* move container property logic into a manager

* restructure of property structure helpers

* simpler styling

* migrate structural code to helper classes

* rename to helper

* re arrange

* rename + transfer structural views

* styling

* context observers

* refactor container observables

* _observeOwnerProperties

* clean up

* creation of base structure

* add property method

* move style

* view and edit properties

* use !

* import ordering

* correct typing

* fixes
2023-04-03 11:34:54 +02:00
Jacob Overgaard
57f13546ad try to parse the error.body as JSON since the error detail may have been packed away into a json string 2023-04-03 10:35:21 +02:00
Mads Rasmussen
424beea16e Feature: Create data type folders (1. round) (#630)
* update data type handlers

* call correct method on repo

* introduce base menu item element

* wip register create and delete entity actions for data types

* stop event

* add folder request interceptor

* remove todo

* create interface for folder data source

* create interface for folder repository

* open create dialog in data type create action

* wip create folder modal

* add token

* clean up data type repo

* add has children prop

* add create folder modal

* add folder to temp data

* update import

* implement delete folder action

* add method to update folder

* update detail data source interface to follow backend models

* lint fixes

* move import fixes

* make generic folder modal

* add correct request model

* add put interceptor

* fix import

* update data type notification headline
2023-03-31 13:41:14 +02:00
Warren Buckley
21310cf61c Umb debug - Small refactor to prep for Browser Extension (#622)
* Change from enabled to visible

As the DOM item umb-debug will still fire the event to collect contexts regardless if it can be seen

* Refactor so we don't repeat - but emits an event in the callback that the browser ext can listen for

* Add in interfaces to make TypeScript happier with our code

* Changes and merge conflict

Tripple check merge conflict not gone weird

* Fix up my bad merge conflicts 🙈

* More merge conflict fixes

Lint caught this and reminded
2023-03-31 08:56:17 +02:00
Mads Rasmussen
a16d87de47 Merge branch 'main' into feature/documen-type-workspace 2023-03-30 10:20:39 +02:00
Niels Lyngsø
17eeb40e91 one more commit 2023-03-30 09:59:19 +02:00
Jesper Møller Jensen
4c177a7884 Merge remote-tracking branch 'origin/main' into feature/user-profile-apps 2023-03-30 12:28:21 +13:00
Jesper Møller Jensen
b7736ff3b1 remove old imports 2023-03-30 12:24:52 +13:00
Jesper Møller Jensen
4fc246827e Merge branch 'main' into feature/user-profile-apps 2023-03-30 12:21:13 +13: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ø
de19b71c90 fix imports 2023-03-29 22:37:03 +02:00
Niels Lyngsø
0cf9dd7d1e Move Modal Tokens 2023-03-29 22:29:03 +02:00
Niels Lyngsø
c637a3a74b workspace context token 2023-03-29 22:06:08 +02:00
Niels Lyngsø
c698bb57f3 updating code to latest 2023-03-29 20:53:40 +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
Niels Lyngsø
2713b109fb Merge remote-tracking branch 'origin/main' into feature/documen-type-workspace 2023-03-29 16:08:34 +02:00
Niels Lyngsø
4aade5e764 merge 2023-03-29 15:55:57 +02:00
Niels Lyngsø
69f46f74c9 more structure manipulation methods 2023-03-29 15:51:28 +02:00
Niels Lyngsø
55d501ac68 arrayState updateOne method + test 2023-03-29 15:48:57 +02:00
Niels Lyngsø
d4499017fc lint fixes 2023-03-28 14:38:08 +02:00
Niels Lyngsø
d63419ccda make sure to only import types from router-slot in libs. 2023-03-28 13:04:11 +02:00
Niels Lyngsø
8d51bd0519 Merge remote-tracking branch 'origin/main' into feature/modal-routing
# Conflicts:
#	src/app.ts
#	src/backoffice/shared/components/input-multi-url-picker/input-multi-url-picker.element.ts
2023-03-28 11:49:25 +02:00
Mads Rasmussen
afc1e80983 Update libs/store/file-system-tree.store.ts
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2023-03-28 10:59:47 +02:00
Niels Lyngsø
7dc614751b change to use type import 2023-03-28 10:57:28 +02:00
Mads Rasmussen
755134ce1e Merge branch 'main' into feature/tree-item-extension-point 2023-03-28 10:53:27 +02:00