Commit Graph

33149 Commits

Author SHA1 Message Date
Niels Lyngsø
0c4e962ce8 rename contentTypeKey to contentElementTypeKey 2020-08-05 21:21:00 +02:00
Warren Buckley
e740f74ac0 Merge pull request #8592 from umbraco/v8/bugfix/block-list-do-not-require-umbVariantContent-in-documentTypeEditor
Do not require the umbVariantContent in the context of the DocumentTypeEditor
2020-08-05 13:36:16 +01:00
Niels Lyngsø
3e55460bfb We should not require the vm.umbVariantContent in the DocumentTypeEditor 2020-08-05 13:37:53 +02:00
Warren Buckley
86508fb39a Update to default Razor snippet we use to help with Block List editor 2020-08-05 11:10:55 +01:00
Shannon Deminick
2c6f290dc0 Ensure that we validate all properties for a block based on it's element type properties, not just the property values that are POSTed (#8589) 2020-08-05 11:03:02 +02:00
Warren Buckley
576c98f782 Merge pull request #8561 from umbraco/v8/bugfix/block-list-model-updates-7570
Changes c# model for block list editor to be much simpler.
2020-08-05 08:39:34 +01:00
Shannon Deminick
6c4449eecd better null checking for config validation limits (#8588) 2020-08-05 09:06:40 +02:00
Warren Buckley
ef4b0a3be6 Merge pull request #8586 from umbraco/v8/bugfix/block-list-only-append-settings-content-app-if-block-has-settings
Only append settings content app if block has settings
2020-08-04 15:58:17 +01:00
Niels Lyngsø
4b58dca1bf only append settings content-app if block has settings 2020-08-04 16:40:37 +02:00
Warren Buckley
475671a239 Merge pull request #8581 from umbraco/v8/bugfix/dropdownFlexibleController-fix
Check for null before checking the length or value of first entry.
2020-08-04 15:02:33 +01:00
Warren Buckley
2643a9a59d Merge pull request #8579 from umbraco/v8/bugfix/block-list-editor-always-set-content-app-active
always set active in order to reset it
2020-08-04 15:00:42 +01:00
Warren Buckley
5ce603e667 Merge pull request #8577 from umbraco/v8/feature/block-list-editor-remove-unused-block-index
remove unused index
2020-08-04 14:58:14 +01:00
Warren Buckley
fed35d5163 Merge pull request #8536 from umbraco/v8/bugfix/blockeditor_fixing_deleteAllBlocks
deleteAllBlocks fix
2020-08-04 14:57:26 +01:00
Niels Lyngsø
5713ea7a1c Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-list-editor-remove-unused-block-index
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-08-04 15:55:56 +02:00
Niels Lyngsø
30a3e62c7f use this loop, since loop manipulate array as we go. 2020-08-04 15:54:02 +02:00
Niels Lyngsø
9e89147eea Merge remote-tracking branch 'origin/v8/8.7' into v8/bugfix/blockeditor_fixing_deleteAllBlocks
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-08-04 15:51:39 +02:00
Warren Buckley
ba0b429b63 Merge pull request #8541 from umbraco/v8/feature/blockeditor_confirmDiscardChanges
Ask user if they are sure about discarding changes
2020-08-04 14:51:38 +01:00
Warren Buckley
8768e8fd29 Merge pull request #8535 from umbraco/v8/bugfix/blockeditor_fixing_createFromElementType
correct for the new spelling
2020-08-04 14:48:58 +01:00
Warren Buckley
1207ac66e7 Merge pull request #8580 from umbraco/v8/feature/block-list-display-validation-state-in-button
Display validation state in submit button
2020-08-04 14:48:25 +01:00
Warren Buckley
13e789be83 Merge pull request #8574 from umbraco/v8/bugfix/block-list-append-drag-class-again
append lost drag class
2020-08-04 14:32:18 +01:00
Warren Buckley
6bd1e0b7b4 Merge pull request #8563 from umbraco/v8/bugfix/block-list-start-load-as-the-last-thing-of-init
moving load to the bottom of init
2020-08-04 14:29:52 +01:00
Warren Buckley
59305c9c65 Merge pull request #8533 from umbraco/v8/feature/complex–validation-ui
Some UI update to validation messages
2020-08-04 14:24:43 +01:00
Niels Lyngsø
ff3d0b1770 append a badge for settings, and make sure it visible. 2020-08-04 12:57:21 +02:00
Niels Lyngsø
041d6a91a8 use the right red for error borders, no need for it to be darker. 2020-08-04 12:57:05 +02:00
Niels Lyngsø
8981fd9c6f should check for value before checking the length or the value of first entry. 2020-08-04 11:34:07 +02:00
Niels Lyngsø
74f3b8073f show state in submit button 2020-08-04 11:32:02 +02:00
Niels Lyngsø
7cbe50b2f1 need to define active always, in order for it to become false. 2020-08-04 11:23:13 +02:00
Niels Lyngsø
1710a079a6 remove unused index from blockEditorModel for infinite editor 2020-08-04 11:09:45 +02:00
Niels Lyngsø
52fa96c824 append the drag class if a stylesheet is present. 2020-08-04 10:00:39 +02:00
Niels Lyngsø
c9b0f20fa3 move load to the buttom of init() 2020-08-03 14:13:38 +02:00
Niels Lyngsø
b0ff73fd75 make badge bounce 2020-08-03 14:12:06 +02:00
Shannon
c7d42d94d0 Changes c# model for block list editor to be much simpler. 2020-08-03 22:02:10 +10:00
Niels Lyngsø
d06c1e01a7 Update da.xml
translate to danish
2020-08-03 11:27:32 +02:00
Niels Lyngsø
47203f7111 discard changes dialog 2020-07-31 14:05:07 +02:00
Niels Lyngsø
16c66b5141 deleteAllBlocks fixed (dont know what up with whitespace now) 2020-07-31 11:30:21 +02:00
Niels Lyngsø
bbe2d3a9b6 fixing create from element type, now that udi is changed to contentUdi 2020-07-31 11:25:40 +02:00
Niels Lyngsø
8d6cafa456 remove again, this is not begin used. 2020-07-31 10:57:51 +02:00
Niels Lyngsø
20779dff01 speach bubble look for property-errors 2020-07-31 10:47:01 +02:00
Niels Lyngsø
0e82ec9995 moved and changed validation css 2020-07-31 09:45:52 +02:00
Niels Lyngsø
33afbb8af6 added validation-error badge to navigation item 2020-07-30 16:13:22 +02:00
Niels Lyngsø
55805eabc3 make the required-star as bold as possible. 2020-07-30 15:26:40 +02:00
Niels Lyngsø
47986ec0f5 limit control-label effect to the first control-label, these 3 new lines covers all cases that i could find in CMS. 2020-07-30 15:01:29 +02:00
Niels Lyngsø
d5c0e79c40 make label bar white 2020-07-30 14:47:16 +02:00
Niels Lyngsø
e8332a16ae make inline editor bar white 2020-07-30 14:44:13 +02:00
Shannon
f0cc7a493d Cleanup servervalidationmgr booleans and moves to more readable functions with comments 2020-07-30 16:03:31 +10:00
Shannon
99fc6ef587 cleanup TODOs 2020-07-30 15:47:14 +10:00
Warren Buckley
f7a0afb459 Merge pull request #8493 from umbraco/v8/feature/block-list-settings-validation
Block list editor - settings validation
2020-07-29 11:11:07 +01:00
Shannon
58331bbdef Fixes tests and issues causing test failures. 2020-07-29 18:46:01 +10:00
Bjarne Fyrstenborg
ca4f7bf41d Ensure replacement of angular.copy still works where second parameter is used for destination object.
(cherry picked from commit eff630d3a0)
2020-07-28 14:11:38 +02:00
Warren Buckley
940e47141e Merge pull request #8382 from umbraco/v8/feature/block-list-data-structure-v3
V8/feature/block list data structure v3
2020-07-28 10:49:29 +01:00