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

Feature request: add screen dimensions to environment context object #941

Open
bensontrent opened this issue Dec 2, 2023 · 1 comment
Open
Labels
feature-request "Wouldn't it be cool if I could...?"

Comments

@bensontrent
Copy link

I'm developing a shipping app. When creating a shipment, on 2k monitors, it makes sense to show a FocusView to display all the content they need to see on the same screen. But for users with a 4k monitor, this seems very unusual. Here's a screenshot of my app with a FocusView on a 4K monitor.
image
The necessity for a FocusView on a 4k monitor seems completely out of place.

Here's the same view on a 2k monitor:

image

It would be nice to have the user's screen dimensions as a property of the environment context somehow so I can detect and display the appropriate view.

I suppose a workaround to this would be to display a button to change the format and save that setting in my database, but it seems like this would be cumbersome (an unnecessary button if we can avoid it) for the user.

@bensontrent bensontrent added feature-request "Wouldn't it be cool if I could...?" needs-triage labels Dec 2, 2023
@gabrielhurley-stripe
Copy link
Contributor

This makes sense as an ask. Thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request "Wouldn't it be cool if I could...?"
Projects
None yet
Development

No branches or pull requests

2 participants