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

Some new devices added to devicelist.ts #1293

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

Sukrit-Prakash
Copy link

✨ Pull Request

ℹ️ About the PR

This PR introduces the following updates to the devicelist.ts:

1.Added support for Galaxy Z Fold 5 with a screen size of 344x882, dpr: 1.
2.Added support for Asus Zenbook Fold with a screen size of 853x1280, dpr: 2.
3.Added support for Pixel 7 with a screen size of 412x915, dpr: 2.625.

Each device entry includes its specific properties like userAgent, capabilities, and device type (phone, tablet).

🖼️ Testing Scenarios / Screenshots

Tested the changes by simulating these devices in the responsive design mode of Google Chrome DevTools.
Verified touch and mobile capabilities for the Galaxy Z Fold 5 and Pixel 7.
Ensured that the Asus Zenbook Fold is categorized as a tablet with the appropriate touch capabilities.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


web_dev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@@ -870,6 +870,47 @@ export const defaultDevices: Device[] = [
isTouchCapable: false,
isMobileCapable: false,
},
{
id: '90004',
Copy link
Collaborator

Choose a reason for hiding this comment

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

type: 'phone',
isTouchCapable: true,
isMobileCapable: true,
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be great if you could run the prettier formatting on this file.

Copy link
Author

Choose a reason for hiding this comment

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

fixed id and added prettier

Copy link
Collaborator

@manojVivek manojVivek left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for your contribution!

@manojVivek manojVivek merged commit 6f9af13 into responsively-org:main Sep 9, 2024
3 of 4 checks passed
@manojVivek
Copy link
Collaborator

@all-contributors Please add @Sukrit-Prakash for code.

Copy link
Contributor

@manojVivek

I've put up a pull request to add @Sukrit-Prakash! 🎉

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.

3 participants