Commit Graph

4877 Commits

Author SHA1 Message Date
Jacob Overgaard
e71ed09b90 adjust node version 2023-03-22 15:56:07 +01:00
Jacob Overgaard
2584917d47 bump engines.node so all actions run with the same version 2023-03-22 15:53:27 +01:00
Jacob Overgaard
f062d5cabb add max_old_space_size to azure jobs 2023-03-22 15:49:41 +01:00
Nathan Woulfe
aeed4071e8 Adds modal layout for embedded media picker in RTE (#582)
* adds modal for embedded media in rte

* make it pretty

* moves modal to shared/modals
updates with token
fixes story
clean up data handling to only pass required

* lib import paths

* add default export

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 13:58:11 +01:00
Julia Gru
ef243ef933 Feature/code editor (#607)
* create component

* import styles correctly

* import component

* show code editor element on the template workspace

* wire input event

* sync code property with editor value

* move workers to a separate file

* create class for code editor

* add very simple insert method

* focus after insert

* make scroll bar bit nicer

* add markdown example and fancier template

* make insert work with multiple cursors and selections

* now really make it works with selections and multiple cursors

* map options

* add hack to fix the jumpy cursor

* Observe themes

* add own model for range, return array of ranges from find

* add backoffice-fit dark mode

* add theme story

* add themes folder

* add new methods

insertAtPosition
getValueInRange
select

* add documentation to editor class

* add docs

* rename file

* rename donut files

* cleanup

* add some more imports

* test heap size fix

* heap error test 2

* fix imports

* node fail error test

* rename

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:56:28 +01:00
Łukasz
0c2ca89962 #579 Drop lit-html as direct dependency (#609)
* Drop lit-html as direct dependency

* remove lit-html imports after merge

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:34:19 +01:00
Nathan Woulfe
9f36a7f43f Fixes broken workspace scroll (#616)
* float to remove from document flow

* consistent scroll behaviour in all slots
clean up redundant css

* register data type workspace action in the correct workspace

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:06:03 +01:00
Niels Lyngsø
a84f3568d4 Merge pull request #614 from umbraco/feature/test-extension-registry-distincts 2023-03-22 09:31:35 +01:00
Mads Rasmussen
06a8c2e0c9 Merge branch 'main' into feature/test-extension-registry-distincts 2023-03-22 09:20:54 +01:00
Mads Rasmussen
983ab83525 Cleanup: Remove content workspace (#613)
* use import aliases when importing when the libs folder

* move data source response interface to the repository module

* remove unused interfaces

* move dictionary interface into dictionary silo

* delete unused interface

* remove content workspace element from media workspace

* delete content workspace element

* move document edit views into folder

* create info workspace view specific for documents

* align naming of files and element

* update story

* add scaffolding info and edit workspace views for media

* remove edit content workspace view

* move media collection views into media silo

* update manifests + naming

* update last imports of temp MediaDetails type

* fix merge
2023-03-21 16:19:59 +01:00
Niels Lyngsø
a26f5171d9 Merge branch 'main' into feature/test-extension-registry-distincts 2023-03-21 15:54:53 +01:00
Niels Lyngsø
bcc681976a correct memoization methods and test 2023-03-21 15:54:07 +01:00
Mads Rasmussen
8e6cf62625 Cleanup: move dictionary interface (#612)
* use import aliases when importing when the libs folder

* move data source response interface to the repository module

* remove unused interfaces

* move dictionary interface into dictionary silo

* delete unused interface
2023-03-21 14:59:46 +01:00
Mads Rasmussen
a688541f85 remove unused interfaces 2023-03-21 13:45:35 +01:00
Mads Rasmussen
3029b3d5f0 move data source response interface to the repository module 2023-03-21 13:45:35 +01:00
Mads Rasmussen
ac38b1314e use import aliases when importing when the libs folder 2023-03-21 12:55:44 +01:00
Jacob Overgaard
c691fe9d56 update imports for storybook preview 2023-03-21 11:51:10 +01:00
Jacob Overgaard
c2cf7a1964 add try/catch to move-libs script 2023-03-21 11:49:47 +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
Niels Lyngsø
c905d40c23 Merge pull request #606 from umbraco/feature/extension-kind 2023-03-21 09:24:26 +01:00
Mads Rasmussen
956d2c2040 add function for extension sorting 2023-03-21 09:10:10 +01:00
Mads Rasmussen
35c5dd75da camel case functions 2023-03-21 09:05:34 +01:00
Niels Lyngsø
48e8fa5336 Merge branch 'main' into feature/extension-kind 2023-03-20 20:16:27 +01:00
Niels Lyngsø
af99ef92a0 Kinds cannot Omit 2023-03-20 19:57:56 +01:00
Niels Lyngsø
dd51d2870f not optional umbExtensionsRegistry 2023-03-20 19:56:33 +01:00
Niels Lyngsø
d51bf80b27 remove ManifestCustom 2023-03-20 19:56:07 +01:00
Niels Lyngsø
e52901afaa use pipe for Omits in Kind Types 2023-03-20 16:33:13 +01:00
Niels Lyngsø
87c67a911d remove null 2023-03-20 16:22:18 +01:00
Mads Rasmussen
2b894102a7 move menu item tree kind interfaces into extension registry 2023-03-20 15:52:56 +01:00
Mads Rasmussen
d1a8f5fc80 move header app button kind interfaces into extensions registry 2023-03-20 15:48:32 +01:00
Mads Rasmussen
b5a9d105b2 move kind interface into extension registry module 2023-03-20 15:44:19 +01:00
Niels Lyngsø
6b1b4ff1f4 Merge pull request #604 from mlukasz7/feature/541-variant-selector 2023-03-20 15:01:25 +01:00
Niels Lyngsø
12981cdc18 test meta merge 2023-03-20 14:39:41 +01:00
Niels Lyngsø
c960a1d4ae fix type 2023-03-20 14:37:17 +01:00
Niels Lyngsø
c9b9431ad3 todo 2023-03-20 14:35:27 +01:00
Niels Lyngsø
e3fbe45fe1 a bit of deep merge. 2023-03-20 14:34:36 +01:00
Niels Lyngsø
93ed6d7789 fix tests 2023-03-20 14:21:31 +01:00
Niels Lyngsø
6882ad03b0 switch props 2023-03-20 13:45:42 +01:00
Niels Lyngsø
f4f42c981b Merge remote-tracking branch 'origin/main' into feature/extension-kind 2023-03-20 13:44:25 +01:00
Niels Lyngsø
0fe909d42e docs 2023-03-20 13:43:05 +01:00
JesmoDev
d6e5e74297 Merge pull request #591 from umbraco/feature/relation-types-2
Feature/relation types 2
2023-03-21 01:35:16 +13:00
Mads Rasmussen
53a218d8b5 remove console log 2023-03-20 13:10:48 +01:00
Mads Rasmussen
8a7724efa7 add todo 2023-03-20 13:10:15 +01:00
Niels Lyngsø
d5330e5ea1 distinctUntilChanged 2023-03-20 13:01:06 +01:00
Mads Rasmussen
de517ff935 Merge branch 'main' into feature/relation-types-2 2023-03-20 12:58:37 +01:00
JesmoDev
61dca06b81 bugfix: entity mock save now accepts an item instead of an array (#595)
* entity mock save now accepts an item instead of an array

* mocks now saves a single item instead of array

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-20 12:58:18 +01:00
Niels Lyngsø
30e165f0ca type fixes 2023-03-20 12:51:52 +01:00
Niels Lyngsø
23ff8d34a9 use alias, simpler kind value 2023-03-20 12:48:58 +01:00
Niels Lyngsø
142f262d22 clean up 2023-03-20 11:43:13 +01:00
Niels Lyngsø
d36e540c1b UmbEntryPointExtensionInitializer 2023-03-20 11:06:39 +01:00