Commit Graph

20957 Commits

Author SHA1 Message Date
Mads Rasmussen
df77096ef6 Merge branch 'main' into v15/feature/disable-readonly-when-unpulish-and-publish 2024-10-28 19:47:07 +01:00
Bjarne Fyrstenborg
4863745181 Content type group sorting placeholder (#2471)
* Make it more clear when content type groups are re-arranged

* Hide header slot with input
2024-10-28 14:07:06 +00:00
Bjarne Fyrstenborg
c9f8f62b84 Tags matchlist on top of following markdown toolbar (#2489)
Set z-index of matchlist to ensure on top of following markdown toolbar
2024-10-28 10:28:00 +00:00
Mads Rasmussen
0c0ff1ec0a Merge pull request #2470 from bjarnef/bug/content-type-design-editor-property-zindex
Remove z-index from header in content type design editor property
2024-10-25 14:10:54 +02:00
Niels Lyngsø
7792b2efa9 Merge pull request #2474 from umbraco/v15/feature/disable-readonly-languages-when-unpublishing
Feature: Add read only tag for read only languages in app language select
2024-10-25 11:58:31 +02:00
Niels Lyngsø
a3a4ea020a Merge branch 'main' into v15/feature/disable-readonly-languages-when-unpublishing 2024-10-25 11:50:51 +02:00
Niels Lyngsø
64f018da37 en + da translation 2024-10-25 11:45:32 +02:00
Niels Lyngsø
e96b049364 Merge pull request #2475 from umbraco/v15/feature/store-selected-app-language-in-local-storage
Feature: save selected app language in local storage
2024-10-25 11:32:02 +02:00
leekelleher
4e125d079b Merge branch 'release/15.0' 2024-10-24 11:26:42 +01:00
Mads Rasmussen
c5fd1885cf Bugfix: Allow breadcrumb for variant root items (#2482)
unique can be null so only check for undefined
2024-10-24 11:25:40 +01:00
leekelleher
3198f1f00c Merge branch 'release/15.0' 2024-10-24 09:45:27 +01:00
Mads Rasmussen
9bc5ab33d2 Workaround: Ignore discard changes when in a workspace modal (#2481)
ignore discard changes when in a workspace modal
2024-10-24 09:42:16 +01:00
Lee Kelleher
9df26e95d7 Feature: Link Picker modal refactor (#2477)
* Adds `hideTarget` flag

* Sets default modal size to "medium"

* Code tidy-up

* Updates "defaultdialogs_linkinternal" localizations

to remove the `:` suffix (from all languages)

* Applied `standalone` to single Document Picker item

* Adds `icon` to the document/media detail types

* Link Picker modal: total refactor!

Swaps the inline trees with input pickers.
Makes use of `<umb-property-layout>` component.
+ plenty of TLC in the UI/UX!

* Sets the `allowedMediaTypeIds` for media picker filtering

e.g. folders are not selectable
2024-10-23 12:56:27 +02:00
Mads Rasmussen
59d4f8852c Hotfix: document variant publication info (#2478)
* export token

* show current variant status, fix published pending changes + create date

* remove unused

* temp type casting
2024-10-23 10:49:03 +01:00
Mads Rasmussen
2f9068ed09 disable readonly languages when publishing 2024-10-22 10:10:21 +02:00
Mads Rasmussen
bd16e017b6 disable readonly languages when unpublishing 2024-10-22 10:07:28 +02:00
Mads Rasmussen
6c47c1f3e2 add jsdocs 2024-10-22 09:35:26 +02:00
Mads Rasmussen
fe4ef62977 add methods to get current user data 2024-10-22 09:28:39 +02:00
Mads Rasmussen
f4e7e13c18 Merge branch 'v15/feature/disable-readonly-languages-when-unpublishing' into v15/feature/store-selected-app-language-in-local-storage 2024-10-21 20:32:50 +02:00
Mads Rasmussen
527ccebdd5 Merge branch 'main' into v15/feature/disable-readonly-languages-when-unpublishing 2024-10-21 20:27:25 +02:00
Mads Rasmussen
b095902bf5 store selected app language in local storage 2024-10-21 20:12:34 +02:00
Mads Rasmussen
9a23ad2e50 check for access to all languages 2024-10-21 19:46:29 +02:00
Mads Rasmussen
5deab9571d localize read only text 2024-10-21 19:19:02 +02:00
Mads Rasmussen
99deec9ac2 render tag in app language selector 2024-10-21 16:07:35 +02:00
Busra Sengul
6ee732d8b1 Bugfix: Tiptap RTE custom dimensions configuration (#2469)
* tiptop min height configuration

* Removed `min-height`; credit to @innovoix

* Clarified the use of `display:flex`

* Changed to use `height` instead of `min-height`

as this will control the maximum height of the editor input area.

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
(cherry picked from commit 7c54064f59)
2024-10-21 12:25:47 +01:00
Busra Sengul
7c54064f59 Bugfix: Tiptap RTE custom dimensions configuration (#2469)
* tiptop min height configuration

* Removed `min-height`; credit to @innovoix

* Clarified the use of `display:flex`

* Changed to use `height` instead of `min-height`

as this will control the maximum height of the editor input area.

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
2024-10-21 11:05:39 +00:00
Mads Rasmussen
4bcca9928b render readonly tag in app language dropdown 2024-10-21 12:54:58 +02:00
Emanuel Gustafzon
6cf6019706 Chore: Change "Select member" to "Choose Member" + Swedish localization (#2472)
change member picker model from select member/ members to choose and also added selectMember and members varible in swedish localisation file
2024-10-21 10:52:45 +01:00
Niels Lyngsø
706464f8e4 Merge branch 'release/15.0' 2024-10-18 13:39:10 +02:00
Bjarne Fyrstenborg
47103073a5 Remove z-index from header in content type design editor property 2024-10-18 00:49:57 +02:00
Lee Kelleher
dc215171c4 Feature: Collection Toolbar Filter Field (#2467)
* Sets `umb-collection-action-bundle` to use `display:contents`

This should only display if the component has any contents.

* Refactored Dictionary collection toolbar

* Refactored Document collection toolbar

Deprecates `umb-document-collection-toolbar`

* Refactored Media collection toolbar

Deprecates `umb-media-collection-toolbar`

* Refactored Extension collection toolbar

Enables support for future Create and Views functionality.

* Exported collection element classes as `element`

deprecated the "default" export

* Adds `elementName` constant

* Refactored UserGroup collection toolbar

Deprecates `umb-user-group-collection-header`

* Code formatting

* Added `umb-collection-filter-field` component

Reusable filter field for a collection toolbar.

* Used `umb-collection-filter-field` component

on existing collections, removed duplicated code.

* Reverted adding `elementName` constant

Seems that this may cause issues with the eslint plugin
(for ensuring element names start with "umb-").
2024-10-17 13:38:45 +02:00
Niels Lyngsø
ca17401694 use server paths for preview url construction 2024-10-17 13:09:52 +02:00
Søren Kottal
2067e0dc58 Removes unnecessary margin in ufm-render-element (#2461) 2024-10-17 10:31:12 +01:00
Jacob Overgaard
790f15afcc Merge branch 'release/15.0' 2024-10-16 21:19:12 +02:00
Jacob Overgaard
e445ce989f docs: add generated file to ignore for typedoc 2024-10-16 21:17:29 +02:00
Jacob Overgaard
cdfcd929ee docs(storybook): remove invalid argType that is not useful 2024-10-16 21:12:47 +02:00
Jacob Overgaard
13d50a6ca2 Merge branch 'release/15.0' 2024-10-16 17:13:13 +02:00
Niels Lyngsø
19de38f021 Bugfix: Variant Blocks create duplicates in the frontend when created in an area (#2464)
* revert to previous code before tiptap

* correct rte-entries context
2024-10-16 17:11:47 +02:00
Niels Lyngsø
8c9cf71f05 Merge pull request #2466 from umbraco/v15/chore/simplify-validation-promise-code
Chore: simplify code
2024-10-16 17:11:02 +02:00
Jacob Overgaard
53ccd2344b Merge pull request #2465 from umbraco/v15/feature/tiptap-paste-files
Tiptap: allow images to be uploaded from the clipboard
2024-10-16 16:31:24 +02:00
Niels Lyngsø
67c0fcee35 simplify code 2024-10-16 16:26:05 +02:00
Jacob Overgaard
dcc2ced8ff fix: catch any uncaught promises up the chain that could be thrown if there is a fatal error with the request 2024-10-16 15:16:51 +02:00
Jacob Overgaard
5003e1c1e7 feat: allow images to be uploaded from the clipboard 2024-10-16 15:09:24 +02:00
Niels Lyngsø
0600bd3fa7 Merge pull request #2445 from umbraco/v15/feature/property-dataset-properties-observable
feature: property-dataset properties observable & Block Workspace Alignment
2024-10-16 14:15:38 +02:00
Bjarne Fyrstenborg
c53cb49496 Adjust Image Cropper handle (focal point) (#1021)
* Adjust Image Cropper focal point to be consistent with Color Area handle

* Make focus point focusable via keyboard

* Update import of utils from uui

* Make focal point accessible via keyboard

* Move logic to function

* Reset coords

* Remove reset coords

* Reset coords if focal point is updated to center

* Format document

* Set focal point property instead

* Formatting

* Fix warnings

* Width and height

* Remove added outline so we can see when focal point has focus via keyboard

* Reset coords

* Cleanup

* Update import

* Cleanup

* Use UmbChangeEvent

* Adjust elements

* Import drag for uui

* Cleanup styling

* Cleanup

* Remove unnecessary events

* Container is HTMLElement

* Check focal point updated

* Fix conflicts after merge

* Null check

* Update correct element types

* Revert to custom event

* Cleanup console

* Don't hide overflow, so focal point is not cut off on edges on image

* Add margin top at actions so focal point doesn't overlap buttons

* Top margin at actions

* Crosshair cursor when focal point is not hidden

* Cancel update focal point

* Add move cursor to viewport image

* Use crop label

* Add missing label

* Disable draggable of image as in old backoffice

* Fix previous merge conflicts

* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Remove disconnectedCallback

* Ignore in the debug element

* Add custom event for focal point change

* Import type

* Replace with UmbImageCropChangeEvent

* Use UmbFocalPointModel

* Move set focal pont style to setter

* Update custom event name

* Localize focal point label

* Fix import of UmbFocalPointModel type

* Localize buttons

* Update labels

* Combine imports

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-16 14:13:57 +02:00
Jacob Overgaard
6c6a525619 Merge remote-tracking branch 'origin/release/15.0' 2024-10-16 13:49:21 +02:00
Niels Lyngsø
472a0cddad Merge pull request #2460 from umbraco/v15/hotfix/17274
Hotfix: correct config field alias to 'useLiveEditing'
2024-10-16 13:48:10 +02:00
Lee Kelleher
ef6afe1975 Bugfix: TinyMCE anchor links without base URL (#2462)
* Fixes TinyMCE anchor links without a base URL

it was previously prefixing the `href` with the current backoffice page URL.

* Code tidy-up + remove unused code
2024-10-16 11:37:11 +00:00
Niels Lyngsø
d95cfbc331 remove await for live editing config 2024-10-16 13:20:49 +02:00
Niels Lyngsø
b76e95dd62 liveEditing value can be undefined, therefor custom promise 2024-10-16 13:19:42 +02:00