Commit Graph

3885 Commits

Author SHA1 Message Date
Warren Buckley
a42cc1bdb2 Update src/backoffice/settings/dashboards/published-status/dashboard-published-status.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-02-16 20:13:52 +00:00
Warren Buckley
64ecdc69aa Update src/backoffice/shared/components/debug/debug.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-02-16 20:13:42 +00:00
Warren Buckley
2e3aafbc01 Update src/backoffice/shared/components/debug/debug.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-02-16 20:12:54 +00:00
Warren Buckley
16cde515c2 Update src/backoffice/shared/components/debug/debug.modal.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-02-16 20:12:39 +00:00
Warren Buckley
18d370392e Merge branch 'main' into feature/debug-component 2023-02-15 16:45:45 +00:00
Warren Buckley
c2fab69600 Adds way to open debug info in a dialog
* UI needs tidying up - spacing
* Consider dropping the other UI approach and use dialog only
* Need to ensure all typed
* Neaten/refactor code if needed
* Lint code
2023-02-15 16:42:50 +00:00
Jacob Overgaard
b9f06f1dc3 Merge pull request #526 from umbraco/bugfix/data-type-workspace
Bugfix/Data Type workspace doesn't load
2023-02-15 14:02:15 +01:00
Mads Rasmussen
d86f18f6eb move eslint comment 2023-02-15 12:38:46 +01:00
Mads Rasmussen
79b82da42e fix double provided context 2023-02-15 11:52:05 +01:00
Mads Rasmussen
1818cf74fa remove test code 2023-02-15 11:49:24 +01:00
Mads Rasmussen
b9982647c5 Merge branch 'main' into bugfix/data-type-workspace 2023-02-15 11:47:34 +01:00
Mads Rasmussen
9892f3cae4 Merge branch 'main' into bugfix/data-type-workspace 2023-02-15 11:46:13 +01:00
Nathan Woulfe
4e2c399832 Adds repository for member types (#525)
* member types repo

* fix build

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-15 11:44:28 +01:00
Jacob Overgaard
c48b913a72 Merge branch 'main' into feature/debug-component 2023-02-15 11:05:46 +01:00
Jacob Overgaard
1be4da9f3b fix height transition + add scroll 2023-02-15 10:56:32 +01:00
Nathan Woulfe
9f59c190c3 updates repo implementation (#523)
Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-15 09:45:39 +00:00
Nathan Woulfe
273714213c UmbDetailRepository implemented in Dictionary repo (#524)
implement UmbDetailRepository<T> interface in dictionary repo
2023-02-15 09:43:39 +00:00
Jacob Overgaard
aee33197df add support for functions and primitives 2023-02-15 10:39:39 +01:00
Jacob Overgaard
c1ae1aae6b use typeof instead as it works with simple types 2023-02-15 10:34:30 +01:00
Jacob Overgaard
00662c9144 add type information 2023-02-15 10:32:34 +01:00
Nathan Woulfe
ff3e10e178 fixes registration of data types repository (#521)
* fixes registration of data types repository
removes old tree

* fix for pr-first-response?

* that was pointless - first run won't run again

* add repository to extensions registry

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-15 09:24:54 +00:00
Jacob Overgaard
50708cdeff Merge branch 'feature/debug-component' of https://github.com/umbraco/Umbraco.CMS.Backoffice into feature/debug-component 2023-02-15 10:22:38 +01:00
Jacob Overgaard
6da0a016f2 add method to get method names of instance 2023-02-15 10:22:32 +01:00
Nathan Woulfe
22d3894016 fix manifests (#522) 2023-02-15 09:20:36 +00:00
Warren Buckley
5d7748e385 Merge branch 'main' into feature/debug-component 2023-02-15 09:14:12 +00:00
Warren Buckley
e311465a1e Remove unused import 2023-02-15 09:06:31 +00:00
Nathan Woulfe
10c5d38a86 repositories for media-types (#520)
* repositories for media-types

* consistent naming for repo alias

* scaffold entity actions for media type

* native private

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-15 09:06:02 +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
Warren Buckley
0430b3b2e2 Try and display simple string values 2023-02-14 14:59:29 +00:00
Jacob Overgaard
81654c95dc add context token 2023-02-14 15:57:25 +01:00
Jacob Overgaard
b499a5082a fix imports so storybook can build 2023-02-14 15:57:25 +01: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
Warren Buckley
c4fa350b04 Remove debug element from main umb-app 2023-02-14 12:08:10 +00:00
Warren Buckley
98f98e2e28 Add bug icon into button
If this is going to be placed into any child component/element - need to think how it will work in places woth tiny/limited space in UI
2023-02-13 21:37:35 +00:00
Mads Rasmussen
8fe833e5b3 clean up data types 2023-02-13 21:55:22 +01:00
Warren Buckley
a2d5ee4123 Hacking the planet - trying to add some DEBUG pane to help display what Contexts are available or events are firing 2023-02-13 16:38:25 +00: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
be979867ce allow build_test for merge queues 2023-02-13 11:12:08 +01: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
ead8eb76d4 Merge pull request #508 from umbraco/feature/entity-actions
Feature/Entity actions
2023-02-10 12:17:54 +01:00
Mads Rasmussen
bebd97fc59 remove duplicate interfaces 2023-02-10 12:11:42 +01:00
Mads Rasmussen
49afad0b8e move type fixing 2023-02-10 12:09:59 +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