Commit a9d9d29
feat: Event setup mode (#94)
* Basics of event tracking setup
* Add debug flag handling to query.ts
* Working API connection
* Get better event suggestions
* Rework event generation
* Better prompting
* Move Wizard into next-specific directory for now
* Update import paths
* Iterating prompt
* More robust server-side handling
* Aggressively detect client vs server, discourage bad events
* Add helper
* IT WORKS WELL
* Prevent weird mangling of file endings
* UI tweaks
* Use the query implementation from main
* Add newline
* Replace debug logging
* remove unneeded file picker
* Remove unneeded package
* Let's make typescript happy
* Prettier
* Add event tracking for event workflow
* Check for git status before proceeding
* harmonize events with rest of project
* Opt out of no-console for the helper file; logging is a good start for devs to improve on
* obeisance to the linter
* More linter deference
* prevent posthog-node being included in client bundle
* Restore old approach
* Lint and pretty
* Copy tweaks
* Radically simplify: client-side only for now
* Invite folks to try the event-setup mode
* Check for dirty git status before proceeding
* prettier
* Update src/nextjs/event-setup.ts
Co-authored-by: Jonathan Mieloo <32547391+JonathanLab@users.noreply.github.com>
* Re-add analytics
---------
Co-authored-by: Jonathan Mieloo <32547391+JonathanLab@users.noreply.github.com>1 parent 1e557fc commit a9d9d29
4 files changed
Lines changed: 497 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
91 | 135 | | |
92 | 136 | | |
93 | 137 | | |
| |||
0 commit comments