Skip to content

Conversation

@MSchinwaldEl
Copy link
Contributor

Changes in this pull request

Resolves #2172

@MSchinwaldEl MSchinwaldEl linked an issue Jan 23, 2026 that may be closed by this pull request
@MSchinwaldEl MSchinwaldEl marked this pull request as ready for review January 23, 2026 13:24
@markus-moser markus-moser requested a review from sholzer January 28, 2026 12:05
@sonarqubecloud
Copy link

@markus-moser markus-moser requested a review from Copilot January 29, 2026 08:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds missing preview features to the document editor, specifically implementing device preview modes (desktop, tablet, phone) and a time slider for scheduled content preview.

Changes:

  • Added device preview modes with responsive iframe sizing
  • Implemented time slider functionality for previewing scheduled content at specific timestamps
  • Added new icons (monitor, tablet, phone, phone-horizontal) to support device preview UI
  • Enhanced date picker component to optionally show suffix icon

Reviewed changes

Copilot reviewed 18 out of 1452 changed files in this pull request and generated no comments.

Show a summary per file
File Description
public/build/0fdcc1fe-4c01-481b-be83-593fd9b52885/static/js/async/3156.6d2bbc6b.js Compiled bundle with new notifyTimeSliderVisible API method
assets/js/src/core/modules/icon-library/index.ts Registered new device preview icons
assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-scheduledblock.tsx Added onDocumentReady to notify parent about scheduledblock presence
assets/js/src/core/modules/document/hooks/use-document-url-processor.ts Extended preview URL processor with device type and timestamp parameters
assets/js/src/core/modules/document/editor/shared-tab-manager/tabs/preview/document-preview.tsx Implemented device preview toolbar and time slider UI
assets/js/src/core/modules/document/document-editor-slice.ts Added Redux state for tracking time slider visibility
assets/js/src/core/components/date-picker/date-picker.tsx Added showSuffixIcon prop to control suffix icon display
assets/js/src/core/components/date-picker/date-picker.styles.tsx Added CSS for conditional suffix icon display
assets/js/src/core/app/public-api/document/document-api.ts Added notifyTimeSliderVisible API method
public/build/* Build artifacts and manifest files

@markus-moser markus-moser changed the title 2172 document editor add missing preview features [Document Editor] Add missing preview features Jan 29, 2026
Copy link
Contributor

@markus-moser markus-moser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
Please check my comments, just a few details :)

Copy link
Contributor

@markus-moser markus-moser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSchinwaldEl Ok fine, sorry the studio.en.yaml was for some reason filtered as vendor file by github when I checked the PR

@markus-moser markus-moser merged commit cd3cba0 into 1.x Jan 29, 2026
1 check passed
@markus-moser markus-moser deleted the 2172-document-editor-add-missing-preview-features branch January 29, 2026 14:34
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Document Editor] Add missing preview features

4 participants