Thomas Heartman
abef5deaef
chore: remove all deprecated imports of act ( #8398 )
...
don't use `act` from `react-dom`. Instead, use act from `react`
directly, as advised by the deprecation notice.
This PR fixes all of the deprecated import warnings, updates some
testing libraries we use (and tests), and fixes one or two other
warnings.
2024-10-15 13:53:26 +02:00
Jaanus Sellin
787af6f0eb
feat: android/swift slow metric info ( #8387 )
...
Two corner cases, android and swift do not post metrics before default
time. Adding small info box for them.
![image](https://github.com/user-attachments/assets/cad643ba-cdb7-4585-aab3-02cd86f17c74 )
2024-10-08 13:37:00 +03:00
Jaanus Sellin
8f4454039a
feat: start capturing onboarded status also from register endpoint ( #8386 )
...
1. Remove all customer intervals
2. Start capturing onboarded status also from register endpoint
2024-10-08 12:40:33 +03:00
Tymoteusz Czech
d760af321f
feat(onboarding): add comments to snippets ( #8361 )
...
Add warning about plaintext API key and increased metrics interval
2024-10-04 10:56:19 +02:00
Jaanus Sellin
361ef3d3c4
feat: update congratulations message ( #8354 )
...
![image](https://github.com/user-attachments/assets/c74d61e0-c38e-4770-8cb5-f3559a34a9f8 )
2024-10-03 15:38:14 +03:00
Jaanus Sellin
0077a56ef6
feat: add plausible for onboarding ( #8352 )
...
Tracking events for
1. Onboarding started/project created
2. Onboarding finishes
3. API token generated
4. Sdk example clicked
Not tracking events that can happen multiple times and results are
skewed
1. Moving between onboarding steps
2024-10-03 14:41:50 +03:00
Tymoteusz Czech
0bf385d601
feat(onboarding): improve steps dividers ( #8346 )
2024-10-03 12:26:12 +02:00
Tymoteusz Czech
ed0123d88a
fix(onboarding): Node.js SDK link ( #8334 )
2024-10-02 10:31:57 +00:00
Jaanus Sellin
a71fafeb13
feat: add all outlined icons ( #8332 )
...
![image](https://github.com/user-attachments/assets/54826935-6323-434f-b789-459f7ac51739 )
2024-10-02 13:22:59 +03:00
Tymoteusz Czech
3341d4aee9
fix(onboarding): update go snippet ( #8333 )
2024-10-02 10:14:29 +00:00
Jaanus Sellin
32849b6322
chore: update metrics interval from 5 to 1 ( #8331 )
2024-10-02 13:01:12 +03:00
Tymoteusz Czech
3ac2c17a8e
feat(onboarding): improve styles ( #8323 )
...
Adjust spacing between elements.
2024-10-02 11:20:26 +02:00
Jaanus Sellin
e51e6cc507
feat: improve onboarding flow ( #8327 )
...
1. Refetch features when creating the flag. It took a while for it to
appear before.
2. Fix NodeJS snippet and make texts more clear.
2024-10-02 10:39:47 +03:00
Tymoteusz Czech
b03686dc3f
feat(onboarding): .NET snippet ( #8307 )
...
## About the changes
Quick-start for .NET
2024-10-01 14:20:49 +03:00
Tymoteusz Czech
a6ab5326a0
feat(onboarding): add links to examples ( #8308 )
...
## About the changes
Links from Unleash UI to
[Unleash/unleash-sdk-examples](https://github.com/Unleash/unleash-sdk-examples )
https://linear.app/unleash/issue/1-2869/add-codesandbox-links-to-unleashunleash
2024-10-01 10:58:21 +00:00
Tymoteusz Czech
c502e99b85
feat(onboarding): Android snippet ( #8281 )
2024-09-27 12:02:12 +00:00
Jaanus Sellin
ee9f8c8836
fix: now only one onboarding screen will be shown at time ( #8290 )
...
Makes the button more clear.
Now both **onboarding** started and **onboarding finished** screens will
not be shown in the same time.
2024-09-27 14:58:03 +03:00
Jaanus Sellin
ed4c05d3c4
feat: add production snippets and resources ( #8286 )
...
Skipped .NET and Android because they are not ready. Also swift does not
support env variables, so skipped for now.
Added all rest.
2024-09-27 13:46:12 +03:00
Jaanus Sellin
b73c283e6c
feat: now code examples are joined into one ( #8284 )
...
Joined all examples into one copyable example.
Did not do following ones, because they are using templates and probably
will not work as joined.
1. React
2. Svelte
3. Vue
Also skipped, because those examples are not final yet.
1. .NET
2. Android
![image](https://github.com/user-attachments/assets/c8dabed4-21d0-4af9-900f-e77c5d069fe1 )
2024-09-27 10:28:12 +03:00
Jaanus Sellin
86e7bbc85d
feat: after onboarding show success box with resources ( #8278 )
...
![image](https://github.com/user-attachments/assets/7e60ad54-c750-4e8a-8556-a1735a99a43e )
2024-09-26 15:40:14 +03:00
Tymoteusz Czech
2292e2f6ca
feat(onboarding): Vue and Svelte snippets ( #8250 )
2024-09-26 15:06:30 +03:00
Jaanus Sellin
4397af0df7
chore: move onboarding flow and dialog under same location ( #8272 )
...
It is mostly moving the onboarding folders under same directory for more
clear project structure.
2024-09-26 12:56:49 +03:00
Jaanus Sellin
d0499dbf94
feat: sdk connected using production snippet ( #8266 )
...
1. Fix nodejs snippet
2. Tie the snippet to the completed stage.
3. Pull out the code renderer, to shared component
![image](https://github.com/user-attachments/assets/886c9502-4407-4aa7-8b63-84035f8cdb8a )
2024-09-26 11:39:05 +03:00
Jaanus Sellin
aca0de414e
feat: display new completed dialog ( #8255 )
...
1. Now the dialog will not close when SDK got connected
2. It will start to show the suggested production code. ( this will be
attached in next PR)
3. Also, it has connected indicator on the right
4. Back button is removed in this stage.
![image](https://github.com/user-attachments/assets/c7290e0f-8fa7-4382-a91d-7206e32d81ae )
---------
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-09-26 09:24:15 +03:00
Tymoteusz Czech
c7427f4b91
feat(onboarding): nodejs snippet for production ( #8256 )
2024-09-25 15:45:53 +02:00
Tymoteusz Czech
cdb1297246
feat(onboarding): Rust SDK snippet ( #8239 )
...
A bit different then other examples - only way to run current state of
Rust SDK is to have some kind of an opinionated setup around it.
2024-09-25 12:33:58 +02:00
Tymoteusz Czech
bfe3af6dc2
fix: SDK snippets import ( #8235 )
2024-09-24 15:35:00 +02:00
Tymoteusz Czech
d6dbdab6f1
feat(onboarding): sdk snippets in files ( #8233 )
...
Makes it easier to edit code snippets. Additionally, adds lazy loading
to reduce bundle size.
2024-09-24 13:37:32 +02:00
Jaanus Sellin
7b686ed318
chore: full js sdk example ( #8229 )
2024-09-24 10:47:14 +03:00
Jaanus Sellin
272052c59b
feat: complete java example ( #8227 )
2024-09-24 09:55:54 +03:00
Melinda Fekete
0587203ad6
chore: update project onboarding UI text ( #8189 )
2024-09-20 10:30:33 +02:00
Jaanus Sellin
95969456f6
chore: finalize python sdk example ( #8186 )
...
Fix Python example and add isEnabled example.
2024-09-19 15:03:03 +03:00
Mateusz Kwasniewski
7274f4954a
fix: connect sdk description bg color ( #8171 )
2024-09-18 14:08:31 +02:00
Mateusz Kwasniewski
9d519efc74
feat: swift and flutter sdk snippets ( #8149 )
2024-09-17 08:47:57 +02:00
Jaanus Sellin
212203f7c7
chore: PHP SDK example fix ( #8146 )
2024-09-16 14:29:03 +03:00
Jaanus Sellin
f76f754eca
chore: update go sdk examples ( #8145 )
2024-09-16 13:15:26 +03:00
Mateusz Kwasniewski
152e074c2d
test: improve onboarding test ( #8121 )
2024-09-06 13:45:22 +02:00
Mateusz Kwasniewski
0fa3738412
chore: adjust language names ( #8117 )
2024-09-06 12:45:22 +02:00
Jaanus Sellin
028cf06f6c
feat: make node example more consistent ( #8111 )
2024-09-06 13:22:23 +03:00
Mateusz Kwasniewski
0b656db80a
test: onboarding test with existing key ( #8116 )
2024-09-06 11:50:52 +02:00
Mateusz Kwasniewski
09e55c10c2
feat: onboarding step badges ( #8102 )
2024-09-05 15:21:27 +02:00
Mateusz Kwasniewski
2daa0cd8ca
feat: onboarding stepper ( #8100 )
2024-09-05 14:11:39 +02:00
Jaanus Sellin
01fb748c01
feat: connection status bubble ( #8099 )
...
Fully working cycle
![image](https://github.com/user-attachments/assets/cf20788b-29fa-4489-91e7-7db9f592da9b )
2024-09-05 13:56:25 +03:00
Mateusz Kwasniewski
9f591f0cda
feat: change sdk action ( #8098 )
2024-09-05 11:55:37 +02:00
Mateusz Kwasniewski
62d03d35cd
feat: check flag status snippet ( #8097 )
2024-09-05 11:17:42 +02:00
Jaanus Sellin
4b1de563f7
feat: add sdk example box ( #8092 )
...
![image](https://github.com/user-attachments/assets/472dcbb2-d981-4d7c-8bbf-b97a6ee4c186 )
2024-09-05 10:35:43 +03:00
Mateusz Kwasniewski
b1ce02369a
feat: copy to clipboard sdk snippet ( #8083 )
2024-09-05 08:53:52 +02:00
Mateusz Kwasniewski
ff31013c6d
feat: Sdk snippets in test connection phase ( #8082 )
2024-09-04 15:43:36 +02:00
Mateusz Kwasniewski
5c4d0bf99b
feat: navigate between all stages ( #8080 )
2024-09-04 13:58:15 +02:00
Mateusz Kwasniewski
ba8d043f3c
feat: connect sdk concepts ( #8079 )
2024-09-04 12:31:55 +02:00