Skip to content
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

Test/remove viewport autoscaling #144

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

spike-rabbit
Copy link
Member

@spike-rabbit spike-rabbit commented Jan 28, 2025

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

We currently resize the viewport in each test based on the content. This behavior was fine for our internal project but causing issues here, as we have very large examples that should actually scroll.

What is the new behavior?
This PR removes the autscaling completely. Instead using a fixed height, which covers all examples that are not intended to scroll.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

This is a leftover from our internal projects. We don't need this here as we run the VRTs always with the entire application
@spike-rabbit spike-rabbit self-assigned this Jan 28, 2025
@fh1ch fh1ch self-requested a review January 29, 2025 18:18
Copy link
Member

@fh1ch fh1ch left a comment

Choose a reason for hiding this comment

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

@spike-rabbit outstanding work, thanks a ton for the tidy-up 🙇

LGTM 👍

@fh1ch fh1ch merged commit a36f537 into master Jan 29, 2025
3 checks passed
@fh1ch fh1ch deleted the test/remove-viewport-autoscaling branch January 29, 2025 18:21
grantwforsythe pushed a commit to grantwforsythe/ngx-datatable that referenced this pull request Feb 2, 2025
* test: mark e2e-local-sh as executable

* test: remove viewport autoscaling

This is a leftover from our internal projects. We don't need this here as we run the VRTs always with the entire application
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.

2 participants