Commit Graph

157 Commits

Author SHA1 Message Date
Warren Buckley
18d370392e Merge branch 'main' into feature/debug-component 2023-02-15 16:45:45 +00:00
Mads Rasmussen
d86f18f6eb move eslint comment 2023-02-15 12:38:46 +01:00
Mads Rasmussen
9892f3cae4 Merge branch 'main' into bugfix/data-type-workspace 2023-02-15 11:46:13 +01:00
Warren Buckley
e311465a1e Remove unused import 2023-02-15 09:06:31 +00:00
Warren Buckley
7b99678f20 Merge remote-tracking branch 'origin/main' into feature/debug-component
# Conflicts:
#	libs/context-api/provide/context-provider.ts
2023-02-15 09:05:01 +00:00
Niels Lyngsø
5df2f3a4f1 context-provider-controller prevents replacement (#519)
* context-provider-controller prevents replacement

* correct import order

* do not re-provide self providing context

* define and test controller-host-test element
2023-02-15 08:47:00 +00:00
Warren Buckley
de8406504f Merge branch 'main' into feature/debug-component 2023-02-14 15:00:57 +00:00
Nathan Woulfe
3f0a4c43b5 Translations section - WIP (#390)
* initial poc for translations section

* umb-section-sidebar to top of stack,
only show content-app tabs when more than one exists

* delete old

* add empty translation

* adds tree actions

* save/delete
scaffold stories for dashboard and edit view

* uses generic node-save

* import path

* no border-bottom on last property editor

* add shared component for context menu layout
- set headline
- set footer and action buttons

* use umb-context-menu-layout

* hygiene

* fix icon in data mock

* remove logging

* add generic error logging to UmbDataStoreBase

* switch get to management api

* adds create button, filter input

* update store

* use store instead of directly calling resource
updates to manage changes for uniqueBehaviorSubject

* adds import action

* alert for debugging

* avoid mutating items when getting children
tidy up table generation
pass file rather than formdata

* revert table changes - handled in separate pr

* null check dictionary items

* update to use store context token
alt treatment for section with single dashboard

* fixes after merging - libs, store split

* fix store splits

* update model references

* merge main

* update api/models/services
update transation dashboard to get all languages, to map display names

* prepended input icon needs div rather than directly slotting

* post-merge cleanup, sort dashboard by default then name

* show all languages when editing

* native private, indent children in overview

* updates using true data source rather than mocks

* remove todo

* remove logging

* update with repository pattern

* icon

* cleanup actions - native private, unused imports

* more cleanup

* updates export handling

* update mocks/handlers

* add detail repo

* update setting translation value

* more repo improvements, improve editing

* more repo updates
base tree
entity actions

* fix table column headers

* unuse imports

* entity action for save

* use entity actions

* use setPropertyValue

* use tree store base
2023-02-14 14:25:21 +00:00
Warren Buckley
5c2236fe40 Some work witrh help of pairing with Mads to get the contexts collected and then passed to callback on original firing event 2023-02-14 14:12:51 +00:00
Warren Buckley
c00b77791e Rework based on Mads notes 2023-02-14 12:08:30 +00:00
Mads Rasmussen
8fe833e5b3 clean up data types 2023-02-13 21:55:22 +01:00
Niels Lyngsø
60ad1c3835 Feature/tree store base (#514)
* out comment temprorary for development

* initial prep

* comment

* change port number for dev generate api

* generated new apis

* document-type repository

* rename to item

* rename to document

* use ItemType

* not name detail for full models

* correct token

* imports

* correct imports

* use DocumentTypeTreeItem

* mega type adapt commit

* move DataType import

* rename document detail store

* add document

* new mock data

* partialUpdateFrozenArray

* imports

* document context work

* document and document type in context

* data-type stores + data-sources

* byKey document + data-type

* remove type

* comment

* data-type repository

* data-type context adjustments

* data-type data observable

* fix model import

* use ContentTypeCompositionType

* correct mock data

* .

* split treedata / data

* correct mock endpoints

* new models

* update model usage

* correct models

* imports

* correct models

* update model imports

* update models

* update type

* update docuemnt models

* use DocumentModel

* DocumentModel

* import lit/decorators.js

* lint fixes

* remove console.logs

* implementation of tree store base class

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-13 13:23:53 +00:00
Niels Lyngsø
818bcb35bb Feature/document using content api (#513)
* out comment temprorary for development

* initial prep

* comment

* change port number for dev generate api

* generated new apis

* document-type repository

* rename to item

* rename to document

* use ItemType

* not name detail for full models

* correct token

* imports

* correct imports

* use DocumentTypeTreeItem

* mega type adapt commit

* move DataType import

* rename document detail store

* add document

* new mock data

* partialUpdateFrozenArray

* imports

* document context work

* document and document type in context

* data-type stores + data-sources

* byKey document + data-type

* remove type

* comment

* data-type repository

* data-type context adjustments

* data-type data observable

* fix model import

* use ContentTypeCompositionType

* correct mock data

* .

* split treedata / data

* correct mock endpoints

* new models

* update model usage

* correct models

* imports

* correct models

* update model imports

* update models

* update type

* update docuemnt models

* use DocumentModel

* DocumentModel

* import lit/decorators.js

* lint fixes

* remove console.logs

* new up router slot

* set hasChildren to false

* fix hos argument + add todo to revisit this code

* add todo

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-13 12:33:31 +00:00
Jacob Overgaard
132acb5810 use import.meta.env.BASE_URL to load icons so they work in the CMS which has a different base url 2023-02-13 10:00:06 +01:00
Jacob Overgaard
57ba1e2d51 remove baseUrl function since import.meta.env.BASE_URL provides what we need 2023-02-13 10:00:06 +01:00
Mads Rasmussen
bebd97fc59 remove duplicate interfaces 2023-02-10 12:11:42 +01:00
Mads Rasmussen
10728b6c81 move type fixes 2023-02-10 12:04:50 +01:00
Mads Rasmussen
666a3ccebd fixing types 2023-02-10 12:00:26 +01:00
Mads Rasmussen
25bd735849 Merge branch 'main' into feature/entity-actions 2023-02-10 11:58:55 +01:00
Jacob Overgaard
584afafaf4 rename models 2023-02-10 10:51:02 +01:00
Jacob Overgaard
a3434a544e Merge remote-tracking branch 'origin/main' into chore/apimodels 2023-02-10 10:47:20 +01:00
Jacob Overgaard
034dcf915f @umbraco-cms/models 2023-02-09 17:05:50 +01:00
Jacob Overgaard
25081cc8a0 update ProblemDetailsModel 2023-02-09 16:59:23 +01:00
Mads Rasmussen
25670d09e8 Merge branch 'main' into feature/entity-actions 2023-02-09 14:59:17 +01:00
Jacob Overgaard
47a5866abf generate new models with the "Model" suffix 2023-02-09 13:37:35 +01:00
Mads Rasmussen
a2ae2d3e0d use new extension point for bulk action + remove old 2023-02-08 09:48:57 +01:00
Nathan Woulfe
e4effeb3a7 scaffold members section 2023-02-08 15:24:46 +10:00
Mads Rasmussen
8ff26c1aec add action and entity action base classes 2023-02-07 21:47:58 +01:00
Mads Rasmussen
24d4157b77 implement repositories for media 2023-02-07 19:16:06 +01:00
Mads Rasmussen
ca53fa300a add bulk action extension type 2023-02-07 15:15:01 +01:00
Mads Rasmussen
d7564149d3 make api optional 2023-02-07 11:39:50 +01:00
Mads Rasmussen
abc26ffa87 don't use unique in workspace actions 2023-02-07 11:02:53 +01:00
Mads Rasmussen
f364b493cf Merge branch 'main' into feature/entity-actions 2023-02-07 08:40:31 +01:00
Niels Lyngsø
95f4dded99 fixed document detail data source 2023-02-06 16:18:16 +01:00
Niels Lyngsø
1a86043763 do not require api 2023-02-06 16:01:26 +01:00
Niels Lyngsø
a2682b2c8c use HTMLElementConstructor 2023-02-06 15:58:25 +01:00
Mads Rasmussen
a17d771a87 use repository alias in entity actions 2023-02-06 15:42:43 +01:00
Mads Rasmussen
0be0c34430 Merge branch 'main' into feature/improve-extensions-workspace 2023-02-06 15:07:27 +01:00
Niels Lyngsø
279f82ae26 implement router-slot 2023-02-06 12:57:02 +01:00
Warren Buckley
69a9e783b3 Add new method to extension registry to get a sorted list of extensions by type and then weight 2023-02-06 10:06:24 +00:00
Mads Rasmussen
3e9b097d8b add workspace actions to document + add default element for a workspace action 2023-02-03 22:31:42 +01:00
Niels Lyngsø
3cf70a1b3c request asObservable() 2023-02-03 15:34:32 +01:00
Niels Lyngsø
3de8d31e96 initial collection for Documents with repository 2023-02-03 15:00:41 +01:00
Niels Lyngsø
5f204d5f17 create extension class 2023-02-03 14:17:24 +01:00
Niels Lyngsø
ab2d551af3 ClassConstructor and ManifestClass type 2023-02-03 11:54:26 +01:00
Mads Rasmussen
fc8e8189a8 add more actions 2023-02-03 11:08:00 +01:00
Mads Rasmussen
be5d9f053e rename delete to trash + fix modal titles 2023-02-02 20:44:59 +01:00
Niels Lyngsø
6d58821245 refactor document to repository 2023-02-02 14:59:20 +01:00
Niels Lyngsø
8012e02c2d further implementation 2023-02-02 13:20:28 +01:00
Niels Lyngsø
56f79d1dae initial merge 2023-02-02 13:04:47 +01:00