* 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>
* 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>
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.
* 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>
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.
* 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
* 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>
* 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>
* 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