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

Version Switcher Part 3 #47019

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Version Switcher Part 3 #47019

merged 1 commit into from
Aug 8, 2024

Conversation

cristianjd
Copy link
Collaborator

@cristianjd cristianjd commented Aug 8, 2024

Why are these changes needed?

A few small follow ups for the version switcher:

  • move constants to inside the versions JSON generation function
  • updated height of version switcher to be relative so it scales up with zoom level
  • changed overflow to overflow-y to stop the extra horizontal scroll from showing up
    Before:
    Screenshot 2024-08-08 at 9 56 01 AM
    After:
    Screenshot 2024-08-08 at 10 02 21 AM

Related issue number

Relevant issues already closed

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

…witcher, fix horizontal scroll on version switcher

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
@cristianjd cristianjd requested a review from a team as a code owner August 8, 2024 17:12
Copy link
Contributor

@peytondmurray peytondmurray left a comment

Choose a reason for hiding this comment

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

Awesome, nice cleanup 👍

Copy link
Collaborator

@can-anyscale can-anyscale left a comment

Choose a reason for hiding this comment

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

@can-anyscale can-anyscale enabled auto-merge (squash) August 8, 2024 17:55
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Aug 8, 2024
@can-anyscale can-anyscale merged commit 2f21bcf into master Aug 8, 2024
6 checks passed
@can-anyscale can-anyscale deleted the cristian/version-switcher-3 branch August 8, 2024 18:45
cristianjd added a commit that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd added a commit that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd added a commit that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd added a commit that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd added a commit that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
dev-goyal pushed a commit to dev-goyal/ray that referenced this pull request Aug 8, 2024
## Why are these changes needed?

A few small follow ups for the version switcher:
- move constants to inside the versions JSON generation function
- updated height of version switcher to be relative so it scales up with
zoom level
- changed `overflow` to `overflow-y` to stop the extra horizontal scroll
from showing up
Before:
![Screenshot 2024-08-08 at 9 56
01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca)
After:
![Screenshot 2024-08-08 at 10 02
21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99)

Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
Signed-off-by: Dev <dev.goyal@hinge.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants