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

Preview tab: Add a visibleIndex property to device configuration objects to reorder them within the simulator device list #5461

Closed
JaneSjs opened this issue May 3, 2024 · 0 comments · Fixed by #5476
Assignees
Labels
enhancement user issue An issue or bug reported by users.
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented May 3, 2024

T18006 - Reorder device options within the device selector drop-down
https://surveyjs.answerdesk.io/internal/ticket/details/T18006


The task is to add more devices to the device selector. It's possible to do so by adding corresponding objects to the simulatorDevices array. However, added items appear at the end of a list and it's impossible to reorder them.

Please introduce an API which would allow easily managing a list of available simulator devices.

@JaneSjs JaneSjs added enhancement user issue An issue or bug reported by users. labels May 3, 2024
@tsv2013 tsv2013 self-assigned this May 6, 2024
tsv2013 pushed a commit that referenced this issue May 8, 2024
… which would allow developers to add/remove/reorder available device options
andrewtelnov pushed a commit that referenced this issue May 10, 2024
… which would allow developers to add/remove/reorder available device options (#5476)

* Implemented #5461 - Device Selector Drop-Down Menu - Introduce an API which would allow developers to add/remove/reorder available device options

* Fixed lint

---------

Co-authored-by: tsv2013 <[email protected]>
@RomanTsukanov RomanTsukanov changed the title Device Selector Drop-Down Menu - Introduce an API which would allow developers to add/remove/reorder available device options Preview tab: Add a visibleIndex property to device configuration objects to reorder them within the simulator device list May 14, 2024
@OlgaLarina OlgaLarina added this to the v1.10.4 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users.
Projects
None yet
3 participants