Commit Graph

8 Commits

Author SHA1 Message Date
Tamaro Skaljic 31c9ee5116 Rename module to database where appropriate (#277)
* clients connect to databases, not modules

* the name is for the database, not the module

* reducers are exposed by databases, not modules

* don't name clients "modules" too

* Modules have no state, the database has it

* more database instead of client connection

* databases are hosted, not modules

* users interact with databases, not modules

* fix typo

* Apply suggestions from code review

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-04-16 16:09:48 -04:00
Phoebe Goldman 289396f7b5 Add convention for table names to style guide (#300) 2025-04-14 20:33:08 -04:00
Phoebe Goldman fdfe68ae14 Update Rust SDK ref, and also a few small fixes (#172)
* *Must* accept `ReducerContext`, not *may*

* Small fixes to Rust docs for database Identity and rename Address

* Update Rust SDK reference for various 1.0 API changes

* Fix broken links

* TOC and TODOs

* Rename `Address` to `ConnectionId` in index, fix some links

* Minor fixes I found while working through converting this to typescript

* Link to SQL ref

* Additional fixups found while rewriting TS ref

* Remove references to BitCraftMini

We no longer use this as an example.

Also, I'm pretty sure we stopped using that name ages ago.

* No UB from mixing `subscribe` and `subscribe_to_all_tables`

Co-authored-by: joshua-spacetime <josh@clockworklabs.io>

* Update TypeScript SDK reference (#181)

* Begin updating TypeScript SDK ref to match the new rust one

* Link to SQL ref from `subscribe` method

* Fill in the rest of the TypeScript SDK ref

* Fix copy-paste error: `subscribeToAllTables` should be camelCase

Co-authored-by: joshua-spacetime <josh@clockworklabs.io>

* Copy change from Rust SDK docs: no UB in `subscribeToAllTables`

Co-authored-by: joshua-spacetime <josh@clockworklabs.io>

* Fix casing of `withModuleName`

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Address Tyler's review

---------

Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

---------

Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-03-03 12:58:32 -05:00
joshua-spacetime 53d99af23d Remove references to testnet
Closes #183.
2025-02-25 12:18:15 -08:00
Phoebe Goldman 6c11c8609e Style guide: add formatting advice for GUI elements and menu paths (#129)
* Style guide: add formatting advice for menu items

* Generalize guidance to all GUI elements, not just menu paths
2025-02-08 00:39:35 -05:00
james gilles 20a8ce2a74 Add remark to style guide inspired by SpacetimeDB#2050 (#133) 2025-01-16 10:48:41 -05:00
james gilles bade25de08 Add vocabulary to style guide, update index.md accordingly (#126)
* Add vocabulary to style guide, update index.md accordingly

* s/runs/hosts/

* Update STYLE.md

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

* Rewrite 'Reducer'

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-01-08 14:09:11 -05:00
Phoebe Goldman 0557d0ef4e Style guide for our docs (#110)
* WIP style guide for our docs

* More style

* Style: tutorials

* Add Tyler's suggestion re: avoiding passive voice

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Fill in grammar todos

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2024-11-26 10:57:41 -05:00