Commit Graph

13 Commits

Author SHA1 Message Date
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
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
47a5866abf generate new models with the "Model" suffix 2023-02-09 13:37:35 +01:00
Jacob Overgaard
9e2c9c15e0 add new api types 2023-01-27 15:56:32 +01:00
Jacob Overgaard
2e53a4cd8a generate new models 2023-01-25 12:56:29 +01:00
Jacob Overgaard
b4886f7c67 revert package setup (for now) 2023-01-24 08:38:24 +01:00
Jacob Overgaard
c0d30be4f0 Revert "integrate @umbraco-cms/element and @umbraco-cms/context-api due to circular dependencies"
This reverts commit e87439ff5f.
2023-01-24 08:30:18 +01:00
Jacob Overgaard
e87439ff5f integrate @umbraco-cms/element and @umbraco-cms/context-api due to circular dependencies 2023-01-23 16:24:42 +01:00
Jacob Overgaard
095337245e update module of package.json [skip ci] 2023-01-23 15:39:05 +01:00
Jacob Overgaard
4f53ab43ea add package and rollup to libs 2023-01-23 14:36:50 +01:00
Jacob Overgaard
ac9a406eb9 only include dist folder 2023-01-23 13:51:26 +01:00
Jacob Overgaard
0de2f9edde add initial library files to backend-api 2023-01-20 13:46:33 +01:00
Jacob Overgaard
316bfcb83e move backend-api to its own lib folder 2023-01-20 11:35:23 +01:00