Commit Graph

10219 Commits

Author SHA1 Message Date
Niels Lyngsø
490ce0808a Save & publish dialog change for a simpler experience accommodating segments 2020-02-19 13:28:46 +01:00
Niels Lyngsø
6e22b03792 Merge remote-tracking branch 'origin/v8/feature/umb-form-check-transclude' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-19 10:17:46 +01:00
Niels Lyngsø
278f8cc99f css change 2020-02-19 10:13:51 +01:00
Niels Lyngsø
088c51e84d enabling transclude for umb-form-check 2020-02-19 09:36:33 +01:00
Niels Lyngsø
2cd50822ea adjustments of Save and publish dialog 2020-02-19 09:35:36 +01:00
Daniël Knippers
12bb2a42d6 ContentVariantDisplay: add DisplayName property and use in Umbr… (#7677) 2020-02-18 11:47:58 +01:00
Daniël Knippers
5a5291d149 V8/feature/ab4550 segments ui variant picker (#7676)
* Fixes incorrect property inheritance logic

* Fixes crash in canVariantPublish when variant.language is null

* Adds variant display name in dropdown

* Logic for invariant properties updated to also support segment invariance

* Properties varied by segment only now properly saved when multiple variants are saved/published

* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties

* Fixes syntax error in less file

* Fixes empty variants returned from GetEmpty() for a ContentType set to vary by segment

* Replaced _.each with _.find to prevent having to loop through all variants and/or somehow open multiple.

It is not possible to break out of _.each using a return statement, it simply returns that current function
but _.each will continue calling the others after that.

* Added a null check on Culture prop which is now possibly null due to segments

* Makes sure segments are not completely removed when their value is null.

During save/publish, Umbraco first deletes all property data of a specific version
and then adds property values again. However, any segments that were created but had
an empty value would not be added again which meant the segments were entirely gone afterwards.

* GetSegments() updated to always return the default segment, not only when there are no segments at all.

This makes sure that even if there is no property data for the default segment in the database but only for
some segments, the default segment will still be returned here.
2020-02-18 11:46:31 +01:00
Niels Lyngsø
cac07aa7eb option to require umbVariantContentEditors and do a requestSplitView 2020-02-13 14:44:46 +01:00
Niels Lyngsø
b83ef4dc5e Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-13 14:21:59 +01:00
Niels Lyngsø
5acf6b2b37 event handler for requesting a splitview 2020-02-13 13:49:03 +01:00
Niels Lyngsø
0265b54c4d Merge remote-tracking branch 'origin/v8/feature/UI-even-more-light-pink' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-10 14:44:13 +01:00
Niels Lyngsø
de11eba116 adjusted color slightly 2020-02-10 14:43:57 +01:00
Niels Lyngsø
0b730968ed get and set AllowSegmentVariant 2020-02-10 14:39:05 +01:00
Nathan Woulfe
d1503eba03 update angular-aria to 1.7.9 (#7606) 2020-02-10 11:47:07 +01:00
Nathan Woulfe
608555126e 7168 hotkeys in rte (#7604) 2020-02-10 11:46:21 +01:00
Niels Lyngsø
87b9642d1a Merge branch 'v8/feature/AB4550-segments-clientcode' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-10 11:34:29 +01:00
Bjarne Fyrstenborg
58b2c3f791 Align icon in mini search (#7589)
* Align icon vertically and horizontally inside icon placeholder

* Add aria-hidden to search icon
2020-02-10 10:22:44 +00:00
Poornima Nayar
b6efb86f61 Merge pull request #6951 from kjac/v8/fix/reapply-focus-after-dialog
V8: Re-apply input focus to the last focused element when closing dialogs
2020-02-10 10:07:13 +00:00
Niels Lyngsø
1f2b293c59 focus styling 2020-02-10 09:19:25 +01:00
Daniël Knippers
124bc27921 V8/feature/ab4550 segments ui variant picker (#7614)
* Fixes incorrect property inheritance logic

* Fixes crash in canVariantPublish when variant.language is null

* Adds variant display name in dropdown

* Logic for invariant properties updated to also support segment invariance

* Properties varied by segment only now properly saved when multiple variants are saved/published

* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties

* Fixes syntax error in less file
2020-02-10 09:16:03 +01:00
Niels Lyngsø
21ea8e3b8b show split-view on focus 2020-02-10 08:57:54 +01:00
Niels Lyngsø
61ed8800cc ups 2020-02-10 07:58:31 +01:00
Niels Lyngsø
c9621ca8be comment change 2020-02-07 13:39:27 +01:00
Niels Lyngsø
aed0a09ea3 indentation of border for variant that are in not-created state 2020-02-07 13:38:01 +01:00
Niels Lyngsø
a49af7ab9b convert to hex color code 2020-02-07 12:49:43 +01:00
Niels Lyngsø
60b46e4968 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-07 12:45:50 +01:00
Bjarne Fyrstenborg
b182141d6c Fix jumping section name on focus 2020-02-06 17:33:22 +01:00
Niels Lyngsø
555be8dd0a first part of enabling allow segments 2020-02-06 12:47:50 +01:00
Warren Buckley
45e4e39412 Merge pull request #7556 from umbraco/dependabot/npm_and_yarn/src/Umbraco.Web.UI.Client/tinymce-4.9.7
8.6RC: Bump tinymce from 4.9.2 to 4.9.7 in /src/Umbraco.Web.UI.Client
2020-02-06 08:48:25 +00:00
Kenn Jacobsen
44e261b36a V8: Improve treepicker keyboard navigation for trees with listviews (#7032)
* Remember the current tab focus when opening a mini list view in the tree picker

* Automatically assign focus to the search box in mini list views
2020-02-05 21:04:28 +00:00
Poornima Nayar
3bdcff3a5c Merge pull request #6934 from kjac/v8/fix/treepicker-search-autofocus
V8: Add autofocus to treepicker search box
2020-02-05 20:57:07 +00:00
Poornima Nayar
ec97bf11a5 Merge pull request #6927 from kjac/v8/fix/rte-insert-image-auto-resize
V8: Auto-resize the RTE after inserting images
2020-02-05 20:36:12 +00:00
dependabot[bot]
c96c0cff32 Bump tinymce from 4.9.2 to 4.9.7 in /src/Umbraco.Web.UI.Client
Bumps [tinymce](https://github.com/tinymce/tinymce-dist) from 4.9.2 to 4.9.7.
- [Release notes](https://github.com/tinymce/tinymce-dist/releases)
- [Changelog](https://github.com/tinymce/tinymce-dist/blob/4.9.7/changelog.txt)
- [Commits](https://github.com/tinymce/tinymce-dist/compare/4.9.2...4.9.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-03 03:27:33 +00:00
emma burstow
a41aa26532 V8: Fix button style when opening doctype in infinite editing w… (#7003)
Lovely stuff :D
2020-01-30 14:12:53 +00:00
Kenn Jacobsen
da20bf0b56 V8: Change "Include subfolders in search" to "Search only in th… (#4720)
Lots of lovely work here - this is one of those PRs that show how good communication can really make the experience of contributing one of learning for all parties. Thanks Kenn and all who contributed their time here
2020-01-30 10:45:50 +00:00
emma burstow
e39c0ef7a8 V8: Add custom crop indication to image cropper (#5626)
Thanks!  So sorry it's taken so long.
2020-01-30 10:32:05 +00:00
emma burstow
a076f10765 Merge branch 'v8/contrib' into pr/5626 2020-01-30 10:29:57 +00:00
emma burstow
829e6dc103 V8: Mark the current variant as dirty when its name changes (#7004)
Whoop whoop! Thanks Kenn
2020-01-30 10:27:39 +00:00
emma burstow
f1f175bf11 Merge branch 'v8/contrib' into pr/7004 2020-01-30 10:25:59 +00:00
emma burstow
861c09f24c Merge branch 'v8/contrib' into pr/7003 2020-01-30 10:21:59 +00:00
Matthew-Wise
423a21da10 Added dialog aria labelling (#7000)
Thanks Matt 👍
2020-01-30 10:20:16 +00:00
Nathan Woulfe
a945b0c511 use default color when previous selection removed (#7448)
Thanks Nathan!
2020-01-29 16:52:20 +00:00
Niels Lyngsø
039025f925 Merge branch 'v8/feature/UI-even-more-light-pink' into v8/feature/AB4550-segments-ui-variant-picker 2020-01-29 10:34:13 +01:00
Niels Lyngsø
f1eab708c3 adding colors: pinkExtraLight + gray-12 + @gray-13 2020-01-29 10:33:33 +01:00
Niels Lyngsø
3152b35402 removed .umb-variant-switcher from editor.less into its own file. 2020-01-29 10:09:35 +01:00
Niels Lyngsø
0c0861321e display segments in variant picker 2020-01-29 10:09:07 +01:00
Niels Lyngsø
7fcd598361 restructure data for variant picker 2020-01-29 10:08:23 +01:00
Poornima Nayar
c077f56ced Merge pull request #6942 from kjac/v8/fix/locked-alias-cursor
V8: Use "not allowed" cursor for locked type aliases
2020-01-27 15:24:36 +00:00
Niels Lyngsø
9df2711d5e enforce the content content-app in split view mode. 2020-01-27 11:18:31 +01:00
Niels Lyngsø
8efa973992 sync active app in variants 2020-01-27 11:17:56 +01:00