Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Add tabs for JS vs React snippets, add snippet types #180

Open
corywatilo opened this issue Jun 3, 2022 · 1 comment
Open

Add tabs for JS vs React snippets, add snippet types #180

corywatilo opened this issue Jun 3, 2022 · 1 comment
Assignees

Comments

@corywatilo
Copy link
Collaborator

We only show the JS embed code in Squeak! settings, but we should have tabs with two code options:

  1. React snippet (default)
  2. Existing JS snippet

Variables should be automatically populated for both (like how we currently do for the vanilla JS code).

@corywatilo corywatilo self-assigned this Jun 17, 2022
@corywatilo
Copy link
Collaborator Author

corywatilo commented Jun 17, 2022

Cory to design this with different snippet types in mind:

  • Ask only form
  • Only asked on this page widget
  • Widget that shows all questions (or limited by topic, or source, like Slack)
  • Permalink snippet (single question ID)

@corywatilo corywatilo changed the title Add tabs for JS vs React snippets Add tabs for JS vs React snippets, add snippet types Jun 17, 2022
@corywatilo corywatilo moved this to Todo in Community roadmap Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant