Compare commits

..

1435 Commits

Author SHA1 Message Date
Guido D'Orsi
d28ce598e2 Merge pull request #2003 from garden-co/changeset-release/main
Version Packages
2025-04-26 10:24:45 +02:00
github-actions[bot]
14475991c8 Version Packages 2025-04-25 12:39:39 +00:00
Guido D'Orsi
15d9ec4b38 chore: small cleanup on startPeerReconciliation 2025-04-25 14:37:34 +02:00
Guido D'Orsi
f911545ae3 Merge pull request #2006 from garden-co/chore/simplify-coValue-sync
chore: clean up syncCoValue code and remove the peer role
2025-04-25 13:55:00 +02:00
Guido D'Orsi
ad71530cc0 Merge pull request #2005 from garden-co/feat/no-sync-promises
feat(sync): make the incoming messages handling in the sync manager syncronous
2025-04-25 13:54:35 +02:00
Guido D'Orsi
c33c02691f chore: clean up syncCoValue code and remove the peer role 2025-04-25 13:22:02 +02:00
Guido D'Orsi
51c19770a8 feat: remove unused promises in PeerState outgoing queue 2025-04-25 13:08:20 +02:00
Guido D'Orsi
5c2c7d4188 feat(sync): make the incoming messages handling in the sync manager syncronous 2025-04-25 12:36:31 +02:00
Benjamin S. Leveritt
334d27d53d Merge pull request #2002 from garden-co/2001-fix-unused-vars-in-jazz-paper-scissors
Removes unused vars
2025-04-25 08:19:17 +01:00
Benjamin S. Leveritt
a5396a42ce Merge pull request #1989 from garden-co/fix-rn-metro-docs
docs(metro): fix RN docs for metro config
2025-04-24 15:31:12 +01:00
Benjamin S. Leveritt
5cfe38d547 Removes unused vars 2025-04-24 13:43:25 +01:00
Benjamin S. Leveritt
3f7aa34726 Merge pull request #1996 from garden-co/1995-add-ownership-sections-to-all-the-covalue-docs
Add Ownership sections to CoValue docs
2025-04-24 13:11:52 +01:00
Trisha Lim
008750d401 Merge pull request #1997 from garden-co/docs/framework-component
add Framework component to show framework name
2025-04-24 12:27:54 +01:00
Trisha Lim
72708f82ea add Framework component to show framework name 2025-04-24 12:18:24 +01:00
Benjamin S. Leveritt
30f65f1c91 Add Ownership sections to CoValue docs 2025-04-24 12:06:52 +01:00
Meg Culotta
67d55ce0ee update styles to handle mobile devices (#1944)
* update styles to handle mobile devices

* handle twoslash overflow

---------

Co-authored-by: Margaret Culotta <mculotta@Margarets-MacBook-Air.local>
Co-authored-by: Trisha Lim <hello@trishalim.com>
2025-04-24 09:11:36 +01:00
Trisha Lim
e887f37713 Merge pull request #1994 from garden-co/fix/code-copy
fix(docs): exclude twoslash popovers from getting copied
2025-04-24 09:08:55 +01:00
Trisha Lim
82a515d493 fix(docs): exclude twoslash popovers from getting copied 2025-04-24 08:57:00 +01:00
pax-k
bd94012507 chore: changeset 2025-04-23 23:00:22 +03:00
Guido D'Orsi
b675249960 Merge pull request #1990 from garden-co/changeset-release/main
Version Packages
2025-04-23 21:49:44 +02:00
github-actions[bot]
05198e4181 Version Packages 2025-04-23 19:48:47 +00:00
Guido D'Orsi
ec9cb40fa4 fix: remove .every() call on iterator to fix compat issues with React Native 2025-04-23 21:46:27 +02:00
pax-k
dafea6039b docs(metro): fix RN docs for metro config 2025-04-23 22:31:50 +03:00
Guido D'Orsi
fae9b521b8 Merge pull request #1984 from garden-co/changeset-release/main
Version Packages
2025-04-23 19:47:23 +02:00
github-actions[bot]
ec1e2e4539 Version Packages 2025-04-23 17:46:34 +00:00
Guido D'Orsi
9550dcd6e7 Merge pull request #1987 from garden-co/fix/handle-unknown-keys-comap-toJSON
fix: skip non-schema related keys when calling CoMap.toJSON
2025-04-23 19:44:20 +02:00
Guido D'Orsi
4547525579 fix: skip non-schema related keys when calling CoMap.toJSON 2025-04-23 19:31:41 +02:00
Guido D'Orsi
856ba0c1fa Merge pull request #1943 from garden-co/refactor/simplify-covalue-state-anselm
feat: simplify the CoValue loading state management
2025-04-23 18:45:26 +02:00
Guido D'Orsi
aaf217c61b Merge pull request #1980 from garden-co/changeset-release/main
Version Packages
2025-04-23 16:49:26 +02:00
Guido D'Orsi
29e05c4ad4 chore: changeset 2025-04-23 16:48:04 +02:00
Guido D'Orsi
65719f21a3 chore: changeset 2025-04-23 16:46:23 +02:00
Guido D'Orsi
05ff90c3c4 feat: mark not found when the peer closes 2025-04-23 16:42:05 +02:00
Guido D'Orsi
07408970bd fix: return unavailable when loading from 0 peers 2025-04-23 16:40:31 +02:00
github-actions[bot]
ebd5ae2985 Version Packages 2025-04-23 14:29:42 +00:00
Guido D'Orsi
b0270e72d2 Merge pull request #1970 from garden-co/perf/colist-incremental-view
perf(colist): process the content incrementally
2025-04-23 16:27:12 +02:00
Guido D'Orsi
95c3001a7f Merge pull request #1969 from garden-co/fix/colist-max-recursion
fix(colist): fix max recursion error happening on large lists
2025-04-23 16:19:40 +02:00
Guido D'Orsi
4ba3ea6b4e Merge remote-tracking branch 'origin/main' into refactor/simplify-covalue-state-anselm 2025-04-23 16:18:23 +02:00
Anselm
fc6eab7efe Fix linked list -> stack comment 2025-04-23 15:15:16 +01:00
Guido D'Orsi
c30fb098fe Merge remote-tracking branch 'origin/main' into refactor/simplify-covalue-state-anselm 2025-04-23 16:15:13 +02:00
Guido D'Orsi
2ff226cf9a Merge pull request #1983 from garden-co/simplify-handle-new-content
feat: simplify missing content management in handleNewContent
2025-04-23 16:12:05 +02:00
Anselm
08bd887ab7 Use array inverse stack instead of LinkedList 2025-04-23 15:11:05 +01:00
Guido D'Orsi
3396ed4b72 feat: simplify missing content management in handleNewContent 2025-04-23 16:05:17 +02:00
Guido D'Orsi
a703bc3102 Merge pull request #1982 from garden-co/refactor/remove-fs-storage
Remove half-baked filesystem storage
2025-04-23 15:48:23 +02:00
Anselm
18dc96c7b1 Merge branch 'main' into refactor/simplify-covalue-state-anselm 2025-04-23 14:42:09 +01:00
Guido D'Orsi
f8d9e9f5c8 Merge pull request #1920 from garden-co/simplify-known-peer-state-updates
Clarify peer known state
2025-04-23 15:35:52 +02:00
Anselm
e9e7f45e02 Remove filesystem storage 2025-04-23 14:34:48 +01:00
Anselm Eickhoff
3b96af8686 Merge pull request #1952 from garden-co/publish-design-system 2025-04-23 13:35:28 +01:00
Anselm
49fb6311ad Fix errors in jazz-tools 2025-04-23 12:37:29 +01:00
Benjamin S. Leveritt
bce150c391 Merge pull request #1849 from garden-co/dumb-richtext
Prosemirror <-> RichText integration
2025-04-23 12:29:57 +01:00
Benjamin S. Leveritt
f8f07941fa Pnpm uber alles 2025-04-23 11:53:06 +01:00
Benjamin S. Leveritt
6a1b01417b Update favicon 2025-04-23 11:31:01 +01:00
Benjamin S. Leveritt
db60152b73 Fix vercel app name 2025-04-23 11:30:35 +01:00
Benjamin S. Leveritt
ebf082c145 Fix for typescript error on missing navigator 2025-04-23 11:27:29 +01:00
Benjamin S. Leveritt
f8b98ee3e1 Empty the changelog 2025-04-23 11:18:17 +01:00
Benjamin S. Leveritt
01ef60bf04 Update Richtext Readme 2025-04-23 11:18:17 +01:00
Benjamin S. Leveritt
17273a60e7 Add changesets 2025-04-23 11:18:17 +01:00
Benjamin S. Leveritt
0439f4c404 Update Richtext example app readme 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
e47fe35b15 Rename Form to Editor 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
f9e4520d64 Puts decoration display behind option 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
91f23ee555 Improve rich text example title 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
d06df65bd9 Add comment 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
e9b9b85695 Fix length 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
6a97cfd53d Bins the selection stuff 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
3497beea9e Add a text selection test 2025-04-23 11:18:16 +01:00
Benjamin S. Leveritt
7ecd643719 Persist selection on CoRichText update 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
4c26d43e2e Adds selection functions 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
b089f0bb5d Add caret and selection decoration 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
d6c99a3ab9 Show empty selections? 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
fb41802011 Basic visualise selection/caret 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
e4313d94ed Correct Document type 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
30bc01a4fd Lays out Form to see more content 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
de6eccd197 Adds non-catalog deps 2025-04-23 11:18:15 +01:00
Benjamin S. Leveritt
ca6e98359c Adds docs 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
092fed118a Refactor into parts 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
3bb702d520 Adds compliment of tests 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
5f1979a61a Add initialising test 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
1861867708 Add a test 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
9ef32e0039 Update packages with catalog 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
375db82ad4 Merge origin/main into dumb-richtext 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
1d2ed44548 Fix cojson tests, adds comments 2025-04-23 11:18:14 +01:00
Benjamin S. Leveritt
e0dd4b678a Fix plain text tests 2025-04-23 11:18:13 +01:00
Benjamin S. Leveritt
db113ba816 Moves initialisation to plugin 2025-04-23 11:18:13 +01:00
Benjamin S. Leveritt
6f58c43b48 Merge origin/main into dumb-richtext 2025-04-23 11:18:13 +01:00
Benjamin S. Leveritt
0ff0710226 Keeps that persistent view 2025-04-23 11:16:39 +01:00
Benjamin S. Leveritt
ce5c5a1558 Breaks up subscription 2025-04-23 11:16:38 +01:00
Benjamin S. Leveritt
500fc29a9e Moves integration to plugin 2025-04-23 11:16:38 +01:00
Benjamin S. Leveritt
b7976929d0 Add plugin 2025-04-23 11:16:38 +01:00
Benjamin S. Leveritt
6db4e8837c Add jazz-richtext-prosemirror package 2025-04-23 11:16:38 +01:00
Anselm
588a9aff0b rename back to richtext 2025-04-23 11:15:52 +01:00
Anselm
399057b262 get rid of subproject 2025-04-23 11:15:52 +01:00
Anselm
12daa15ef7 First iteration of dumb richtext 2025-04-23 11:15:52 +01:00
Guido D'Orsi
9356ffbd4e Merge pull request #1975 from garden-co/changeset-release/main
Version Packages
2025-04-23 10:17:41 +02:00
Anselm
866d1b310a Merge branch 'main' into publish-design-system 2025-04-23 09:16:27 +01:00
Anselm
225103b095 Move some things around and make design system pure TS dep 2025-04-23 09:13:17 +01:00
github-actions[bot]
328227316c Version Packages 2025-04-23 08:06:44 +00:00
Guido D'Orsi
dd5fe12dfe Merge pull request #1972 from garden-co/fix/fatal-error-coValue-creation
fix: do not crash when loading a CoValue core without the group in the sync server
2025-04-23 10:04:38 +02:00
Guido D'Orsi
f837cfe994 fix: do not crash when loading a CoValue core without the group in the sync server 2025-04-23 01:48:38 +02:00
Guido D'Orsi
f80bef8fef fix: replace rebuildFromCore with processNewTransactions 2025-04-22 22:49:54 +02:00
Guido D'Orsi
1bba26081b Merge branch 'fix/colist-max-recursion' into perf/colist-incremental-view 2025-04-22 22:42:25 +02:00
Guido D'Orsi
9efb2e2dd8 chore: simplify code 2025-04-22 22:41:38 +02:00
Guido D'Orsi
4b12b051e3 chore: restore comment 2025-04-22 22:39:54 +02:00
Guido D'Orsi
6bf2ddb7a8 Merge remote-tracking branch 'origin/main' into fix/colist-max-recursion 2025-04-22 22:38:06 +02:00
Guido D'Orsi
978c30a7ca Merge pull request #1971 from garden-co/biome-ignore-package-json
fix(biome): ignore package.json files
2025-04-22 22:37:24 +02:00
Guido D'Orsi
e2c02824e7 fix(biome): ignore package.json files 2025-04-22 22:36:09 +02:00
Guido D'Orsi
e05dff9c32 perf(colist): process the content incrementally 2025-04-22 22:28:47 +02:00
Guido D'Orsi
267ea4cf46 fix(colist): fix max recursion error happening on large lists 2025-04-22 22:26:10 +02:00
Guido D'Orsi
6dac7c7ce5 Merge pull request #1968 from garden-co/changeset-release/main
Version Packages
2025-04-22 20:09:29 +02:00
github-actions[bot]
d0724a2c13 Version Packages 2025-04-22 18:04:57 +00:00
Guido D'Orsi
4c632e14a4 Merge pull request #1967 from garden-co/fix/colist-null-values
fix(coList): handle null values when using $each: true
2025-04-22 20:02:58 +02:00
Guido D'Orsi
d7238267d9 fix(passkey-svelte): add jazz-tools as dependency 2025-04-22 20:00:59 +02:00
Guido D'Orsi
a6cf01f867 fix(coList): handle null values when using : true 2025-04-22 19:52:34 +02:00
Guido D'Orsi
17d148b1d2 Merge pull request #1803 from garden-co/jazz-paper-scissors
feat: Jazz paper scissors example
2025-04-22 18:44:52 +02:00
Guido D'Orsi
2544782988 feat(dx): simplify dev setup using npm-run-all 2025-04-22 18:44:12 +02:00
Margaret Culotta
8f42c7a749 merge main, handle conflict in pnpm-lock 2025-04-22 18:40:31 +02:00
Guido D'Orsi
62aa4146af Merge pull request #1966 from garden-co/changeset-release/main
Version Packages
2025-04-22 18:27:14 +02:00
github-actions[bot]
d423e3c4b3 Version Packages 2025-04-22 16:24:54 +00:00
Guido D'Orsi
bdac4d1188 Merge pull request #1965 from garden-co/clerk-rn-signup
fix(clerk-expo): correctly catch updates when doing a signup
2025-04-22 18:23:10 +02:00
Guido D'Orsi
47c9004d5f chore: format 2025-04-22 18:19:42 +02:00
Guido D'Orsi
de19a6db37 fix(clerk-expo): correctly catch updates when doing a signup 2025-04-22 18:18:42 +02:00
Guido D'Orsi
cdc885994c test: cover server restarts 2025-04-22 17:39:01 +02:00
Sammii
6e1b27b0c9 Merge pull request #1934 from garden-co/updating-jazz-blue-color-sitewide
Updating jazz blue color site-wide
2025-04-22 14:27:58 +01:00
Guido D'Orsi
64483ea09b Merge pull request #1923 from garden-co/changeset-release/main
Version Packages
2025-04-22 12:28:38 +02:00
github-actions[bot]
1310c19bb0 Version Packages 2025-04-22 10:28:08 +00:00
Guido D'Orsi
dae58f8d54 Revert "fix: add a timeout in handleNewContent"
This reverts commit 793342b67a.
2025-04-22 12:25:43 +02:00
Guido D'Orsi
b4af381043 Revert "fix: add a timeout in incomingMessagesProcessingPromise"
This reverts commit 9696bda2e9.
2025-04-22 12:25:08 +02:00
Sammii
6ac8bebf90 more svg tweaks for dark mode to bring the two more inline 2025-04-22 10:30:55 +01:00
Trisha Lim
81d63606a6 Merge pull request #1961 from garden-co/fix/docs-title
fix(docs): use h1 as page title
2025-04-22 16:29:17 +07:00
Sammii
29d0b6fa03 svg tweaks 2025-04-22 10:18:42 +01:00
Trisha Lim
36cf5b1dbb fix(docs): use h1 as page title 2025-04-22 15:49:14 +07:00
Trisha Lim
13c1dc34f7 Merge pull request #1960 from garden-co/fix/account-preview
fix(inspector): Account preview
2025-04-21 19:15:14 +07:00
Trisha Lim
4530c4a9d2 add changeset 2025-04-21 18:58:40 +07:00
Trisha Lim
ba8dc07630 switch filter and slice order 2025-04-21 18:58:40 +07:00
Trisha Lim
c841b2da58 refactor: remove redundant AccountNameDisplay component 2025-04-21 18:58:38 +07:00
Trisha Lim
b42e5f5d82 fix preview of account comaps 2025-04-21 18:58:25 +07:00
Trisha Lim
24137a1269 Merge pull request #1955 from garden-co/inspector/show-role
Show current account's role on a covalue
2025-04-21 18:57:53 +07:00
Trisha Lim
22b5c4f083 Show current account's role on a covalue 2025-04-21 18:23:06 +07:00
Guido D'Orsi
5810572f54 Merge pull request #1946 from garden-co/feat/everyone-writeonly
feat: allow to assign the writeOnly role to everyone
2025-04-20 20:41:34 +02:00
Guido D'Orsi
ab3c61b7ca Merge pull request #1951 from garden-co/feat/loading-from-closed-peers
fix: skip loading from closed peers and add a timeout on the addPeer wait
2025-04-20 20:41:13 +02:00
Anselm
53b2cd93eb Better emit settings for design system 2025-04-19 13:25:52 +01:00
Anselm
95cee57379 Move components folder out of app 2025-04-19 12:01:42 +01:00
Anselm
a5df996d67 Export font setup from design system 2025-04-19 10:38:50 +01:00
Guido D'Orsi
a041ee5c4b test: cover more edge cases on writeOnly 2025-04-19 11:31:54 +02:00
Anselm
a518e8b667 Publish design system 2025-04-19 10:13:32 +01:00
Anselm
673197cf8e Make design system deps direct 2025-04-19 10:12:54 +01:00
Anselm
9a9aa1e811 Rename design-system and make publishable 2025-04-19 09:53:43 +01:00
Guido D'Orsi
793342b67a fix: add a timeout in handleNewContent 2025-04-19 09:36:10 +02:00
Guido D'Orsi
13074beebf feat(PeerState): unblock all the loading coValues when closing 2025-04-19 09:32:25 +02:00
Guido D'Orsi
9696bda2e9 fix: add a timeout in incomingMessagesProcessingPromise 2025-04-19 09:09:33 +02:00
Guido D'Orsi
87e0a23186 fix: skip loading from closed peers 2025-04-19 09:07:32 +02:00
Guido D'Orsi
1acc9eb37b Merge pull request #1947 from garden-co/fix/sync-stuck
fix: remove risky awaits from handleSyncMessage code path
2025-04-19 00:37:44 +02:00
Guido D'Orsi
9ba228c804 Merge pull request #1948 from garden-co/remove-jest
chore: remove jest
2025-04-19 00:12:02 +02:00
Guido D'Orsi
a4bad7aab8 chore: remove jest 2025-04-19 00:09:21 +02:00
Guido D'Orsi
4e9aae1887 fix: remove risky awaits from handleSyncMessage code path 2025-04-18 22:48:10 +02:00
Guido D'Orsi
093bab7fbc chore: remove .env 2025-04-18 20:17:51 +02:00
Guido D'Orsi
b2449a3bae test: add requestToJoin as smoke test inside jazz-tools 2025-04-18 20:03:45 +02:00
Margaret Culotta
49784a7e65 remove additional icons from manifest.json 2025-04-18 08:44:57 -05:00
Guido D'Orsi
bc3d7bbb18 feat: allow to assign the writeOnly role to everyone 2025-04-18 15:01:50 +02:00
Guido D'Orsi
935cd745ba chore: align deps 2025-04-18 13:46:47 +02:00
Guido D'Orsi
608d06d46f chore: throw an error when the .env is missing 2025-04-18 13:43:26 +02:00
Guido D'Orsi
7690e19014 docs: update readme 2025-04-18 13:41:22 +02:00
Guido D'Orsi
4626c79c46 chore: clean lockfile 2025-04-18 13:34:48 +02:00
Guido D'Orsi
aad0bd60f4 fix: remove postinstall 2025-04-18 13:29:34 +02:00
Guido D'Orsi
1fbe8d9651 Merge remote-tracking branch 'origin/main' into jazz-paper-scissors 2025-04-18 13:25:45 +02:00
Benjamin S. Leveritt
2ba762b4c8 Merge pull request #1881 from garden-co/1826-implement-the-basics-of-rendering-any-kind-of-covalue-in-a-component 2025-04-17 18:50:58 +01:00
Trisha Lim
f24855e8e5 Merge pull request #1892 from garden-co/fix/sidenav-scroll-state
preserve side nav scroll state
2025-04-17 22:19:19 +07:00
Trisha Lim
e299fc9d51 lint fixes 2025-04-17 22:12:27 +07:00
Trisha Lim
0bd293f632 move navigation-items.ts to /content 2025-04-17 22:11:42 +07:00
Trisha Lim
d8d186da09 reuse code between API nav and docs nav 2025-04-17 22:08:53 +07:00
Trisha Lim
9ddc5fa060 add key 2025-04-17 22:08:08 +07:00
Trisha Lim
910683dce4 fix svg attribute names 2025-04-17 22:08:08 +07:00
Trisha Lim
bb0f0ecbc0 handle mobile nav on non-docs pages 2025-04-17 22:08:07 +07:00
Trisha Lim
1f54b4875a fix api ref layout 2025-04-17 22:08:05 +07:00
Trisha Lim
68759f1797 preserve side nav scroll state 2025-04-17 22:07:50 +07:00
Anselm
cdc5cbd6d6 Don't retry coValue if it's available 2025-04-17 16:00:15 +01:00
Anselm
f55097c480 Fix broken test 2025-04-17 15:41:01 +01:00
Anselm
e9695fa2eb Interpret closed peers as "unavailable", clear up other edge cases 2025-04-17 15:33:15 +01:00
Anselm
0c11110567 Go back to string-y highLevelState and implement counters 2025-04-17 14:44:15 +01:00
Anselm
f2db858221 Distinguish between "available" and "received from peer" 2025-04-17 14:26:40 +01:00
Anselm
a362cbba51 Fix most retry-related tests 2025-04-17 13:03:55 +01:00
Anselm
39c2586d3b Wait in between peers, improve message test printing 2025-04-17 12:15:59 +01:00
Anselm Eickhoff
4336342f74 Merge pull request #1941 from garden-co/update-team-page
homepage: add new team members
2025-04-17 12:11:01 +01:00
Trisha Lim
3a5dfbe008 Update team member roles
Co-authored-by: Anselm Eickhoff <anselm.eickhoff@gmail.com>
2025-04-17 17:54:32 +07:00
Trisha Lim
504e42b7ea add new team members 2025-04-17 17:38:07 +07:00
Sammii
6a9baa304f updating images.tests 2025-04-17 10:37:53 +01:00
Sammii
99b9b10d2d more updates 2025-04-17 10:28:19 +01:00
Sammii
f42b73b09b updating all pngs 2025-04-17 09:57:55 +01:00
Benjamin S. Leveritt
41a62a8dde Merge pull request #1938 from garden-co/fix-examples-use-catalog
Revert versions on example apps
2025-04-16 21:42:21 +01:00
Benjamin S. Leveritt
73f99a11b1 Revert versions on example apps 2025-04-16 21:36:22 +01:00
Guido D'Orsi
587d5267bb Merge pull request #1937 from garden-co/fix/peer-reconciliation
test: add multi-server tests and consolidate test APIs
2025-04-16 21:06:22 +02:00
Guido D'Orsi
a747e1f466 test: add multi-server tests and consolidate test APIs 2025-04-16 21:00:39 +02:00
Guido D'Orsi
95c967783b Merge pull request #1935 from garden-co/fix/peer-reconciliation
test: simulate sync tests with storage
2025-04-16 19:29:00 +02:00
Sammii
89ff69f005 more favicon updates for example apps 2025-04-16 16:25:08 +01:00
Anselm
e5eed7bd35 Merge branch 'fix/peer-reconciliation' into refactor/simplify-covalue-state 2025-04-16 16:17:01 +01:00
Sammii
698d3b0a81 resolving class casing on diagram components 2025-04-16 16:14:55 +01:00
Sammii
cb5e55d18f amending favicon images 2025-04-16 16:14:41 +01:00
Guido D'Orsi
dcf8243551 test: simulate sync tests with storage 2025-04-16 17:12:20 +02:00
Anselm
39ae497153 Use covalue state getters 2025-04-16 16:05:18 +01:00
Sammii
cdab27084c Merge branch 'main' into updating-jazz-blue-color-sitewide 2025-04-16 15:48:06 +01:00
Sammii
17b499e68a amending favicons & title on form & password manager example
+ title on chat vue example app
2025-04-16 15:38:34 +01:00
Sammii
f3f2344948 updating logos and default colours to use new blue 2025-04-16 15:12:12 +01:00
Sammii
ce4064f6a7 Merge branch 'main' into updating-jazz-blue-color-sitewide 2025-04-16 15:08:24 +01:00
Sammii
d66bd6ee1f adding favicons to all examples 2025-04-16 15:01:28 +01:00
Sammii
02c27ababc updating diagrams 2025-04-16 14:45:14 +01:00
Guido D'Orsi
4296069148 Merge pull request #1901 from garden-co/fix/peer-reconciliation
fix: improve peer reconciliation
2025-04-16 15:43:23 +02:00
Anselm
e0b5df7f9e Merge branch 'simplify-known-peer-state-updates' into refactor/simplify-covalue-state 2025-04-16 12:12:58 +01:00
Anselm
264c1c1fa5 Merge branch 'fix/peer-reconciliation' into simplify-known-peer-state-updates 2025-04-16 12:11:36 +01:00
Anselm
54b2907f08 WIP 2025-04-16 12:06:23 +01:00
Benjamin S. Leveritt
4dcb1d9af2 Merge pull request #1929 from garden-co/check-catalog-dependencies
Check catalog dependencies
2025-04-16 11:26:03 +01:00
Benjamin S. Leveritt
65862b085f Fix CI command 2025-04-16 11:22:32 +01:00
Benjamin S. Leveritt
8957684618 Add check to CI 2025-04-16 11:17:06 +01:00
Benjamin S. Leveritt
2c3ac8f2aa Formats package.jsons 2025-04-16 11:13:54 +01:00
Benjamin S. Leveritt
44332544ca Moves ts dep into dev dependencies 2025-04-16 11:13:54 +01:00
Benjamin S. Leveritt
421b225fed Adds a script to check for catalog entries in deps
Fixes #1927
2025-04-16 11:13:54 +01:00
Sammii
0ab6a5c739 update all favicons 2025-04-16 10:49:01 +01:00
Sammii
65ce5dc40a Merge pull request #1926 from garden-co/updating-ping-map-colours
Updating latency ping map colours
2025-04-16 10:48:04 +01:00
Sammii
c240395e76 Merge pull request #1921 from garden-co/creating-jazz-icons
creating Icons for jazz specific CoX terms, which act like lucide icons
2025-04-16 10:19:20 +01:00
Sammii
25fd7e832f updating ping map colors to jazzy blue and a good old refactor 2025-04-16 10:19:01 +01:00
Guido D'Orsi
fa1f15d3af Merge branch 'main' into fix/peer-reconciliation 2025-04-16 11:07:17 +02:00
Guido D'Orsi
67a90b01f1 fix(ws): make typescript a devDependency 2025-04-16 11:02:18 +02:00
Guido D'Orsi
a20b4e4983 Merge branch 'main' into fix/peer-reconciliation 2025-04-16 10:59:26 +02:00
Guido D'Orsi
25de875826 fix(ws): make typescript a devDependency 2025-04-16 10:59:03 +02:00
Guido D'Orsi
0db0bdd97d Apply suggestions from code review
Co-authored-by: Anselm Eickhoff <anselm.eickhoff@gmail.com>
2025-04-16 10:49:43 +02:00
Benjamin S. Leveritt
0fd7d1c18a Merge pull request #1908 from garden-co/1907-use-pnpm-catalog
Adds pnpm catalog in root
2025-04-16 09:43:41 +01:00
Trisha Lim
d4960e7f15 Merge pull request #1922 from garden-co/fix/1856-fix-two-slash-hover
1856 - Fix twoslash popup container overflow on hover
2025-04-16 12:02:09 +07:00
Trisha Lim
31ea2ef07a fix(inspector): show inboxInvite as string (#1919) 2025-04-16 11:38:37 +07:00
Margaret Culotta
6e28ac946b update readme 2025-04-15 21:19:22 -05:00
Margaret Culotta
cfce22fc63 Merge branch 'main' into jazz-paper-scissors 2025-04-15 15:40:14 -05:00
Guido D'Orsi
752f453e80 Merge remote-tracking branch 'origin/main' into fix/peer-reconciliation 2025-04-15 20:37:39 +02:00
Guido D'Orsi
19dabe8ffe Merge pull request #1865 from garden-co/gio/moar-metrics
feat: add transactions size histogram & covalue updown counters
2025-04-15 20:36:53 +02:00
Margaret Culotta
d2234dc2ba allow overflow on prose container, break on spaces in white-space for twoslash-popup-container 2025-04-15 13:02:02 -05:00
Guido D'Orsi
21c935cb3d chore: changeset 2025-04-15 18:33:15 +02:00
Guido D'Orsi
07d652c5e0 test: fix RetryUnavailable test 2025-04-15 18:31:08 +02:00
Guido D'Orsi
686b311590 feat: tests on sqlite 2025-04-15 18:20:20 +02:00
Guido D'Orsi
80fe01e50d feat: tests on sqlite 2025-04-15 18:05:43 +02:00
Guido D'Orsi
2ebb9351cd Merge remote-tracking branch 'origin/main' into fix/peer-reconciliation 2025-04-15 17:23:37 +02:00
Guido D'Orsi
2dd7bdb007 Merge remote-tracking branch 'origin/main' into fix/peer-reconciliation 2025-04-15 17:23:16 +02:00
Guido D'Orsi
d0e8b97926 chore: restore asDependencyOf 2025-04-15 17:21:40 +02:00
Guido D'Orsi
f83897e64c feat: optimize away some known state messages 2025-04-15 17:06:13 +02:00
Sammii
ec4e56df61 creating Icons for jazz specific CoX terms, which act like lucide icons 2025-04-15 16:00:40 +01:00
Anselm
f3e0b1ed74 Remove dispatch pattern 2025-04-15 15:42:11 +01:00
Anselm
ca9162476c Merge branch 'fix/peer-reconciliation' into simplify-known-peer-state-updates 2025-04-15 15:20:50 +01:00
Anselm
f98f6f1a7a Simplify setting empty state 2025-04-15 15:19:08 +01:00
Anselm
2624d037f3 Clarify infallible assumption and prevent external updates 2025-04-15 15:15:45 +01:00
Guido D'Orsi
66419abc66 perf: simplify the new content sync 2025-04-15 15:36:24 +02:00
Guido D'Orsi
608bd77f1c test: port messages related tests to sync.load.test.ts 2025-04-15 15:22:12 +02:00
Guido D'Orsi
1b8029860e perf: remove redundant messages when syncing content 2025-04-15 15:21:32 +02:00
Anselm
2d7917b169 Replace peer known state dispatch pattern with direct methods 2025-04-15 14:06:36 +01:00
Guido D'Orsi
4bec7b90c1 chore: clean the addPeer implementation and add comments 2025-04-15 14:45:23 +02:00
Guido D'Orsi
f822c3a787 feat(sync): remove redundant messages happening on reconciliation 2025-04-15 14:23:12 +02:00
Guido D'Orsi
7b25324660 test: improve messages tests and add new ones 2025-04-15 14:19:22 +02:00
Sammii
6a81a1c9c5 Merge pull request #1904 from garden-co/establishing-colour-design-tokens
Establishing colour design tokens
2025-04-15 10:53:49 +01:00
Trisha Lim
4dd2c70f0f Merge pull request #1915 from garden-co/changeset-release/main
Version Packages
2025-04-15 16:39:24 +07:00
github-actions[bot]
9d23d8ab6c Version Packages 2025-04-15 09:18:56 +00:00
Guido D'Orsi
a89611ae3b Merge pull request #1913 from garden-co/improvement/inspector-group-display
improvement(inspector): show list of members in a Group
2025-04-15 11:17:27 +02:00
Sammii
43433b75fe more tweaks 2025-04-15 10:09:32 +01:00
Sammii
85830ad805 more tweaks 2025-04-15 10:04:24 +01:00
Trisha Lim
114f0fffab move AccountNameDisplay to jazz-inspector 2025-04-15 16:01:54 +07:00
Sammii
97e2e568cd manually setting border colours on Orders form example app 2025-04-15 10:01:42 +01:00
Sammii
d42298687c including prose highlight into design system 2025-04-15 09:53:45 +01:00
Sammii
a19780566b updating design system README 2025-04-15 09:51:04 +01:00
Trisha Lim
dfc8935616 show account name on members list 2025-04-15 15:44:21 +07:00
Benjamin S. Leveritt
a6c0a4b4c8 Merge pull request #1906 from garden-co/1905-update-copyright-year-in-packages
Updates copyright year to 2025 in LICENSE files across all packages
2025-04-15 09:42:22 +01:00
Sammii
19972d3183 formatting 2025-04-15 09:30:01 +01:00
Sammii
566cddcd3e amending border colours on example apps 2025-04-15 09:27:18 +01:00
Sammii
6e3dca448a amend logo css to use primary 2025-04-15 09:01:40 +01:00
Sammii
6410d27f49 amending darft indicator 2025-04-15 08:56:37 +01:00
Trisha Lim
a2258ab728 show "everyone" permission 2025-04-15 12:28:53 +07:00
Trisha Lim
c1f464bb41 fix import 2025-04-15 12:08:29 +07:00
Trisha Lim
0ca964c2f0 json display: dont show expand button if data is short 2025-04-15 11:59:45 +07:00
Trisha Lim
48d96956c6 css cleanup 2025-04-15 11:54:36 +07:00
Trisha Lim
c320615d8b improvement(inspector): show members in a Group 2025-04-15 11:44:45 +07:00
Guido D'Orsi
2fd5f28404 feat: handle concurrent reconnections, clean up some redundant messages 2025-04-14 19:15:06 +02:00
Sammii
e2ee06bebe import gcmp-design-system to gcmp/app/globals.css 2025-04-14 17:42:27 +01:00
Sammii
daf6b5b3d2 swapping gcmp-border-color var for design system/--color-border-default 2025-04-14 17:42:10 +01:00
Sammii
038ac38e88 removing unnecessary gcmp-border-colour vars from tailwind plugins addBase 2025-04-14 17:41:35 +01:00
Benjamin S. Leveritt
7e57eea71d Adds pnpm catalog in root 2025-04-14 17:09:21 +01:00
Benjamin S. Leveritt
34904eac47 Update copyright year to 2025 in LICENSE files across all packages 2025-04-14 15:39:01 +00:00
Trisha Lim
0332daa038 add user presence avatars to multicursor example (#1903) 2025-04-14 19:45:17 +07:00
Sammii
924794a3a4 adding how jazz works steps to design system with bg-highlight 2025-04-14 13:04:25 +01:00
Sammii
12e3d2ace0 reverting changes to gcmp app 2025-04-14 12:42:58 +01:00
Sammii
d1bd998000 formatting 2025-04-14 12:37:53 +01:00
Sammii
c803f8accb refactor and format 2025-04-14 12:35:51 +01:00
Sammii
76e17835f9 import design system into gcmp/app/globals.css 2025-04-14 12:33:28 +01:00
Sammii
db3dd94d82 code tidy & finshing touches 2025-04-14 12:05:07 +01:00
Sammii
4392888032 code tidy 2025-04-14 11:52:29 +01:00
Giordano Ricci
aa1c80e35b add changeset 2025-04-14 11:44:51 +01:00
Sammii
b4798fe733 code tidy 2025-04-14 11:43:32 +01:00
Giordano Ricci
582ab63d2f remove comment 2025-04-14 11:34:58 +01:00
Giordano Ricci
45ed69b943 revert unneeded changes 2025-04-14 11:33:44 +01:00
Sammii
ebb751bb38 amending border on coming soon badge 2025-04-14 11:17:18 +01:00
Giordano Ricci
5a39eec078 fix transactions size histogram, add coValue count by state 2025-04-14 11:06:04 +01:00
Sammii
acb2d35bdc tailwind.config complete & final config 2025-04-14 10:59:28 +01:00
Sammii
50d6c7770b globals.css clean up 2025-04-14 10:59:00 +01:00
Sammii
d8019697a6 switching out instances of blue for primary to include in design system 2025-04-14 10:58:44 +01:00
Sammii
cc2ffeb286 including borders to design system 2025-04-14 10:57:23 +01:00
Sammii
cc204723d2 update all text-blue to text-primary 2025-04-12 09:06:28 +01:00
Guido D'Orsi
fc647f715b feat: removed redundant messages 2025-04-11 22:48:06 +02:00
Guido D'Orsi
1c54a3b5e1 fix: improve peer reconciliation 2025-04-11 21:06:31 +02:00
Sammii
7fdb1952a6 applying const blue to jazz logo 2025-04-11 18:48:39 +01:00
Sammii
6cfcb01cf0 refactoring tailwind.config.js 2025-04-11 18:48:07 +01:00
Sammii
bccff51061 updating globals.css 2025-04-11 18:27:48 +01:00
Sammii
02ec3fd436 removing dark:text-blue class 2025-04-11 18:27:23 +01:00
Sammii
ce177ca53e replacing tailwind classes for established design system tokens 2025-04-11 16:35:45 +01:00
Guido D'Orsi
d7895504a4 Merge pull request #1896 from garden-co/changeset-release/main
Version Packages
2025-04-11 17:28:50 +02:00
github-actions[bot]
699db46ed6 Version Packages 2025-04-11 15:15:37 +00:00
Guido D'Orsi
d303be6709 Merge pull request #1898 from garden-co/fix/unavailable-messages-error
fix(inbox): gracefully handle unavailable messages error
2025-04-11 17:12:42 +02:00
Guido D'Orsi
fe6f561afd chore: changeset 2025-04-11 17:11:46 +02:00
Guido D'Orsi
93c7f6c253 Merge remote-tracking branch 'origin/main' into fix/unavailable-messages-error 2025-04-11 15:58:14 +02:00
Guido D'Orsi
3b2831f7de Merge pull request #1895 from garden-co/fix/inbox-messages-upload
fix(inbox): ensure that the message is fully uploaded before sharing the id with the worker
2025-04-11 15:57:59 +02:00
Guido D'Orsi
902e539f56 fix(inbox): gracefully handle unavailable messages error 2025-04-11 15:56:23 +02:00
Anselm Eickhoff
9e9946cf48 Merge pull request #1874 from garden-co/create-jazz-app-git-monorepo-init
Initialize git for a scaffolded project only if not inside a monorepo
2025-04-11 14:21:31 +01:00
Guido D'Orsi
ecfc883419 feat: fix build and add new game button 2025-04-11 13:57:39 +02:00
Sammii
a861fba3b1 refactoring Heading component 2025-04-11 12:36:55 +01:00
Sammii
37d9e60128 adding colour vars as tailwind tokens 2025-04-11 12:36:42 +01:00
Sammii
6db84dc673 importing colours into homepage css 2025-04-11 12:36:28 +01:00
Sammii
f0ae3e47b6 adding company colour vars to css 2025-04-11 12:36:14 +01:00
Guido D'Orsi
4aded04223 Merge remote-tracking branch 'origin/main' into jazz-paper-scissors 2025-04-11 12:18:27 +02:00
Trisha Lim
051e6c497e Merge pull request #1897 from garden-co/fix/hide-headings
fix: TOC is showing hidden headings on clerk react native docs
2025-04-11 16:25:48 +07:00
Trisha Lim
9b2a73b900 create separate mdx for react native clerk docs 2025-04-11 16:00:12 +07:00
Guido D'Orsi
dd8ed599f7 Merge pull request #1846 from garden-co/fix/inspector-invalid-html
fix(inspector): invalid html, set z-index to 999
2025-04-11 10:41:10 +02:00
Guido D'Orsi
33e51267e3 Merge pull request #1894 from garden-co/1438-release
Bumps version for release
2025-04-11 10:16:09 +02:00
Guido D'Orsi
59251a58c4 fix(inbox): ensure that the message is fully uploaded before sharing the id with the worker 2025-04-11 10:12:23 +02:00
Benjamin S. Leveritt
e090b3992d Bumps version for release
Closes #1438
2025-04-11 09:08:29 +01:00
Guido D'Orsi
31794684a0 test(music-player): fix loginButton selector 2025-04-11 09:26:30 +02:00
Guido D'Orsi
14fcc8dde5 test: add wait for the visibility checks 2025-04-11 09:16:01 +02:00
Benjamin S. Leveritt
13f1821c04 Merge pull request #1880 from garden-co/remove-catchall-for-docs
Remove catchall-route for docs
2025-04-11 07:09:51 +01:00
Trisha Lim
4c3b85abcd fix logo size on docs intro page 2025-04-11 11:52:48 +07:00
Trisha Lim
4b0544fd0d shorten error message 2025-04-11 11:46:50 +07:00
Trisha Lim
568674a7fa lint fixes 2025-04-11 11:44:51 +07:00
Trisha Lim
ef012f07aa fix coming soon page 2025-04-11 11:41:19 +07:00
Guido D'Orsi
eee2330325 Merge pull request #1891 from garden-co/changeset-release/main
Version Packages
2025-04-10 19:49:47 +02:00
github-actions[bot]
b83ec05ccc Version Packages 2025-04-10 17:36:24 +00:00
Guido D'Orsi
386525db48 Merge pull request #1886 from garden-co/fix/clerk-auth
fix: handle Clerk expiration and fix logout
2025-04-10 19:34:01 +02:00
Guido D'Orsi
a8809d840c test: add logout test on music-player 2025-04-10 19:26:28 +02:00
Guido D'Orsi
005fc1f8c9 fix: restore logOut when logOutReplacement is not passed 2025-04-10 19:07:34 +02:00
Guido D'Orsi
3129982582 fix: handle Clerk expiration and fix logout 2025-04-10 18:22:52 +02:00
Benjamin S. Leveritt
5d7bb70c7d Fix pages with empty TOCs 2025-04-10 16:29:50 +01:00
Anselm
1a7a84f71b Get rid of table-of-contents context workaround 2025-04-10 14:46:19 +01:00
Anselm
1d51bdc016 Establish new content folder, get rid of docs catchall segment 2025-04-10 14:46:19 +01:00
Guido D'Orsi
8da6f3a897 Merge pull request #1858 from garden-co/changeset-release/main
Version Packages
2025-04-10 15:45:31 +02:00
github-actions[bot]
dca9293ae7 Version Packages 2025-04-10 13:42:32 +00:00
Benjamin S. Leveritt
558bab2e58 Adds coFeeds 2025-04-10 14:40:23 +01:00
Guido D'Orsi
2b362fd331 Merge pull request #1878 from garden-co/feature/log-permission-errors
feat: log permission errors when loading or subscribing to values
2025-04-10 15:37:45 +02:00
Guido D'Orsi
f03f1b6de8 Merge pull request #1882 from garden-co/fix/null-deep-loading
fix: handle null properties in the CoMap deep loading
2025-04-10 15:37:32 +02:00
Guido D'Orsi
bd57177586 fix: handle null properties in the CoMap deep loading 2025-04-10 15:30:49 +02:00
Guido D'Orsi
9e0e2709a5 chore: fix typo in the log error 2025-04-10 15:29:09 +02:00
Guido D'Orsi
01b2ab7148 feat: add unaccessible value id and tests 2025-04-10 14:50:06 +02:00
Sammii
44b7d39467 Merge pull request #1866 from garden-co/footer-links-fix
adjusting footer title styling on dark mode
2025-04-10 12:39:34 +01:00
Guido D'Orsi
5373ee2858 Merge pull request #1877 from garden-co/jmsv/1869/relax-websocket-types
Relax the WebSocket types on jazz-nodejs
2025-04-10 13:22:01 +02:00
James Vickery
b19cab78d3 changeset 2025-04-10 12:21:34 +01:00
Giordano Ricci
3f86dfce4f Merge pull request #1876 from garden-co/gio/tweak-status-page-cache-pt2
chore: add env to turbo, set force-static
2025-04-10 12:21:25 +01:00
Guido D'Orsi
12f8bfa28f feat: log permission errors when loading or subscribing to values 2025-04-10 13:12:31 +02:00
James Vickery
53211a4fca relax websocket types with AnyWebSocket 2025-04-10 12:11:42 +01:00
Benjamin S. Leveritt
d0f188a072 Adds noData viz 2025-04-10 12:10:42 +01:00
Benjamin S. Leveritt
9e55542872 Add CoLists 2025-04-10 12:04:45 +01:00
Giordano Ricci
0a6cd4e9b2 move env to the cortrect turbo.json 2025-04-10 12:00:40 +01:00
Benjamin S. Leveritt
7af6cedfd6 Adds metadata 2025-04-10 11:53:08 +01:00
Benjamin S. Leveritt
847d379fe9 Adds CoMap initial example 2025-04-10 11:50:42 +01:00
Giordano Ricci
69954caee6 chore: add env to turbo, set force-static 2025-04-10 11:50:35 +01:00
Giordano Ricci
6a5bd28d07 Merge pull request #1875 from garden-co/gio/tweak-status-page-cache
chore: tweak status page cache
2025-04-10 11:35:26 +01:00
Giordano Ricci
ba58bc3ace chore: tweak cache 2025-04-10 11:28:09 +01:00
pax-k
94cb615a38 chore: cleanup 2025-04-10 13:22:42 +03:00
pax-k
b130f46b6c chore: changeset 2025-04-10 13:20:39 +03:00
pax-k
989d59f978 fix(create-jazz-app): initialize git only if not inside a monorepo 2025-04-10 13:19:23 +03:00
Sammii
c3dd099ee1 adjusting footer title styling on dark mode 2025-04-10 10:25:53 +01:00
Giordano Ricci
4dc7cf9389 feat: add transactions size histogram 2025-04-10 10:14:12 +01:00
Benjamin S. Leveritt
882fd55d69 Merge pull request #1864 from garden-co/1863-reorder-guestmode-authentication-notes
Reorders the lists
2025-04-10 10:11:03 +01:00
Benjamin S. Leveritt
b2fdb8b9e5 Reorders the lists 2025-04-10 10:01:24 +01:00
Sammii
e879ec981e Merge pull request #1860 from garden-co/not-found-page
Not found page
2025-04-10 09:53:01 +01:00
Benjamin S. Leveritt
980609ca87 Merge pull request #1859 from garden-co/1852-break-out-authentication-methods
Breaks up the authentication overview
2025-04-10 09:40:50 +01:00
Benjamin S. Leveritt
71cd7396b7 Merge pull request #1847 from garden-co/1722-clarify-distinction-between-anonymous-auth-and-guest-mode
1722 clarify distinction between anonymous auth and guest mode
2025-04-10 09:39:10 +01:00
Benjamin S. Leveritt
dedc3e277c Adds note on browser support 2025-04-10 07:30:25 +01:00
Benjamin S. Leveritt
656866729d Updates for more uniform layout 2025-04-10 07:30:25 +01:00
Benjamin S. Leveritt
f93dd1f779 Add template for auth methods 2025-04-10 07:30:25 +01:00
Benjamin S. Leveritt
80d499f002 Improve the Passphrase explanation 2025-04-10 07:30:25 +01:00
Benjamin S. Leveritt
c9a87e52f3 Breaks up the authentication overview 2025-04-10 07:30:25 +01:00
Benjamin S. Leveritt
3f98d9ab73 Adds dep link to jazz-react-native 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
abb0e8fada Tidy up for non-React readers 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
be2e1f3c61 Adds note on sync options for Providers 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
75f20d8176 Adds notes on keeping data on migration 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
e6bef5275b Fix guest checks 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
9813db1603 Add note about logging out going back to Anon 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
a3143f20a9 Add section on Auth flow 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
f54beb2d88 Fix musica example 2025-04-10 07:30:24 +01:00
Benjamin S. Leveritt
b7ce1e2da0 Add notes on difference between anon and guest 2025-04-10 07:30:23 +01:00
Benjamin S. Leveritt
6dba138ec7 Add SignInButton to Clerk Expo example 2025-04-10 07:30:23 +01:00
Benjamin S. Leveritt
32f59a618f Adds typechecking to examples 2025-04-10 07:30:23 +01:00
Sammii
9b2de387ed updating styling 2025-04-09 17:22:26 +01:00
Guido D'Orsi
b612258c5e docs: update ensureLoaded to the new resolve APIs 2025-04-09 18:19:36 +02:00
Sammii
09b59ed18b amending styling and code tidy 2025-04-09 17:07:18 +01:00
Sammii
b7b186b67e adding new 404 icon to design system and creating not-found page for jazz homepage 2025-04-09 17:03:27 +01:00
Sammii
f2ba925db6 Merge pull request #1836 from garden-co/1830-progmatically-created-homepage-preview-image
1830 feat: creating opengraph-image.tsx on homepage
2025-04-09 16:35:34 +01:00
Guido D'Orsi
bc9488241f Merge pull request #1850 from garden-co/fix/inspector-coliteral-strings
fix(inspector): handle displaying a CoList of primitives
2025-04-09 16:14:08 +02:00
Guido D'Orsi
4fc36779dd docs: fix import from jazz-expo 2025-04-09 15:32:15 +02:00
Trisha Lim
bc008aeb23 render primitives in a table with index and value as headers 2025-04-09 20:14:57 +07:00
Sammii
8ad45a421e adjusting letting specing 2025-04-09 13:38:36 +01:00
Sammii
197317efbf amend width & height defaults on logo 2025-04-09 13:28:15 +01:00
Sammii
775ad975f3 creating marketingCopy const to create SSOT 2025-04-09 13:27:57 +01:00
Sammii
eaedf455d4 amending styling 2025-04-09 13:23:09 +01:00
Trisha Lim
017f6c8074 handle displaying a CoList of primitives 2025-04-09 18:32:10 +07:00
Sammii
48dd922712 add base values for width and height for JazzLogo 2025-04-09 12:13:42 +01:00
Sammii
202b320ad1 fighting this svg 2025-04-09 12:08:52 +01:00
Sammii
ea094ae64b doubling logo size 2025-04-09 11:17:53 +01:00
Sammii
9412aeb938 amending svg size 2025-04-09 11:04:49 +01:00
Trisha Lim
785fc893ee set z-index of embedded inspector to 999 2025-04-09 16:51:18 +07:00
Sammii
4f5e471667 adding alt and seeing if anything affects this svg logo 2025-04-09 10:44:42 +01:00
Sammii
fc6b20d370 adding width and height to logo svg 2025-04-09 10:37:43 +01:00
github-actions[bot]
fe82631db6 Version Packages 2025-04-09 16:33:15 +07:00
Sammii
e4886d1b03 adding viewBoxSize prop to JazzLogo to manipulate size on build prerender for preview image 2025-04-09 10:22:48 +01:00
Sammii
dfb2b19209 wrapping JazzLogo component in img to size viewbox on svg 2025-04-09 10:10:17 +01:00
Sammii
1a92d6b1e5 moving Manrope to homepage prject public dir 2025-04-09 09:47:21 +01:00
Sammii
d5c1f49cc5 logo size debug 2025-04-09 09:41:33 +01:00
Sammii
7d6ce843de seeing if we can keep fonts together in the design-system for the open graph image 2025-04-09 09:41:26 +01:00
Trisha Lim
ae4be2be7a fix(inspector): CoMaps showing as table instead of grid (#1842) 2025-04-09 15:40:21 +07:00
Sammii
0298f0eb29 updating Logo import 2025-04-09 09:29:41 +01:00
Sammii
794c56dfac creating reusable OpenGraphImage component, updating styling 2025-04-09 09:22:45 +01:00
Sammii
6b9382b5e9 code tidy 2025-04-09 09:21:14 +01:00
Trisha Lim
08ae9b295f fix: invalid html 2025-04-09 15:15:50 +07:00
Sammii
917e8a21d8 more tweaks 2025-04-09 08:28:48 +01:00
Benjamin S. Leveritt
abdf4a3577 Merge pull request #1796 from garden-co/1795-add-create-jazz-app-doc
1795 Add create-jazz-app doc
2025-04-08 19:13:53 +01:00
Sammii
595e3c89df amending OG image styling to fix overflow issues 2025-04-08 19:11:54 +01:00
Giordano Ricci
6b0e772c9f Merge pull request #1784 from garden-co/gio/queue-counters
chore: replace queue size updown counter with 2 monotonic counters (push & pull)
2025-04-08 18:01:39 +01:00
Sammii
b9afa42662 amending styling, again... 2025-04-08 17:51:50 +01:00
Sammii
5246a54118 switching padding to margin to try fix overflow issues on !X examples 2025-04-08 17:44:34 +01:00
Sammii
a036391f69 amending image styling 2025-04-08 17:25:28 +01:00
Benjamin S. Leveritt
039b1151bf Add api-key notes 2025-04-08 16:35:05 +01:00
Guido D'Orsi
6c79cfb109 Merge pull request #1835 from garden-co/vitest-typecheck
chore: upgrade Vitest and enable typecheck tests
2025-04-08 17:33:11 +02:00
Guido D'Orsi
b9f42bb733 chore: enable typecheck selectively on jazz-tools 2025-04-08 17:32:50 +02:00
Benjamin S. Leveritt
542d839ed6 Adds Command-line option explanation 2025-04-08 16:30:17 +01:00
Sammii
6ad24315bb updating copy 2025-04-08 16:03:44 +01:00
Benjamin S. Leveritt
3c1a4f124c Improves explanation for starter/example apps 2025-04-08 16:02:44 +01:00
Sammii
48a83c356d adding display flex prop to div 2025-04-08 15:52:38 +01:00
Sammii
756d52d106 moving opengraph-image to app/ 2025-04-08 15:47:29 +01:00
Sammii
83876a3523 renaming twitter-image to opengraph-image 2025-04-08 15:19:40 +01:00
Sammii
b77c6d4edc adding Manrope font to project directory for font loading process 2025-04-08 15:18:07 +01:00
Sammii
c74fc11b25 commenting out images on open graph metadata 2025-04-08 15:17:39 +01:00
Sammii
7a636bd8c2 creating twitter-image.tsx on homepage 2025-04-08 14:58:58 +01:00
Guido D'Orsi
f6cc06b8dc chore: upgrade Vitest and enable typecheck tests 2025-04-08 15:56:33 +02:00
Guido D'Orsi
6202436c9a Merge pull request #1828 from garden-co/feat--updating-design-system-readme-&-meta-data
1827 feat: updating design system readme & meta data
2025-04-08 14:54:37 +02:00
Guido D'Orsi
65929a8e7e Merge pull request #1804 from garden-co/fix/toc-hidden-headings
fix: show/hide heading on table of contents based on framework
2025-04-08 14:52:22 +02:00
Guido D'Orsi
20e5786fc0 Merge pull request #1821 from garden-co/fix/remove-idea
remove .idea dir
2025-04-08 14:50:41 +02:00
Sammii
91bc3c432d update text 2025-04-08 13:46:45 +01:00
Benjamin S. Leveritt
1ff11cebf6 Clarifies suggestions you can pick any framework/auth method 2025-04-08 13:00:21 +01:00
Benjamin S. Leveritt
25cd967207 Use the cli tool name for title 2025-04-08 12:52:45 +01:00
Benjamin S. Leveritt
bcdc468a5d Adds create-jazz-app doc page
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-04-08 12:52:44 +01:00
Sammii
72d5112bac updating design system readme & meta data 2025-04-08 12:08:46 +01:00
Giordano Ricci
c1193c3c63 add explainer for counters restarts 2025-04-08 11:43:48 +01:00
Giordano Ricci
f30130b92f reduce possible priority values 2025-04-08 11:43:48 +01:00
Giordano Ricci
1a77233ecb force metric creation on queue creation 2025-04-08 11:43:48 +01:00
Giordano Ricci
09a95b8542 move queue initialization into constructor 2025-04-08 11:43:48 +01:00
Giordano Ricci
f46329ac68 move meter 2025-04-08 11:43:48 +01:00
Giordano Ricci
c551839179 extract queue meter logic, add tests 2025-04-08 11:43:47 +01:00
Giordano Ricci
a0683f9d21 add role attribute to queue metrics 2025-04-08 11:43:47 +01:00
Giordano Ricci
a56958c69e WIP: queue counters 2025-04-08 11:43:47 +01:00
Trisha Lim
0b11a5f567 remove .idea dir 2025-04-08 12:49:30 +07:00
Trisha Lim
fac2d4a3b1 show/hide headings on table of contents based on framework 2025-04-08 11:37:34 +07:00
Guido D'Orsi
9f336103e8 Merge pull request #1820 from garden-co/changeset-release/main
Version Packages
2025-04-07 21:13:46 +02:00
github-actions[bot]
1174942a4e Version Packages 2025-04-07 19:12:40 +00:00
Guido D'Orsi
267920b7dc Merge pull request #1819 from garden-co/re-export-clerk
fix: add exports for clerk and crypto to make import shortcuts work everywhere
2025-04-07 21:10:16 +02:00
Guido D'Orsi
63a7aa0f54 fix: add exports for clerk and crypto to make import shortcuts work everywhere 2025-04-07 20:51:43 +02:00
Benjamin S. Leveritt
2b7534d30c Merge pull request #1808 from garden-co/docs/add-multicursor-example
Docs for multicursor example
2025-04-07 16:03:49 +01:00
Trisha Lim
be23a81b1b fix: create-jazz-app command showing $EXAMPLE instead of app slug 2025-04-07 19:55:03 +07:00
Guido D'Orsi
68416784fd docs(expo-clerk): fix outdated storage property 2025-04-07 14:39:49 +02:00
Guido D'Orsi
84d3c09cb1 docs: remove the nativewind section 2025-04-07 14:38:41 +02:00
Guido D'Orsi
53e8c39e8d docs: fix the clerk expo import 2025-04-07 14:36:46 +02:00
Trisha Lim
87b41fefad add multicursors example to cofeeds docs 2025-04-07 18:56:35 +07:00
Trisha Lim
265a4e8cc5 update readme for multi-cursors example 2025-04-07 18:53:03 +07:00
Trisha Lim
623467503f add multicursors example to examples page 2025-04-07 18:33:50 +07:00
Guido D'Orsi
7bd03c738a Merge pull request #1787 from garden-co/changeset-release/main
Version Packages
2025-04-07 11:35:14 +02:00
github-actions[bot]
195dbeda6a Version Packages 2025-04-07 09:26:54 +00:00
Guido D'Orsi
9b9bf9bcd3 Merge pull request #1805 from garden-co/fix/mime-type
fix(inspector): show unknown mime type instead of application/octet-stream
2025-04-07 11:25:15 +02:00
Guido D'Orsi
3167ff16cd Merge remote-tracking branch 'origin/main' into jazz-paper-scissors 2025-04-07 11:22:52 +02:00
Guido D'Orsi
0a68df76eb chore: changeset 2025-04-07 11:19:48 +02:00
Guido D'Orsi
bce3bcc221 chore: changeset 2025-04-07 11:15:22 +02:00
Guido D'Orsi
408bfd9963 Merge pull request #1800 from garden-co/0-13-0
Jazz 0.13 - Create dedicated packages for React Native Vanilla and Expo
2025-04-07 11:07:45 +02:00
Guido D'Orsi
df7b2c8970 Merge pull request #1801 from garden-co/issue-1754
fix(useCoState): return null when the id is undefined
2025-04-07 09:21:56 +02:00
Trisha Lim
2f1181031e filestream example: add inspector, show covalue id 2025-04-07 14:15:03 +07:00
Trisha Lim
2224ed4d57 show unknown mime type instead of application/octet-stream 2025-04-07 14:14:20 +07:00
Guido D'Orsi
bb565f34a8 chore: fix test code 2025-04-05 11:17:14 +02:00
Margaret Culotta
2e70b2b295 remove unnecessary file, adjust prettierignore 2025-04-04 13:41:20 -05:00
Guido D'Orsi
30cd9dd9a4 chore: fix test error 2025-04-04 19:08:07 +02:00
Margaret Culotta
9a5e6eed16 clean up console.logs and unused types 2025-04-04 11:48:11 -05:00
Guido D'Orsi
72fdfb57e2 test(useCoState): cover the case where a CoValue becomes inaccessible 2025-04-04 17:03:21 +02:00
Guido D'Orsi
28d74d73f8 fix: add resolve 2025-04-04 16:40:38 +02:00
Guido D'Orsi
afd137448a fix(useCoState): return null when the id is undefined 2025-04-04 16:09:17 +02:00
Guido D'Orsi
cacf034558 Merge pull request #1788 from garden-co/fix/inspector-nested-button
inspector: various fixes and css refactoring
2025-04-04 11:38:16 +02:00
Guido D'Orsi
1be7b7b73d docs: pull docs changes from 1740-update-docs 2025-04-04 11:32:13 +02:00
Guido D'Orsi
c5076126b1 Merge pull request #1590 from boorad/feat/separate-expo-rn
Jazz 0.13 - Create dedicated packages for React Native Vanilla and Expo
2025-04-04 11:28:30 +02:00
Margaret Culotta
6c9d90449a clean up styles, simplify 2025-04-03 22:05:43 -05:00
Margaret Culotta
5398978d74 game play is working. Timing issue with waiting room adding game? 2025-04-03 16:15:35 -05:00
Brad Anderson
1a3ed1ddd5 fix: chat time formatting 2025-04-03 13:18:43 -04:00
Brad Anderson
31843b4b5e feat: sqlite storage on by default 2025-04-03 13:11:29 -04:00
Margaret Culotta
53148db482 clean up 2025-04-03 11:28:12 -05:00
Trisha Lim
2796689f79 add changeset 2025-04-03 22:26:08 +07:00
Trisha Lim
eb594ed2f6 fix object preview is way too long 2025-04-03 22:08:50 +07:00
Trisha Lim
9ca8247e10 fix: text inside grid items get cut off 2025-04-03 21:40:50 +07:00
Trisha Lim
4b62fca83e fix grid responsiveness 2025-04-03 21:23:00 +07:00
Trisha Lim
08b2997d6a add placeholder to account secret field 2025-04-03 21:07:11 +07:00
Margaret Culotta
44a0b54026 add game page for first and second player 2025-04-03 08:30:45 -05:00
Trisha Lim
08a4044f23 move css out of grid-view 2025-04-03 19:17:01 +07:00
Trisha Lim
7258a1b237 fix: button within a button 2025-04-03 12:23:59 +07:00
Brad Anderson
a53fa5e08c chore: love the rebases 2025-04-02 18:54:32 -04:00
Brad Anderson
dcf7f1a269 fix: rebase casualties 2025-04-02 18:53:20 -04:00
Brad Anderson
1841b6c2b6 chore: rebase 2025-04-02 18:53:20 -04:00
Brad Anderson
fd0ee91336 fix: fuck it 2025-04-02 18:52:49 -04:00
Brad Anderson
9c5d2dc1ba chore: docs and deps 2025-04-02 18:52:49 -04:00
Benjamin S. Leveritt
f1a8ad03ac Updates for 0.13 docs (#3) 2025-04-02 18:52:49 -04:00
Brad Anderson
aacd33f35f fix: more deps work 2025-04-02 18:52:49 -04:00
Brad Anderson
ce02aef839 fix: roll back some deps to troubleshoot 2025-04-02 18:52:49 -04:00
Brad Anderson
0e9a965896 chore: docs 2025-04-02 18:52:49 -04:00
Brad Anderson
0916b28cb8 fix: 0.12 missed 2025-04-02 18:52:49 -04:00
Guido D'Orsi
48d5a54e8a chore: update lockfile 2025-04-02 18:52:49 -04:00
Guido D'Orsi
4fff8ce3c2 chore: migrate jazz-react-native-core o declaration files 2025-04-02 18:52:49 -04:00
Guido D'Orsi
1d5ed6a737 chore: more cleanup 2025-04-02 18:52:49 -04:00
Guido D'Orsi
5017d64e9a chore: update lockfile 2025-04-02 18:52:49 -04:00
Guido D'Orsi
4bd4441849 feat: re-export the testing entry on jazz-expo and jazz-react-native 2025-04-02 18:52:49 -04:00
Guido D'Orsi
8d15c63e0e chore: clean up changes 2025-04-02 18:52:49 -04:00
Guido D'Orsi
0c89584520 chore: clean up deps 2025-04-02 18:52:48 -04:00
pax-k
922814f6da fix: tests 2025-04-02 18:50:54 -04:00
Brad Anderson
b5a0154113 fix: removing mystery starters 2025-04-02 18:50:54 -04:00
Brad Anderson
187d2adc42 PR feedback 2025-04-02 18:50:54 -04:00
Brad Anderson
b3bc39c72a PR feedback 2025-04-02 18:50:54 -04:00
Brad Anderson
c115c732c3 chore: rebase oops 2025-04-02 18:50:54 -04:00
Brad Anderson
765c0c264d chore: rebase 2025-04-02 18:50:54 -04:00
Brad Anderson
d0681df464 chore: docs update 2025-04-02 18:50:34 -04:00
Brad Anderson
99e9e5463c chore: first cut at docs changes 2025-04-02 18:50:34 -04:00
Brad Anderson
7cdd4a915e fix: comment out suppressions 2025-04-02 18:50:34 -04:00
Brad Anderson
1a10d528e5 fix: tests work 2025-04-02 18:50:34 -04:00
Brad Anderson
2e048aa824 wip: failing unit test work 2025-04-02 18:50:34 -04:00
Brad Anderson
1171d514d8 fix: react/dom dependency warnings 2025-04-02 18:50:34 -04:00
Brad Anderson
6ce77381a0 fix: more cleanup of packages 2025-04-02 18:50:34 -04:00
Brad Anderson
368e1f48f1 fix: lock file regen 2025-04-02 18:50:34 -04:00
Brad Anderson
8be70db467 fix: clean up styles 2025-04-02 18:50:34 -04:00
pax-k
dae573b545 works 2025-04-02 18:50:34 -04:00
pax-k
f9b49e4d66 fix(rn): added ios and android dirs for barebone rn chat app 2025-04-02 18:50:34 -04:00
pax-k
986a924e6d fix: workspace package versions for react, react-native 2025-04-02 18:50:34 -04:00
Brad Anderson
abf65d5286 try 0.78 on all RN apps 2025-04-02 18:50:08 -04:00
Brad Anderson
e85b900c99 cosmetic 2025-04-02 18:50:08 -04:00
Brad Anderson
b3e84c0561 chat-rn builds and runs, but blank 2025-04-02 18:50:08 -04:00
Brad Anderson
c1bab3d0e6 more naming changes 2025-04-02 18:50:08 -04:00
Brad Anderson
169bc2aa09 rename RN example apps 2025-04-02 18:50:08 -04:00
Brad Anderson
8a7761b0c3 add chat app & deps 2025-04-02 18:49:40 -04:00
Brad Anderson
fa8155c545 app starts, lint, format 2025-04-02 18:49:40 -04:00
Brad Anderson
e66b47f780 add chat-rn-cli app for frameworkless testing 2025-04-02 18:49:40 -04:00
Brad Anderson
e55ce6ccfc small changes 2025-04-02 18:49:40 -04:00
Brad Anderson
8d0cbd43da move jazz-expo-clerk-auth under jazz-expo, rename local e2e test 2025-04-02 18:49:40 -04:00
Brad Anderson
0bdad497d7 remove op-sqlite from chat-rn-clerk 2025-04-02 18:49:40 -04:00
Brad Anderson
610a77d37a feat: Separate Expo and React Native 2025-04-02 18:49:40 -04:00
Guido D'Orsi
972122472f Merge pull request #1786 from garden-co/fix/loading-state
fix(coValueState): support CoValue re-load after it is marked as unavailable and improve timeout
2025-04-02 22:53:34 +02:00
Guido D'Orsi
776e59709f Merge remote-tracking branch 'origin/main' into fix/loading-state 2025-04-02 20:56:19 +02:00
Guido D'Orsi
eefdf9783e Merge pull request #1774 from garden-co/changeset-release/main
Version Packages
2025-04-02 20:54:17 +02:00
github-actions[bot]
a821c71967 Version Packages 2025-04-02 18:54:03 +00:00
Guido D'Orsi
cc684eb5cd chore: changeset 2025-04-02 20:51:41 +02:00
Guido D'Orsi
8dd2f05b17 Merge pull request #1785 from joshua1/make-contructor-params-protected
changed the constructor parameters of the BrowserPasskeyAUth class iin jazz-browser's PasskeyAuth.ts to enable extension of the class
2025-04-02 20:49:45 +02:00
Guido D'Orsi
ba94aeab4c Merge pull request #1783 from garden-co/perf/expectedNewHashAfter
perf(expectedNewHashAfter): remove redundant clone and skip double hash generation when creating a local transaction
2025-04-02 20:49:20 +02:00
Guido D'Orsi
a013538c8b fix(coValueState): support CoValue re-load after it is marked as unavailable and improve timeout 2025-04-02 20:41:38 +02:00
joshua1
648140a370 changed the constructor parameters of the BrowserPasskeyAUth class in jazz-browser's PasskeyAuth.ts to enable extension of the class 2025-04-02 19:38:08 +02:00
Guido D'Orsi
c2f4827ac1 perf(expectedNewHashAfter): remove redundant clone and skip double hash generation when creating a local transaction 2025-04-02 17:38:06 +02:00
Guido D'Orsi
8a52dbb784 Merge pull request #1782 from garden-co/feat/customize-ping-timeout
feat(wsPeer): add an option to change the ping timeout
2025-04-02 17:07:41 +02:00
Guido D'Orsi
eb47ec6bbd feat: add an option to change the ping timeout 2025-04-02 16:30:47 +02:00
Guido D'Orsi
baa62e13b1 chore: remove debug code from sync 2025-04-02 15:53:18 +02:00
Trisha Lim
8a71835ca2 refactor(inspector): use goober for css (#1780)
* add text and badge component

* use button component for links

* add table components

* move inspector button to separate component

* refactor css to use goober

* add changeset
2025-04-02 20:33:43 +07:00
Trisha Lim
67a488cac7 fix: "old" line highlighting not working (#1777) 2025-04-01 16:40:56 +07:00
Guido D'Orsi
a11f531d4b Merge pull request #1752 from garden-co/fix/twoslash-dark
fix popover dark mode colors
2025-04-01 11:10:33 +02:00
Trisha Lim
9dd717bf0e lint fixes 2025-04-01 11:36:02 +07:00
Trisha Lim
42551bb4fd fix console errors on react guide 2025-04-01 11:34:49 +07:00
Benjamin S. Leveritt
5c5de61cb6 Merge pull request #1755 from garden-co/fix-multiauth-resolve
Use the new Resolve API for the multiauth example app
2025-03-31 17:44:56 +01:00
pax-k
7fdfc7fddb chore: changeset 2025-03-31 19:43:56 +03:00
Giordano Ricci
c877d377d2 first commit 2025-03-31 15:40:04 +01:00
pax-k
b108c6166e chore: changeset 2025-03-31 14:42:31 +03:00
pax-k
e0bc9a7f67 fix(example): use the new Resolve API 2025-03-31 14:41:39 +03:00
Benjamin S. Leveritt
f900495f8d Merge pull request #1742 from garden-co/1731-add-out-of-bounds-indicator
1731 Add out of bounds indicator
2025-03-31 12:13:25 +01:00
Benjamin S. Leveritt
4188c7a18d Rename variables 2025-03-31 11:49:48 +01:00
Benjamin S. Leveritt
7315960477 Fixes from comments 2025-03-31 11:40:41 +01:00
Benjamin S. Leveritt
815f485ee5 Fix log 2025-03-31 09:57:05 +01:00
Benjamin S. Leveritt
402008a08f Drop console.logs from build 2025-03-31 09:57:05 +01:00
Benjamin S. Leveritt
bc1576cb92 Adds tests 2025-03-31 09:57:05 +01:00
Benjamin S. Leveritt
acbe66ed60 Replace out of bounds circle with arrow 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
ec1fd2aaa2 Fix cursor label positioning relative to the bounds 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
bd796555f2 Tweaks label 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
153f6ec245 Add proportional label placement 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
42d007da13 WIP cursor labels 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
c764eeff56 Adds debug flag 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
a7a00e6a7c Joins label 2025-03-31 09:57:04 +01:00
Benjamin S. Leveritt
bc65695eee Merges OutOfBoundsMarker with Cursor 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
153231aecb Removes OoB labels 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
d814899d71 Adds an out of bounds marker 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
0b6c35c08a Adds isOutOfBounds test 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
e62ea5a8ac Adds Boundary viz 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
a5bffd7312 Adds ViewBox type 2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
9aa91ec525 Adds additional logging during bootstrapping
More logs
2025-03-31 09:57:03 +01:00
Benjamin S. Leveritt
9b8c299ba5 Add basic creds to .env.example 2025-03-31 09:57:03 +01:00
Guido D'Orsi
7486ca768d Merge pull request #1753 from garden-co/fix/llms-txt-content
fix: missing content on llms.txt
2025-03-31 10:25:01 +02:00
Trisha Lim
fa4d501eb0 fix missing intro page on llms.txt 2025-03-31 08:43:38 +07:00
Trisha Lim
a126d5dbf8 fix: missing content on llms.txt 2025-03-31 08:35:43 +07:00
Trisha Lim
d697cc5713 fix popover dark mode colors 2025-03-30 23:10:57 +07:00
Guido D'Orsi
d95c8cc302 Merge pull request #1717 from garden-co/fix/missing-toc
fix: missing TOC on docs intro
2025-03-30 00:09:05 +01:00
Trisha Lim
9dee93af1b fix missing TOC on docs intro 2025-03-29 20:03:34 +07:00
Guido D'Orsi
0dffa407a8 Merge pull request #1748 from garden-co/changeset-release/main
Version Packages
2025-03-28 15:39:11 +01:00
github-actions[bot]
0d97f161bd Version Packages 2025-03-28 13:09:50 +00:00
Guido D'Orsi
b9525b675e Merge pull request #1747 from garden-co/perf/linked-list-queue
perf: re-introducing linked lists on PriorityBasedMessageQueue
2025-03-28 14:07:25 +01:00
Guido D'Orsi
5a00fe0862 perf: re-introducing linked lists on PriorityBasedMessageQueue 2025-03-28 12:54:44 +01:00
Guido D'Orsi
3db07f541f Merge pull request #1746 from garden-co/feat/upgrade-typedoc
fix(homepage): upgrade typedoc to v0.27 and ts v5.7
2025-03-28 12:12:04 +01:00
Guido D'Orsi
0db2e60d09 fix(homepage): upgrade typedoc to v0.27 and ts v5.7 2025-03-28 12:06:36 +01:00
Guido D'Orsi
f122147f03 Merge pull request #1745 from garden-co/changeset-release/main
Version Packages
2025-03-28 11:06:11 +01:00
github-actions[bot]
4e1bcde8b2 Version Packages 2025-03-28 10:02:02 +00:00
Guido D'Orsi
eaef418151 Merge pull request #1642 from garden-co/0-12-0
Jazz 0.12.0 - A clearer syntax for deep loading
2025-03-28 10:59:18 +01:00
Guido D'Orsi
8d17b192d0 Merge pull request #1743 from garden-co/improve-link-accounts
fix: make the linkAccounts test utility wait for the accounts coValues to be synced
2025-03-28 10:04:29 +01:00
Trisha Lim
9a56bb3d25 fix missing icon (#1744) 2025-03-28 14:08:32 +07:00
Guido D'Orsi
b6c6a0ae64 fix: make the linkAccounts test utility wait for the accounts coValues to be synced 2025-03-27 22:24:28 +01:00
Guido D'Orsi
e000774b3b Merge pull request #1739 from garden-co/changeset-release/main
Version Packages
2025-03-27 18:45:09 +01:00
github-actions[bot]
6f6cf23bc8 Version Packages 2025-03-27 17:38:35 +00:00
Guido D'Orsi
77a718656c Merge pull request #1741 from garden-co/issue-1373
fix: fixes expected header to be sent in first message error
2025-03-27 18:35:27 +01:00
Guido D'Orsi
6c86c4f7ee fix: fixes expected header to be sent in first message error 2025-03-27 18:34:39 +01:00
Guido D'Orsi
72508332fb Merge pull request #1728 from garden-co/gio/update-otel-dep
chore: update @opentelemetry/api dependency
2025-03-27 18:29:38 +01:00
Guido D'Orsi
0ac88b4c80 test: repro for expected header to be sent in first message 2025-03-27 17:41:01 +01:00
pax-k
11460b6f9f fix(cursor): refactored docs to include changes for Jazz v0.12.0 - Deeply resolved data 2025-03-27 18:34:03 +02:00
Trisha Lim
71b93909e6 fix(inspector): install clsx, remove lucide-react (#1737)
* install clsx

* remove lucide-react

* add changeset
2025-03-27 21:02:06 +07:00
Guido D'Orsi
26646cde0c chore: migrate code to the new resolve spec after merging with main 2025-03-27 12:02:06 +01:00
Guido D'Orsi
4033e95a50 Merge remote-tracking branch 'origin/main' into 0-12-0 2025-03-27 11:52:15 +01:00
Guido D'Orsi
f379fcc176 Merge pull request #1730 from garden-co/changeset-release/main
Version Packages
2025-03-27 11:49:13 +01:00
Guido D'Orsi
66d59b31d5 Merge pull request #1732 from garden-co/docs/loading-errors
docs: document loading errors
2025-03-27 11:48:23 +01:00
Guido D'Orsi
1e6da19d5e fix: The .load function now returns null on error 2025-03-27 11:48:12 +01:00
github-actions[bot]
d6ea4d4662 Version Packages 2025-03-27 10:37:27 +00:00
Guido D'Orsi
84b5dd8a0b Merge pull request #1719 from garden-co/feat/react-create-image
feat: re-export createImage on jazz-react
2025-03-27 11:35:02 +01:00
Guido D'Orsi
c730016572 Merge pull request #1726 from garden-co/fix/inspector-covalue-types
fix(inspector): CoFeeds and FileStreams are showing as "CoStream"
2025-03-27 11:32:53 +01:00
Guido D'Orsi
7677ca5240 Merge pull request #1735 from garden-co/feat/optimize-subscription-updates
fix: trigger a single update when loading a locally available list of items
2025-03-27 11:25:22 +01:00
Guido D'Orsi
cffe482f75 fix: apply the sync resolution on the ref access only during fullfillDepth to avoid issues with Svelte 2025-03-27 10:51:34 +01:00
Guido D'Orsi
4019918b2b feat: re-export createImage on jazz-react 2025-03-27 09:48:49 +01:00
Guido D'Orsi
a140f555ba fix: trigger a single update when loading a locally available list of items 2025-03-26 19:02:31 +01:00
Guido D'Orsi
7b0d10a293 Merge pull request #1734 from garden-co/feat/optimize-group-role
perf: optimize Group.roleOf getter and made the transactions validation incremental for CoMap and CoFeed
2025-03-26 17:58:40 +01:00
Guido D'Orsi
156fba66e3 perf: optimize determineValidTransactions for when all the transactions are already known 2025-03-26 14:49:55 +01:00
Guido D'Orsi
95d6928d91 perf: made the transactions validation incremental for CoMap and CoFeed 2025-03-26 14:25:51 +01:00
Guido D'Orsi
2b94bc8af0 perf: optimize Group.roleOf getter 2025-03-26 14:08:24 +01:00
Guido D'Orsi
6e56a4351f Merge pull request #1733 from garden-co/fix/throw-invalid-ids
fix: handle invalid or undefined id
2025-03-26 11:56:17 +01:00
Guido D'Orsi
2013846d7b fix: ignore messages with an invalid or undefined id 2025-03-26 11:47:11 +01:00
Guido D'Orsi
2957362ab0 fix: throw when loading a coValue with an invalid or undefined id 2025-03-26 11:46:54 +01:00
Guido D'Orsi
10de4b6fc9 docs: document loading errors 2025-03-26 11:01:35 +01:00
Guido D'Orsi
2433344778 test: fix autoload test 2025-03-26 10:56:34 +01:00
Guido D'Orsi
4c01459942 fix(vue): fix types compilation for useAccount 2025-03-26 10:38:57 +01:00
Benjamin S. Leveritt
b23969ed0e Merge pull request #1706 from garden-co/1704-multi-cursor-example
1704 multi cursor example
2025-03-26 07:05:50 +00:00
Benjamin S. Leveritt
023fb4e1c7 Limit name length 2025-03-26 07:01:05 +00:00
Benjamin S. Leveritt
73963a7056 Tweak patch note 2025-03-26 07:00:52 +00:00
James Vickery
2b0d1b0e32 jazz-tools patch 2025-03-25 20:34:44 +00:00
James Vickery
5aad79005d rm tests 2025-03-25 20:29:09 +00:00
James Vickery
35cc6137e7 bits and bobs 2025-03-25 19:32:30 +00:00
Guido D'Orsi
8dacdd6e2f Merge pull request #1681 from garden-co/1656-document-loading-and-subscription
1656 Document loading and subscriptions
2025-03-25 19:16:39 +01:00
Guido D'Orsi
5b0580bfda docs: fix a broken vanilla example 2025-03-25 19:05:07 +01:00
Guido D'Orsi
2bed7e845d docs: complete the migration of the loading docs to twoslash 2025-03-25 18:55:25 +01:00
Anselm
76976026b7 Remove incorredct / unhelpful sections 2025-03-25 18:32:48 +01:00
Anselm
10ea8fbf88 Typecheck more of the subscribe and load docs, remove history docs again for now 2025-03-25 18:32:48 +01:00
Anselm
bd86b159b9 Fully type upgrade guide 2025-03-25 18:32:48 +01:00
Anselm
c4f5241818 More typechecking in upgrade guide 2025-03-25 18:32:48 +01:00
Anselm
181f433477 Fix Highlight component 2025-03-25 18:32:48 +01:00
Anselm
3897a7e137 Fix darkmode diff colours 2025-03-25 18:32:48 +01:00
Anselm
5082ecef3f Reintroduce Jazz colors 2025-03-25 18:32:47 +01:00
Anselm
268e433870 Typing in docs working 2025-03-25 18:32:47 +01:00
Anselm
6c185160c5 First attempt to make twoslash work 2025-03-25 18:32:47 +01:00
Anselm
d18323b74a Upgrade shiki and use built-in transformers for diffs 2025-03-25 18:32:47 +01:00
Anselm
edd91791c9 More details in deep loading 2025-03-25 18:32:47 +01:00
Anselm
958b13c050 Divide upgrade guide into breaking / new features 2025-03-25 18:32:47 +01:00
Anselm
bbe140f7be Remove incorrect stuff 2025-03-25 18:32:47 +01:00
Anselm
1625f82ab7 Clean up manual subscription & hooks 2025-03-25 18:32:47 +01:00
Anselm
843f729a62 Include current version of history & time travel 2025-03-25 18:32:47 +01:00
Anselm
cc4631bb42 "loading depth" -> "resolve query" 2025-03-25 18:32:47 +01:00
Anselm
3665ef0088 Container-like -> collections 2025-03-25 18:32:47 +01:00
Trisha Lim
e13039818e fix coming soon TOC 2025-03-25 18:32:44 +01:00
Benjamin S. Leveritt
2e79487982 Change to markdown + format
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:32:10 +01:00
Benjamin S. Leveritt
fc2c045a8d Fix ‘for example’
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:58 +01:00
Anselm
69bb94be06 Missing green line 2025-03-25 18:31:58 +01:00
Anselm
228c8fa796 Upgrade guide improvments 2025-03-25 18:31:58 +01:00
Benjamin S. Leveritt
a34b850824 Update CoMap.Record resolve example
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:45 +01:00
Benjamin S. Leveritt
96d518bb97 Remove auto-loading section
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:45 +01:00
Benjamin S. Leveritt
8355f5674d Add Vanilla examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
5c1d04ee88 Tweak copy
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
2ef98d01b0 Fix permissions in lists comment
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
15a86a3014 Move Framework detail to just under the fold
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
9c49704cf9 Update Subs and Loading docs
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
44f0d8d5c7 Update subs doc
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:44 +01:00
Benjamin S. Leveritt
d7af97d63f Fix version and date
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-03-25 18:31:41 +01:00
Giordano Ricci
9d0c9dc6ea chore: update @opentelemetry/api dependency 2025-03-25 15:20:34 +00:00
Benjamin S. Leveritt
8d3849e27b Bury your dead 2025-03-25 12:57:46 +00:00
Benjamin S. Leveritt
92ca86ac75 Rename Cursor 2025-03-25 12:45:17 +00:00
Benjamin S. Leveritt
654a5caf69 Rename user detail getters 2025-03-25 12:42:13 +00:00
Benjamin S. Leveritt
a4f2e99370 Moves to useCoState 2025-03-25 12:38:57 +00:00
Trisha Lim
2c3761c8e8 add changeset 2025-03-25 18:52:16 +07:00
Trisha Lim
c91bcf9745 inspector: show CoStream as CoFeed 2025-03-25 18:32:37 +07:00
Trisha Lim
c1db6e087a reuse use-resolve-covalue 2025-03-25 18:31:14 +07:00
Trisha Lim
9d8cc194e0 inspector: show files as FileStream instead of CoStream 2025-03-25 18:30:45 +07:00
Trisha Lim
de11fdd07a collapse upgrade guides on side nav 2025-03-25 18:14:42 +07:00
Benjamin S. Leveritt
1b18801133 Fix depth indentation 2025-03-25 18:14:42 +07:00
Trisha Lim
02f3c31205 make framework selector sticky, add gradient to bottom 2025-03-25 18:14:42 +07:00
Trisha Lim
e5af81bf27 reduce spacing in TOC to match left nav 2025-03-25 18:14:42 +07:00
Guido D'Orsi
3b189e4def Merge pull request #1725 from garden-co/feat/increase-depth-limit
feat: increase depth limit to 10
2025-03-25 12:13:48 +01:00
Guido D'Orsi
7fe50922cc docs: update the version on the 0.12 upgrade guide 2025-03-25 11:05:09 +01:00
Guido D'Orsi
b04e2be665 feat: increase depth limit to 10 2025-03-25 11:03:23 +01:00
Guido D'Orsi
e13b9d2689 Merge pull request #1721 from garden-co/image-targetWidth
docs: replace maxWidth with targetWidth as the go-to API for defining  the target resolution
2025-03-25 11:02:31 +01:00
Guido D'Orsi
523196acdd Merge pull request #1723 from garden-co/fix/inspector-no-data
fix: inspector shows "no data" when there's data
2025-03-25 10:26:05 +01:00
Benjamin S. Leveritt
24d291b65f Add changable names 2025-03-25 07:38:54 +00:00
Trisha Lim
3367787f37 fix embedded inspector bg color 2025-03-25 13:55:09 +07:00
Trisha Lim
e7ae1359c0 fix: no data shown on comap if navigating from colist 2025-03-25 13:42:40 +07:00
Benjamin S. Leveritt
55e81849fe Checks for anon 2025-03-24 20:25:52 +00:00
Benjamin S. Leveritt
a2ad4a7dc3 Add random name labels 2025-03-24 20:23:17 +00:00
Benjamin S. Leveritt
dbaa1dfe3f Fix import order 2025-03-24 17:55:08 +00:00
Benjamin S. Leveritt
452d5f3030 Adds interpolation to the remote cursors 2025-03-24 17:53:03 +00:00
Guido D'Orsi
80b1535cdf Merge remote-tracking branch 'origin/main' into 0-12-0 2025-03-24 18:36:48 +01:00
Benjamin S. Leveritt
16263442a7 Refactor ids into .env 2025-03-24 17:24:01 +00:00
Benjamin S. Leveritt
15384db02d Working cursors 2025-03-24 15:40:26 +00:00
Benjamin S. Leveritt
fa13fbf247 Debugging cursors 2025-03-24 15:30:39 +00:00
James Vickery
291562aafe replace useRef with useCallback 2025-03-24 14:43:24 +00:00
Benjamin S. Leveritt
b8ff6d2195 Adds some remote cursors 2025-03-24 14:29:50 +00:00
Guido D'Orsi
f0483b2500 docs: replace maxWidth with targetWidth as the go-to API for defining the target resolution 2025-03-24 14:16:51 +01:00
Guido D'Orsi
dda9672dcb Merge pull request #1680 from garden-co/changeset-release/main
Version Packages
2025-03-24 13:54:19 +01:00
github-actions[bot]
a86cd0e74e Version Packages 2025-03-24 12:45:13 +00:00
Guido D'Orsi
95e84a2ca7 Merge pull request #1720 from garden-co/image-targetWidth
feat: add targetWidth option to ProgressiveImage
2025-03-24 13:42:19 +01:00
Guido D'Orsi
e7c85b7575 feat: add targetWidth option to ProgressiveImage 2025-03-24 13:13:45 +01:00
Benjamin S. Leveritt
90138a6848 Simplify schema 2025-03-24 11:50:27 +00:00
Guido D'Orsi
8ad57f9d50 Merge pull request #1471 from garden-co/jazz-739-handle-reloading-page-while-image-upload-is-in-progress
jazz-739-handle-reloading-page-while-image-upload-is-in-progress
2025-03-24 12:30:47 +01:00
Benjamin S. Leveritt
4a0f70692f Update healthy-peas-kick.md 2025-03-24 11:29:34 +00:00
Guido D'Orsi
51db96e8d0 chore: align the lockfile with main 2025-03-24 12:20:18 +01:00
Guido D'Orsi
4b0b27bde7 Merge remote-tracking branch 'origin/main' into jazz-739-handle-reloading-page-while-image-upload-is-in-progress 2025-03-24 12:19:50 +01:00
Guido D'Orsi
29a177224d test: add a test for createImage 2025-03-24 12:19:12 +01:00
Guido D'Orsi
63ccdaa3b2 chore: remove vitest file 2025-03-24 11:58:26 +01:00
Guido D'Orsi
8ed144e857 chore: changeset 2025-03-24 11:01:54 +01:00
Guido D'Orsi
c9e2ab69bf feat: mark the package as async and remove the setTimeout 2025-03-24 11:00:03 +01:00
James Vickery
b55c276296 update vercel.json app name 2025-03-24 08:55:44 +00:00
Benjamin S. Leveritt
539f2b23ef Fix formatting 2025-03-24 08:55:44 +00:00
Benjamin S. Leveritt
daea669cb2 Adds global Cursors feed 2025-03-24 08:55:44 +00:00
James Vickery
55793722ff throttled onCursorMove 2025-03-24 08:55:44 +00:00
James Vickery
849f716700 cursors and stuff! 2025-03-24 08:55:43 +00:00
James Vickery
39d50ef040 a super cool draggable canvas 2025-03-24 08:55:43 +00:00
Benjamin S. Leveritt
73b120637c Add pointer tracking 2025-03-24 08:55:43 +00:00
Benjamin S. Leveritt
f41f61ffd3 Add canvas 2025-03-24 08:55:43 +00:00
Benjamin S. Leveritt
3436728416 Add example app 2025-03-24 08:55:43 +00:00
Trisha Lim
7ad2210a7f fix select component attributes 2025-03-24 15:14:49 +07:00
Anselm Eickhoff
4263c30753 Merge pull request #1710 from garden-co/feat/hend-showcase
add Hend to showcase
2025-03-21 13:39:35 +00:00
Anselm Eickhoff
416dd79b50 Merge pull request #1712 from garden-co/chore/inspector-changset
add changeset
2025-03-21 13:39:17 +00:00
Trisha Lim
11da4d1366 add changeset 2025-03-21 20:34:24 +07:00
Trisha Lim
6e794c3fed isolate class name hashing to jazz-inspector
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2025-03-21 20:31:59 +07:00
Trisha Lim
080a718c4d add Hend to showcase 2025-03-21 18:19:40 +07:00
Anselm Eickhoff
e5891f77ca Merge pull request #1703 from garden-co/improvement/docs-nav
Docs nav improvements
2025-03-20 11:20:39 +00:00
Trisha Lim
e141c8779b move AI tools and Inspector in its own section 2025-03-20 18:06:56 +07:00
Trisha Lim
868c49d096 reduce spacing between docs nav items 2025-03-20 18:04:24 +07:00
Trisha Lim
bdc78c55fc remove "coming soon" legend on docs nav 2025-03-20 17:41:46 +07:00
Benjamin S. Leveritt
2dbe990c22 Merge pull request #1688 from garden-co/feat/inspector-json
inspector: collapse JSON field, show content of JSON arrays, UI improvements
2025-03-19 20:29:05 +00:00
James Vickery
60b8dbc33c Merge pull request #1698 from garden-co/jmsv/rss-fix-url
Set canonical URL and fix RSS URLs
2025-03-19 17:31:08 +00:00
James Vickery
5337edf717 fix lint 2025-03-19 17:27:28 +00:00
James Vickery
fe60a88de9 Merge branch 'main' of github.com:garden-co/jazz into jmsv/rss-fix-url 2025-03-19 17:25:57 +00:00
James Vickery
939e1d7a3c fix rss urls and set canonical url 2025-03-19 17:24:20 +00:00
James Vickery
19871690e4 Merge pull request #1696 from garden-co/jmsv/rss
RSS
2025-03-19 16:59:20 +00:00
James Vickery
064900d5f9 rss 2025-03-19 16:49:48 +00:00
Trisha Lim
8e44caaebc install lucide-react on jazz-inspector 2025-03-19 13:56:07 +07:00
Trisha Lim
c95f344c41 remove covalue inspector form from dom if not shown 2025-03-19 13:44:59 +07:00
Trisha Lim
7320adc58d set input length 2025-03-19 13:18:55 +07:00
Trisha Lim
57a92f4aa0 missing key 2025-03-19 13:06:29 +07:00
Trisha Lim
c9b2b01928 move ui components to separate dir 2025-03-19 13:03:01 +07:00
Trisha Lim
5b97ac3b92 account selector UI improvement 2025-03-19 12:53:11 +07:00
Trisha Lim
09f0a98eef add changeset 2025-03-19 12:35:19 +07:00
Trisha Lim
3d8babdbb6 "add account" form improvement 2025-03-19 12:31:50 +07:00
Trisha Lim
f10004c6bc UI fixes 2025-03-19 12:20:39 +07:00
Trisha Lim
33ecca3d10 spacing and typography improvements 2025-03-19 12:00:47 +07:00
Trisha Lim
bc601d809b show array contents in a co.json 2025-03-19 11:13:35 +07:00
Anselm Eickhoff
cc8462f071 Merge pull request #1687 from garden-co/copy/meta-tags
update meta tags to align with new copy
2025-03-18 15:46:49 +00:00
Trisha Lim
790d5dde40 update meta tags to align with new copy 2025-03-18 21:54:30 +07:00
Anselm Eickhoff
7326a19373 Merge pull request #1670 from garden-co/copy/homepage-hero
update homepage copy
2025-03-18 14:31:06 +00:00
Anselm Eickhoff
f39c87b181 bring back zero-config magic 2025-03-18 14:30:22 +00:00
Anselm Eickhoff
e19681a4a7 more down-to-earth hero section 2025-03-18 14:21:35 +00:00
Anselm Eickhoff
c5a3b29c61 Merge pull request #1683 from garden-co/gio/fix-status-page-2
fix: reduces bar width on small screen to avoid horizontal scroll
2025-03-18 13:31:50 +00:00
Giordano Ricci
79513379c8 fix bar width on small screen to avoid horizontal scroll 2025-03-18 13:25:49 +00:00
Anselm Eickhoff
1271a6f753 Merge pull request #1682 from garden-co/gio/fix-status-page
Fix status page
2025-03-18 13:23:53 +00:00
Giordano Ricci
77f58ddcad fill missing data on the left 2025-03-18 12:20:00 +00:00
Trisha Lim
7e945b5eac create-jazz-app: replace project name param with directory name (#1612) 2025-03-18 19:14:25 +07:00
Giordano Ricci
deea2222cb Fix status latency query, adjust probes 2025-03-18 12:14:14 +00:00
Anselm Eickhoff
ff4a839dca Merge pull request #1652 from garden-co/fix/update-starter-profile-migration
fix: align the profile migration in the passkey starter with the last best pratice
2025-03-18 11:19:04 +00:00
Anselm Eickhoff
fb053a0dd5 Comment grammar fix 2025-03-18 11:18:21 +00:00
Anselm Eickhoff
253b775bff Merge pull request #1673 from garden-co/fix-1667-remove-sync-when-signedup
Removed when="singedUp" from examples apps' Jazz providers
2025-03-18 09:39:32 +00:00
Trisha Lim
831fce6d55 set inspector widget height 2025-03-18 16:39:00 +07:00
Trisha Lim
e3f85f997c fix button exports 2025-03-18 16:39:00 +07:00
Trisha Lim
44043991fb clean up 2025-03-18 16:39:00 +07:00
Trisha Lim
60af229bcc fit more data onscreen 2025-03-18 16:39:00 +07:00
Trisha Lim
be6dafc36a set default cursor 2025-03-18 16:39:00 +07:00
Trisha Lim
cdf3ed898f use Input component for all inputs 2025-03-18 16:39:00 +07:00
Trisha Lim
d2379eacd7 use Button element for all buttons 2025-03-18 16:39:00 +07:00
Trisha Lim
0525d5c056 remove unused packages and css 2025-03-18 16:20:17 +07:00
Trisha Lim
7803a7a85e fix missing types when running dev 2025-03-18 16:20:17 +07:00
Trisha Lim
e9d131cc9c fix account export to inspector app 2025-03-18 16:20:17 +07:00
Trisha Lim
4f2730fa00 reuse jazz-inspector components in inspector app 2025-03-18 16:20:17 +07:00
Trisha Lim
b416136b12 reuse jazz-inspector components in inspector app 2025-03-18 16:20:17 +07:00
Anselm Eickhoff
56869c3593 Merge pull request #1674 from garden-co/docs-filestream-link-fix
Fix filestreams link
2025-03-17 17:45:02 +00:00
Benjamin S. Leveritt
bce7dade72 Update filestreams.mdx 2025-03-17 17:39:51 +00:00
Benjamin S. Leveritt
2c00f93141 Merge pull request #1585 from garden-co/1572-filestream-docs
1572-filestream-docs
2025-03-17 14:44:21 +00:00
pax-k
1bfa9bb1de chore: changeset 2025-03-17 14:07:52 +02:00
pax-k
9106881d19 fix(examples): removed when="singedUp" from examples apps' Jazz providers 2025-03-17 14:00:59 +02:00
Anselm Eickhoff
75319a6eaf Merge pull request #1672 from garden-co/fix/node-env-prod
hide jazz-inspector if not dev
2025-03-17 10:37:18 +00:00
Trisha Lim
01e54ddf4e hide jazz-inspector if not dev 2025-03-17 17:20:00 +07:00
Trisha Lim
8f6e16a899 update homepage copy 2025-03-17 16:48:47 +07:00
Benjamin S. Leveritt
a4e342a59b Adds CreateImg config, annotates other methods 2025-03-17 09:32:38 +00:00
Benjamin S. Leveritt
73b71df524 Adds React Native docs 2025-03-17 09:32:38 +00:00
Benjamin S. Leveritt
fcaa5dddda Add Creating Images section to vanilla 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
c27fadc4e0 Adds comment about knowness 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
56af3c7412 Reword to synced 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
5e5ef10675 Tweak presentation of FileStream 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
2efc55f9bf Switches sections 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
7101f10573 Add link to Writing to FileStreams 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
3849392272 Add links to Vanilla docs 2025-03-17 09:32:37 +00:00
Benjamin S. Leveritt
ce1fc720c1 Add React docs 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
4eb634175d Adds revokeObjectURL references and best practices 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
adc6343531 Fix note section 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
c745e099fe Adds example for fallback behaviour 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
970c9f5c6c Adds imageDef docs 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
4e3986ae98 Removes mentions of images, pointing to ImageDef 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
6c691bf641 Adds tests for imageDef 2025-03-17 09:32:36 +00:00
Benjamin S. Leveritt
d03ba7fdd0 Adds CodeGroups 2025-03-17 09:32:35 +00:00
Benjamin S. Leveritt
35cb7d8988 Add FileStream progress test 2025-03-17 09:32:35 +00:00
Benjamin S. Leveritt
0e40a9daab Adds FileStream doc draft 2025-03-17 09:32:35 +00:00
Trisha Lim
bd1996c458 make dev generate app.js instead of jazz-inspector.js 2025-03-17 10:25:19 +07:00
Trisha Lim
373ebec04c add basic json viewer 2025-03-17 10:25:19 +07:00
Trisha Lim
7fedbeb8e4 add covalue search to nav 2025-03-17 10:25:19 +07:00
Trisha Lim
4bfc23091c bare minimum dark styles 2025-03-17 10:25:19 +07:00
Trisha Lim
6e5ea6f19c add inspector to chat app 2025-03-17 10:25:19 +07:00
Trisha Lim
bcd67cb23f replace indigo with blue 2025-03-17 10:25:19 +07:00
Trisha Lim
27781ed778 remove javascript hover styles 2025-03-17 10:25:19 +07:00
Trisha Lim
eb097ecdb1 match colors to jazz brand 2025-03-17 10:25:19 +07:00
Trisha Lim
cdae2603ba add button label 2025-03-17 10:25:19 +07:00
Trisha Lim
2b3490cce2 rewrite styles to tailwind 2025-03-17 10:25:19 +07:00
Trisha Lim
4baba65cdd install twind 2025-03-17 10:25:19 +07:00
Guido D'Orsi
c6ef96d642 Merge pull request #1523 from garden-co/jazz-744-maintain-docs-side-nav-scroll-state-on-navigation
Maintain docs side nav scroll state on navigation
2025-03-14 17:16:11 +01:00
Guido D'Orsi
385ce9ba37 Merge pull request #1664 from garden-co/changeset-release/main
Version Packages
2025-03-14 16:10:23 +01:00
github-actions[bot]
d128490da5 Version Packages 2025-03-14 15:09:56 +00:00
Guido D'Orsi
60f5b3ffeb fix: downgrade the WasmCrypto initialization error logging to a warning 2025-03-14 16:06:55 +01:00
Guido D'Orsi
7d496b03e4 Merge pull request #1638 from garden-co/changeset-release/main
Version Packages
2025-03-14 15:41:18 +01:00
github-actions[bot]
261c9aa51d Version Packages 2025-03-14 14:31:36 +00:00
Guido D'Orsi
5ac5d732a9 Merge pull request #1650 from garden-co/purejs-fallback
fix: use PureJSCrypto as fallback when WasmCrypto fails to initialize
2025-03-14 15:29:23 +01:00
Guido D'Orsi
3d882f0442 fix: update resolve in the new music player action 2025-03-14 15:25:23 +01:00
Guido D'Orsi
f2e9bc9f92 Merge pull request #1660 from garden-co/feat/inspector-position
add changeset
2025-03-14 15:21:44 +01:00
Guido D'Orsi
f61d568c9d Merge remote-tracking branch 'origin/main' into 0-12-0 2025-03-14 15:21:09 +01:00
Guido D'Orsi
6d4b8ecfde Merge pull request #1655 from garden-co/fix/e2e-rn-test
test: fix the mobile e2e tests
2025-03-14 15:20:09 +01:00
Guido D'Orsi
2da366e1cd fix: comment out the re-login stuff 2025-03-14 10:17:57 +01:00
Trisha Lim
e902405c93 add changeset 2025-03-14 11:17:02 +07:00
Trisha Lim
ecbf6d0248 add inspector to version history example 2025-03-14 11:15:27 +07:00
Benjamin S. Leveritt
02fe68d207 Adds equality check to sessionID comparison 2025-03-13 14:29:42 +00:00
Benjamin S. Leveritt
0f87cfbbb0 Fixes sort order fallback when madeAt is identical 2025-03-13 13:41:44 +00:00
Guido D'Orsi
f44a4fa7a2 Merge pull request #1654 from garden-co/feat/inspector-position
Custom positioning of inspector widget button
2025-03-13 14:34:46 +01:00
Guido D'Orsi
b72d478ba1 Merge pull request #1625 from garden-co/music-player-ux
Music player: Allow deleting tracks and playlists
2025-03-13 13:08:18 +01:00
Guido D'Orsi
d0fd66df00 test: fix the mobile e2e tests 2025-03-13 11:05:01 +01:00
Guido D'Orsi
3615b4871b fix: align the profile migration in the passkey starter with the last best pratice 2025-03-13 10:53:42 +01:00
Guido D'Orsi
cc1eb6da90 Merge pull request #1506 from garden-co/image-upload-ux
Image upload example UX improvement
2025-03-13 08:34:15 +00:00
Benjamin S. Leveritt
f7b91b7ce1 Adds unload notification while uploading 2025-03-13 08:34:15 +00:00
Benjamin S. Leveritt
e2b1247969 Return promise while processing image 2025-03-13 08:34:15 +00:00
Benjamin S. Leveritt
b2bdfc702e Merge pull request #1645 from garden-co/feat/filestream-example-to-examples-page
add filestream example to examples page
2025-03-13 08:13:56 +00:00
Trisha Lim
dc3d6a28f6 add docs for inspector button position 2025-03-13 12:05:40 +07:00
Trisha Lim
43e339a4bc Custom positioning of inspector widget button 2025-03-13 11:35:29 +07:00
Guido D'Orsi
e1a66fd76b Merge pull request #1651 from garden-co/fix-message-not-readable
fix(chat-example): render "message not readable" if a message is not readable
2025-03-12 22:31:06 +01:00
pax-k
2074e45158 chore: changeset 2025-03-12 19:10:42 +02:00
pax-k
b06dac36a5 fix(chat-example): render "message not readable" if a message is not readable #1646 2025-03-12 19:08:11 +02:00
Guido D'Orsi
7f036c170e fix: use PureJSCrypto as fallback when WasmCrypto fails to initialize 2025-03-12 16:21:21 +01:00
Guido D'Orsi
ce612394dc chore: move the cloudflare test to use WASM 2025-03-12 16:19:17 +01:00
Benjamin S. Leveritt
b3b12a020e Merge pull request #1648 from garden-co/1643-add-colistapplydiff-tests
Fixes CoList.splice to support insertions at start
2025-03-12 14:13:24 +00:00
Benjamin S. Leveritt
a91f343d6d Adds changeset 2025-03-12 14:12:58 +00:00
Benjamin S. Leveritt
59a7ae94b4 Add comment 2025-03-12 14:03:48 +00:00
Benjamin S. Leveritt
c74f1aea8d Fixes CoList.splice to support insertions at start 2025-03-12 13:59:09 +00:00
Trisha Lim
debdb6dccc update readme of filestream example 2025-03-12 20:54:14 +07:00
Trisha Lim
11a952d45b add filestream example to examples page 2025-03-12 20:51:33 +07:00
Guido D'Orsi
3df07327f1 Merge pull request #1641 from garden-co/ref-assign-validation
fix: throw an error when assigning invalid values to ref fields
2025-03-12 14:49:01 +01:00
Guido D'Orsi
c66a3fb8e9 Merge pull request #1640 from garden-co/jmsv/1632/colist-sort-tests
CoList sort tests
2025-03-11 17:26:36 +01:00
Guido D'Orsi
6dd02d289c chore: fix a type error in the tests 2025-03-11 17:22:26 +01:00
Guido D'Orsi
33a4944ba3 Merge remote-tracking branch 'origin/jazz-581-add-docs' into 0-12-0 2025-03-11 17:17:26 +01:00
Guido D'Orsi
e367b6056d Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-03-11 17:14:38 +01:00
Guido D'Orsi
57a3dbe2b4 fix: throw an error when assigning invalid values to ref fields 2025-03-11 17:08:11 +01:00
James Vickery
3f1cbcdaee add another push + sort + expect 2025-03-11 15:50:37 +00:00
James Vickery
bd1bf3fd2c colist sort tests 2025-03-11 15:46:13 +00:00
Anselm Eickhoff
065e84fc7d Merge pull request #1608 from garden-co/even-simpler-pricing 2025-03-11 15:43:58 +00:00
Anselm
341b056e09 Track fake sign ups and slight layout change 2025-03-11 14:41:40 +00:00
Anselm Eickhoff
75bf523b6a Merge pull request #1639 from garden-co/fix/missing-shadow-hero
fix(home): missing shadow on create-jazz-app section
2025-03-11 14:19:49 +00:00
Trisha Lim
2ad11eff11 fix(home): missing shadow on create-jazz-app section 2025-03-11 21:08:47 +07:00
Anselm Eickhoff
2bfab83df6 Merge pull request #1615 from garden-co/deemphasize-local-first
De-emphasise local-first on homepage
2025-03-11 13:42:34 +00:00
Benjamin S. Leveritt
9526674a95 Addressses feedback, adds backticks 2025-03-11 20:33:12 +07:00
Benjamin S. Leveritt
4f2424f5e8 Updates CoList docs to call out Deleting Items
Fixes #1602
2025-03-11 20:33:12 +07:00
Anselm
58c7305e47 More explanation improvements 2025-03-11 13:33:09 +00:00
Anselm
c05dd58c7d Slight wording changes 2025-03-11 13:25:25 +00:00
Anselm
cc3d31fc3b Address PR comments 2025-03-11 13:14:24 +00:00
James Vickery
83433fcfe2 Merge pull request #1637 from garden-co/jmsv/1635/registered-account-types
Use RegisteredAccount type
2025-03-11 12:33:35 +00:00
Anselm Eickhoff
7cdfc62593 Merge pull request #1634 from garden-co/chore/jazz-inspector-changeset
add changeset for #1591
2025-03-11 12:33:27 +00:00
James Vickery
a717754bb4 patch 2025-03-11 12:30:33 +00:00
James Vickery
1617940ce2 RegisteredAccount type for by props 2025-03-11 12:15:17 +00:00
Guido D'Orsi
d8508c260e Merge pull request #1636 from garden-co/show-account-registration-in-more-places
Show Account registration in more places in docs
2025-03-11 11:13:52 +01:00
Anselm Eickhoff
7e754cae9d Show Account registration in more places 2025-03-11 09:57:39 +00:00
Benjamin S. Leveritt
5e7b59293d Merge pull request #1595 from garden-co/817-add-minimal-filestream-example
adds filestream example
2025-03-11 08:53:56 +00:00
Trisha Lim
d133d4724d add changeset 2025-03-11 10:52:49 +07:00
3f765d5e-ac23-4170-97a5-68b8feee155b
e6ef9b6819 Update page.tsx 2025-03-11 10:51:13 +07:00
Benjamin S. Leveritt
91f9ea1823 Prioritise specific framework pages over vanilla 2025-03-11 10:39:55 +07:00
Benjamin S. Leveritt
3404fa99bf Bail on typing item.done 2025-03-11 10:39:55 +07:00
Benjamin S. Leveritt
4bdf0b064b Add fallback for frameworks we have yet to provide 2025-03-11 10:39:55 +07:00
Benjamin S. Leveritt
1e1372bb71 Adds VanillaJS to the Framework selector 2025-03-11 10:39:55 +07:00
Anselm
b1be0bbdf3 Fix more NextJS issues 2025-03-10 13:36:54 +00:00
Anselm
d4f2f6fd99 Fix NextJS issues 2025-03-10 13:32:48 +00:00
Anselm
f901c4628d More improvements and fixes 2025-03-10 13:27:12 +00:00
Nikita
c970eec586 allow deleting tracks and playlists 2025-03-10 14:08:50 +01:00
Guido D'Orsi
eab128d8e8 Merge pull request #1617 from garden-co/changeset-release/main
Version Packages
2025-03-10 13:04:18 +01:00
github-actions[bot]
8793c218e7 Version Packages 2025-03-10 11:50:03 +00:00
Guido D'Orsi
57858a7cf0 Merge pull request #1624 from garden-co/better-error-logging
feat: improve error logging
2025-03-10 12:46:31 +01:00
Guido D'Orsi
68b0242793 feat: improve error logging 2025-03-10 12:40:55 +01:00
Anselm Eickhoff
9d9a067df5 Merge pull request #1621 from garden-co/fix/react-guide-optional-field
fix(react guide): update syntax for optional field
2025-03-10 10:30:11 +00:00
Trisha Lim
99779b522b fix(react guide): update syntax for optional field 2025-03-10 17:24:30 +07:00
Guido D'Orsi
80b80b5d71 Merge pull request #1610 from garden-co/changeset-release/main
Version Packages
2025-03-07 17:47:20 +01:00
Guido D'Orsi
d777b78ce4 Merge pull request #1614 from garden-co/fix/missing-apikey-ts
Move api key of react starter into apiKey.ts
2025-03-07 17:46:56 +01:00
Anselm
ca909a09a5 First pass 2025-03-07 11:00:37 +00:00
Trisha Lim
c0a77b99bb Move api key of react starter into apiKey.ts 2025-03-07 17:47:48 +07:00
github-actions[bot]
24516116f3 Version Packages 2025-03-07 08:42:35 +00:00
Guido D'Orsi
ed0e15144c fix: reset the useCoState value when the id becomes undefined 2025-03-07 09:40:06 +01:00
Trisha Lim
ad9afc14ba use equal col widths 2025-03-07 14:26:13 +07:00
Benjamin S. Leveritt
f51cf1b9ff Merge pull request #1563 from garden-co/jazz-773-add-tone-and-voice-document
jazz-773-add-tone-and-voice-document
2025-03-06 19:13:05 +00:00
Benjamin S. Leveritt
31beb0a3b4 Removes key takeaways 2025-03-06 19:11:15 +00:00
Benjamin S. Leveritt
d1b2c50801 Replaces teammate > friend 2025-03-06 19:11:15 +00:00
Benjamin S. Leveritt
0261fb5031 Adds note about docs 2025-03-06 19:10:54 +00:00
Benjamin S. Leveritt
e421af1147 Adds a tone and voice doc 2025-03-06 19:10:54 +00:00
Benjamin S. Leveritt
05df8e3b61 Merge pull request #1609 from garden-co/1606-port-applydiff-to-colist-from-corichtext
Adds `applyDiff` to `CoList`
2025-03-06 19:09:45 +00:00
Benjamin S. Leveritt
6892dc6a87 Adds changeset 2025-03-06 19:08:37 +00:00
Nikos Papadopoulos
846a22fb87 moves the apikey into src/apiKey.ts 2025-03-06 18:16:21 +00:00
Benjamin S. Leveritt
84badaa18b Adds applyDiff to CoList
Closes #1606
2025-03-06 17:49:50 +00:00
Nikos Papadopoulos
50133de036 updates vercel configuration 2025-03-06 17:26:26 +00:00
Nikos Papadopoulos
8eff068bdf adds drag and drop upload feature 2025-03-06 17:26:26 +00:00
Nikos Papadopoulos
77383b20c6 switches sync peer from localhost to cloud 2025-03-06 17:26:26 +00:00
Nikos Papadopoulos
4965807ce9 adds filestream example 2025-03-06 17:26:12 +00:00
Anselm
b424ff04fb Remove add-ons 2025-03-06 17:16:48 +00:00
Anselm
0f4bf6ab77 Merge branch 'main' into even-simpler-pricing 2025-03-06 17:10:25 +00:00
Trisha Lim
23059ec701 change copy icon 2025-03-06 21:06:13 +07:00
Trisha Lim
52a2533b9e cleanup 2025-03-06 21:06:13 +07:00
Trisha Lim
5df7aaf742 mobile view 2025-03-06 21:06:13 +07:00
Trisha Lim
1a818f88b2 add create-jazz-app command to hero 2025-03-06 21:06:13 +07:00
Guido D'Orsi
f3f56b9be0 docs: clarifications 2025-03-06 14:42:30 +01:00
Guido D'Orsi
4cae6bad34 Merge 2025-03-06 14:38:01 +01:00
Guido D'Orsi
17f2ef57de docs: bump the upgrade version 2025-03-06 14:37:19 +01:00
Guido D'Orsi
2e12ec55ac Merge pull request #1551 from garden-co/example-counter
feat(examples): multi-auth example
2025-03-06 14:35:28 +01:00
Guido D'Orsi
3a4d111a37 Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-03-06 14:33:18 +01:00
Guido D'Orsi
6c94c2cd3d Merge pull request #1605 from garden-co/changeset-release/main
Version Packages
2025-03-06 13:54:08 +01:00
github-actions[bot]
98c4221340 Version Packages 2025-03-06 12:46:19 +00:00
Guido D'Orsi
7b00a8155f fix: align packages versions to 0.11 2025-03-06 13:44:06 +01:00
Guido D'Orsi
cc5aea708a fix: remove the prepublish hook 2025-03-06 13:35:35 +01:00
Guido D'Orsi
87c7306632 fix(release): build packages with turbo before publishing 2025-03-06 13:30:59 +01:00
Guido D'Orsi
a65219ba52 Merge pull request #1578 from garden-co/changeset-release/main
Version Packages
2025-03-06 13:23:02 +01:00
github-actions[bot]
689595fd0a Version Packages 2025-03-06 12:21:42 +00:00
Guido D'Orsi
efbf2b65a8 Merge pull request #1492 from garden-co/0-11-0
Jazz 0.11.0 - Better permissions checks and members API
2025-03-06 13:19:38 +01:00
Guido D'Orsi
912232192f docs: release notes final touches 2025-03-06 13:18:24 +01:00
Guido D'Orsi
11b5d77064 fix: check auth state when accepting an invite 2025-03-06 13:04:07 +01:00
Guido D'Orsi
63b88b591d test(music-player): uncomment remove track test 2025-03-06 13:02:21 +01:00
Guido D'Orsi
87d0544d98 chore: fix type errors 2025-03-05 18:55:37 +01:00
Guido D'Orsi
d43dcc2c94 Merge pull request #1592 from garden-co/revert-1557-1556-update-homepage-typedoc-to-027
Revert "1556-update-homepage-typedoc-to-027"
2025-03-05 18:55:09 +01:00
Guido D'Orsi
093a166db1 Revert "1556-update-homepage-typedoc-to-027" 2025-03-05 18:54:57 +01:00
Guido D'Orsi
593f3ed83e Revert "Fix typing"
This reverts commit 6a2a176361.
2025-03-05 18:48:55 +01:00
Guido D'Orsi
6c6c89e068 Revert "Bumps typedoc and typescript versions"
This reverts commit 824bbc8bab.
2025-03-05 18:45:30 +01:00
Guido D'Orsi
c1646f6bbb Merge pull request #1570 from garden-co/trisha/1224-add-status-to-footer
Add status to footer, remove releases
2025-03-05 18:03:51 +01:00
Guido D'Orsi
b7deb3c937 chore: changeset 2025-03-05 17:59:56 +01:00
Guido D'Orsi
9b425701e4 Merge pull request #1589 from 3f765d5e-ac23-4170-97a5-68b8feee155b/3f765d5e-ac23-4170-97a5-68b8feee155b-patch-3
Add React 19 to peer deps
2025-03-05 17:58:51 +01:00
Guido D'Orsi
07dcf54aca chore: fix type errors 2025-03-05 17:52:50 +01:00
Guido D'Orsi
8ed33c18ca Merge remote-tracking branch 'origin/main' into 0-11-0 2025-03-05 17:48:33 +01:00
Guido D'Orsi
6a96d8b53b feat: add getParentGroups API to Group and Account 2025-03-05 17:27:28 +01:00
Nikos Papadopoulos
a1bcbda72e Merge pull request #1522 from garden-co/jazz-758-allow-optional-fields-in-types-passed-to-cojson-see
Fix and test cases for reported issue with optional fields
2025-03-05 16:03:25 +00:00
Nikos Papadopoulos
0f67e0a988 adds changeset 2025-03-05 15:54:29 +00:00
3f765d5e-ac23-4170-97a5-68b8feee155b
6c7a3ebf82 Add React 19 to peer deps
Hope that's enough to make the peer dep warning go away. Been running inspector with react 19 and no problems so far
2025-03-05 16:46:31 +01:00
Guido D'Orsi
27ce186152 fix(co.json): accept null values and improve the function check 2025-03-05 15:51:17 +01:00
Nikos Papadopoulos
77ae2cc186 Revert "fixes CoJsonValue type"
This reverts commit d6d9218b3e.
2025-03-05 10:53:56 +00:00
Guido D'Orsi
66600c0c27 Merge pull request #1584 from garden-co/clarification-profile-changes
docs: clarify better the situation on profile migrations
2025-03-05 11:06:42 +01:00
Guido D'Orsi
81d5261f4d docs: clarify better the situation on profile migrations 2025-03-05 11:01:02 +01:00
Guido D'Orsi
d748dea90f test: cover invalid actions on revokeExtend 2025-03-05 10:24:03 +01:00
Guido D'Orsi
707e544b83 docs: add the 0.11.0 group APIs 2025-03-05 10:17:00 +01:00
Guido D'Orsi
f3cbaee890 Merge pull request #1500 from garden-co/jazz-760-jazz-0110-upgrade-guide
jazz 0.11.0 upgrade guide
2025-03-05 10:03:04 +01:00
Trisha Lim
60ce483db7 add changeset 2025-03-05 15:51:33 +07:00
Trisha Lim
c08a41398d Make initial commit on create-jazz-app apps 2025-03-05 15:51:33 +07:00
Nikos Papadopoulos
d6d9218b3e fixes CoJsonValue type 2025-03-04 19:20:08 +00:00
Anselm
667e301f12 Simplify JSON related types and test for more cases 2025-03-04 17:33:02 +00:00
Guido D'Orsi
b15f904347 chore: fix a type error 2025-03-04 18:02:48 +01:00
Nikos Papadopoulos
0c150a4c74 fix attempt 0 2025-03-04 16:50:01 +00:00
Guido D'Orsi
66de2dacb6 docs: whats new 2025-03-04 17:13:57 +01:00
Guido D'Orsi
ae1425db8a Merge remote-tracking branch 'origin/main' into 0-11-0 2025-03-04 17:08:49 +01:00
Guido D'Orsi
a164b102f5 docs: add revokeExtend to the migration docs 2025-03-04 16:49:25 +01:00
Guido D'Orsi
a6db9a438e Merge remote-tracking branch 'origin/0-11-0' into jazz-760-jazz-0110-upgrade-guide 2025-03-04 16:38:49 +01:00
Nikita
a35249a831 Fix CoMap.toJSON() with encoded fields (#1577)
* encode -> encoded

* add test and changeset

* patch
2025-03-04 15:56:08 +01:00
Guido D'Orsi
36e246be79 docs: add the this type to the migration examples 2025-03-04 15:37:29 +01:00
Trisha Lim
b894455c9e Remove unnecessary owner argument in react examples 2025-03-04 19:28:16 +07:00
Guido D'Orsi
11f7277675 Merge pull request #1566 from garden-co/changeset-release/main
Version Packages
2025-03-04 13:19:34 +01:00
github-actions[bot]
d992f5c552 Version Packages 2025-03-04 12:18:11 +00:00
Guido D'Orsi
a5ec31f079 Merge pull request #1573 from garden-co/fix-race-conditions-ctx-creation
fix(ContextManager): avoid race conditions on context creation
2025-03-04 13:15:59 +01:00
Guido D'Orsi
2f99de0976 fix(ContextManager): avoid race conditions on context creation 2025-03-04 13:10:29 +01:00
Anselm Eickhoff
d5503b4581 Merge pull request #1555 from garden-co/1554-start-a-faq-document
Adds an FAQ
2025-03-04 11:32:13 +00:00
Trisha Lim
a462254199 Add status to footer, remove releases 2025-03-04 17:21:22 +07:00
Guido D'Orsi
f86e278b00 fix: change the log level of permission errors to debug 2025-03-03 23:43:49 +01:00
Emil Sayahi
34cbdc3e4c feat!(Groups): API to unextend group (#1512)
* feat!(Groups): API to unextend group

See: #1504

* feat!(Groups): API to unextend group

See: #1504

* test(groupsAndAccounts): revoking group extensions

* test(cojson): group, permissions test for unextend

* chore: add changeset

* test(permissions): unextend reading & grandparents

* feat!(Groups): API to unextend group

See: #1504

* test(groupsAndAccounts): revoking group extensions

* test(cojson): group, permissions test for unextend

* chore: add changeset

* test(permissions): unextend reading & grandparents

* feat(music-player): removing tracks from playlists

* fix(music-player): remove unused import
2025-03-03 14:13:35 -05:00
Emil Sayahi
c563c3675f fix(multiauth): update lockfile 2025-03-03 13:09:39 -05:00
Emil Sayahi
05372df4be Merge branch 'main' into example-counter 2025-03-03 13:03:33 -05:00
Emil Sayahi
c32c405bfd feat(examples): empty multi-auth example 2025-03-03 13:00:27 -05:00
Benjamin S. Leveritt
09e2090939 Tweaks heading 2025-03-03 14:07:45 +00:00
Benjamin S. Leveritt
2ffe10cc79 Rework order, update from suggestions 2025-03-03 12:08:13 +00:00
Benjamin S. Leveritt
9a4cef30cf Update homepage/homepage/app/(docs)/docs/[framework]/[...slug]/faq.mdx
Co-authored-by: Anselm Eickhoff <anselm.eickhoff@gmail.com>
2025-03-03 12:03:19 +00:00
Anselm Eickhoff
3c0b2cb689 Merge pull request #1557 from garden-co/1556-update-homepage-typedoc-to-027
1556-update-homepage-typedoc-to-027
2025-03-03 11:49:54 +00:00
Benjamin S. Leveritt
6a2a176361 Fix typing 2025-03-03 11:35:37 +00:00
Benjamin S. Leveritt
824bbc8bab Bumps typedoc and typescript versions 2025-03-03 11:35:15 +00:00
Benjamin S. Leveritt
71b9517eda Adds an FAQ
Fixes #1554
2025-03-03 10:34:09 +00:00
Emil Sayahi
e7ae6d95ba feat(examples): multi-auth counter example 2025-02-28 14:55:45 -05:00
Guido D'Orsi
8bdf6908b8 Merge pull request #1529 from garden-co/changeset-release/main
Version Packages
2025-02-28 20:18:53 +01:00
github-actions[bot]
12bc4fb2d3 Version Packages 2025-02-28 19:08:19 +00:00
Guido D'Orsi
75211e3c82 fix: fixes invalid authentication state when logging out after signUp (#1549) 2025-02-28 14:06:18 -05:00
Guido D'Orsi
029c32d86c chore: fix type errors 2025-02-28 18:44:16 +01:00
Guido D'Orsi
1e18c7f5fc Merge remote-tracking branch 'origin/0-11-0' into jazz-581-rfc-new-deep-loading-api 2025-02-28 14:58:32 +01:00
Benjamin S. Leveritt
3185a20777 Merge pull request #1447 from garden-co/jazz-496-draft-using-coValue-docs
jazz-496-draft-using-coValue-docs
2025-02-28 13:42:26 +00:00
Benjamin S. Leveritt
0c3905f93f Add example, fix copy 2025-02-28 13:40:38 +00:00
Guido D'Orsi
45bed3ea80 Merge remote-tracking branch 'origin/main' into 0-11-0 2025-02-28 14:12:02 +01:00
Guido D'Orsi
8a31f56770 Merge pull request #1542 from garden-co/jazz-731-prevent-duplicate-accounts-on-inspector
Prevent duplicate accounts from being added in inspector
2025-02-28 14:10:21 +01:00
Guido D'Orsi
43fa1ecba4 chore: correctly rename the interface 2025-02-28 11:20:47 +01:00
Guido D'Orsi
4373e290fe Merge pull request #1543 from garden-co/typecheck-tests
fix: include tests in the typescript validation on cojson and jazz-tools
2025-02-28 11:19:18 +01:00
Guido D'Orsi
037ed4d59d fix: include tests in the typescript validation on cojson and jazz-tools 2025-02-28 11:01:57 +01:00
Benjamin S. Leveritt
c030128b28 Fix comment 2025-02-28 09:53:15 +00:00
Nikita
34946c18bc prevent duplicate accounts from being added in inspector 2025-02-28 10:52:21 +01:00
Benjamin S. Leveritt
fcca08655a Update nav for new organisation 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
adcd08c95a Copy tweaks from feedback 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
937e20b248 Add back-references to example 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
a759d9a7aa Partially hide unused pages
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
38af5b8dc8 Tweak copy
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
b9473da159 Adds CoFeeds doc
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
cb1126ac15 Updates CoList examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
989211f02f Removes performance section
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
49a1a9d6f0 Adds CoLists doc
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
2f32599987 Improve ComputedProject example
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
9ede39c229 Rework into CoMaps doc
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
ca3eb9dbd8 Adds Subscription docs
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
12273cf35b Typo
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
b3d4944608 Removes error handling section
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
2068aaff13 Removes owners
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
9dfad43433 Fix link
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
db4986059e Updates metadata for latest copy
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
ed5369e99b Updates the metadata copy and examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
2671fca1dc Adds reviewed copy for Reading + examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
c81a2dcd0b Updates Writing examples and copy
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
b7a19c0693 Updates creation examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
2678bdbcca Updates examples
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
ee7823b33e Fix Account and Group casing
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
46683235ba Removes transactions content 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
8ce7bb808c Improves accuracy of examples 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
3a69928ebc Adds CodeGroups, improves copy 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
00790a1535 Adds drafts to nav 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
56ccf5ea65 Adds metadata and writing drafts 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
4814595724 Adds Reading draft 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
706357ac4f Adds Creation draft 2025-02-28 09:46:13 +00:00
Benjamin S. Leveritt
4fcc8edc70 Merge pull request #1539 from garden-co/1538-fix-linting-for-cojson-transport-ws
1538-fix-linting-for-cojson-transport-ws
2025-02-28 08:24:47 +00:00
Nikos Papadopoulos
141ea11bf1 Rename interface 2025-02-27 19:08:52 +00:00
Benjamin S. Leveritt
0f8ba9966b Fix resolve returning void (which biome doesn't like)
Closes #1538
2025-02-27 17:18:57 +00:00
Benjamin S. Leveritt
91fa2e092a Add comment about using any 2025-02-27 17:08:06 +00:00
Benjamin S. Leveritt
ff52d6df3e Adds linting to cojson-transport-ws
Fixes #1538
2025-02-27 17:08:06 +00:00
Benjamin S. Leveritt
a539b9e26b Merge pull request #1536 from garden-co/1533-fix-linting-for-cojson-storage-packages
Closes #1533
2025-02-27 17:05:44 +00:00
Benjamin S. Leveritt
f3129a7914 Fix return on transaction 2025-02-27 16:40:25 +00:00
Guido D'Orsi
d349b794e1 Merge pull request #1534 from boorad/feat/clerk-expo-offline
feat: Clerk and Expo offline support
2025-02-27 17:24:20 +01:00
Guido D'Orsi
273b478381 Merge pull request #1535 from garden-co/test/group-members-sync
test(groupAndAccounts): enable sync and add members test
2025-02-27 17:24:01 +01:00
Benjamin S. Leveritt
fad14dcff6 Fix imports in jazz-nodejs 2025-02-27 16:21:54 +00:00
Benjamin S. Leveritt
b99f13c948 Adds a few more tweaks to the linter, and fixes 2025-02-27 16:21:54 +00:00
Benjamin S. Leveritt
e7cb337a24 Fix linting issues in cojson-storage-rn-sqlite 2025-02-27 16:21:54 +00:00
Benjamin S. Leveritt
85c9a432c3 Adds linting checks and fixes to cojson-storage 2025-02-27 16:21:54 +00:00
Guido D'Orsi
1d29f74df6 test(groupAndAccounts): enable sync and add members test 2025-02-27 17:16:27 +01:00
Brad Anderson
c28d1c331c feat: Clerk and Expo offline support 2025-02-27 10:01:46 -05:00
Guido D'Orsi
474ea89b81 Merge pull request #1532 from juliusv/patch-2
Fix missing useAccount import + incorrect "old" marker in React guide
2025-02-27 15:10:48 +01:00
Julius Volz
4772309fb6 Fix missing useAccount import + incorrect "old" marker in React guide 2025-02-27 13:43:20 +01:00
Guido D'Orsi
393d066b25 docs: add the Group.members schema and everyone changes 2025-02-27 11:45:51 +01:00
Guido D'Orsi
45bff625c4 Merge branch '0-11-0' into jazz-760-jazz-0110-upgrade-guide 2025-02-27 11:40:42 +01:00
Guido D'Orsi
a8fca7b5f7 Merge pull request #1459 from garden-co/declaration-files-migration
feat: migrate to declaration files
2025-02-27 11:28:21 +01:00
Guido D'Orsi
658a0602ea Merge pull request #1528 from garden-co/fix/group-members-type
feat(Group.members): use the global AccountSchema and remove everyone from the returned values
2025-02-27 11:28:04 +01:00
Guido D'Orsi
f039e8f097 feat(Group.members): use the global AccountSchema and remove everyone from the returned values 2025-02-27 11:20:57 +01:00
pax
1501510cfc Merge pull request #1493 from garden-co/cursor-rules-with-create-jazz-app
Cursor rules with create-jazz-app
2025-02-27 12:09:01 +02:00
Guido D'Orsi
eda1588907 Merge pull request #1527 from garden-co/changeset-release/main
Version Packages
2025-02-27 09:56:16 +01:00
Guido D'Orsi
dc9da28bf9 Merge remote-tracking branch 'origin/0-11-0' into declaration-files-migration 2025-02-27 09:55:15 +01:00
github-actions[bot]
b14e0bfe24 Version Packages 2025-02-26 17:58:41 +00:00
Guido D'Orsi
87aa43b46b Merge pull request #1507 from garden-co/jazz-747-passphrase-auth-restore-support-for-rerolling-the-passphrase
feat(PasskeyAuth): support random passphrase generation
2025-02-26 18:54:42 +01:00
Guido D'Orsi
b93ce9fb7e chore: rever to use property initializers 2025-02-26 18:54:32 +01:00
Guido D'Orsi
e6db8f2a02 test(permissions): rewrite flaky tests 2025-02-26 18:53:32 +01:00
Guido D'Orsi
8c7a6b27ed docs: refine the examples and align the feature descripted with the implementation 2025-02-26 18:23:02 +01:00
Guido D'Orsi
91f96e1188 Merge branch 'jazz-581-rfc-new-deep-loading-api' into jazz-581-add-docs 2025-02-26 18:12:56 +01:00
Guido D'Orsi
f0c8f7b3eb Merge pull request #1526 from garden-co/upgrade-guide-permissions-docs
docs: update the 0.11 upgrade guide with the new permissions APIs
2025-02-26 17:46:09 +01:00
Guido D'Orsi
a7d83e1c10 feat(passphrase-example): inline the UI and implement the passphrase reroll flow 2025-02-26 16:29:05 +01:00
Guido D'Orsi
76a693da15 Update packages/jazz-tools/src/tests/PassphraseAuth.test.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2025-02-26 16:23:02 +01:00
Guido D'Orsi
945163b7bc docs: fix typos in the upgrade guide 2025-02-26 15:34:20 +01:00
Guido D'Orsi
3142e503ae docs: update the 0.11 upgrade guide with the new permissions APIs 2025-02-26 15:33:00 +01:00
pax
df2f021cfd Merge pull request #1509 from garden-co/changeset-release/main
Version Packages
2025-02-26 16:25:01 +02:00
Trisha Lim
65b2947c18 clean up 2025-02-26 21:14:59 +07:00
Trisha Lim
f9147dae85 TOC fixes 2025-02-26 21:12:56 +07:00
Guido D'Orsi
28dac10723 Merge pull request #1517 from garden-co/fix/optional-fields-acl
feat(deepLoading): return undefined when an optional field is not accessible
2025-02-26 14:58:27 +01:00
Guido D'Orsi
932a21e62a Merge pull request #1521 from garden-co/permission-checks-simplified
feat: add shortcut methods to account to check permissions on covalues
2025-02-26 14:45:33 +01:00
Guido D'Orsi
628a33eb12 feat: add shortcut methods to account to check permissions on covalues 2025-02-26 14:45:22 +01:00
github-actions[bot]
50b15d2d1d Version Packages 2025-02-26 13:43:02 +00:00
pax
48bf7cb188 Merge pull request #1519 from garden-co/create-jazz-app-dev-deps-handling
fix(create-jazz-app): handle workspace devDependencies
2025-02-26 15:40:53 +02:00
Nikos Papadopoulos
20eef64b47 Added a new test case to validate a reported issue with optional fields 2025-02-26 13:16:05 +00:00
pax-k
e2e0af34b5 chore: changeset 2025-02-26 15:04:57 +02:00
Trisha Lim
6a5bcd3063 Fix missing og meta tags 2025-02-26 19:34:15 +07:00
Giordano Ricci
c64f38b6c9 docs for usePassKeyAuth changes 2025-02-26 12:02:39 +00:00
Giordano Ricci
e5e047660b nicer alert 2025-02-26 11:57:20 +00:00
Guido D'Orsi
9cb11e38dd feat(deepLoading): return undefined when an optional field is not accessible 2025-02-26 12:56:06 +01:00
Giordano Ricci
a65d6bed73 reorganize sections 2025-02-26 11:17:48 +00:00
Trisha Lim
21309953ee fix coming soon TOC 2025-02-26 18:03:27 +07:00
Trisha Lim
bc2f37df37 set TOC items in context 2025-02-26 17:59:52 +07:00
Trisha Lim
57ffac4432 move docs layout 2025-02-26 17:43:38 +07:00
pax-k
bf7e62ec76 fix(create-jazz-app): handle workspace devDependencies 2025-02-26 11:58:44 +02:00
Guido D'Orsi
71dda6b10b docs(contributing): fix the build step 2025-02-25 21:33:35 +01:00
Guido D'Orsi
f3e4bacb33 Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-02-25 17:46:22 +01:00
Giordano Ricci
d4f7891890 add more docs 2025-02-25 16:39:37 +00:00
Emil Sayahi
4612e0545e fix: type inference on useCoState (#1489)
* fix: type inference on `useCoState`

The `id` parameter should be `ID<CoValue>` so the type inference picks up the CoValue type only from the `Schema` parameter.

See: #1476

* fix: type inference on loading & subscribing API

* test: add type inference `useCoState` tests

* chore: changeset
2025-02-25 10:35:53 -05:00
Guido D'Orsi
07feedd641 feat(PasskeyAuth): support random passphrase generation 2025-02-25 15:35:48 +01:00
Guido D'Orsi
edbd567f11 Merge pull request #1491 from garden-co/remove-neverthrow-from-agent
chore: remove neverthrow from the agent/sealer id getters
2025-02-25 15:22:07 +01:00
Giordano Ricci
6eef92b602 jazz 0.11.0 upgrade guide 2025-02-25 13:01:16 +00:00
Guido D'Orsi
dfbb4b8c69 Merge pull request #1478 from garden-co/jazz-749-migrations-make-migrations-work-with-profiles
fix: allow profile migrations, enforce profile ownership
2025-02-25 13:58:59 +01:00
Giordano Ricci
5f2d8e143c remove profile.name forced write 2025-02-25 12:35:39 +00:00
Guido D'Orsi
4d8bb9cdb8 Merge pull request #1495 from garden-co/changeset-release/main
Version Packages
2025-02-25 12:37:27 +01:00
github-actions[bot]
1971448f5d Version Packages 2025-02-25 11:31:50 +00:00
Guido D'Orsi
240f071951 Merge pull request #1502 from garden-co/jazz-730-passkeyauth-update-the-profile-name-only-if-the-value-on
Jazz 730 passkeyauth update the profile name only if the value on
2025-02-25 12:30:43 +01:00
Guido D'Orsi
0e861e7df8 Merge pull request #1501 from garden-co/revert-1487-jazz-730-passkeyauth-update-the-profile-name-only-if-the-value-on
Revert "fix(PasskeyAuth): set name iff username given"
2025-02-25 12:30:04 +01:00
Guido D'Orsi
6e3f1efcd0 Revert "fix(PasskeyAuth): set name iff username given (#1487)"
This reverts commit d469d68771.
2025-02-25 12:29:28 +01:00
Giordano Ricci
d560b4ddfb fixpermission resolution chain 2025-02-25 11:19:34 +00:00
Guido D'Orsi
eb87d10783 Merge pull request #1498 from garden-co/remove-quick-crypto
fix: don't export RNQuickCrypto to avoid install errors
2025-02-25 12:14:22 +01:00
Guido D'Orsi
5a54e4aa50 fix: don't export RNQuickCrypto to avoid install errors 2025-02-25 11:51:57 +01:00
Guido D'Orsi
73d6fd1a85 tests: add more permissions tests on inheritance 2025-02-25 11:42:58 +01:00
Guido D'Orsi
16b0a22ded chore: remove RNQuickCrypto from the chat example 2025-02-25 10:42:16 +01:00
pax-k
6a8ce1e32d chore(create-jazz-app): only copy .cursor dir 2025-02-24 23:58:32 +02:00
pax-k
10a4b0e888 Merge branch 'main' into cursor-rules-with-create-jazz-app 2025-02-24 23:44:06 +02:00
pax-k
3c973c84ce fix(create-jazz-app): git init inside new project 2025-02-24 23:40:50 +02:00
Emil Sayahi
d469d68771 fix(PasskeyAuth): set name iff username given (#1487)
* fix(PasskeyAuth): set name iff username given

If an empty username is passed to `signUp`, the `profile.name` of the user is not updated.

See: #1433

* chore: changeset

* docs(changeset): mention PasskeyAuth

Co-authored-by: Guido D'Orsi <gu.dorsi@gmail.com>

---------

Co-authored-by: Guido D'Orsi <gu.dorsi@gmail.com>
2025-02-24 16:23:09 -05:00
pax
c068d7a369 Merge pull request #1494 from garden-co/update-cursor-docs
fix: cursor docs structure
2025-02-24 22:31:15 +02:00
pax-k
25088ed5db fix: cursor docs structure 2025-02-24 22:29:04 +02:00
Guido D'Orsi
46f5133510 test: revoking access on a child group doesn't block access to that group if a more permissive role is inheritable 2025-02-24 20:17:58 +01:00
Giordano Ricci
b3f2e67d9d restore correct behavior in test 2025-02-24 19:17:30 +00:00
Giordano Ricci
f689cd20fc add tests 2025-02-24 19:05:34 +00:00
pax-k
21e74998e8 fix(cursor-docs): markdown references to examples 2025-02-24 20:53:17 +02:00
pax-k
a2e9ae4731 chore: refactored cursor rule name 2025-02-24 20:47:39 +02:00
Giordano Ricci
e22de9ff4c add changeset 2025-02-24 18:45:37 +00:00
Giordano Ricci
735bd41242 fix permsissions checks 2025-02-24 18:41:23 +00:00
Giordano Ricci
71998bde62 throw a meaningful error when trying to access an inbox with inusfficient permissions 2025-02-24 18:40:44 +00:00
Giordano Ricci
f01b714e29 remove profile visibility requirements 2025-02-24 18:40:44 +00:00
Giordano Ricci
028eca9f81 throw error is profile has an account owner 2025-02-24 18:40:44 +00:00
Giordano Ricci
d3d4118b86 fix tests 2025-02-24 18:40:43 +00:00
Giordano Ricci
45f1fe19ac fix: allow profile migrations, enforce profile ownership 2025-02-24 18:40:43 +00:00
pax-k
0514a7e64b chore: run pre-publish workflow when PR labels change 2025-02-24 20:35:40 +02:00
Emil Sayahi
ad2db5e6cb docs(changeset): mention PasskeyAuth
Co-authored-by: Guido D'Orsi <gu.dorsi@gmail.com>
2025-02-24 12:57:16 -05:00
pax-k
b063cccdfc chore: changeset 2025-02-24 19:16:37 +02:00
pax-k
d89d2978ff feat: added cursor-docs to create-jazz-app 2025-02-24 19:16:00 +02:00
Guido D'Orsi
221ca30790 chore: remove neverthrow from the agent/sealer id getters 2025-02-24 18:11:06 +01:00
Guido D'Orsi
480890d2e9 Merge pull request #1467 from garden-co/feat/return-inherited-members
feat: return inherited members and add getRoleOf and hasPermissions methods to Group
2025-02-24 17:49:18 +01:00
Emil Sayahi
18428eaaa1 chore: changeset 2025-02-24 11:47:41 -05:00
pax
caa6c147c8 Merge pull request #1490 from garden-co/changeset-release/main
Version Packages
2025-02-24 18:40:15 +02:00
github-actions[bot]
4da51e8f9c Version Packages 2025-02-24 16:37:25 +00:00
pax
a2076b179b Merge pull request #1488 from garden-co/cursor-docs
Cursor docs
2025-02-24 18:35:06 +02:00
pax-k
3fa276c18d chore: changeset 2025-02-24 18:18:33 +02:00
pax-k
1928519d39 feat: added cursor docs 2025-02-24 18:16:39 +02:00
Emil Sayahi
5ed31f2678 fix(PasskeyAuth): set name iff username given
If an empty username is passed to `signUp`, the `profile.name` of the user is not updated.

See: #1433
2025-02-24 11:11:57 -05:00
Guido D'Orsi
b9d194a80e feat: return inherited members and add getRoleOf and hasPermissions methods to Group 2025-02-24 12:55:14 +01:00
Anselm Eickhoff
f4fa80b782 Merge pull request #1469 from garden-co/changeset-release/main 2025-02-23 10:13:07 +00:00
github-actions[bot]
782df5d4b8 Version Packages 2025-02-23 10:12:42 +00:00
Anselm Eickhoff
9db20ad630 Merge pull request #1468 from Schniz/schniz/fix-rn-kv-persistence 2025-02-23 10:11:09 +00:00
Gal Schlezinger
3405d8f275 Add changeset 2025-02-23 12:09:48 +02:00
Gal Schlezinger
0a64dca0cd [jazz-react-native] override Context#getKvStore to actually use the declared kvStore in the provider 2025-02-23 11:42:46 +02:00
Guido D'Orsi
4d0b9b1bf1 Merge pull request #1466 from garden-co/changeset-release/main
Version Packages
2025-02-22 17:59:46 +01:00
github-actions[bot]
403d61c8e8 Version Packages 2025-02-22 16:58:53 +00:00
Guido D'Orsi
0685c1cd5f Merge pull request #1465 from garden-co/passkey-attachment
fix: remove the attachment setting to restore the faceid login
2025-02-22 17:57:16 +01:00
Guido D'Orsi
834203f270 fix: remove the attachment setting to restore the faceid login 2025-02-22 17:54:02 +01:00
Guido D'Orsi
2359e85ebd feat: enable the declarationMap option 2025-02-21 18:55:20 +01:00
Guido D'Orsi
626d43f07b Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-02-21 18:27:14 +01:00
Guido D'Orsi
a4713df30c feat: migrate to declaration files 2025-02-21 16:07:51 +01:00
Guido D'Orsi
f01bc19257 test: remove .only 2025-02-21 16:07:33 +01:00
Guido D'Orsi
6405a77aa2 chore: fix tsconfig module value on the root 2025-02-21 11:30:43 +01:00
Guido D'Orsi
ace6486075 test: add deepLoading tests on CoMap.Record 2025-02-21 11:29:51 +01:00
Guido D'Orsi
23c3e5a125 Merge pull request #1456 from garden-co/changeset-release/main
Version Packages
2025-02-21 11:08:01 +01:00
github-actions[bot]
e3d75e5c97 Version Packages 2025-02-21 10:05:16 +00:00
Guido D'Orsi
7838075bd6 Merge pull request #1446 from garden-co/yubikey-asskey-support
feat: support external authenticators on passkey authentication
2025-02-21 11:02:04 +01:00
Guido D'Orsi
dd792bf0ca Merge pull request #1450 from garden-co/fix-missing-or-undefined-values
fix: improve subscribe behavoir on missing required and undeclared fields
2025-02-21 11:01:46 +01:00
Guido D'Orsi
233aae1deb fix: throw when a requested field on CoMap.Record is missing 2025-02-21 10:41:53 +01:00
Guido D'Orsi
153dc996a5 fix: catch errors on CoValueCore subscribers to avoid effects on the sync 2025-02-21 10:35:07 +01:00
Anselm Eickhoff
2b548c1758 Merge pull request #1442 from garden-co/jazz-734-add-docs-about-inspector
Add jazz inspector docs
2025-02-21 09:10:14 +00:00
Anselm Eickhoff
167b588553 Merge pull request #1455 from garden-co/jazz-738-table-of-contents-not-showing-in-upgrade-guides
Fix missing table of contents on upgrade guides
2025-02-21 09:09:18 +00:00
Anselm Eickhoff
424930d06d Merge pull request #1454 from garden-co/jazz-737-font-mono-doesnt-look-right-in-safari
Fix monospace font in safari
2025-02-21 09:08:07 +00:00
Giordano Ricci
d624a676d8 Merge pull request #1449 from garden-co/gio/docs/anchors-headings
add anchor to headings in mdx components
2025-02-21 10:05:05 +01:00
Trisha Lim
06f2af465d Fix missing table of contents on upgrade guides 2025-02-21 13:33:54 +07:00
Trisha Lim
c7332f84b9 Fix monospace font in safari 2025-02-21 11:39:22 +07:00
Trisha Lim
68fdbfbe94 Clean up 2025-02-21 11:22:32 +07:00
Trisha Lim
e98d0e0c7f Match # size with heading text 2025-02-21 11:19:45 +07:00
Trisha Lim
7efe89df31 Spacing and sizing adjustments 2025-02-21 10:56:51 +07:00
Guido D'Orsi
2fb6428ea1 fix: improve subscribe behavoir on missing required and undeclared fields 2025-02-20 20:05:36 +01:00
Giordano Ricci
5a8f5d8bc2 add anchor to headings in mdx components 2025-02-20 17:46:53 +00:00
Guido D'Orsi
2cc9daab37 test: add unsubscribe test 2025-02-20 18:02:03 +01:00
Guido D'Orsi
e0276f42ee Merge pull request #1448 from garden-co/revert-1445-gio/docs/add-profile-migration-example
Revert "docs: enrich migration example with profile"
2025-02-20 17:17:49 +01:00
Guido D'Orsi
363be52022 Revert "docs: enrich migration example with profile" 2025-02-20 17:17:35 +01:00
Guido D'Orsi
1e87fc7772 feat: support external authenticators on passkey authentication 2025-02-20 17:01:03 +01:00
Giordano Ricci
03ec5d3ec8 Merge pull request #1445 from garden-co/gio/docs/add-profile-migration-example
docs: enrich migration example with profile
2025-02-20 16:43:27 +01:00
Giordano Ricci
5f272ff6ba docs: enrich migration example with profile 2025-02-20 15:15:25 +00:00
Guido D'Orsi
12392424dd feat(llms-txt): add the music player example code 2025-02-20 21:14:57 +07:00
Guido D'Orsi
58eb3c0a98 test: fix the cloudflare test code 2025-02-20 14:55:05 +01:00
Guido D'Orsi
adf965d53d test: increase the timeout to 10s on the cloudflare integration test 2025-02-20 14:48:10 +01:00
Guido D'Orsi
3baa951bb9 Merge pull request #1424 from garden-co/changeset-release/main
Version Packages
2025-02-20 14:46:21 +01:00
github-actions[bot]
b726e31669 Version Packages 2025-02-20 13:44:04 +00:00
Guido D'Orsi
63bb31e0ad Merge pull request #1431 from garden-co/auth-state-sync
fix: isAuthenticated out-of-sync with the account state
2025-02-20 14:42:07 +01:00
Guido D'Orsi
d059460abd Merge pull request #1414 from garden-co/fix/examples-auth
Remove log out button in form and image upload example
2025-02-20 14:32:12 +01:00
Guido D'Orsi
ba81951331 test: fix the mobile e2e tests 2025-02-20 14:22:21 +01:00
Guido D'Orsi
bd132bb9ad Merge pull request #1437 from garden-co/feat/enable-cmd-j-default
enable Cmd+J by default to launch inspector on dev
2025-02-20 14:10:31 +01:00
Benjamin S. Leveritt
1ee435ad95 Merge pull request #1439 from garden-co/feat/big-llms-txt
Make llms.txt more complete
2025-02-20 12:51:42 +00:00
Trisha Lim
07273f7ab8 Add jazz inspector docs 2025-02-20 19:17:06 +07:00
Guido D'Orsi
646ad330ae Merge pull request #1430 from garden-co/tests/cloudflare
test: add a cloudflare workers integration test
2025-02-20 13:06:58 +01:00
Guido D'Orsi
af8e6e3f82 chore: inline callbacks
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2025-02-20 13:05:05 +01:00
Guido D'Orsi
f247525dfe test: fix cloudflare tests on CI 2025-02-20 13:01:42 +01:00
Guido D'Orsi
012022db2b chore: changeset 2025-02-20 12:46:58 +01:00
Guido D'Orsi
da92891498 test: add cloudflare integration tests 2025-02-20 12:46:24 +01:00
Guido D'Orsi
b0c55720f8 feat: crypto option to provide PureJSCrypto on the runtimes where wasm is not supported 2025-02-20 12:45:59 +01:00
Trisha Lim
a3d825fc6f make llms.txt more complete 2025-02-20 18:34:01 +07:00
Guido D'Orsi
29ca2e6f65 update lockfile again 2025-02-20 12:07:29 +01:00
Guido D'Orsi
07a683c13d chore: remove cloudflare tests for compat issues with Vitest 3 2025-02-20 12:07:28 +01:00
Guido D'Orsi
e53f02d6d7 chore: update lockfile and format vitest config 2025-02-20 12:07:28 +01:00
Guido D'Orsi
4915bfa26d test: add a cloudflare workers integration test 2025-02-20 12:07:27 +01:00
Guido D'Orsi
af45aac5f2 feat: improve error logging on sync errors 2025-02-20 12:07:27 +01:00
Guido D'Orsi
1136d9b744 chore: changeset 2025-02-20 12:01:35 +01:00
Guido D'Orsi
92e78dc262 chore: clean up debug code 2025-02-20 11:54:57 +01:00
Trisha Lim
bf76d798c4 add changeset 2025-02-20 17:54:21 +07:00
Benjamin S. Leveritt
627f8c4c28 Merge pull request #1413 from garden-co/jazz-720-fix-jazz-crypto-rs-imports-for-nextjs
Bumps crypto version
2025-02-20 10:52:41 +00:00
Trisha Lim
a1e0410863 enable Cmd+J to launch inspector on dev 2025-02-20 17:52:41 +07:00
Guido D'Orsi
03897a2689 fix: clean up AuthSecretStorage notification management and fix the tests 2025-02-20 11:45:25 +01:00
Guido D'Orsi
823f546028 test: cover the logOut and authenticate updates with tests 2025-02-20 11:45:24 +01:00
Guido D'Orsi
9bc54d1939 chore: clean up the useCoState code 2025-02-20 11:45:24 +01:00
Guido D'Orsi
30780c05f0 fix: initial fix for logIn/logOut state sync 2025-02-20 11:45:24 +01:00
Guido D'Orsi
118b6294ac Merge pull request #1435 from garden-co/jazz-725-react-starter-profile-name-is-lost-on-signup
Fix wrong name field on form in starter app
2025-02-20 11:45:08 +01:00
Trisha Lim
6dc9b9d2ec Improve llms.txt documentation (#1436)
* Make download link to llms-full.txt more prominent

* add separate section for llms.txt convention
2025-02-20 17:41:38 +07:00
Benjamin S. Leveritt
ccbcee5102 Bumps crypto version 2025-02-20 10:41:31 +00:00
Giordano Ricci
0ae2067c3c Merge pull request #1403 from garden-co/gio/auth-fixes
fix: fixes clerk auth flow
2025-02-20 11:33:17 +01:00
Trisha Lim
2137938ead Fix wrong name field on form in starter app 2025-02-20 16:31:08 +07:00
Benjamin S. Leveritt
d14bb57ff5 Tweaks LLMs docs copy (#1423) 2025-02-20 11:17:19 +07:00
Giordano Ricci
3f42a4ddf9 add test 2025-02-19 15:25:02 +00:00
Giordano Ricci
0eed228170 add changeset 2025-02-19 14:32:48 +00:00
Giordano Ricci
a519537701 remove unused import 2025-02-19 13:52:14 +00:00
Giordano Ricci
43c79cac2a add simple test 2025-02-19 13:46:37 +00:00
Giordano Ricci
44dbaa00d4 revert wrong change 2025-02-19 12:12:01 +00:00
Giordano Ricci
a0df32e81a add types test 2025-02-19 12:08:42 +00:00
Giordano Ricci
236d8226d8 remove prevContext promise 2025-02-19 10:39:32 +00:00
Giordano Ricci
1220fa5d97 remove reset 2025-02-19 10:37:33 +00:00
Benjamin S. Leveritt
f3a5f83f25 Initializes the wasm module on creation 2025-02-19 10:36:29 +00:00
Benjamin S. Leveritt
a1bd6fc79b Bumps crypto version 2025-02-19 10:36:29 +00:00
Benjamin S. Leveritt
0f83320222 Chore: changeset 2025-02-19 10:36:29 +00:00
Benjamin S. Leveritt
a3c4067de3 Bumps crypto version 2025-02-19 10:36:29 +00:00
Benjamin S. Leveritt
3042627748 Merge pull request #1419 from garden-co/docs/llms
Add LLM page to docs
2025-02-19 10:18:44 +00:00
Guido D'Orsi
8cea1e96cf Merge pull request #1418 from garden-co/fix/idb-transactions
fix: improve the rollback on failure when handling new content in storage
2025-02-19 11:12:25 +01:00
Trisha Lim
64bb9ba90e Fix typo 2025-02-19 10:04:26 +00:00
Trisha Lim
f136dfe39b Update docs intro LLM section 2025-02-19 10:04:26 +00:00
Trisha Lim
b32ae6240c Use llms-full.txt, add chatgpt screenshot 2025-02-19 10:04:26 +00:00
Trisha Lim
fc4a89f77f Add llms section to docs 2025-02-19 10:04:26 +00:00
Guido D'Orsi
7a6f8db509 Merge pull request #1420 from garden-co/mini-inspector-improvements
[inspector] Add global search and json viewer
2025-02-19 10:42:28 +01:00
Guido D'Orsi
086b9af565 Merge pull request #1422 from garden-co/jazz-723-docs-intro-broken-links
Fix missing framework param in docs links
2025-02-19 08:56:12 +01:00
Trisha Lim
5e95d8b76e Refactor useFramework 2025-02-19 14:25:11 +07:00
Trisha Lim
47e0b68c2e Fix missing framework param in docs links 2025-02-19 14:22:04 +07:00
Giordano Ricci
5cc58c8e02 whoopsie 2025-02-18 22:40:01 +00:00
Giordano Ricci
9df644c578 fix 2025-02-18 22:35:35 +00:00
Tobias Lins
a20e430e7f Add global search and json viewer 2025-02-18 22:15:54 +01:00
Guido D'Orsi
1e625f3c12 chore: changeset 2025-02-18 18:14:39 +01:00
Guido D'Orsi
8b3686c7ce feat: use the uniqueSessions index to get the single coValue session 2025-02-18 18:12:47 +01:00
Guido D'Orsi
bce04ee06d chore: restore the transactions autobatching 2025-02-18 18:05:53 +01:00
Guido D'Orsi
f2e9115f4c fix: improve transactions management on IDB 2025-02-18 17:51:32 +01:00
Giordano Ricci
6854f9930c wip: fix clerk auth flow 2025-02-18 16:47:49 +00:00
Guido D'Orsi
ee0897d9a8 fix: improve the rollback on failure when handling new content in storage 2025-02-18 14:42:29 +01:00
Trisha Lim
243ab074eb Remove non-functional nav from image upload example 2025-02-18 20:21:55 +07:00
Trisha Lim
385659b243 Link to garden from footer 2025-02-18 18:32:43 +07:00
Trisha Lim
938f9256db Remove non-functional nav from form example 2025-02-18 15:31:53 +07:00
Anselm
88521721bf unpizzazz 😔 2025-02-17 20:35:01 +00:00
Guido D'Orsi
2701630582 Merge pull request #1385 from boorad/fix/rn-polyfills
fix: reduce RN polyfills
2025-02-17 18:50:22 +01:00
Guido D'Orsi
07ce619fa2 Merge pull request #1411 from garden-co/jazz-719-exclued-tsbuildinfo-files
Removes tsbuildinfo files from repo
2025-02-17 18:44:22 +01:00
Guido D'Orsi
895de1a470 Merge pull request #1372 from garden-co/jazz-705-rename-e2e-test-scripts
Jazz 705 rename e2e test scripts
2025-02-17 18:43:59 +01:00
Benjamin S. Leveritt
4450761a7b Removes tsbuildinfo files from repo 2025-02-17 17:14:02 +00:00
Benjamin S. Leveritt
08b3d65c0b Removes onboarding app 2025-02-17 17:08:28 +00:00
Benjamin S. Leveritt
5dac731f26 Gitignore test failure screenshots 2025-02-17 17:06:56 +00:00
Benjamin S. Leveritt
e99308cda2 Revert vite test workspace
...for now...
2025-02-17 17:05:10 +00:00
Guido D'Orsi
88e314d980 Merge pull request #1400 from garden-co/changeset-release/main
Version Packages
2025-02-17 18:00:56 +01:00
github-actions[bot]
62e0e5d721 Version Packages 2025-02-17 16:35:06 +00:00
Guido D'Orsi
aa16ad9c1c Merge pull request #1408 from garden-co/fix/clerk-auth-migration
fix: fixes the clerk credentials migration
2025-02-17 17:33:15 +01:00
Guido D'Orsi
ada802bff8 fix: fixes the clerk credentials migration 2025-02-17 17:16:19 +01:00
Benjamin S. Leveritt
44e1d140ca Builds dependencies for tests (rather than the package; read: faster) 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
e0ef3fc1de Removes browser-integration from vite workspace
Vite treats it as a src package, and that breaks turbo's test task resolution (running tests at the root level). Vitest doesn't need it to be there to run the tests.
2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
a31ac66213 Fixes headless run of browser-integration tests 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
b444b2e96a Renames e2e tests to separate from test task 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
8fcc4b5e50 Runs turbo tests as in CI (ie. no watching) 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
33bfbee9cf Removes unused test command 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
d08e4e263b Fixes project jazz-auth-clerk name for tests 2025-02-17 15:39:05 +00:00
Benjamin S. Leveritt
471b8c6a15 Merge pull request #1405 from garden-co/jazz-716-fix-turbo-caching-of-llm-content
Adds llms.txt to turbo build output cache
2025-02-17 15:18:11 +00:00
Benjamin S. Leveritt
7dd080d907 Merge pull request #1401 from garden-co/jazz-714-add-turbo-to-nix-dev-environment
Updates flake, adds turbo dep
2025-02-17 15:07:44 +00:00
Benjamin S. Leveritt
69c81a3e90 Adds llms.txt to turbo build output cache 2025-02-17 15:06:53 +00:00
Benjamin S. Leveritt
d8ed987461 Merge pull request #1406 from garden-co/fix/missing-icon
Fix missing icon
2025-02-17 15:06:39 +00:00
Trisha Lim
beb45c2656 Fix missing icon 2025-02-17 15:06:11 +00:00
Brad Anderson
e6241dfb5a fix: reduce RN polyfills 2025-02-17 09:39:01 -05:00
Guido D'Orsi
1d71ca1511 feat: add React 19 to the peerDependencies 2025-02-17 15:32:04 +01:00
Benjamin S. Leveritt
65941c7f87 Updates flake, adds turbo dep 2025-02-17 12:07:23 +00:00
Guido D'Orsi
a37dc1c22f test: cover another case on existing account migrations 2025-02-17 13:01:59 +01:00
Benjamin S. Leveritt
774f232390 Merge pull request #1307 from garden-co/jazz-679-create-crypto-rust-crate
Jazz 679 Use jazz-crypto-rs
2025-02-17 12:00:46 +00:00
Benjamin S. Leveritt
12c19fc940 Merge pull request #1396 from garden-co/jazz-713-fix-llms-fulltxt-content
Fixes llms-full.txt, adds sanity tests
2025-02-17 11:56:29 +00:00
Guido D'Orsi
f0ae3ace13 Merge pull request #1398 from garden-co/changeset-release/main
Version Packages
2025-02-17 12:45:07 +01:00
github-actions[bot]
cc973137b7 Version Packages 2025-02-17 11:43:44 +00:00
Guido D'Orsi
7fff0e0b36 Merge pull request #1397 from garden-co/fix/existing-account-migration
fix: correct the account migration execution on existing accounts
2025-02-17 12:42:14 +01:00
Guido D'Orsi
6909357f64 test: cover existing account migration with a test on jazz-tools 2025-02-17 12:41:58 +01:00
Guido D'Orsi
59ff77e0dc fix: correct the account migration execution on existing accounts 2025-02-17 12:27:05 +01:00
Benjamin S. Leveritt
338f5421f4 Adds test task 2025-02-17 11:26:38 +00:00
Benjamin S. Leveritt
a7590d14d6 Merge pull request #1392 from garden-co/jazz-712-delete-hr-onboarding-example
Delete HR Onboarding example
2025-02-17 11:12:52 +00:00
Benjamin S. Leveritt
e0daca300b Fixes llms-full.txt, adds sanity tests 2025-02-17 11:07:16 +00:00
Guido D'Orsi
a5347b613b Merge pull request #1358 from garden-co/fix/dropdown-alignment
Alignment fixes
2025-02-17 10:51:45 +01:00
Guido D'Orsi
9de58bb098 Merge pull request #1387 from garden-co/jazz-510-indicate-activevisible-items-on-table-of-contents
Highlight table of contents active item, styling for side nav active item
2025-02-17 10:49:53 +01:00
Trisha Lim
de1be9ac18 Delete HR Onboarding example 2025-02-17 15:05:58 +07:00
Trisha Lim
43df7f2b48 Fix chat demo section alignment 2025-02-17 11:30:50 +07:00
Trisha Lim
5f4f70d06d Fix side nav error 2025-02-17 11:26:29 +07:00
Trisha Lim
a9aa61c2c0 Set max width on docs body 2025-02-17 11:13:47 +07:00
Trisha Lim
bc0d2fcd23 Use code group in jazz-run command code snippet 2025-02-17 11:06:46 +07:00
Trisha Lim
f5675c49a2 Fix horizontal overflow in docs on mobile 2025-02-17 11:03:01 +07:00
Trisha Lim
da13e9cf7c Dropdown adjustments 2025-02-17 11:02:46 +07:00
Trisha Lim
ab2546ca71 Fix copy button alignment 2025-02-17 11:02:46 +07:00
Trisha Lim
43c36a8c20 Fix dropdown alignment 2025-02-17 11:02:46 +07:00
Trisha Lim
24ad5f42b5 Indicate that examples is outside docs 2025-02-17 10:46:52 +07:00
Trisha Lim
c620d9c87c Make active nav item styling more prominent 2025-02-17 10:38:13 +07:00
Trisha Lim
59121a1f52 Styling for active item on docs side nav 2025-02-17 10:32:51 +07:00
Trisha Lim
f766de8d9e Indicate active/visible items on table of contents 2025-02-17 09:55:52 +07:00
Trisha Lim
eb8621550a Increase space between content and main nav 2025-02-17 09:53:09 +07:00
Trisha Lim
5d28413648 Increase space between side bars and content 2025-02-17 09:53:09 +07:00
Trisha Lim
d0ed7177a3 Reduce font size on headings 2025-02-17 09:53:09 +07:00
Guido D'Orsi
091d753ab4 Merge pull request #1362 from garden-co/fix/missing-focus-styles
Add global focus styles
2025-02-16 11:32:22 +01:00
Guido D'Orsi
87f917d297 Merge pull request #1386 from antoniel/tony/fix-contributing-md
tony/fix-contributing-md
2025-02-16 06:30:17 +01:00
Guido D'Orsi
88acea362a Merge pull request #1382 from boorad/fix/crypto-provider
fix: Add back ability to use different crypto providers for RN
2025-02-16 06:28:38 +01:00
antoniel
0107f4939d docs: update CONTRIBUTING.md with homepage and build steps 2025-02-15 15:49:15 -03:00
Brad Anderson
f468b89994 fix: Add back ability to use different crypto providers for RN 2025-02-15 10:55:55 -05:00
Guido D'Orsi
617ea91a13 Merge pull request #1384 from garden-co/changeset-release/main
Version Packages
2025-02-15 01:23:35 +01:00
github-actions[bot]
b0ef1259ae Version Packages 2025-02-15 00:23:03 +00:00
Guido D'Orsi
a0ba4f235f Merge pull request #1383 from garden-co/revert-queue-changes
Revert queue changes
2025-02-15 01:21:37 +01:00
Guido D'Orsi
e197900fc5 test: remove isNotEmpty reference 2025-02-15 01:19:00 +01:00
Guido D'Orsi
1af6072299 chore: changeset 2025-02-15 01:12:35 +01:00
Guido D'Orsi
510e8874e1 Revert "perf: optimize queue processing under heavy load"
This reverts commit b90393b43e.
2025-02-15 01:11:02 +01:00
Anselm Eickhoff
ed7ee85304 Merge pull request #1381 from jmsv/extremely-important-fix
upgrade @unicorn-poo/pizzazz to fix scroll offset
2025-02-14 16:45:48 +00:00
James Vickery
ac726421d2 extremely important fix 2025-02-14 16:33:26 +00:00
Anselm
585b22941e pizzazz 2025-02-14 10:54:19 +00:00
Benjamin S. Leveritt
1f5d073035 Update homepage/homepage/app/(docs)/docs/[framework]/[...slug]/upgrade/0-11-0.mdx
Co-authored-by: Guido D'Orsi <guido@float.com>
2025-02-13 17:34:20 +00:00
Benjamin S. Leveritt
a3b607e799 Update homepage/homepage/app/(docs)/docs/[framework]/[...slug]/upgrade/0-11-0.mdx
Co-authored-by: Guido D'Orsi <guido@float.com>
2025-02-13 17:34:06 +00:00
Benjamin S. Leveritt
8fb93502af Update homepage/homepage/app/(docs)/docs/[framework]/[...slug]/upgrade/0-11-0.mdx
Co-authored-by: Guido D'Orsi <guido@float.com>
2025-02-13 17:33:49 +00:00
Benjamin S. Leveritt
36774122e0 Updates react guide for new resolve API
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-13 16:08:52 +00:00
Benjamin S. Leveritt
a6923128c1 Adds upgrade guide
Signed-off-by: Benjamin S. Leveritt <benjamin@leveritt.co.uk>
2025-02-13 15:56:11 +00:00
Guido D'Orsi
5d557a830a Merge pull request #1368 from garden-co/changeset-release/main
Version Packages
2025-02-13 12:06:41 +01:00
github-actions[bot]
f0188df13b Version Packages 2025-02-13 11:06:09 +00:00
Guido D'Orsi
4c8ce0a24f Merge pull request #1376 from garden-co/create-jazz-app-cleanup
Remove redundant passkey auth starter in create-jazz-app
2025-02-13 12:04:47 +01:00
Trisha Lim
8645f8ce86 Update help text 2025-02-13 17:54:04 +07:00
Trisha Lim
d01d467136 Change name of react native clerk starter 2025-02-13 17:39:50 +07:00
Trisha Lim
ad4fcbafa4 Add changeset 2025-02-13 17:38:14 +07:00
Trisha Lim
05c51d5a85 Rephrase starter prompt 2025-02-13 17:34:56 +07:00
Trisha Lim
ab20a81751 Rename react starter app to react-passkey-auth 2025-02-13 17:32:39 +07:00
Trisha Lim
adad802ceb Rename starters 2025-02-13 16:16:24 +07:00
Trisha Lim
32b1cc9dab Remove gradient text 2025-02-13 16:15:09 +07:00
Guido D'Orsi
706ca62feb Merge pull request #1363 from garden-co/unauthorized-deep-loading
fix: check CoValue permissions when loading/subscribing
2025-02-13 09:55:16 +01:00
Guido D'Orsi
5c236e5c3c Merge pull request #1371 from garden-co/jazz-706-fix-organization-example-build
Jazz 706 fix organization example build
2025-02-13 09:52:29 +01:00
Guido D'Orsi
01523dcca3 fix: check CoValue permissions when loading/subscribing 2025-02-13 09:19:19 +01:00
Guido D'Orsi
77f039b561 Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-02-13 09:18:47 +01:00
Guido D'Orsi
7616d5789b chore(ci): trigger the React Native e2e tests when packages are changed 2025-02-13 09:17:29 +01:00
Guido D'Orsi
631486e235 Merge pull request #1364 from boorad/feat/move-e2e-to-android
feat: move E2E tests to Android
2025-02-13 09:15:15 +01:00
Guido D'Orsi
5e0d63a4d6 docs: fix broken links in the upgrade page 2025-02-13 08:37:54 +01:00
Benjamin S. Leveritt
ba988cbb90 Removes tsc builds of config files 2025-02-12 22:59:42 +00:00
Benjamin S. Leveritt
6f6800bcd8 Adds aliases for vite to build 2025-02-12 22:59:03 +00:00
Benjamin S. Leveritt
90290902e8 Merge pull request #1365 from garden-co/jazz-675-explicitly-assigning-undefined-to-a-cooptionaldate-on-create
Jazz 675 explicitly assigning undefined to a cooptionaldate on create
2025-02-12 21:50:09 +00:00
Benjamin S. Leveritt
d8582fc9ed Adds changeset 2025-02-12 21:49:01 +00:00
Benjamin S. Leveritt
5c76e37f14 Adds changeset 2025-02-12 21:35:05 +00:00
Benjamin S. Leveritt
0117d0c9b9 Bumps jazz-crypto version 2025-02-12 21:21:34 +00:00
Benjamin S. Leveritt
b90c766c05 Cleans up WasmCrypto.create 2025-02-12 21:21:13 +00:00
Benjamin S. Leveritt
262a36e456 Bumps dep 2025-02-12 20:20:27 +00:00
Benjamin S. Leveritt
cb1df65beb Refactors to use stateful Blake3Hasher 2025-02-12 20:20:26 +00:00
Benjamin S. Leveritt
ea91e63ff2 Bumps jazz-crypto-rs version 2025-02-12 20:20:26 +00:00
Benjamin S. Leveritt
8eae2eb31e Fixes test 2025-02-12 20:20:26 +00:00
Benjamin S. Leveritt
c9044f5123 Adds npm dep 2025-02-12 20:20:26 +00:00
Benjamin S. Leveritt
24340173fa Picks up that can
#riseandshinemrfreeman
2025-02-12 20:19:48 +00:00
Benjamin S. Leveritt
53e88993a0 Moves jazz-crypto-rs into own repo 2025-02-12 20:18:47 +00:00
Benjamin S. Leveritt
ece168878b Use external dep 2025-02-12 20:18:47 +00:00
Benjamin S. Leveritt
cad84db52b Adds comments 2025-02-12 20:18:47 +00:00
Benjamin S. Leveritt
342a385111 Simplifies build process 2025-02-12 20:18:47 +00:00
Benjamin S. Leveritt
f87ba7d927 Fixes seal port 2025-02-12 20:18:47 +00:00
Benjamin S. Leveritt
7c7f55b85c Ports high-level encrypt and decrypt fns 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
0e5b9f5292 Fixes unused lint 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
2f5af3dece Ports get_sealer_id 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
2c35e2ba85 Ports signing fns 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
0a4f79d5a4 Adds wasm-pack via pnpm 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
43cb7abba7 Exclude target output from formatter 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
25f76f6b02 Updates README 2025-02-12 20:18:46 +00:00
Benjamin S. Leveritt
6a56561c98 Refactor into modules 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
2ac31e7c51 Removes unused berith dep 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
1bbefab5a9 Ports final ed25519 fns 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
1143b32cf3 Remove generateNonce from crypto, as only used by PureJS class 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
51ada27810 Refactors to pass nonceMaterial to reduce wasm boundary crossing 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
954ecb3984 Ports xsalsa20 encrypt/decrypt fns to Rust 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
05089270d9 Refactors to pass nonceMaterial, rather than nonces 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
fecc81111a Ports seal/unseal to rs lib 2025-02-12 20:18:45 +00:00
Benjamin S. Leveritt
4d3e7dbcd5 Adds X25519 fns 2025-02-12 20:18:44 +00:00
Benjamin S. Leveritt
ee65f18fd9 Add note about rust-analyzer 2025-02-12 20:18:44 +00:00
Benjamin S. Leveritt
bcbc4636ed Moves randomBytes up into crypto class to remove duplication 2025-02-12 20:18:44 +00:00
Benjamin S. Leveritt
8c323c4513 Fixes type 2025-02-12 20:18:44 +00:00
Benjamin S. Leveritt
4103ea0c88 Removes hash-wasm dep 2025-02-12 20:18:44 +00:00
Brad Anderson
58905ae8f4 feat: move E2E tests to Android 2025-02-12 15:16:44 -05:00
Benjamin S. Leveritt
733ebec902 Ports more Blake3 functions 2025-02-12 19:50:23 +00:00
Benjamin S. Leveritt
10a3834668 Ports blake3_hash with context 2025-02-12 19:50:23 +00:00
Benjamin S. Leveritt
593c3aeb6e Port blake3_hash_once 2025-02-12 19:50:23 +00:00
Benjamin S. Leveritt
a55d71c28d Fixes exported fn for node 2025-02-12 19:49:53 +00:00
Benjamin S. Leveritt
c030c7a57e Adds isomorphic generate_nonce function to rs lib 2025-02-12 19:49:53 +00:00
Benjamin S. Leveritt
e5b4c0448a Refactor into nonceGeneration 2025-02-12 19:49:53 +00:00
Benjamin S. Leveritt
0d516a3c6a Adds a test for unsealed error 2025-02-12 19:49:53 +00:00
Benjamin S. Leveritt
271ff3eb40 Adds comments to crypto libs 2025-02-12 19:49:53 +00:00
Benjamin S. Leveritt
dcc836ff98 Imports jazz-crypto-rs into cojson 2025-02-12 19:49:53 +00:00
Guido D'Orsi
65f630fb44 Merge pull request #1367 from garden-co/changeset-release/main
Version Packages
2025-02-12 20:26:56 +01:00
github-actions[bot]
b68f85542b Version Packages 2025-02-12 18:32:59 +00:00
Guido D'Orsi
f122a9f938 Merge pull request #1366 from garden-co/fix-metro-config
fix: correctly setup the metro config on React Native templates
2025-02-12 19:31:50 +01:00
Benjamin S. Leveritt
22da4ea136 Add jazz-crypto-rs lib 2025-02-12 18:27:21 +00:00
Benjamin S. Leveritt
80e86c92b2 Add rust tools to nix dev environment 2025-02-12 18:27:21 +00:00
Benjamin S. Leveritt
e15d994df6 Adds OptionalDate encoding 2025-02-12 18:23:20 +00:00
Guido D'Orsi
48ac92bc67 fix: correctly setup the metro config on React Native templates 2025-02-12 19:22:23 +01:00
Benjamin S. Leveritt
226b1171e6 Adds check for undefined to co.optional.Date 2025-02-12 18:09:15 +00:00
Benjamin S. Leveritt
29228e21fe Adds optional date test 2025-02-12 18:08:56 +00:00
Trisha Lim
302a1e6660 Add global focus styles 2025-02-12 20:23:56 +07:00
Trisha Lim
d3603625fd Fix copy password button 2025-02-12 19:43:20 +07:00
Trisha Lim
fa94d8c171 Show button on mobile 2025-02-12 19:43:20 +07:00
Trisha Lim
aeb094baa1 Add "use as template" button to examples 2025-02-12 19:43:20 +07:00
Guido D'Orsi
18f3497397 Merge pull request #1361 from garden-co/changeset-release/main
Version Packages
2025-02-12 12:55:19 +01:00
github-actions[bot]
8be7158d1f Version Packages 2025-02-12 11:52:07 +00:00
Guido D'Orsi
cae3a9ee32 feat: add debug info to load failure end missing header errors 2025-02-12 12:50:29 +01:00
Guido D'Orsi
6260045140 docs: small improvement on the upgrade guide 2025-02-12 11:57:00 +01:00
Guido D'Orsi
466d79d9a6 docs: fix missing enclosing div 2025-02-12 11:47:46 +01:00
Guido D'Orsi
d661ba77be chore: improve pre-release comment output 2025-02-12 11:32:05 +01:00
Guido D'Orsi
f8fbc59b6f Merge remote-tracking branch 'origin/main' into jazz-581-rfc-new-deep-loading-api 2025-02-11 16:26:12 +01:00
Guido D'Orsi
cce0d22007 fix: update resolve property 2025-02-11 15:15:44 +01:00
Guido D'Orsi
e3ff76e9cb Merge remote-tracking branch 'origin/authv2' into jazz-581-rfc-new-deep-loading-api 2025-02-11 15:12:51 +01:00
Guido D'Orsi
4cbf71bff7 Merge pull request #1338 from garden-co/new-deep-loading-extra-props-fix
fix: disallow extra props in the resolve type
2025-02-11 14:38:43 +01:00
Guido D'Orsi
ceb060243a fix: disallow extra props in the resolve type 2025-02-10 20:04:32 +01:00
Anselm
a70bebb96a Clean up new deep-loading API 2025-01-29 14:39:16 +00:00
Anselm
b3b2507c35 Merge branch 'main' into jazz-581-rfc-new-deep-loading-api 2025-01-27 11:36:08 +00:00
Anselm
65336464fc Simplified 2025-01-07 14:22:22 +00:00
Anselm
a628f5cc97 Even simpler pricing 2025-01-06 16:23:05 +00:00
Anselm
6a8fa16b49 Fix form and chat-rn-clerk examples 2024-12-16 15:56:48 +00:00
Anselm
1f08807701 Merge branch 'main' into jazz-581-rfc-new-deep-loading-api 2024-12-16 15:37:39 +00:00
Anselm
ba4a7f6170 Remove temp vite config 2024-12-16 15:35:06 +00:00
Anselm
a2854e3602 Upgrade to minor version change 2024-12-16 11:25:00 +00:00
Anselm
4ea87dc494 Add changeset 2024-12-16 10:55:51 +00:00
Anselm
d8c87c5314 Use $each instead of each 2024-12-16 10:54:25 +00:00
Anselm
46f624a12e Replace 'items' with 'each' 2024-12-13 16:28:40 +00:00
Anselm
86ce770f38 Implement clearer syntax for deep loading 2024-12-13 15:12:42 +00:00
1201 changed files with 72198 additions and 23626 deletions

View File

@@ -13,11 +13,14 @@
"jazz-browser",
"jazz-auth-clerk",
"jazz-browser-media-images",
"jazz-expo",
"jazz-inspector",
"jazz-nodejs",
"jazz-react",
"jazz-react-core",
"jazz-react-auth-clerk",
"jazz-react-native-core",
"jazz-react-native",
"jazz-react-native-auth-clerk",
"jazz-react-native-media-images",
"jazz-run",
"jazz-svelte",

View File

@@ -0,0 +1,39 @@
name: Setup Android Emulator
inputs:
api-level:
description: 'API level to use for the emulator'
required: true
default: '29'
runs:
using: "composite"
steps:
- name: Enable KVM
shell: bash
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Gradle cache
uses: gradle/actions/setup-gradle@v4
- name: AVD cache
uses: useblacksmith/cache@v5
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ inputs.api-level }}
- name: Create AVD and Generate Snapshot for Caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ inputs.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
disable-animations: false
script: echo "Generated AVD snapshot for caching."

View File

@@ -19,7 +19,6 @@ jobs:
"pets",
"reactions",
"todo",
"onboarding",
]
steps:

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
matrix:
starter: ["react-demo-auth-tailwind"]
starter: ["react-passkey-auth"]
steps:
- uses: actions/checkout@v4

View File

@@ -15,4 +15,7 @@ jobs:
with:
version: latest
- name: Run Biome
run: biome ci .
run: biome ci .
- name: Check Catalog Dependencies
run: node scripts/check-catalog-deps.js

View File

@@ -4,14 +4,15 @@ on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- ".github/actions/android-emulator/**"
- ".github/actions/source-code/**"
- ".github/workflows/e2e-rn-test.yml"
- "examples/chat-rn/**"
- "examples/chat-rn-clerk/**"
- "packages/jazz-react-native*/**"
- "examples/chat-rn-expo/**"
- "packages/**"
jobs:
e2e-tests:
runs-on: macos-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
steps:
- name: Checkout
@@ -24,55 +25,47 @@ jobs:
run: |
mkdir -p ~/output
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 22
cache: gradle
- name: Pnpm Build
run: pnpm turbo build --filter="./packages/*"
- name: iOS Simulator
id: ios-simulator
uses: futureware-tech/simulator-action@v4
with:
os: iOS
wait_for_boot: true
- name: chat-rn App Pre Build
working-directory: ./examples/chat-rn
- name: chat-rn-expo App Pre Build
working-directory: ./examples/chat-rn-expo
run: |
pnpm build
pnpm expo prebuild --clean
- name: chat-rn App Build
working-directory: ./examples/chat-rn/ios
run: |
xcodebuild -scheme "jazzchatrn" \
-workspace jazzchatrn.xcworkspace \
-archivePath $RUNNER_TEMP/jazzchatrn.xcarchive \
-derivedDataPath $RUNNER_TEMP/build \
-destination "id=${{ steps.ios-simulator.outputs.udid }}" \
-configuration Release \
-sdk iphonesimulator \
build
xcrun simctl install booted $RUNNER_TEMP/build/Build/Products/Release-iphonesimulator/jazzchatrn.app
xcrun simctl spawn booted log stream --level debug | tee ~/output/sim.log &
- name: Install Maestro
run: |
curl -fsSL "https://get.maestro.mobile.dev" | bash
- name: chat-rn App Test
id: e2e_test
working-directory: ./examples/chat-rn
continue-on-error: true
run: |
export PATH="$PATH":"$HOME/.maestro/bin"
export MAESTRO_DRIVER_STARTUP_TIMEOUT=300000 # setting to 5 mins 👀
export MAESTRO_CLI_NO_ANALYTICS=1
maestro test test/e2e/flow.yml
- name: Setup Android Emulator
id: android-emulator
uses: ./.github/actions/android-emulator/
with:
api-level: 29
- name: Copy Maestro and Diagnostic Files
- name: Test App
uses: reactivecircus/android-emulator-runner@v2
id: e2e_test
continue-on-error: true
with:
api-level: 29
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
disable-animations: true
working-directory: ./examples/chat-rn-expo/
script: ./test/e2e/run.sh
- name: Copy Maestro Output
if: steps.e2e_test.outcome != 'success'
run: |
cp -r ~/Library/Logs/DiagnosticReports/* ~/output
cp -r ~/.maestro/tests/* ~/output
- name: Upload Output Files

View File

@@ -13,7 +13,7 @@ jobs:
continue-on-error: true
strategy:
matrix:
project: ["tests/e2e", "examples/chat", "examples/file-share-svelte", "examples/form", "examples/music-player", "examples/pets", "examples/onboarding", "starters/react-demo-auth-tailwind"]
project: ["tests/e2e", "examples/chat", "examples/clerk", "examples/file-share-svelte", "examples/form", "examples/music-player", "examples/pets", "starters/react-passkey-auth"]
steps:
- uses: actions/checkout@v4

View File

@@ -1,7 +1,7 @@
name: Pre-Publish tagged Pull Requests
on:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, synchronize, reopened, labeled]
jobs:
pre-release:
@@ -99,4 +99,4 @@ jobs:
);
await logPublishInfo();
}
}
}

View File

@@ -25,6 +25,9 @@ jobs:
- name: Setup Source Code
uses: ./.github/actions/source-code/
- name: Build packages
run: pnpm exec turbo run build --filter='./packages/*'
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1

12
.gitignore vendored
View File

@@ -7,17 +7,25 @@ docsTmp
coverage
.direnv
# Typescript
**/*.tsbuildinfo
# Next.js
**/.next
# Vite output
**/dist
__screenshots__
# Playwright
test-results
.husky
.vscode/settings.json
.vscode/*
.idea/*
.svelte-kit
.svelte-kit
.cursorrules
.windsurfrules

View File

@@ -36,7 +36,7 @@ We welcome all ideas! If you have suggestions, feel free to open an issue marked
### 5. Local Setup
You'll need Node.js 20.x or 22.x installed (we're working on support for 23.x), and pnpm 9.x installed. If you're using nix, run `nix develop` to get a shell with the correct versions of everything installed.
You'll need Node.js 22.x installed (we're working on support for 23.x), and pnpm 9.x installed. If you're using nix, run `nix develop` to get a shell with the correct versions of everything installed.
1. **Clone the repository**:
```bash
@@ -48,7 +48,25 @@ You'll need Node.js 20.x or 22.x installed (we're working on support for 23.x),
pnpm install
```
3. **Run tests** to verify everything is working:
3. **Install homepage dependencies**:
```bash
cd homepage && pnpm install
```
4. **Go back to the project root**:
```bash
cd ..
```
4. **Build the packages**:
```bash
pnpm build
```
5. **Run tests** to verify everything is working:
```bash
pnpm test
```

View File

@@ -12,7 +12,10 @@
"**/ios/**",
"**/android/**",
"packages/jazz-svelte/**",
"examples/*svelte*/**"
"examples/*svelte*/**",
"examples/jazz-paper-scissors/src/routeTree.gen.ts",
"homepage/homepage/**",
"**/package.json"
]
},
"formatter": {
@@ -42,15 +45,6 @@
}
},
"overrides": [
{
"include": ["**/package.json"],
"linter": {
"enabled": false
},
"formatter": {
"enabled": false
}
},
{
"include": ["packages/**/src/**"],
"linter": {
@@ -61,21 +55,24 @@
}
},
{
"include": ["packages/**/src/tests/**", "packages/**/src/test/**"],
"include": ["packages/cojson-storage*/**", "cojson-transport-ws/**"],
"linter": {
"enabled": true,
"rules": {
"correctness": {
"useImportExtensions": "off"
}
"recommended": true
}
}
},
{
"include": ["packages/cojson-storage-indexeddb/**"],
"include": ["packages/**/src/tests/**"],
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"useImportExtensions": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "info"
}

View File

@@ -1,44 +0,0 @@
import "../global.css";
import { ClerkLoaded, ClerkProvider } from "@clerk/clerk-expo";
import { useFonts } from "expo-font";
import { Slot } from "expo-router";
import * as SplashScreen from "expo-splash-screen";
import React, { useEffect } from "react";
import { tokenCache } from "../cache";
import { JazzAndAuth } from "../src/auth-context";
SplashScreen.preventAutoHideAsync();
export default function RootLayout() {
const [loaded] = useFonts({
SpaceMono: require("../assets/fonts/SpaceMono-Regular.ttf"),
});
useEffect(() => {
if (loaded) {
SplashScreen.hideAsync();
}
}, [loaded]);
if (!loaded) {
return null;
}
const publishableKey = process.env.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY;
if (!publishableKey) {
throw new Error(
"Missing Publishable Key. Please set EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY in your .env",
);
}
return (
<ClerkProvider tokenCache={tokenCache} publishableKey={publishableKey}>
<ClerkLoaded>
<JazzAndAuth>
<Slot />
</JazzAndAuth>
</ClerkLoaded>
</ClerkProvider>
);
}

View File

@@ -1,79 +0,0 @@
{
"name": "chat-rn-clerk",
"main": "index.js",
"version": "1.0.66",
"scripts": {
"build": "expo export -p ios",
"start": "expo start",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "jest --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@bam.tech/react-native-image-resizer": "^3.0.11",
"@clerk/clerk-expo": "^2.2.21",
"@expo/vector-icons": "^14.0.2",
"@op-engineering/op-sqlite": "^11.2.12",
"@react-native-community/netinfo": "^11.4.1",
"@react-navigation/native": "^7.0.13",
"@react-navigation/native-stack": "^7.1.14",
"base-64": "^1.0.0",
"buffer": "^6.0.3",
"clsx": "^2.0.0",
"expo": "^52.0.0",
"expo-build-properties": "~0.13.1",
"expo-clipboard": "~7.0.0",
"expo-constants": "~17.0.3",
"expo-crypto": "~14.0.1",
"expo-dev-client": "~5.0.5",
"expo-file-system": "^18.0.4",
"expo-font": "~13.0.1",
"expo-image-picker": "~16.0.4",
"expo-linking": "~7.0.3",
"expo-router": "~4.0.11",
"expo-secure-store": "~14.0.0",
"expo-splash-screen": "~0.29.16",
"expo-status-bar": "~2.0.0",
"expo-system-ui": "~4.0.5",
"expo-web-browser": "~14.0.1",
"jazz-react-native": "workspace:*",
"jazz-react-native-auth-clerk": "workspace:*",
"jazz-react-native-media-images": "workspace:*",
"jazz-tools": "workspace:*",
"nativewind": "^4.1.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "~0.76.3",
"react-native-fetch-api": "^3.0.0",
"react-native-gesture-handler": "~2.20.2",
"react-native-get-random-values": "^1.11.0",
"react-native-polyfill-globals": "^3.1.0",
"react-native-quick-base64": "^2.1.2",
"react-native-reanimated": "~3.16.3",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "4.1.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-web": "~0.19.13",
"text-encoding": "^0.7.0",
"web-streams-polyfill": "^3.2.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/jest": "^29.5.3",
"@types/react": "^18.3.12",
"@types/react-test-renderer": "^18.0.7",
"jest": "^29.2.1",
"jest-expo": "~52.0.2",
"react-test-renderer": "18.2.0",
"tailwindcss": "^3.4.17",
"typescript": "~5.6.2"
},
"private": true
}

View File

@@ -1,8 +0,0 @@
import "react-native-polyfill-globals/auto";
import "@azure/core-asynciterator-polyfill";
import { Buffer } from "buffer";
import { polyfillGlobal } from "react-native/Libraries/Utilities/PolyfillFunctions";
import { ReadableStream } from "web-streams-polyfill/ponyfill/es6";
polyfillGlobal("Buffer", () => Buffer);
polyfillGlobal("ReadableStream", () => ReadableStream);

View File

@@ -1 +0,0 @@
export const apiKey = "chat-rn-clerk-example-jazz@garden.co";

View File

@@ -1,4 +1,381 @@
# chat-rn-clerk
# chat-rn-expo-clerk
## 1.0.106
### Patch Changes
- Updated dependencies [bd94012]
- jazz-expo@0.13.14
- jazz-tools@0.13.14
- jazz-react-native-media-images@0.13.14
## 1.0.105
### Patch Changes
- jazz-expo@0.13.13
- jazz-tools@0.13.13
- jazz-react-native-media-images@0.13.13
## 1.0.104
### Patch Changes
- Updated dependencies [4547525]
- jazz-tools@0.13.12
- jazz-expo@0.13.12
- jazz-react-native-media-images@0.13.12
## 1.0.103
### Patch Changes
- Updated dependencies [17273a6]
- jazz-tools@0.13.11
- jazz-expo@0.13.11
- jazz-react-native-media-images@0.13.11
## 1.0.102
### Patch Changes
- jazz-expo@0.13.10
- jazz-tools@0.13.10
- jazz-react-native-media-images@0.13.10
## 1.0.101
### Patch Changes
- Updated dependencies [a6cf01f]
- jazz-tools@0.13.9
- jazz-expo@0.13.9
- jazz-react-native-media-images@0.13.9
## 1.0.100
### Patch Changes
- jazz-expo@0.13.8
## 1.0.99
### Patch Changes
- Updated dependencies [bc3d7bb]
- jazz-tools@0.13.7
- jazz-expo@0.13.7
- jazz-react-native-media-images@0.13.7
## 1.0.98
### Patch Changes
- Updated dependencies [fe6f561]
- jazz-tools@0.13.5
- jazz-expo@0.13.5
- jazz-react-native-media-images@0.13.5
## 1.0.97
### Patch Changes
- Updated dependencies [3129982]
- Updated dependencies [3129982]
- jazz-expo@0.13.4
- jazz-tools@0.13.4
- jazz-react-native-media-images@0.13.4
## 1.0.96
### Patch Changes
- Updated dependencies [12f8bfa]
- Updated dependencies [bd57177]
- jazz-tools@0.13.3
- jazz-expo@0.13.3
- jazz-react-native-media-images@0.13.3
## 1.0.95
### Patch Changes
- jazz-expo@0.13.2
- jazz-tools@0.13.2
- jazz-react-native-media-images@0.13.2
## 1.0.94
### Patch Changes
- Updated dependencies [63a7aa0]
- jazz-expo@0.13.1
## 1.0.93
### Patch Changes
- Updated dependencies [bce3bcc]
- Updated dependencies [afd1374]
- jazz-expo@0.13.0
- jazz-tools@0.13.0
- jazz-react-native-media-images@0.13.0
## 1.0.92
### Patch Changes
- jazz-react-native@0.12.2
- jazz-react-native-auth-clerk@0.12.2
- jazz-tools@0.12.2
- jazz-react-native-media-images@0.12.2
## 1.0.91
### Patch Changes
- jazz-react-native@0.12.1
- jazz-react-native-auth-clerk@0.12.1
- jazz-tools@0.12.1
- jazz-react-native-media-images@0.12.1
## 1.0.90
### Patch Changes
- Updated dependencies [01523dc]
- Updated dependencies [4ea87dc]
- Updated dependencies [1e6da19]
- Updated dependencies [b6c6a0a]
- jazz-tools@0.12.0
- jazz-react-native@0.12.0
- jazz-react-native-auth-clerk@0.12.0
- jazz-react-native-media-images@0.12.0
## 1.0.89
### Patch Changes
- jazz-react-native@0.11.8
- jazz-react-native-auth-clerk@0.11.8
- jazz-tools@0.11.8
- jazz-react-native-media-images@0.11.8
## 1.0.88
### Patch Changes
- Updated dependencies [a140f55]
- Updated dependencies [2b0d1b0]
- jazz-tools@0.11.7
- jazz-react-native@0.11.7
- jazz-react-native-auth-clerk@0.11.7
- jazz-react-native-media-images@0.11.7
## 1.0.87
### Patch Changes
- 1bfa9bb: Removed when="singedUp" from examples apps' Jazz providers. This is a really niche use-case option and can lead to broken-feeling experiences when anonymous users try to load something.
- Updated dependencies [e7c85b7]
- jazz-react-native@0.11.6
- jazz-tools@0.11.6
- jazz-react-native-auth-clerk@0.11.6
- jazz-react-native-media-images@0.11.6
## 1.0.86
### Patch Changes
- jazz-react-native@0.11.5
- jazz-react-native-auth-clerk@0.11.5
- jazz-tools@0.11.5
- jazz-react-native-media-images@0.11.5
## 1.0.85
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react-native@0.11.4
- jazz-react-native-auth-clerk@0.11.4
- jazz-react-native-media-images@0.11.4
## 1.0.84
### Patch Changes
- jazz-react-native@0.11.3
- jazz-react-native-auth-clerk@0.11.3
- jazz-tools@0.11.3
- jazz-react-native-media-images@0.11.3
## 1.0.83
### Patch Changes
- Updated dependencies [6892dc6]
- jazz-tools@0.11.2
- jazz-react-native@0.11.2
- jazz-react-native-auth-clerk@0.11.2
- jazz-react-native-media-images@0.11.2
## 1.0.82
### Patch Changes
- jazz-react-native@0.11.1
- jazz-react-native-auth-clerk@0.11.1
## 1.0.81
### Patch Changes
- Updated dependencies [6a96d8b]
- Updated dependencies [a35249a]
- Updated dependencies [b9d194a]
- Updated dependencies [a4713df]
- Updated dependencies [34cbdc3]
- Updated dependencies [f039e8f]
- Updated dependencies [e22de9f]
- jazz-tools@0.11.0
- jazz-react-native-media-images@0.11.0
- jazz-react-native-auth-clerk@0.11.0
- jazz-react-native@0.11.0
## 1.0.80
### Patch Changes
- Updated dependencies [2f99de0]
- jazz-tools@0.10.15
- jazz-react-native@0.10.15
- jazz-react-native-auth-clerk@0.10.15
- jazz-react-native-media-images@0.10.15
## 1.0.79
### Patch Changes
- Updated dependencies [75211e3]
- jazz-tools@0.10.14
- jazz-react-native@0.10.14
- jazz-react-native-auth-clerk@0.10.14
- jazz-react-native-media-images@0.10.14
## 1.0.78
### Patch Changes
- Updated dependencies [07feedd]
- jazz-tools@0.10.13
- jazz-react-native@0.10.13
- jazz-react-native-auth-clerk@0.10.13
- jazz-react-native-media-images@0.10.13
## 1.0.77
### Patch Changes
- Updated dependencies [4612e05]
- jazz-tools@0.10.12
- jazz-react-native@0.10.12
- jazz-react-native-auth-clerk@0.10.12
- jazz-react-native-media-images@0.10.12
## 1.0.76
### Patch Changes
- Updated dependencies [5a54e4a]
- jazz-react-native@0.10.11
- jazz-react-native-auth-clerk@0.10.11
## 1.0.75
### Patch Changes
- Updated dependencies [3405d8f]
- jazz-react-native@0.10.10
- jazz-react-native-auth-clerk@0.10.10
## 1.0.74
### Patch Changes
- jazz-react-native-auth-clerk@0.10.9
## 1.0.73
### Patch Changes
- Updated dependencies [2fb6428]
- jazz-tools@0.10.8
- jazz-react-native@0.10.8
- jazz-react-native-auth-clerk@0.10.8
- jazz-react-native-media-images@0.10.8
## 1.0.72
### Patch Changes
- Updated dependencies [1136d9b]
- Updated dependencies [0eed228]
- jazz-react-native@0.10.7
- jazz-tools@0.10.7
- jazz-react-native-auth-clerk@0.10.7
- jazz-react-native-media-images@0.10.7
## 1.0.71
### Patch Changes
- Updated dependencies [ada802b]
- jazz-tools@0.10.6
- jazz-react-native@0.10.6
- jazz-react-native-auth-clerk@0.10.6
- jazz-react-native-media-images@0.10.6
## 1.0.70
### Patch Changes
- Updated dependencies [59ff77e]
- jazz-tools@0.10.5
- jazz-react-native@0.10.5
- jazz-react-native-auth-clerk@0.10.5
- jazz-react-native-media-images@0.10.5
## 1.0.69
### Patch Changes
- jazz-react-native@0.10.4
- jazz-react-native-auth-clerk@0.10.4
- jazz-tools@0.10.4
- jazz-react-native-media-images@0.10.4
## 1.0.68
### Patch Changes
- Updated dependencies [d8582fc]
- jazz-tools@0.10.3
- jazz-react-native@0.10.3
- jazz-react-native-auth-clerk@0.10.3
- jazz-react-native-media-images@0.10.3
## 1.0.67
### Patch Changes
- jazz-react-native@0.10.2
- jazz-react-native-auth-clerk@0.10.2
- jazz-tools@0.10.2
- jazz-react-native-media-images@0.10.2
## 1.0.66

View File

@@ -11,13 +11,13 @@ pnpm i
pnpm run build
```
### 2. Inside the `examples/chat-rn-clerk` Directory
### 2. Inside the `examples/chat-rn-expo-clerk` Directory
Next, navigate to the specific example project and run the following commands:
```bash
pnpm expo prebuild
npx pod-install
pnpx pod-install
pnpm expo run:ios
```

View File

@@ -1,8 +1,8 @@
{
"expo": {
"name": "jazz-chat-rn-clerk",
"scheme": "jazz-chat-rn-clerk",
"slug": "jazz-chat-rn-clerk",
"name": "jazz-chat-rn-expo-clerk",
"scheme": "jazz-chat-rn-expo-clerk",
"slug": "jazz-chat-rn-expo-clerk",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
@@ -23,21 +23,12 @@
},
"package": "com.jazz.chatrnclerk"
},
"newArchEnabled": true,
"plugins": [
[
"expo-build-properties",
{
"ios": {
"newArchEnabled": true
},
"android": {
"newArchEnabled": true
}
}
],
"expo-secure-store",
"expo-font",
"expo-router",
"expo-sqlite",
[
"expo-image-picker",
{

View File

@@ -1,5 +1,5 @@
import { Redirect, Stack } from "expo-router";
import { useIsAuthenticated } from "jazz-react-native";
import { useIsAuthenticated } from "jazz-expo";
import React from "react";
export default function HomeLayout() {

View File

@@ -1,5 +1,5 @@
import { Redirect, Stack } from "expo-router";
import { useIsAuthenticated } from "jazz-react-native";
import { useIsAuthenticated } from "jazz-expo";
export default function UnAuthenticatedLayout() {
const isAuthenticated = useIsAuthenticated();

View File

@@ -28,7 +28,7 @@ const SignInWithOAuth = () => {
const { createdSessionId, signIn, signUp, setActive } =
await startOAuthFlow({
redirectUrl: Linking.createURL("/", {
scheme: "jazz-chat-rn-clerk",
scheme: "jazz-chat-rn-expo-clerk",
}),
});

View File

@@ -0,0 +1,71 @@
import "../global.css";
import { ClerkLoaded, ClerkProvider } from "@clerk/clerk-expo";
import { secureStore } from "@clerk/clerk-expo/secure-store";
import { useFonts } from "expo-font";
import { Slot, useRouter, useSegments } from "expo-router";
import * as SplashScreen from "expo-splash-screen";
import { useIsAuthenticated, useJazzContext } from "jazz-expo";
import React, { useEffect } from "react";
import { tokenCache } from "../cache";
import { JazzAndAuth } from "../src/auth-context";
SplashScreen.preventAutoHideAsync();
function InitialLayout() {
const isAuthenticated = useIsAuthenticated();
const segments = useSegments();
const router = useRouter();
useEffect(() => {
const inAuthGroup = segments[0] === "(auth)";
if (isAuthenticated && inAuthGroup) {
router.replace("/chat");
} else if (!isAuthenticated && !inAuthGroup) {
router.replace("/");
}
SplashScreen.hideAsync();
}, [isAuthenticated, segments, router]);
return <Slot />;
}
export default function RootLayout() {
const [fontsLoaded] = useFonts({
SpaceMono: require("../assets/fonts/SpaceMono-Regular.ttf"),
});
const publishableKey = process.env.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY;
if (!publishableKey) {
throw new Error(
"Missing Publishable Key. Please set EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY in your .env",
);
}
useEffect(() => {
if (fontsLoaded) {
} else {
SplashScreen.preventAutoHideAsync();
}
}, [fontsLoaded]);
if (!fontsLoaded) {
return null;
}
return (
<ClerkProvider
tokenCache={tokenCache}
publishableKey={publishableKey}
__experimental_resourceCache={secureStore}
>
<ClerkLoaded>
<JazzAndAuth>
<InitialLayout />
</JazzAndAuth>
</ClerkLoaded>
</ClerkProvider>
);
}

View File

@@ -4,8 +4,8 @@ import clsx from "clsx";
import * as Clipboard from "expo-clipboard";
import * as ImagePicker from "expo-image-picker";
import { useLocalSearchParams } from "expo-router";
import { useAccount, useCoState } from "jazz-react-native";
import { ProgressiveImg } from "jazz-react-native";
import { useAccount, useCoState } from "jazz-expo";
import { ProgressiveImg } from "jazz-expo";
import { createImage } from "jazz-react-native-media-images";
import { Group, ID } from "jazz-tools";
import { useEffect, useLayoutEffect, useState } from "react";
@@ -28,7 +28,7 @@ export default function Conversation() {
const { me } = useAccount();
const [chat, setChat] = useState<Chat>();
const [message, setMessage] = useState("");
const loadedChat = useCoState(Chat, chat?.id, [{}]);
const loadedChat = useCoState(Chat, chat?.id, { resolve: { $each: true } });
const navigation = useNavigation();
const [isUploading, setIsUploading] = useState(false);
@@ -71,7 +71,7 @@ export default function Conversation() {
const loadChat = async (chatId: ID<Chat>) => {
try {
const chat = await Chat.load(chatId, me, []);
const chat = await Chat.load(chatId, me);
setChat(chat);
} catch (error) {
console.log("Error loading chat", error);
@@ -165,8 +165,8 @@ export default function Conversation() {
!isMe ? "mt-2 text-gray-500" : "mt-1 text-gray-200",
)}
>
{item._edits.text.madeAt.getHours()}:
{item._edits.text.madeAt.getMinutes()}
{item._edits.text.madeAt?.getHours().toString().padStart(2, "0")}:
{item._edits.text.madeAt?.getMinutes().toString().padStart(2, "0")}
</Text>
</View>
</View>

View File

@@ -11,7 +11,7 @@ import React, {
} from "react-native";
import { useUser } from "@clerk/clerk-expo";
import { useAccount } from "jazz-react-native";
import { useAccount } from "jazz-expo";
import { Chat } from "../../src/schema";
export default function ChatScreen() {

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 313 KiB

After

Width:  |  Height:  |  Size: 313 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -0,0 +1,67 @@
{
"name": "chat-rn-expo-clerk",
"main": "index.js",
"version": "1.0.106",
"scripts": {
"build": "expo export -p ios",
"start": "expo start",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write",
"android": "expo run:android",
"ios": "expo prebuild && pnpx pod-install && expo run:ios",
"web": "expo start --web",
"run:ios": "pnpm expo prebuild && npx pod-install && pnpm expo run:ios"
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@bacons/text-decoder": "0.0.0",
"@bam.tech/react-native-image-resizer": "^3.0.11",
"@clerk/clerk-expo": "^2.2.21",
"@craftzdog/react-native-buffer": "6.0.5",
"@expo/vector-icons": "^14.0.2",
"@react-native-community/netinfo": "11.4.1",
"@react-navigation/native": "7.0.19",
"@react-navigation/native-stack": "7.2.1",
"clsx": "^2.0.0",
"expo": "^52.0.42",
"expo-build-properties": "~0.13.1",
"expo-clipboard": "~7.0.0",
"expo-constants": "~17.0.8",
"expo-crypto": "~14.0.2",
"expo-dev-client": "~5.0.16",
"expo-file-system": "^18.0.4",
"expo-font": "~13.0.1",
"expo-image-picker": "~16.0.6",
"expo-linking": "~7.0.5",
"expo-router": "~4.0.19",
"expo-secure-store": "~14.0.0",
"expo-splash-screen": "~0.29.22",
"expo-sqlite": "15.1.3",
"expo-status-bar": "~2.0.1",
"expo-web-browser": "~14.0.1",
"jazz-expo": "workspace:*",
"jazz-react-native-media-images": "workspace:*",
"jazz-tools": "workspace:*",
"nativewind": "^4.1.21",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.7",
"react-native-gesture-handler": "~2.20.2",
"react-native-get-random-values": "^1.11.0",
"react-native-reanimated": "~3.16.3",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "4.4.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-web": "~0.19.13",
"readable-stream": "4.7.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/react": "~18.3.12",
"@types/react-test-renderer": "^19.0.0",
"react-test-renderer": "18.3.1",
"tailwindcss": "^3.4.17",
"typescript": "5.6.2"
},
"private": true
}

View File

@@ -0,0 +1,17 @@
/* eslint-disable import/order */
// @ts-expect-error - @types/react-native doesn't cover this file
import { polyfillGlobal } from "react-native/Libraries/Utilities/PolyfillFunctions";
import { Buffer } from "@craftzdog/react-native-buffer";
polyfillGlobal("Buffer", () => Buffer);
// @ts-expect-error - @types/readable-stream doesn't have ReadableStream type
import { ReadableStream } from "readable-stream";
polyfillGlobal("ReadableStream", () => ReadableStream);
import "@azure/core-asynciterator-polyfill";
import "@bacons/text-decoder/install";
import "react-native-get-random-values";

View File

@@ -0,0 +1 @@
export const apiKey = "chat-rn-expo-clerk-example-jazz@garden.co";

View File

@@ -1,5 +1,5 @@
import { useClerk } from "@clerk/clerk-expo";
import { JazzProviderWithClerk } from "jazz-react-native-auth-clerk";
import { JazzProviderWithClerk } from "jazz-expo/auth/clerk";
import React, { PropsWithChildren } from "react";
import { apiKey } from "./apiKey";
@@ -9,10 +9,8 @@ export function JazzAndAuth({ children }: PropsWithChildren) {
return (
<JazzProviderWithClerk
clerk={clerk}
storage="sqlite"
sync={{
peer: `wss://cloud.jazz.tools/?key=${apiKey}`,
when: "signedUp", // This makes the app work in local mode when the user is not authenticated
}}
>
{children}

View File

@@ -0,0 +1,795 @@
# chat-rn-expo
## 1.0.93
### Patch Changes
- Updated dependencies [bd94012]
- jazz-expo@0.13.14
- jazz-tools@0.13.14
## 1.0.92
### Patch Changes
- jazz-expo@0.13.13
- jazz-tools@0.13.13
## 1.0.91
### Patch Changes
- Updated dependencies [4547525]
- jazz-tools@0.13.12
- jazz-expo@0.13.12
## 1.0.90
### Patch Changes
- Updated dependencies [17273a6]
- jazz-tools@0.13.11
- jazz-expo@0.13.11
## 1.0.89
### Patch Changes
- jazz-expo@0.13.10
- jazz-tools@0.13.10
## 1.0.88
### Patch Changes
- Updated dependencies [a6cf01f]
- jazz-tools@0.13.9
- jazz-expo@0.13.9
## 1.0.87
### Patch Changes
- jazz-expo@0.13.8
## 1.0.86
### Patch Changes
- Updated dependencies [bc3d7bb]
- jazz-tools@0.13.7
- jazz-expo@0.13.7
## 1.0.85
### Patch Changes
- Updated dependencies [fe6f561]
- jazz-tools@0.13.5
- jazz-expo@0.13.5
## 1.0.84
### Patch Changes
- Updated dependencies [3129982]
- Updated dependencies [3129982]
- jazz-expo@0.13.4
- jazz-tools@0.13.4
## 1.0.83
### Patch Changes
- Updated dependencies [12f8bfa]
- Updated dependencies [bd57177]
- jazz-tools@0.13.3
- jazz-expo@0.13.3
## 1.0.82
### Patch Changes
- jazz-expo@0.13.2
- jazz-tools@0.13.2
## 1.0.81
### Patch Changes
- Updated dependencies [63a7aa0]
- jazz-expo@0.13.1
## 1.0.80
### Patch Changes
- Updated dependencies [bce3bcc]
- Updated dependencies [afd1374]
- jazz-expo@0.13.0
- jazz-tools@0.13.0
## 1.0.88
### Patch Changes
- jazz-react-native@0.12.2
- jazz-tools@0.12.2
## 1.0.87
### Patch Changes
- jazz-react-native@0.12.1
- jazz-tools@0.12.1
## 1.0.86
### Patch Changes
- Updated dependencies [01523dc]
- Updated dependencies [4ea87dc]
- Updated dependencies [1e6da19]
- Updated dependencies [b6c6a0a]
- jazz-tools@0.12.0
- jazz-react-native@0.12.0
## 1.0.85
### Patch Changes
- jazz-react-native@0.11.8
- jazz-tools@0.11.8
## 1.0.84
### Patch Changes
- Updated dependencies [a140f55]
- Updated dependencies [2b0d1b0]
- jazz-tools@0.11.7
- jazz-react-native@0.11.7
## 1.0.83
### Patch Changes
- Updated dependencies [e7c85b7]
- jazz-react-native@0.11.6
- jazz-tools@0.11.6
## 1.0.82
### Patch Changes
- jazz-react-native@0.11.5
- jazz-tools@0.11.5
## 1.0.81
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react-native@0.11.4
## 1.0.80
### Patch Changes
- jazz-react-native@0.11.3
- jazz-tools@0.11.3
## 1.0.79
### Patch Changes
- Updated dependencies [6892dc6]
- jazz-tools@0.11.2
- jazz-react-native@0.11.2
## 1.0.78
### Patch Changes
- jazz-react-native@0.11.1
## 1.0.77
### Patch Changes
- Updated dependencies [6a96d8b]
- Updated dependencies [a35249a]
- Updated dependencies [b9d194a]
- Updated dependencies [a4713df]
- Updated dependencies [34cbdc3]
- Updated dependencies [f039e8f]
- Updated dependencies [e22de9f]
- jazz-tools@0.11.0
- jazz-react-native@0.11.0
## 1.0.76
### Patch Changes
- Updated dependencies [2f99de0]
- jazz-tools@0.10.15
- jazz-react-native@0.10.15
## 1.0.75
### Patch Changes
- Updated dependencies [75211e3]
- jazz-tools@0.10.14
- jazz-react-native@0.10.14
## 1.0.74
### Patch Changes
- Updated dependencies [07feedd]
- jazz-tools@0.10.13
- jazz-react-native@0.10.13
## 1.0.73
### Patch Changes
- Updated dependencies [4612e05]
- jazz-tools@0.10.12
- jazz-react-native@0.10.12
## 1.0.72
### Patch Changes
- Updated dependencies [5a54e4a]
- jazz-react-native@0.10.11
## 1.0.71
### Patch Changes
- Updated dependencies [3405d8f]
- jazz-react-native@0.10.10
## 1.0.70
### Patch Changes
- Updated dependencies [2fb6428]
- jazz-tools@0.10.8
- jazz-react-native@0.10.8
## 1.0.69
### Patch Changes
- Updated dependencies [1136d9b]
- Updated dependencies [0eed228]
- jazz-react-native@0.10.7
- jazz-tools@0.10.7
## 1.0.68
### Patch Changes
- Updated dependencies [ada802b]
- jazz-tools@0.10.6
- jazz-react-native@0.10.6
## 1.0.67
### Patch Changes
- Updated dependencies [59ff77e]
- jazz-tools@0.10.5
- jazz-react-native@0.10.5
## 1.0.66
### Patch Changes
- jazz-react-native@0.10.4
- jazz-tools@0.10.4
## 1.0.65
### Patch Changes
- Updated dependencies [d8582fc]
- jazz-tools@0.10.3
- jazz-react-native@0.10.3
## 1.0.64
### Patch Changes
- jazz-react-native@0.10.2
- jazz-tools@0.10.2
## 1.0.63
### Patch Changes
- Updated dependencies [5a63cba]
- jazz-tools@0.10.1
- jazz-react-native@0.10.1
## 1.0.62
### Patch Changes
- Updated dependencies [498954f]
- Updated dependencies [d42c2aa]
- Updated dependencies [dd03464]
- Updated dependencies [b426342]
- jazz-react-native@0.10.0
- jazz-tools@0.10.0
## 1.0.61
### Patch Changes
- jazz-react-native@0.9.23
- jazz-tools@0.9.23
## 1.0.60
### Patch Changes
- jazz-react-native@0.9.22
## 1.0.59
### Patch Changes
- Updated dependencies [1be017d]
- jazz-tools@0.9.21
- jazz-react-native@0.9.21
## 1.0.58
### Patch Changes
- Updated dependencies [b01cc1f]
- jazz-tools@0.9.20
- jazz-react-native@0.9.20
## 1.0.57
### Patch Changes
- jazz-react-native@0.9.19
- jazz-tools@0.9.19
## 1.0.56
### Patch Changes
- jazz-react-native@0.9.18
- jazz-tools@0.9.18
## 1.0.55
### Patch Changes
- Updated dependencies [c2ca1fe]
- Updated dependencies [1227047]
- jazz-tools@0.9.17
- jazz-react-native@0.9.17
## 1.0.54
### Patch Changes
- Updated dependencies [24b3b6a]
- jazz-tools@0.9.16
- jazz-react-native@0.9.16
## 1.0.53
### Patch Changes
- Updated dependencies [7491711]
- jazz-tools@0.9.15
- jazz-react-native@0.9.15
## 1.0.52
### Patch Changes
- Updated dependencies [3df93cc]
- jazz-tools@0.9.14
- jazz-react-native@0.9.14
## 1.0.51
### Patch Changes
- jazz-react-native@0.9.13
- jazz-tools@0.9.13
## 1.0.50
### Patch Changes
- jazz-react-native@0.9.12
- jazz-tools@0.9.12
## 1.0.49
### Patch Changes
- jazz-react-native@0.9.11
- jazz-tools@0.9.11
## 1.0.48
### Patch Changes
- Updated dependencies [f76274c]
- Updated dependencies [5e83864]
- jazz-react-native@0.9.10
- jazz-tools@0.9.10
## 1.0.47
### Patch Changes
- Updated dependencies [8eb9247]
- jazz-tools@0.9.9
- jazz-react-native@0.9.9
## 1.0.46
### Patch Changes
- Updated dependencies [d1d773b]
- jazz-tools@0.9.8
- jazz-react-native@0.9.8
## 1.0.45
### Patch Changes
- Updated dependencies [8a390d2]
- jazz-react-native@0.9.6
## 1.0.44
### Patch Changes
- Updated dependencies [c871912]
- jazz-react-native@0.9.5
## 1.0.43
### Patch Changes
- jazz-react-native@0.9.4
## 1.0.42
### Patch Changes
- Updated dependencies [7cd691f]
- jazz-react-native@0.9.3
## 1.0.41
### Patch Changes
- Updated dependencies [80fd3e9]
- jazz-react-native@0.9.2
## 1.0.40
### Patch Changes
- Updated dependencies [1b71969]
- jazz-tools@0.9.1
- jazz-react-native@0.9.1
## 1.0.39
### Patch Changes
- Updated dependencies [1da4d55]
- Updated dependencies [8eda792]
- Updated dependencies [1e5e3a1]
- jazz-react-native@0.9.0
- jazz-tools@0.9.0
## 1.0.38
### Patch Changes
- Updated dependencies [dc62b95]
- Updated dependencies [1de26f8]
- jazz-tools@0.8.51
- jazz-react-native@0.8.51
## 1.0.37
### Patch Changes
- jazz-react-native@0.8.50
- jazz-tools@0.8.50
## 1.0.36
### Patch Changes
- jazz-react-native@0.8.49
- jazz-tools@0.8.49
## 1.0.35
### Patch Changes
- Updated dependencies [635e824]
- Updated dependencies [0a85982]
- jazz-tools@0.8.48
- jazz-react-native@0.8.48
## 1.0.34
### Patch Changes
- Updated dependencies [33ef9c4]
- jazz-react-native@0.8.47
## 1.0.33
### Patch Changes
- Updated dependencies [ab4ffbd]
- jazz-react-native@0.8.46
## 1.0.32
### Patch Changes
- Updated dependencies [7701307]
- Updated dependencies [fa41f8e]
- Updated dependencies [88d7d9a]
- Updated dependencies [60e35ea]
- jazz-react-native@0.8.45
- jazz-tools@0.8.45
## 1.0.31
### Patch Changes
- jazz-react-native@0.8.44
- jazz-tools@0.8.44
## 1.0.30
### Patch Changes
- jazz-react-native@0.8.41
- jazz-tools@0.8.41
## 1.0.29
### Patch Changes
- Updated dependencies [0c6b0f3]
- Updated dependencies [249eecb]
- jazz-react-native@0.8.39
- jazz-tools@0.8.39
## 1.0.28
### Patch Changes
- jazz-react-native@0.8.38
- jazz-tools@0.8.38
## 1.0.27
### Patch Changes
- jazz-react-native@0.8.37
- jazz-tools@0.8.37
## 1.0.26
### Patch Changes
- Updated dependencies [c84764a]
- Updated dependencies [441fe27]
- jazz-react-native@0.8.36
- jazz-tools@0.8.36
## 1.0.25
### Patch Changes
- Updated dependencies [8b87117]
- jazz-tools@0.8.35
- jazz-react-native@0.8.35
## 1.0.24
### Patch Changes
- jazz-react-native@0.8.34
- jazz-tools@0.8.34
## 1.0.23
### Patch Changes
- Updated dependencies [df42b2b]
- jazz-tools@0.8.32
- jazz-react-native@0.8.32
## 1.0.22
### Patch Changes
- jazz-react-native@0.8.31
- jazz-tools@0.8.31
## 1.0.21
### Patch Changes
- jazz-react-native@0.8.30
- jazz-tools@0.8.30
## 1.0.20
### Patch Changes
- jazz-react-native@0.8.29
- jazz-tools@0.8.29
## 1.0.19
### Patch Changes
- jazz-react-native@0.8.28
- jazz-tools@0.8.28
## 1.0.18
### Patch Changes
- jazz-react-native@0.8.27
- jazz-tools@0.8.27
## 1.0.17
### Patch Changes
- Updated dependencies [d348c2d]
- Updated dependencies [6902b5b]
- Updated dependencies [1a0cd3d]
- jazz-tools@0.8.23
- jazz-react-native@0.8.23
## 1.0.16
### Patch Changes
- Updated dependencies [149ca97]
- jazz-tools@0.8.21
- jazz-react-native@0.8.21
## 1.0.15
### Patch Changes
- Updated dependencies [3ef3ff3]
- jazz-react-native@0.8.20
## 1.0.14
### Patch Changes
- jazz-react-native@0.8.19
- jazz-tools@0.8.19
## 1.0.13
### Patch Changes
- jazz-react-native@0.8.18
- jazz-tools@0.8.18
## 1.0.12
### Patch Changes
- jazz-react-native@0.8.17
- jazz-tools@0.8.17
## 1.0.11
### Patch Changes
- jazz-react-native@0.8.16
- jazz-tools@0.8.16
## 1.0.10
### Patch Changes
- Updated dependencies [cce679b]
- jazz-tools@0.8.15
- jazz-react-native@0.8.15
## 1.0.9
### Patch Changes
- Updated dependencies [36273b3]
- jazz-tools@0.8.14
- jazz-react-native@0.8.14
## 1.0.8
### Patch Changes
- Updated dependencies [fd011d7]
- jazz-tools@0.8.13
- jazz-react-native@0.8.13
## 1.0.7
### Patch Changes
- jazz-react-native@0.8.12
- jazz-tools@0.8.12
## 1.0.6
### Patch Changes
- jazz-react-native@0.8.11
- jazz-tools@0.8.11
## 1.0.5
### Patch Changes
- b7639cf: feat(react-native): replaced react-native-mmkv with expo-secure-store and initialize it by default as kvStore in createJazzRNApp() (BREAKING)
- Updated dependencies [b7639cf]
- jazz-react-native@0.8.8
## 1.0.4
### Patch Changes
- Updated dependencies [32b05b6]
- jazz-react-native@0.8.7
## 1.0.3
### Patch Changes
- jazz-react-native@0.8.6
## 1.0.2
### Patch Changes
- Updated dependencies [c3f4e6b]
- Updated dependencies [d9152ed]
- jazz-react-native@0.8.5
- jazz-tools@0.8.5
## 1.0.1
### Patch Changes
- Updated dependencies
- jazz-react-native@0.8.3
- jazz-tools@0.8.3

View File

@@ -0,0 +1,24 @@
# 🎷 Jazz + Expo + `react-navigation` + Demo Auth
## 🚀 How to Run
### 1. Inside the Workspace Root
First, install dependencies and build the project:
```bash
pnpm i
pnpm run build
```
### 2. Inside the `examples/chat-rn-expo` Directory
Next, navigate to the specific example project and run the following commands:
```bash
pnpm expo prebuild
pnpx pod-install
pnpm expo run:ios
```
This will set up and launch the app on iOS. For Android, you can replace the last command with `pnpm expo run:android`.

View File

@@ -0,0 +1,34 @@
{
"expo": {
"name": "jazz-chat-rn-expo",
"scheme": "jazz-chat-rn-expo",
"slug": "jazz-chat-rn-expo",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.jazz.chatrn"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.jazz.chatrn"
},
"plugins": ["expo-secure-store", "expo-sqlite", "expo-build-properties"],
"extra": {
"eas": {
"projectId": "e0e61872-1906-4c84-b9d8-9be77355cad0"
}
},
"owner": "paxx"
}
}

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -0,0 +1,9 @@
module.exports = function (api) {
api.cache(true);
return {
presets: [
["babel-preset-expo", { jsxImportSource: "nativewind" }],
"nativewind/babel",
],
};
};

View File

@@ -0,0 +1,35 @@
// Learn more https://docs.expo.dev/guides/monorepos
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require("nativewind/metro");
const { FileStore } = require("metro-cache");
const path = require("path");
// eslint-disable-next-line no-undef
const projectRoot = __dirname;
const workspaceRoot = path.resolve(projectRoot, "../..");
const config = getDefaultConfig(projectRoot, { isCSSEnabled: true });
// Since we are using pnpm, we have to setup the monorepo manually for Metro
// #1 - Watch all files in the monorepo
config.watchFolders = [workspaceRoot];
// #2 - Try resolving with project modules first, then workspace modules
config.resolver.nodeModulesPaths = [
path.resolve(projectRoot, "node_modules"),
path.resolve(workspaceRoot, "node_modules"),
];
config.resolver.sourceExts = ["mjs", "js", "json", "ts", "tsx"];
config.resolver.requireCycleIgnorePatterns = [
/(^|\/|\\)node_modules($|\/|\\)/,
/(^|\/|\\)packages($|\/|\\)/,
];
// Use turborepo to restore the cache when possible
config.cacheStores = [
new FileStore({
root: path.join(projectRoot, "node_modules", ".cache", "metro"),
}),
];
// module.exports = config;
module.exports = withNativeWind(config, { input: "./global.css" });

View File

@@ -0,0 +1,51 @@
{
"name": "chat-rn-expo",
"version": "1.0.93",
"main": "index.js",
"scripts": {
"build": "expo export -p ios",
"start": "expo start",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write",
"android": "expo run:android",
"ios": "expo prebuild && pnpx pod-install && expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@bacons/text-decoder": "0.0.0",
"@craftzdog/react-native-buffer": "6.0.5",
"@react-native-community/netinfo": "11.4.1",
"@react-navigation/native": "7.0.19",
"@react-navigation/native-stack": "7.2.1",
"clsx": "^2.0.0",
"expo": "52.0.42",
"expo-build-properties": "~0.13.1",
"expo-clipboard": "~7.0.0",
"expo-constants": "~17.0.8",
"expo-dev-client": "~5.0.16",
"expo-linking": "~7.0.5",
"expo-secure-store": "~14.0.0",
"expo-sqlite": "15.1.3",
"expo-status-bar": "~2.0.1",
"expo-web-browser": "~14.0.1",
"jazz-expo": "workspace:*",
"jazz-tools": "workspace:*",
"nativewind": "^4.1.21",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.7",
"react-native-get-random-values": "^1.11.0",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "4.4.0",
"react-native-url-polyfill": "^2.0.0",
"readable-stream": "4.7.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/react": "~18.3.12",
"tailwindcss": "^3.4.17",
"typescript": "5.6.2"
},
"private": true
}

View File

@@ -0,0 +1,17 @@
/* eslint-disable import/order */
// @ts-expect-error - @types/react-native doesn't cover this file
import { polyfillGlobal } from "react-native/Libraries/Utilities/PolyfillFunctions";
import { Buffer } from "@craftzdog/react-native-buffer";
polyfillGlobal("Buffer", () => Buffer);
// @ts-expect-error - @types/readable-stream doesn't have ReadableStream type
import { ReadableStream } from "readable-stream";
polyfillGlobal("ReadableStream", () => ReadableStream);
import "@azure/core-asynciterator-polyfill";
import "@bacons/text-decoder/install";
import "react-native-get-random-values";

View File

@@ -0,0 +1,72 @@
import "../global.css";
import {
NavigationContainer,
useNavigationContainerRef,
} from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import * as Linking from "expo-linking";
import React, { StrictMode, useEffect, useState } from "react";
import HandleInviteScreen from "./invite";
import { JazzProvider } from "jazz-expo";
import { apiKey } from "./apiKey";
import ChatScreen from "./chat";
const Stack = createNativeStackNavigator();
const prefix = Linking.createURL("/");
const linking = {
prefixes: [prefix],
config: {
screens: {
HandleInviteScreen: {
path: "router/invite/:valueHint?/:valueID/:inviteSecret",
},
},
},
};
function App() {
const [initialRoute, setInitialRoute] = useState<
"ChatScreen" | "HandleInviteScreen"
>("ChatScreen");
const navigationRef = useNavigationContainerRef();
useEffect(() => {
Linking.getInitialURL().then((url) => {
if (url) {
if (url && url.includes("invite")) {
setInitialRoute("HandleInviteScreen");
}
}
});
}, []);
return (
<StrictMode>
<JazzProvider
sync={{
peer: `wss://cloud.jazz.tools/?key=${apiKey}`,
}}
>
<NavigationContainer linking={linking} ref={navigationRef}>
<Stack.Navigator initialRouteName={initialRoute}>
<Stack.Screen
options={{ title: "Jazz Chat" }}
name="ChatScreen"
// @ts-ignore
component={ChatScreen}
/>
<Stack.Screen
name="HandleInviteScreen"
component={HandleInviteScreen}
/>
</Stack.Navigator>
</NavigationContainer>
</JazzProvider>
</StrictMode>
);
}
export default App;

View File

@@ -0,0 +1 @@
export const apiKey = "chat-rn-expo-example-jazz@garden.co";

View File

@@ -0,0 +1,213 @@
import clsx from "clsx";
import * as Clipboard from "expo-clipboard";
import { Group, ID, Profile } from "jazz-tools";
import { useEffect, useState } from "react";
import React, {
Button,
FlatList,
KeyboardAvoidingView,
SafeAreaView,
Text,
TextInput,
TouchableOpacity,
View,
Alert,
} from "react-native";
import { useAccount, useCoState } from "jazz-expo";
import { Chat, Message } from "./schema";
export default function ChatScreen({ navigation }: { navigation: any }) {
const { me, logOut } = useAccount();
const [chatId, setChatId] = useState<ID<Chat>>();
const loadedChat = useCoState(Chat, chatId, { resolve: { $each: true } });
const [message, setMessage] = useState("");
const profile = useCoState(Profile, me._refs.profile?.id, {});
function handleLogOut() {
setChatId(undefined);
logOut();
}
useEffect(() => {
navigation.setOptions({
headerRight: () => <Button onPress={handleLogOut} title="Logout" />,
headerLeft: () =>
loadedChat ? (
<Button
onPress={() => {
if (loadedChat?.id) {
Clipboard.setStringAsync(
`https://chat.jazz.tools/#/chat/${loadedChat.id}`,
);
Alert.alert("Copied to clipboard", `Chat ID: ${loadedChat.id}`);
}
}}
title="Share"
/>
) : null,
});
}, [navigation, loadedChat]);
const createChat = () => {
const group = Group.create({ owner: me });
group.addMember("everyone", "writer");
const chat = Chat.create([], { owner: group });
setChatId(chat.id);
};
const joinChat = () => {
Alert.prompt(
"Join Chat",
"Enter the Chat ID (example: co_zBGEHYvRfGuT2YSBraY3njGjnde)",
[
{
text: "Cancel",
style: "cancel",
},
{
text: "Join",
onPress: (chatId) => {
if (chatId) {
setChatId(chatId as ID<Chat>);
} else {
Alert.alert("Error", "Chat ID cannot be empty.");
}
},
},
],
"plain-text",
);
};
const sendMessage = () => {
if (!loadedChat) return;
if (message.trim()) {
loadedChat.push(
Message.create({ text: message }, { owner: loadedChat?._owner }),
);
setMessage("");
}
};
const renderMessageItem = ({ item }: { item: Message }) => {
const isMe = item._edits?.text?.by?.isMe;
return (
<View
className={clsx(
`rounded-lg p-1 px-1.5 max-w-[80%] `,
isMe ? `bg-gray-200 self-end text-right` : `bg-gray-300 self-start `,
)}
>
{!isMe ? (
<Text
className={clsx(
`text-xs text-gray-500`,
isMe ? "text-right" : "text-left",
)}
>
{item?._edits?.text?.by?.profile?.name}
</Text>
) : null}
<View
className={clsx(
"flex relative items-end justify-between",
isMe ? "flex-row" : "flex-row",
)}
>
<Text className={clsx(`text-black text-md max-w-[85%]`)}>
{item.text}
</Text>
<Text
className={clsx(
"text-[10px] text-gray-500 text-right ml-2",
!isMe ? "mt-2" : "mt-1",
)}
>
{item?._edits?.text?.madeAt?.getHours().toString().padStart(2, "0")}
:
{item?._edits?.text?.madeAt
?.getMinutes()
.toString()
.padStart(2, "0")}
</Text>
</View>
</View>
);
};
return (
<View className="flex flex-col h-full">
{!loadedChat ? (
<View className="flex flex-col h-full items-center justify-center">
<Text className="text-m font-bold mb-6">Username</Text>
<TextInput
className="rounded h-12 p-2 mb-12 w-40 border border-gray-200 block"
value={profile?.name ?? ""}
onChangeText={(value) => {
if (profile) {
profile.name = value;
}
}}
textAlignVertical="center"
onSubmitEditing={sendMessage}
testID="username-input"
/>
<TouchableOpacity
onPress={createChat}
className="bg-blue-500 p-4 rounded-md"
>
<Text className="text-white font-semibold">Start new chat</Text>
</TouchableOpacity>
<TouchableOpacity
onPress={joinChat}
className="bg-green-500 p-4 rounded-md mt-4"
>
<Text className="text-white font-semibold">Join chat</Text>
</TouchableOpacity>
</View>
) : (
<>
<FlatList
contentContainerStyle={{
flexGrow: 1,
flex: 1,
gap: 6,
padding: 8,
}}
className="flex"
data={loadedChat}
keyExtractor={(item) => item.id}
renderItem={renderMessageItem}
/>
<KeyboardAvoidingView
keyboardVerticalOffset={110}
behavior="padding"
className="p-3 bg-white border-t border-gray-300"
>
<SafeAreaView className="flex flex-row items-center gap-2">
<TextInput
className="rounded-full h-8 py-0 px-2 border border-gray-200 block flex-1"
value={message}
onChangeText={setMessage}
placeholder="Type a message..."
textAlignVertical="center"
onSubmitEditing={sendMessage}
testID="message-input"
/>
<TouchableOpacity
onPress={sendMessage}
className="bg-gray-300 text-white rounded-full h-8 w-8 items-center justify-center"
testID="send-button"
>
<Text></Text>
</TouchableOpacity>
</SafeAreaView>
</KeyboardAvoidingView>
</>
)}
</View>
);
}

View File

@@ -0,0 +1,18 @@
import { useAcceptInvite } from "jazz-expo";
import React, { Text } from "react-native";
import { Chat } from "./schema";
export default function HandleInviteScreen({
navigation,
}: {
navigation: any;
}) {
useAcceptInvite({
invitedObjectSchema: Chat,
onAccept: async (chatId) => {
navigation.navigate("ChatScreen", { chatId });
},
});
return <Text>Accepting invite...</Text>;
}

View File

@@ -0,0 +1,7 @@
import { CoList, CoMap, co } from "jazz-tools";
export class Message extends CoMap {
text = co.string;
}
export class Chat extends CoList.Of(co.ref(Message)) {}

View File

@@ -25,11 +25,8 @@ appId: com.jazz.chatrn
- assertVisible: "Logout"
# send a message
- runFlow:
label: "Erase existing message"
file: erase_text.yml
env:
id: "message-input"
- tapOn:
id: "message-input"
- inputText: "bro, low key, it do be like that tho"
- tapOn:
id: "send-button"
@@ -45,3 +42,9 @@ appId: com.jazz.chatrn
# logout
- tapOn: "Logout"
- assertVisible: "Anonymous user"
# This doesn't work on CI, maybe because Android has a different alert dialog
# - tapOn: "Join chat"
# - inputText: "co_zFs6KFyhxPw4xtw83tcEMzeHUNv" # Use a static id because maestro doesn't have access to the system clipboard
# - pressKey: "enter"
# - assertVisible: "boorad"
# - assertVisible: "bro, low key, it do be like that tho"

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# This script is necessary, because unlike ios, the android emulator action
# accepts a script, runs it as your tests, then terminates.
set -e
# build and install the app
echo "Building and installing Android app."
echo "If it fails, its output will be in artifact: android-install.log..."
cd ./android/
./gradlew installRelease >> ~/output/android-install.log 2>&1
cd ..
# run the e2e tests
export PATH="$PATH":"$HOME/.maestro/bin"
export MAESTRO_DRIVER_STARTUP_TIMEOUT=300000 # setting to 5 mins 👀
export MAESTRO_CLI_NO_ANALYTICS=1
export MAESTRO_CLI_ANALYSIS_NOTIFICATION_DISABLED=true
maestro test test/e2e/flow.yml

View File

@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1

View File

@@ -0,0 +1,5 @@
module.exports = {
root: true,
extends: ["@react-native", "plugin:prettier/recommended"],
plugins: ["prettier"],
};

View File

@@ -1,38 +1,75 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
# OSX
#
.DS_Store
# dependencies
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
**/.xcode.env.local
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore
.kotlin/
# node.js
#
node_modules/
npm-debug.log
yarn-error.log
# Expo
.expo/
dist/
web-build/
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/
# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output
# Metro
# Bundle artifact
*.jsbundle
# Ruby / CocoaPods
**/Pods/
/vendor/bundle/
# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
# debug
npm-debug.*
yarn-debug.*
yarn-error.*
# testing
/coverage
# macOS
.DS_Store
*.pem
# local env files
.env*.local
# typescript
*.tsbuildinfo
ios
android
# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

View File

@@ -0,0 +1,2 @@
ios
android

View File

@@ -0,0 +1,7 @@
module.exports = {
arrowParens: "avoid",
bracketSameLine: true,
bracketSpacing: true,
singleQuote: false,
trailingComma: "all",
};

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,484 +1,137 @@
# chat-rn
## 1.0.63
## 1.0.101
### Patch Changes
- Updated dependencies [5a63cba]
- jazz-tools@0.10.1
- jazz-react-native@0.10.1
- Updated dependencies [5c2c7d4]
- cojson@0.13.14
- cojson-transport-ws@0.13.14
- jazz-react-native@0.13.14
- jazz-tools@0.13.14
## 1.0.62
## 1.0.100
### Patch Changes
- Updated dependencies [498954f]
- Updated dependencies [d42c2aa]
- Updated dependencies [dd03464]
- Updated dependencies [b426342]
- jazz-react-native@0.10.0
- jazz-tools@0.10.0
- Updated dependencies [ec9cb40]
- cojson@0.13.13
- cojson-transport-ws@0.13.13
- jazz-react-native@0.13.13
- jazz-tools@0.13.13
## 1.0.61
## 1.0.99
### Patch Changes
- jazz-react-native@0.9.23
- jazz-tools@0.9.23
- Updated dependencies [4547525]
- Updated dependencies [65719f2]
- jazz-tools@0.13.12
- cojson@0.13.12
- jazz-react-native@0.13.12
- cojson-transport-ws@0.13.12
## 1.0.60
## 1.0.98
### Patch Changes
- jazz-react-native@0.9.22
- Updated dependencies [17273a6]
- Updated dependencies [3396ed4]
- Updated dependencies [17273a6]
- Updated dependencies [267ea4c]
- cojson@0.13.11
- jazz-tools@0.13.11
- cojson-transport-ws@0.13.11
- jazz-react-native@0.13.11
## 1.0.59
## 1.0.97
### Patch Changes
- Updated dependencies [1be017d]
- jazz-tools@0.9.21
- jazz-react-native@0.9.21
- Updated dependencies [f837cfe]
- cojson@0.13.10
- cojson-transport-ws@0.13.10
- jazz-react-native@0.13.10
- jazz-tools@0.13.10
## 1.0.58
## 1.0.96
### Patch Changes
- Updated dependencies [b01cc1f]
- jazz-tools@0.9.20
- jazz-react-native@0.9.20
- Updated dependencies [a6cf01f]
- jazz-tools@0.13.9
- jazz-react-native@0.13.9
## 1.0.57
## 1.0.95
### Patch Changes
- jazz-react-native@0.9.19
- jazz-tools@0.9.19
- Updated dependencies [bc3d7bb]
- Updated dependencies [4e9aae1]
- Updated dependencies [21c935c]
- Updated dependencies [aa1c80e]
- Updated dependencies [13074be]
- jazz-tools@0.13.7
- cojson@0.13.7
- jazz-react-native@0.13.7
- cojson-transport-ws@0.13.7
## 1.0.56
## 1.0.94
### Patch Changes
- jazz-react-native@0.9.18
- jazz-tools@0.9.18
- Updated dependencies [e090b39]
- Updated dependencies [fe6f561]
- cojson@0.13.5
- jazz-tools@0.13.5
- cojson-transport-ws@0.13.5
- jazz-react-native@0.13.5
## 1.0.55
## 1.0.93
### Patch Changes
- Updated dependencies [c2ca1fe]
- Updated dependencies [1227047]
- jazz-tools@0.9.17
- jazz-react-native@0.9.17
- Updated dependencies [3129982]
- jazz-tools@0.13.4
- jazz-react-native@0.13.4
## 1.0.54
## 1.0.92
### Patch Changes
- Updated dependencies [24b3b6a]
- jazz-tools@0.9.16
- jazz-react-native@0.9.16
- Updated dependencies [12f8bfa]
- Updated dependencies [b19cab7]
- Updated dependencies [bd57177]
- jazz-tools@0.13.3
- cojson-transport-ws@0.13.3
- jazz-react-native@0.13.3
## 1.0.53
## 1.0.91
### Patch Changes
- Updated dependencies [7491711]
- jazz-tools@0.9.15
- jazz-react-native@0.9.15
- Updated dependencies [c551839]
- cojson@0.13.2
- cojson-transport-ws@0.13.2
- jazz-react-native@0.13.2
- jazz-tools@0.13.2
## 1.0.52
## 1.0.90
### Patch Changes
- Updated dependencies [3df93cc]
- jazz-tools@0.9.14
- jazz-react-native@0.9.14
- Updated dependencies [63a7aa0]
- jazz-react-native@0.13.1
## 1.0.51
## 1.0.89
### Patch Changes
- jazz-react-native@0.9.13
- jazz-tools@0.9.13
## 1.0.50
### Patch Changes
- jazz-react-native@0.9.12
- jazz-tools@0.9.12
## 1.0.49
### Patch Changes
- jazz-react-native@0.9.11
- jazz-tools@0.9.11
## 1.0.48
### Patch Changes
- Updated dependencies [f76274c]
- Updated dependencies [5e83864]
- jazz-react-native@0.9.10
- jazz-tools@0.9.10
## 1.0.47
### Patch Changes
- Updated dependencies [8eb9247]
- jazz-tools@0.9.9
- jazz-react-native@0.9.9
## 1.0.46
### Patch Changes
- Updated dependencies [d1d773b]
- jazz-tools@0.9.8
- jazz-react-native@0.9.8
## 1.0.45
### Patch Changes
- Updated dependencies [8a390d2]
- jazz-react-native@0.9.6
## 1.0.44
### Patch Changes
- Updated dependencies [c871912]
- jazz-react-native@0.9.5
## 1.0.43
### Patch Changes
- jazz-react-native@0.9.4
## 1.0.42
### Patch Changes
- Updated dependencies [7cd691f]
- jazz-react-native@0.9.3
## 1.0.41
### Patch Changes
- Updated dependencies [80fd3e9]
- jazz-react-native@0.9.2
## 1.0.40
### Patch Changes
- Updated dependencies [1b71969]
- jazz-tools@0.9.1
- jazz-react-native@0.9.1
## 1.0.39
### Patch Changes
- Updated dependencies [1da4d55]
- Updated dependencies [8eda792]
- Updated dependencies [1e5e3a1]
- jazz-react-native@0.9.0
- jazz-tools@0.9.0
## 1.0.38
### Patch Changes
- Updated dependencies [dc62b95]
- Updated dependencies [1de26f8]
- jazz-tools@0.8.51
- jazz-react-native@0.8.51
## 1.0.37
### Patch Changes
- jazz-react-native@0.8.50
- jazz-tools@0.8.50
## 1.0.36
### Patch Changes
- jazz-react-native@0.8.49
- jazz-tools@0.8.49
## 1.0.35
### Patch Changes
- Updated dependencies [635e824]
- Updated dependencies [0a85982]
- jazz-tools@0.8.48
- jazz-react-native@0.8.48
## 1.0.34
### Patch Changes
- Updated dependencies [33ef9c4]
- jazz-react-native@0.8.47
## 1.0.33
### Patch Changes
- Updated dependencies [ab4ffbd]
- jazz-react-native@0.8.46
## 1.0.32
### Patch Changes
- Updated dependencies [7701307]
- Updated dependencies [fa41f8e]
- Updated dependencies [88d7d9a]
- Updated dependencies [60e35ea]
- jazz-react-native@0.8.45
- jazz-tools@0.8.45
## 1.0.31
### Patch Changes
- jazz-react-native@0.8.44
- jazz-tools@0.8.44
## 1.0.30
### Patch Changes
- jazz-react-native@0.8.41
- jazz-tools@0.8.41
## 1.0.29
### Patch Changes
- Updated dependencies [0c6b0f3]
- Updated dependencies [249eecb]
- jazz-react-native@0.8.39
- jazz-tools@0.8.39
## 1.0.28
### Patch Changes
- jazz-react-native@0.8.38
- jazz-tools@0.8.38
## 1.0.27
### Patch Changes
- jazz-react-native@0.8.37
- jazz-tools@0.8.37
## 1.0.26
### Patch Changes
- Updated dependencies [c84764a]
- Updated dependencies [441fe27]
- jazz-react-native@0.8.36
- jazz-tools@0.8.36
## 1.0.25
### Patch Changes
- Updated dependencies [8b87117]
- jazz-tools@0.8.35
- jazz-react-native@0.8.35
## 1.0.24
### Patch Changes
- jazz-react-native@0.8.34
- jazz-tools@0.8.34
## 1.0.23
### Patch Changes
- Updated dependencies [df42b2b]
- jazz-tools@0.8.32
- jazz-react-native@0.8.32
## 1.0.22
### Patch Changes
- jazz-react-native@0.8.31
- jazz-tools@0.8.31
## 1.0.21
### Patch Changes
- jazz-react-native@0.8.30
- jazz-tools@0.8.30
## 1.0.20
### Patch Changes
- jazz-react-native@0.8.29
- jazz-tools@0.8.29
## 1.0.19
### Patch Changes
- jazz-react-native@0.8.28
- jazz-tools@0.8.28
## 1.0.18
### Patch Changes
- jazz-react-native@0.8.27
- jazz-tools@0.8.27
## 1.0.17
### Patch Changes
- Updated dependencies [d348c2d]
- Updated dependencies [6902b5b]
- Updated dependencies [1a0cd3d]
- jazz-tools@0.8.23
- jazz-react-native@0.8.23
## 1.0.16
### Patch Changes
- Updated dependencies [149ca97]
- jazz-tools@0.8.21
- jazz-react-native@0.8.21
## 1.0.15
### Patch Changes
- Updated dependencies [3ef3ff3]
- jazz-react-native@0.8.20
## 1.0.14
### Patch Changes
- jazz-react-native@0.8.19
- jazz-tools@0.8.19
## 1.0.13
### Patch Changes
- jazz-react-native@0.8.18
- jazz-tools@0.8.18
## 1.0.12
### Patch Changes
- jazz-react-native@0.8.17
- jazz-tools@0.8.17
## 1.0.11
### Patch Changes
- jazz-react-native@0.8.16
- jazz-tools@0.8.16
## 1.0.10
### Patch Changes
- Updated dependencies [cce679b]
- jazz-tools@0.8.15
- jazz-react-native@0.8.15
## 1.0.9
### Patch Changes
- Updated dependencies [36273b3]
- jazz-tools@0.8.14
- jazz-react-native@0.8.14
## 1.0.8
### Patch Changes
- Updated dependencies [fd011d7]
- jazz-tools@0.8.13
- jazz-react-native@0.8.13
## 1.0.7
### Patch Changes
- jazz-react-native@0.8.12
- jazz-tools@0.8.12
## 1.0.6
### Patch Changes
- jazz-react-native@0.8.11
- jazz-tools@0.8.11
## 1.0.5
### Patch Changes
- b7639cf: feat(react-native): replaced react-native-mmkv with expo-secure-store and initialize it by default as kvStore in createJazzRNApp() (BREAKING)
- Updated dependencies [b7639cf]
- jazz-react-native@0.8.8
## 1.0.4
### Patch Changes
- Updated dependencies [32b05b6]
- jazz-react-native@0.8.7
## 1.0.3
### Patch Changes
- jazz-react-native@0.8.6
## 1.0.2
### Patch Changes
- Updated dependencies [c3f4e6b]
- Updated dependencies [d9152ed]
- jazz-react-native@0.8.5
- jazz-tools@0.8.5
## 1.0.1
### Patch Changes
- Updated dependencies
- jazz-react-native@0.8.3
- jazz-tools@0.8.3
- Updated dependencies [a013538]
- Updated dependencies [bce3bcc]
- Updated dependencies [afd1374]
- Updated dependencies [bce3bcc]
- cojson@0.13.0
- jazz-react-native@0.13.0
- jazz-tools@0.13.0
- cojson-transport-ws@0.13.0

11
examples/chat-rn/Gemfile Normal file
View File

@@ -0,0 +1,11 @@
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
gem 'concurrent-ruby', '< 1.3.4'
gem "bigdecimal", "~> 3.1"

View File

@@ -0,0 +1,111 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.7)
base64
nkf
rexml
activesupport (6.1.7.10)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.9)
claide (1.1.0)
cocoapods (1.15.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.15.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.3.3)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.17.1)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.9.0)
mutex_m
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.7.6)
minitest (5.25.4)
molinillo (0.8.0)
mutex_m (0.3.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.4.1)
ruby-macho (2.5.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.25.1)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (>= 3.3.6, < 4.0)
zeitwerk (2.6.18)
PLATFORMS
ruby
DEPENDENCIES
activesupport (>= 6.1.7.5, != 7.1.0)
bigdecimal (~> 3.1)
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
concurrent-ruby (< 1.3.4)
xcodeproj (< 1.26.0)
RUBY VERSION
ruby 2.6.10p210
BUNDLED WITH
2.3.25

View File

@@ -1,14 +1,13 @@
# 🎷 Jazz + Expo + `react-navigation` + Demo Auth
# 🎷 Jazz + React Native + Demo Auth
## 🚀 How to Run
### 1. Inside the Workspace Root
First, install dependencies and build the project:
First, install dependencies for the project:
```bash
pnpm i
pnpm run build
```
### 2. Inside the `examples/chat-rn` Directory
@@ -16,9 +15,18 @@ pnpm run build
Next, navigate to the specific example project and run the following commands:
```bash
pnpm expo prebuild
npx pod-install
pnpm expo run:ios
pnpm pods
pnpm ios
```
This will set up and launch the app on iOS. For Android, you can replace the last command with `pnpm expo run:android`.
This will set up and launch the app on iOS. For Android, you can skip `pnpm pods` and replace the last command with `pnpm android`.
## Creation
This was created using the following command:
```bash
pnpx @react-native-community/cli init chat-rn --version 0.76.7 --install-pods true --skip-git-init true --package-name com.chatrn --directory chat-rn
```
Then change package name in `package.json`, and begin build instructions above.

View File

@@ -0,0 +1,119 @@
apply plugin: "com.android.application"
apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"
/**
* This is the configuration block to customize your React Native Android app.
* By default you don't need to apply any configuration, just uncomment the lines you need.
*/
react {
/* Folders */
// The root of your project, i.e. where "package.json" lives. Default is '../..'
// root = file("../../")
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
// reactNativeDir = file("../../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
// codegenDir = file("../../node_modules/@react-native/codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
// cliFile = file("../../node_modules/react-native/cli.js")
/* Variants */
// The list of variants to that are debuggable. For those we're going to
// skip the bundling of the JS bundle and the assets. By default is just 'debug'.
// If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
// debuggableVariants = ["liteDebug", "prodDebug"]
/* Bundling */
// A list containing the node command and its flags. Default is just 'node'.
// nodeExecutableAndArgs = ["node"]
//
// The command to run when bundling. By default is 'bundle'
// bundleCommand = "ram-bundle"
//
// The path to the CLI configuration file. Default is empty.
// bundleConfig = file(../rn-cli.config.js)
//
// The name of the generated asset file containing your JS bundle
// bundleAssetName = "MyApplication.android.bundle"
//
// The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
// entryFile = file("../js/MyApplication.android.js")
//
// A list of extra flags to pass to the 'bundle' commands.
// See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
// extraPackagerArgs = []
/* Hermes Commands */
// The hermes compiler command to run. By default it is 'hermesc'
// hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
//
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
// hermesFlags = ["-O", "-output-source-map"]
/* Autolinking */
autolinkLibrariesWithApp()
}
/**
* Set this to true to Run Proguard on Release builds to minify the Java bytecode.
*/
def enableProguardInReleaseBuilds = false
/**
* The preferred build flavor of JavaScriptCore (JSC)
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
android {
ndkVersion rootProject.ext.ndkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion
namespace "com.chatrn"
defaultConfig {
applicationId "com.chatrn"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
}
dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
if (hermesEnabled.toBoolean()) {
implementation("com.facebook.react:hermes-android")
} else {
implementation jscFlavor
}
}

Binary file not shown.

View File

@@ -0,0 +1,10 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application
android:usesCleartextTraffic="true"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning"/>
</manifest>

View File

@@ -0,0 +1,26 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme"
android:supportsRtl="true">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

Some files were not shown because too many files have changed in this diff Show More