Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

refactor(devtools): introduce responsive-split directive #61204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
Loading
from

Conversation

hawkgs
Copy link
Member

@hawkgs hawkgs commented May 8, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the new behavior?

The ResponsiveSplitDirective adds responsive behavior to the as-split component by a provided width to height ratio. It's now employed by the Injector Tree tab.

Needed for #60478 as well.

cc @dgp1130

Does this PR introduce a breaking change?

  • Yes
  • No

@ngbot ngbot bot added this to the Backlog milestone May 8, 2025
display: block;
}

:host {
Copy link
Member Author

Choose a reason for hiding this comment

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

It seems that a lot of the CSS in this file is no longer used/relevant.

@hawkgs hawkgs force-pushed the devtools/responsive-splitter branch 2 times, most recently from 101bbc2 to cd59391 Compare May 8, 2025 11:51
@hawkgs hawkgs force-pushed the devtools/responsive-splitter branch from e95eb14 to 98c821f Compare May 8, 2025 12:05
The `ResponsiveSplitDirective` adds responsive behavior to the `as-split` component by a provided width to height ratio.
@hawkgs hawkgs force-pushed the devtools/responsive-splitter branch 2 times, most recently from 468f03d to 8c4f148 Compare May 9, 2025 15:13
@hawkgs
Copy link
Member Author

hawkgs commented May 9, 2025

@AleksanderBodurri, I went with the flat config structure. I've added a more descriptive TSDoc comments that should, hopefully, clarify which direction is activated by the ratio and under which conditions.

@hawkgs hawkgs force-pushed the devtools/responsive-splitter branch from 8c4f148 to fa85b1c Compare May 12, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.