Skip to content

Create new viewport component to replace DaffSidebarViewport#4552

Draft
damienwebdev wants to merge 4 commits into
developfrom
refactor-sidebar-viewport
Draft

Create new viewport component to replace DaffSidebarViewport#4552
damienwebdev wants to merge 4 commits into
developfrom
refactor-sidebar-viewport

Conversation

@damienwebdev

Copy link
Copy Markdown
Member

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

Currently, the DaffSidebarViewportComponent uses @angular/animations and doesn't use signals. It's also rather clunky to use because it doesnt internally handle state which means you have to wire everything up yourself.

Fixes: #3528

New behavior

DaffViewportComponent uses signals, no Angular animations and can manage state internally by default.

Breaking change?

  • Yes
  • No

Additional context

@damienwebdev damienwebdev force-pushed the refactor-sidebar-viewport branch from fbdc04b to 0ead07e Compare June 23, 2026 14:15
@xelaint xelaint force-pushed the refactor-sidebar-viewport branch from c713770 to bc3402f Compare June 23, 2026 16:09
@xelaint xelaint force-pushed the refactor-sidebar-viewport branch from cc86cbc to bdfcce3 Compare June 24, 2026 14:19
@xelaint

xelaint commented Jun 24, 2026

Copy link
Copy Markdown
Member

TO DO:

  • Outline what is in the public api.
  • Make sure stateless true / false works.

DIFFS:

  • Create new viewport
  • Deprecate sidebar-viewport
  • Remove extraneous header component from app / registrations
  • Replace sidebar viewport with viewport in all examples
  • Replace sidebar viewport with viewport in daffio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor DaffSidebarViewportComponent

2 participants