Commit Graph

11536 Commits

Author SHA1 Message Date
Lars-Erik Aabech
008827f785 Should allow grid editors to use hash based settings (#9837)
* Should allow grid editors to use hash based settings

* Swap to using vm in grid config controller, as well as showing button when there's map settings

* Included keys for styles in empty state check for grid settings

* converted the code into more AngularJS performant code

* Remove rogue change to grid.editors.config

* use watchCollection instead

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-03-08 12:23:03 +01:00
Sebastiaan Janssen
64105be274 Merge branch 'v8/dev' into v8/contrib 2021-03-08 10:09:08 +01:00
Niels Lyngsø
af65810048 no need to prevent or stop propagation on this. (#9933)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-03-08 09:44:33 +01:00
Callum Whyte
b770bdb93e Make properties full width in small infinite editors (#9812)
* Make properties in small infinite editors full width

* bump specificity

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-07 09:39:48 +10:00
Ronald Barendse
678434a561 Remove orderBy filter for languages/variants 2021-03-07 09:09:41 +10:00
patrickdemooij9
4f823093f3 9940: Make sure that ordering is correct (#9944)
* 9940: Make sure that ordering is correct

* 9940: Removed unnecessary ordering

* replace i with umb-icon directive

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-07 08:35:41 +10:00
Sebastiaan Janssen
ece7008ce7 Merge branch 'v8/dev' into v8/contrib 2021-03-01 16:06:12 +01:00
Sebastiaan Janssen
e848e396af Don't auto focus on the third menu item 2021-03-01 13:20:58 +01:00
Patrick de Mooij
187db95368 9826: Make sure to set mculture after switching sections 2021-02-27 20:26:04 +01:00
Anders Bjerner
3e081f1039 Minor adjustments to ngdocs in editor.service.js 2021-02-25 08:33:10 +10:00
Patrick de Mooij
c0842c7216 Don't show configuration header if there is none 2021-02-25 08:25:41 +10:00
patrickdemooij9
6b3202e37b 9841: Don't focus on nested content node at page load (#9863)
Tested and can confirm that this fixes the focus issue.
2021-02-24 22:16:40 +00:00
Aaron Sadler
b019bc0ccf Fix for Grid placeholder breaking out of container 2021-02-25 08:11:28 +10:00
mcl-sz
6eb260001d Ensure that upload file(s) in the MediaPicker is returned (#9367)
The onUploadComplete function returns the last files that are added to a mediafolder. While this works correct by default and in most situations, it doesn't work as expected when a diffrent sorting is used for Media-items. For example, we've added events to sort Media-items automatically by name alphabetically when they are created/uploaded to keep them better organised. 
By sorting the $scope.files array by the Id-property, it ensures that the function returns the uploaded files, instead of the last files in the folder.
2021-02-21 17:22:28 +01:00
Bjarne Fyrstenborg
6aaefe160b Decimal step size validation (#9334)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2021-02-21 17:17:10 +01:00
Callum Whyte
6cc005315d Unhelpful unsupported property message in Block Editor (#9525) 2021-02-21 16:57:23 +01:00
Rachel Breeze
c11d07dede Performance and accessibility improvements on the embed screen (#9810) 2021-02-21 13:00:48 +01:00
Bjarne Fyrstenborg
821cba5cd3 Make sorting in media consistent with sorting in content (#9756) 2021-02-21 12:52:42 +01:00
Bjarne Fyrstenborg
01991db257 Fixes #9625 - Searching icons for "box" returns all icons (#9848) 2021-02-21 12:42:20 +01:00
Bjarne Fyrstenborg
82701fbacd Fixes #9824 - Filtering in block picker doesn't work (#9831) 2021-02-21 12:37:51 +01:00
jesperweber
1906ef0278 Updating danish translations (#9832) 2021-02-21 12:35:50 +01:00
patrickdemooij9
43a77dc1e4 9569: Fix image cropper buttons (#9777) 2021-02-21 11:52:49 +01:00
Bjarne Fyrstenborg
63b417477b Replace tree icon in section picker with umb-icon component (#9760) 2021-02-21 11:42:06 +01:00
Bjarne Fyrstenborg
d966e89fd9 Block editor cleanup (#9664) 2021-02-21 11:36:18 +01:00
Bjarne Fyrstenborg
56938a7bdc Move relation type id and macro id to sidebar box (#9657) 2021-02-21 09:57:32 +01:00
Bjarne Fyrstenborg
a466b49b2b Eye Dropper Color Picker (#9646) 2021-02-21 09:43:42 +01:00
Bjarne Fyrstenborg
4b387242f2 Ensure sub-view components are not self-closed elements (#9633) 2021-02-21 09:04:46 +01:00
Bjarne Fyrstenborg
451f3da8f4 Align datatype sidebar box properties (#9632) 2021-02-21 08:58:56 +01:00
Bjarne Fyrstenborg
5e4d326ec2 Use trim method as trim isn't a property (#9605) 2021-02-21 08:40:59 +01:00
Sebastiaan Janssen
980acafbeb Merge branch 'v8/contrib' into v8/dev 2021-02-20 17:17:27 +01:00
Nathan Woulfe
b9b75b3794 Fix 'Do something else' button position in create dialog (#9846)
* fixes do something else button position in create dialog for doc types and media types

* adds type attribute to buttons
2021-02-20 02:30:20 +01:00
Bjarne Fyrstenborg
97ad14c895 Update to noUiSlider v14.6.3 2021-02-16 08:50:35 +10:00
Jim Löfgren
fc8dc76d80 Changed grid view labels and values to display: inline instead of display: inline-block to fix weird line break. 2021-02-16 08:07:11 +10:00
Mads Rasmussen
e6462eded6 V8/feature/10273 variant sorting (#9797)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-15 11:15:45 +01:00
Marc Goodson
230bf1052c V8/feature/super doctype create menu (#9174)
* WIP - added options from superdoctypecreate package

resolve merge conflict in create html file

* fiddling with the wording but it will never be perfect

* looks like ng-if should be ng-show

* Update data-elements for uniqueness (I'm not sure what these are used for!)

* pass 'iscomposition' on the querystring when choosing the 'composition' option from the menu

Why? - in the future we could hide the 'Compositions...' button when choosing to create a composition

* Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

resolve merge conflict in Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

* Add translations

* Put back PostSave method. It's useful.

Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-11 09:25:38 +10:00
Jakob Bagterp
e9429cfe44 Separate remove button and label for settings and styles in Grid Layout
It's inconvenient that the click area for the remove button laps over the label of settings and styles in the Grid Layout property editor. Simply as the editor may remove the style/setting by accident – and especially since there isn't an undo option.

Known issue: Linebreak of long text labels doesn't appear pretty, but this is cosmetic and can be fixed.
2021-02-10 03:34:30 +01:00
Nathan Woulfe
f8de0fca8f 5596 allow editing alt text in grid (#9681)
* languages

* add service method for media crop details, might be useful elsewhere

* update UI to add buttons for changing image / editing existing

* update mediapicker controller to use named editor service method

* Update media.controller.js

undefined should be null, consistent use of arrow func

* move buttons to the top right - close to the grid toolbar, so more obvious
2021-02-09 02:43:59 +01:00
Daniël Knippers
fcd802ba47 V8/bugfix/9074 current urls segments (#9075) 2021-02-08 15:16:25 +01:00
Bjarne Fyrstenborg
044573d9f1 Use umb-icon component in tree item 2021-02-08 16:47:21 +10:00
mcl-sz
5fc37dfeb4 Prevent overflow of searchresults with long urls (#9739)
* Prevent overflow of searchresults with long urls

Small css change to prevent overflow of searchresults with long url's

* fixes wrapping in node-picker search, stop icon shrinking

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 16:32:54 +10:00
Bjarne Fyrstenborg
eb9c4e4d82 Document onChange in umbPagination 2021-02-08 10:13:03 +10:00
Niels Lyngsø
a76924f196 Stop using .length !== 0 when its not jQuery (#9715)
* stop using .length !== 0 as its causing errors.

* revert to only change native find()

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-08 10:10:46 +10:00
Niels Lyngsø
2d4984d434 check for ´err´ 2021-02-08 10:01:11 +10:00
Chad
06e5d07650 Fix eventService memory leaks (#9752)
* fix leak by unbinding event from $rootscope

* destroy more events

* $scope unavailable

* no need to destroy in services as they are singletons

Co-authored-by: nzdev <nzdev@github.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 09:56:56 +10:00
Bjarne Fyrstenborg
55124fff81 Update icons in umb-tree-search-results component (#9757)
* Avoid use of ng-if

* Green class is not necessary

* Ensure button element use full width

* Left align text inside button element
2021-02-07 02:50:20 +01:00
Nathan Woulfe
63cf3a489d fix history box label, destructure localization response 2021-02-02 02:27:05 +01:00
mcl-sz
4f3191fabe Fix for applying searchResultFormatter on found searchresults (#9738)
* Fix for applying searchResultFormatter on found searchresults

We found out that when the searchbox in the linkpicker is used, the URL of a page is not being shown anymore since Umbraco 8.7 and later. This is because of the searchResultFormatter wasn't applied correct.

* Changed ES6 arrow syntax as with the other functions.

Changed ES6 arrow syntax as with the other functions.

* Changed single qoutes to double qoutes for type
2021-02-02 09:33:31 +10:00
Bjarne Fyrstenborg
6e1c29232a Hide rollback button for content that hasn't been created yet 2021-02-01 09:48:07 +10:00
Mike Chambers
3404f47cfe Update umb-tree-item.less (#9718)
* Update umb-tree-item.less

Icon sizing inconsistencies in tree

* Update umb-tree-item.less

* Revert "Update umb-tree-item.less"

This reverts commit 4729c39837b7f5b5f936ec8e197bb8d2eb90274e.

* Revert "Update umb-tree-item.less"

This reverts commit a3d1136c9de5430d4c3ed1c4bf321ab3142c26c7.

* Flex-shrink on umb-tree-icon not umb-tree-item-icon
2021-02-01 09:26:09 +10:00
Bjarne Fyrstenborg
7297bd5838 Adjust minimum width of main content (#9656)
* Adjust minimum width of main content

* Change min-width a bit further.
2021-01-28 09:33:25 +10:00