Sebastian Martinez
2ac0c54a85
Add heartwood stream module
...
Introducing the `stream` module from the `heartwood` repo from patch
`40a8d72`, for our global inbox
2025-01-09 11:10:07 +01:00
Sebastian Martinez
153331f2e3
Infer file type for embeds for previews
2024-12-19 20:55:30 +01:00
Sebastian Martinez
4647cea062
Fix syntax highlighting for languages with multiple injections
2024-12-19 13:54:25 +01:00
Sebastian Martinez
a71f6b7feb
Update dependencies
2024-12-17 10:42:51 +01:00
Sebastian Martinez
ca4d9d13fd
Add embeds to the Textarea
2024-12-13 12:26:51 +01:00
Sebastian Martinez
4f046343f3
Add syntax highlighting for diffs
2024-12-09 14:53:17 +01:00
Sebastian Martinez
5c8844db1c
Fix radicle crate at 0.14.0
...
Also update `heartwood-release` to a pre-release to get the tests to
pass
2024-12-02 17:06:42 +01:00
Sebastian Martinez
e093a5bc29
Let ts_rs run formatting types instead of prettier
2024-12-02 16:34:12 +01:00
Sebastian Martinez
70ee53e859
Add unit tests for radicle-types crate
2024-12-02 16:34:12 +01:00
Sebastian Martinez
a2776c27a4
Remove migrate argument since not used anymore
2024-12-02 16:30:54 +01:00
Sebastian Martinez
936d8197b1
Update heartwood crates to commit 2d13591
...
- Add `migrate::ignore` callback to `cob::cache` calls
- Remove the `Verified` trait from the `Doc` struct
- Update `Doc` fields with read-only methods
2024-11-22 10:54:49 +01:00
Sebastian Martinez
7cdf6544ad
Fix error serialize in the test-http-api crate
2024-11-20 14:20:57 +01:00
Sebastian Martinez
743b7af54c
Revert logging from crabnebula dev tools to the tauri-plugin-log
2024-11-20 11:35:50 +01:00
Sebastian Martinez
d90dc0735c
Add test-http-api crate to make app work in browser
...
A new `invoke` function calls either the tauri backend or the
`test-http-api` function if ran in a browser.
2024-10-28 13:56:23 +01:00
Sebastian Martinez
e0323e34bc
Use tokio::time::sleep instead of blocking threads
...
Great explanation by @LarsWirzenius on the why
> Async code in Rust runs in one or more threads. Usually there's a
small number of threads that are multiplexed between different async
functions. The async executor chooses what threads to use and which
thread runs which async code. If the async code takes a long time, such
as by calling std::thread::sleep, the whole thread stops doing anything
else, and then no other async code runs in that thread, either.
2024-10-25 12:48:33 +02:00
Sebastian Martinez
874605633e
Refactor types
...
- Improves the hierarchy of types into separate folders
- Improve the types generation making more structs and less serde_json
- Adding more optional values to the tauri commands
2024-10-23 11:58:37 +02:00
Sebastian Martinez
0bdf0e7192
Extract rust types into its own crate
2024-10-22 13:10:12 +02:00
Sebastian Martinez
996f0817f6
Return comments and replies instead of Oids
2024-10-22 10:49:06 +02:00
Sebastian Martinez
7267961c0f
Update dependencies
...
Start using svelte 5 stable instead of next versions
2024-10-21 08:19:44 +02:00
Sebastian Martinez
6d649aea6d
Add get_diff tauri command
2024-10-15 09:36:42 +02:00
Sebastian Martinez
ebbccccc9d
Add embed fix and add save_embed command
2024-10-14 13:47:41 +02:00
Sebastian Martinez
8d76c8317c
Create a cargo workspace to handle multiple crates
2024-10-08 15:21:19 +02:00