feat: add IDX support to other samples #1746
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a "Try in IDX" button to the main samples directory, and enables it for three samples
js-schoolAgent
js-character-generator
js-coffeeshop
I'll add the other samples in follow ups, but I want to make sure they're working well before adding them to the dropdown.
This is what the screen looks like in IDX
![image](https://private-user-images.githubusercontent.com/665326/408932718-07047736-2e1d-403a-9fe6-cb1a5df62e6f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAxNjQ0NzIsIm5iZiI6MTc0MDE2NDE3MiwicGF0aCI6Ii82NjUzMjYvNDA4OTMyNzE4LTA3MDQ3NzM2LTJlMWQtNDAzYS05ZmU2LWNiMWE1ZGY2MmU2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIyMVQxODU2MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNDI5YzBmNzUyMDNkYTg0MmM5MTQzODE3ZTM4ZWZjMmZiZGI2Y2FkYWQ1YmZjNWMwMmQ4MTBjZjE4Yzk4OGFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2O_yTHZwrWn6aTWuP4G2aSoAw4xfGfucLJQtdfXyT8w)
you can test this here:
![Try in IDX](https://camo.githubusercontent.com/7a74f37b9beb2ad6a9d438c1d555f2269156096198cffc43a312fe0a07dfa289/68747470733a2f2f63646e2e6964782e6465762f62746e2f7472795f6c696768745f33322e737667)
Checklist (if applicable):