Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
d4a23ea
Clone server URL - subdomain support #502
joepio Jan 7, 2026
fa6e9f6
Multi-domain fix #502
joepio Jan 8, 2026
0d9f16f
Fix lint & tests
joepio Feb 5, 2026
8212404
Refactor Subject Rust #1139
joepio Feb 5, 2026
b4dd7b9
dids #1139
joepio Feb 6, 2026
d1a9e3c
Fix did endpoint & yjs sync
joepio Feb 6, 2026
7b7ea2e
Fix subscribe warning
joepio Feb 6, 2026
0ffb9e9
Normalize subjects for search deduplication
joepio Feb 6, 2026
bd0f6ca
Agents as did #1139
joepio Feb 6, 2026
c1d656f
Fix server_test
joepio Feb 6, 2026
5dedc5f
More clippy fixes
joepio Feb 6, 2026
a43d42b
Fix less unneccesary js builds
joepio Feb 10, 2026
42d4841
Stateless invites & did agents #544
joepio Feb 11, 2026
105af01
Fix subject usage in search
joepio Mar 3, 2026
213d918
Did migration, move routing to query param
joepio Mar 5, 2026
03f11bd
Version protocol handshake & backwards compatibility #1150
joepio Mar 5, 2026
d52f451
Fix API drift after DID rebase
joepio Mar 5, 2026
6cb2a1a
migrate to dids, dht resolve #1146
joepio Mar 7, 2026
35aa142
dids for commits
joepio Mar 7, 2026
930f616
Fix chatroom
joepio Mar 9, 2026
b31b163
Chatroom test, less subscribes
joepio Mar 9, 2026
1fd6f7b
Replace ureq with reqwest (async HTTP calls) #584
joepio Mar 9, 2026
6bcd08f
Fix ChatRoom / commit following again
joepio Mar 9, 2026
9623d46
Fix scroll chatroom
joepio Mar 9, 2026
7e9320a
Improve offline icon - also if no ws connection
joepio Mar 9, 2026
4ae39f4
lint
joepio Mar 9, 2026
809e9a1
Add metrics #420
joepio Mar 10, 2026
9f61718
Run on android #25
joepio Mar 11, 2026
7edd51c
Did drive
joepio Mar 11, 2026
04247ae
DID refactor #1139
joepio Mar 19, 2026
9a682af
Did rebase fixes
joepio Mar 19, 2026
d76d393
Create AGENTS.md
joepio Mar 19, 2026
b03c012
Fix HMR
joepio Mar 19, 2026
c133cdd
Fix table, simpler properties, add devdrive
joepio Mar 19, 2026
6c6e284
Did table fixes, onboarding
joepio Mar 22, 2026
6a8cebe
Fix DID commit resolve, set default drive description
joepio Mar 23, 2026
4ce1b9d
cache favicon
joepio Mar 23, 2026
683f43a
Add commit tests, make consistent with dids.
joepio Mar 23, 2026
9dd18cf
Drive scoped queries #481
joepio Mar 23, 2026
f7d0140
Fix cache
joepio Mar 24, 2026
fc86d43
Fix search
joepio Mar 24, 2026
0fbee58
Switch to Oxlint + Oxfmt #1160
joepio Mar 24, 2026
8e1adc9
Search redesign cmd+k
joepio Mar 24, 2026
91a4c93
Stricter lints
joepio Mar 24, 2026
11f78e4
Show drive switcher in profile, no default drives
joepio Mar 24, 2026
4eceec1
New agent + new drive onboarding
joepio Mar 24, 2026
d689236
Improve onboarding & add test for this
joepio Mar 25, 2026
47820dd
Fix oxlint / oxmft in zed
joepio Mar 26, 2026
1cd2770
Fix onboarding spec
joepio Mar 26, 2026
ce5542e
Fix some e2e tests
joepio Mar 26, 2026
b00fda5
Fix server-side fetch loop
joepio Mar 26, 2026
73ea97c
cleanup
joepio Mar 26, 2026
7304651
ResourceRow refactor
joepio Mar 26, 2026
a841b3a
Fix tags
joepio Mar 26, 2026
3aa0450
Class names for devs
joepio Mar 26, 2026
0639086
Share dialog instead of page
joepio Mar 26, 2026
931a635
Consistent context menu
joepio Mar 26, 2026
e8b6efe
Tags in top bar
joepio Mar 26, 2026
14ae533
Improved drive page
joepio Mar 26, 2026
c4e7538
UPdate new chatroom UX
joepio Mar 26, 2026
6bd28f7
Fix drive collection filter
joepio Mar 27, 2026
6ca44a5
Add UseDrive in @tomic/lib, add navbar
joepio Mar 27, 2026
b25d1de
Improve resourceRow look
joepio Mar 27, 2026
8246481
Wip navbar redesign
joepio Mar 27, 2026
a3b5300
Fix drive localstorage
joepio Mar 27, 2026
359ef14
Settings + settings search #1163
joepio Mar 27, 2026
8a964dc
Update changelog
joepio Mar 27, 2026
45822c9
Improved Drive design, shows new resource creation with quick buttons
joepio Mar 27, 2026
fa61a81
Quick enter in table editor to create new rows #1162
joepio Mar 27, 2026
1a36f2b
Quick enter in table editor to create new rows #1162
joepio Mar 27, 2026
8958949
Improve new resource UX - auto focus table and docuemnt on title edit
joepio Mar 28, 2026
95a748a
Fix tables
joepio Mar 28, 2026
e6395ad
Again improved onboarding
joepio Mar 28, 2026
beb22bf
Fix dagger CI
joepio Mar 29, 2026
9a0ae42
Exclude e2e from lint
joepio Mar 29, 2026
c8888d7
Linter
joepio Mar 29, 2026
eb09558
e2e test improvements, pruning drives
joepio Mar 29, 2026
c65d482
#1164 #1166 New Agents get private drives, shared resources through i…
joepio Mar 29, 2026
de77663
Improve sidebar UI design
joepio Mar 29, 2026
c147df8
Improve settings design
joepio Mar 29, 2026
520fee1
Onboarding design improvements
joepio Mar 30, 2026
f402008
Welcome design
joepio Mar 30, 2026
2b0c4e2
improve onboarding
joepio Mar 30, 2026
916ed92
Option to save secret file
joepio Mar 30, 2026
551a91c
Simplify RTE: Remove text alignment & font color #1168
joepio Mar 30, 2026
43e8dfc
Lint error fixes
joepio Mar 30, 2026
242cbe0
Fix lint issues
joepio Mar 30, 2026
13302f6
Migrate to loro #1173
joepio Apr 6, 2026
f4df93c
Loro migration further #1173
joepio Apr 6, 2026
d9a2749
Loro migration resource, sync test #1173
joepio Apr 6, 2026
4da4fc3
Use loro in version page
joepio Apr 6, 2026
6d76c3f
fix compile
joepio Apr 6, 2026
adff976
WASM compilation - switch ring to ed25519-dalek #76
joepio Apr 6, 2026
7735c01
Wasm compile - rt-multi-thread feature
joepio Apr 6, 2026
ada4015
Wasm tokio runtime types
joepio Apr 6, 2026
3819612
Fix current resource in search preview
joepio Apr 7, 2026
74e9585
Debug commit in otel, useDocumentText
joepio Apr 7, 2026
ce067b9
Live queries / real-time queries #1174
joepio Apr 7, 2026
f9dec5f
alternative KV store #433
joepio Apr 7, 2026
103d09d
WASM persistence #1175
joepio Apr 7, 2026
65b8865
Offline-first!
joepio Apr 7, 2026
c7cfadc
PWA fix
joepio Apr 8, 2026
4ca9714
Offline-first document save
joepio Apr 8, 2026
a29cc0a
Less re-renders, better GUI performance
joepio Apr 8, 2026
efac8ff
gitignore wasm build
joepio Apr 8, 2026
97581a2
WASM indexing / queries #1175
joepio Apr 8, 2026
9fa8e2e
Client persistence & indexing with wasm #1175
joepio Apr 8, 2026
7db6494
useChildren, with live queries!
joepio Apr 8, 2026
b2b133d
Fix init DB, commits on resources
joepio Apr 9, 2026
5c0f857
Simplify agent & drive creation in client APIs #1177
joepio Apr 9, 2026
5ee3750
Fix query sort
joepio Apr 9, 2026
7f7c9af
Fix new row creation
joepio Apr 9, 2026
224957f
Loading state for useChildren / useCollection
joepio Apr 9, 2026
99cb5c3
Chatroom using live query
joepio Apr 9, 2026
75e1b6b
Persist LORO snapshots in redb, get rid of localstorage for commits, fix
joepio Apr 9, 2026
4b6d8cf
Fix sidebar - no table & chatroom childs
joepio Apr 9, 2026
e2e0e82
Some minor porf improvements
joepio Apr 9, 2026
89f0e24
Add commit log
joepio Apr 9, 2026
631af31
Sync protocol #1178
joepio Apr 9, 2026
8703c1b
sync page improved
joepio Apr 9, 2026
13dc7ef
Fix useChildren
joepio Apr 10, 2026
da4752d
Fix unauthorized bug
joepio Apr 10, 2026
d7ccb72
Fix docs
joepio Apr 10, 2026
95c6c43
Fix offline search
joepio Apr 10, 2026
510f5f0
Improve share ux
joepio Apr 10, 2026
cd225ce
Fix user persistence
joepio Apr 10, 2026
42918d4
loro list update
joepio Apr 10, 2026
67d50cc
Migrate to getEntries
joepio Apr 10, 2026
8999efb
Add hash based sync #1178
joepio Apr 10, 2026
eaf4ee0
Migrate to ws v2
joepio Apr 11, 2026
c85eebd
Cache query requests
joepio Apr 11, 2026
17bb354
Improve sync page & cleanup drive switcher
joepio Apr 11, 2026
20c99c2
Unify all AtomicStores - atomic_lib for all #1180
joepio Apr 11, 2026
e8bc6b1
Sync resources between android instances, ditch DHT
joepio Apr 16, 2026
5e622fe
Fix sync
joepio Apr 16, 2026
64a1cd9
Fix sync
joepio Apr 17, 2026
6fa4442
Fix history scrub
joepio Apr 17, 2026
28ec9fc
Improve loro speed, benchmark
joepio Apr 18, 2026
4063898
desktop strategy
joepio Apr 18, 2026
2c0ff1b
begin_batch and commit_batch in redb store for performant populate
joepio Apr 18, 2026
4766c33
Fix CRDT loro bug
joepio Apr 19, 2026
53a5d65
Too many commit errs
joepio Apr 19, 2026
612e229
Improved debug tools
joepio Apr 19, 2026
36c494f
Multi-tab opfs
joepio Apr 19, 2026
0af475d
Improved sync page, local toggle
joepio Apr 19, 2026
5b85b42
Fix offline => online sync
joepio Apr 19, 2026
0ce2299
Fix various e2e tests, search
joepio Apr 20, 2026
56a0a45
Drive scoped watched queries, fix some tests, single JS web worker
joepio Apr 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
94 changes: 94 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"permissions": {
"allow": [
"mcp__chrome-devtools__new_page",
"mcp__chrome-devtools__take_screenshot",
"Bash(cargo test --package atomic-server --test dht_resolve --no-run)",
"Bash(cargo test --package atomic-server --test dht_resolve -- --nocapture)",
"Bash(pnpm test)",
"Bash(cargo build -p atomic-server)",
"Bash(grep -n \"async fn get_resource_extended\" /Users/joep/dev/github/atomicdata-dev/atomic-server/lib/src/*.rs)",
"Bash(grep -n \"async fn query\\\\|fn query\" /Users/joep/dev/github/atomicdata-dev/atomic-server/server/src/*.rs)",
"Bash(grep -E \"\\\\.\\(rs\\)$\")",
"Bash(grep -n \"pub async fn handle_get_resource\\\\|pub async fn post_commit\" /Users/joep/dev/github/atomicdata-dev/atomic-server/server/src/handlers/*.rs)",
"Bash(cargo tauri --version)",
"Bash(echo $ANDROID_HOME)",
"Bash(adb devices)",
"Bash(echo $PATH)",
"Bash(cargo build:*)",
"Bash(cargo test:*)",
"Bash(for f:*)",
"Bash(do echo:*)",
"Read(//Users/joep/dev/github/atomicdata-dev/atomic-server/**)",
"Bash(done)",
"Bash(npx tsc:*)",
"mcp__charlotte__charlotte_screenshot",
"Bash(npx vitest:*)",
"mcp__charlotte__charlotte_navigate",
"Bash(npx playwright:*)",
"Bash(npm run:*)",
"Bash(xargs grep:*)",
"Bash(find /Users/joep/dev/github/atomicdata-dev/atomic-server/browser/data-browser/src/components/Dialog -name *.ts -o -name *.tsx)",
"mcp__charlotte__charlotte_tab_open",
"mcp__charlotte__charlotte_click",
"mcp__charlotte__charlotte_find",
"Bash(pnpm exec:*)",
"Bash(curl -s http://localhost:9883)",
"Bash(curl -s http://localhost:5173)",
"mcp__charlotte__charlotte_tools",
"mcp__charlotte__charlotte_observe",
"mcp__charlotte__charlotte_type",
"Bash(while read:*)",
"Bash(do if:*)",
"Bash(then echo:*)",
"Bash(pnpm run:*)",
"Bash(ls data-browser/tsconfig*.json)",
"Bash(grep -r \"localResource\\\\|new.*resource\\\\|uncommitted\" /Users/joep/dev/github/atomicdata-dev/atomic-server/browser/data-browser/src/chunks/TableEditor --include=*.ts --include=*.tsx)",
"Bash(grep -E \"\\\\.\\(tsx?|jsx?\\)$\")",
"Bash(grep -E \"\\\\.ts$\")",
"mcp__charlotte__charlotte_tabs",
"mcp__chrome-devtools__press_key",
"mcp__chrome-devtools__type_text",
"mcp__chrome-devtools__evaluate_script",
"mcp__chrome-devtools__list_pages",
"Bash(cargo check:*)",
"WebFetch(domain:loro.dev)",
"WebFetch(domain:github.com)",
"Bash(export PATH=\"$HOME/.cargo/bin:$PATH\")",
"Bash(cargo tree:*)",
"Bash(RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' cargo check -p atomic_lib --features db,wasm --target wasm32-unknown-unknown)",
"Bash(git checkout:*)",
"Bash(export PATH=\"/opt/homebrew/bin:$PATH\")",
"mcp__charlotte__charlotte_click_at",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:5173/)",
"Bash(node -e ':*)",
"Bash(pnpm build:wasm)",
"Bash(node -e \"const {dataBrowser} = require\\('./lib/dist/index.js'\\); console.log\\(dataBrowser.classes.table, dataBrowser.classes.chatroom\\);\")",
"Bash(node --input-type=module -e \"import {dataBrowser} from './lib/dist/index.js'; console.log\\(dataBrowser.classes.table, dataBrowser.classes.chatroom\\);\")",
"Bash(npx tsx -e ':*)",
"Bash(node --experimental-vm-modules src/loro-size-test.mjs)",
"Bash(grep -E \"^-.*tsx$\")",
"Bash(ls browser/e2e/tests/*.spec.ts)",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:9883/)",
"Bash(curl -s -H \"Accept: application/ad+json\" \"http://localhost:9883/invites?token=eyJodHRwczovL2F0b21pY2RhdGEuZGV2L3Byb3BlcnRpZXMvaW52aXRlL3RhcmdldCI6ImRpZDphZDoyTzUwVmVqK1BSUStyYnU4blE5R2QxQ0xUa0VQaTR5UjgxOTR5MzVhaC9SNlZMUjM4QzlMUkFMbkUzYlM3enNZNFNoSUlnTWFEMS9LSHE4cGhwaVJCZz09IiwiaHR0cHM6Ly9hdG9taWNkYXRhLmRldi9wcm9wZXJ0aWVzL2ludml0ZS93cml0ZSI6dHJ1ZSwiaHR0cHM6Ly9hdG9taWNkYXRhLmRldi9wcm9wZXJ0aWVzL2ludml0ZS9leHBpcmVzQXQiOjE3Nzg0Mjc3Mjk4NzAsImh0dHBzOi8vYXRvbWljZGF0YS5kZXYvcHJvcGVydGllcy9zaWduZXIiOiJkaWQ6YWQ6YWdlbnQ6cmFkNDIrdHZMK09PMEF4UG9Sc0ZKQTBKSkxWbnRVc0JWaU8wZXBDQlF4VT0iLCJodHRwczovL2F0b21pY2RhdGEuZGV2L3Byb3BlcnRpZXMvc2lnbmF0dXJlIjoiNW43TkRSbHo3LzZ6dlpWOUVVcFlCTEhNTzlZUTFza0JydGVjaVhabE1KNGZVb1UvVWlaQmJkL0x3MFU3eU43ZzA3UWFNWFIzZW1mQTJnL2x2azd0QVE9PSJ9\")",
"Bash(python3 -m json.tool)",
"Bash(echo \"Checking types...\" ls /Users/joep/dev/github/atomicdata-dev/atomic-server/browser/node_modules/loro-crdt/dist/*.d.ts)",
"Read(//Users/joep/dev/flutter/bin/**)",
"Read(//Users/joep/flutter/bin/**)",
"Read(//opt/flutter/bin/**)",
"Read(//Users/joep/**)",
"Bash(mise which:*)",
"Bash(mise ls:*)",
"Bash(export PATH=\"/Users/joep/.local/share/mise/installs/flutter/3.22.1-stable/bin:$PATH\")",
"Bash(flutter build:*)",
"Bash(cargo doc:*)",
"Bash(grep -rn \"pub fn.*change\\\\|pub fn.*history\\\\|pub fn.*oplog\\\\|get_all_change\" /Users/joep/.cargo/registry/src/*/loro-1.10.8/src/)",
"WebSearch",
"Bash(find /Users/joep/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/simple-dns-0.9.3/ -name \"*.rs\" -exec grep -l \"enum RData\" {} \\\\;)",
"Bash(cargo test *)",
"WebFetch(domain:docs.iroh.computer)",
"Bash(grep -v \"^W/atomic\\\\|^$\")",
"Bash(kill 85810 85821)"
]
}
}
1 change: 1 addition & 0 deletions .claude/worktrees/sleepy-borg
Submodule sleepy-borg added at c9964a
1 change: 1 addition & 0 deletions .dagger/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/sdk/** linguist-generated
tar
49 changes: 27 additions & 22 deletions .dagger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class AtomicServer {

@func()
async jsLint(): Promise<string> {
const depsContainer = this.jsBuild(this.source.directory('browser'));
const depsContainer = this.jsBuild();
return depsContainer
.withWorkdir('/app')
.withExec(['pnpm', 'run', 'lint'])
Expand All @@ -94,7 +94,7 @@ export class AtomicServer {

@func()
async jsTest(): Promise<string> {
const depsContainer = this.jsBuild(this.source.directory('browser'));
const depsContainer = this.jsBuild();
return depsContainer
.withWorkdir('/app')
.withExec(['pnpm', 'run', 'test'])
Expand Down Expand Up @@ -154,7 +154,7 @@ export class AtomicServer {

@func()
typedocPublish(@argument() netlifyAuthToken: Secret): Promise<string> {
const browserDir = this.jsBuild(this.source.directory('browser'));
const browserDir = this.jsBuild();
return browserDir
.withWorkdir('/app')
.withSecretVariable('NETLIFY_AUTH_TOKEN', netlifyAuthToken)
Expand All @@ -163,9 +163,8 @@ export class AtomicServer {
}

@func()
private jsBuild(
@argument({ ignore: ['**/e2e'] }) source: Directory,
): Container {
private jsBuild(): Container {
const browser = this.source.directory('browser');
// Create a container with PNPM installed
const pnpmContainer = dag
.container()
Expand All @@ -177,30 +176,39 @@ export class AtomicServer {

// Copy workspace files first for caching node_modules.
const workspaceContainer = pnpmContainer
.withFile('/app/package.json', source.file('package.json'))
.withFile('/app/pnpm-lock.yaml', source.file('pnpm-lock.yaml'))
.withFile('/app/pnpm-workspace.yaml', source.file('pnpm-workspace.yaml'))
.withFile('/app/package.json', browser.file('package.json'))
.withFile('/app/pnpm-lock.yaml', browser.file('pnpm-lock.yaml'))
.withFile('/app/pnpm-workspace.yaml', browser.file('pnpm-workspace.yaml'))
.withFile(
'/app/data-browser/package.json',
source.file('data-browser/package.json'),
browser.file('data-browser/package.json'),
)
.withFile('/app/lib/package.json', source.file('lib/package.json'))
.withFile('/app/react/package.json', source.file('react/package.json'))
.withFile('/app/svelte/package.json', source.file('svelte/package.json'))
.withFile('/app/cli/package.json', source.file('cli/package.json'))
.withFile('/app/lib/package.json', browser.file('lib/package.json'))
.withFile('/app/react/package.json', browser.file('react/package.json'))
.withFile('/app/svelte/package.json', browser.file('svelte/package.json'))
.withFile('/app/cli/package.json', browser.file('cli/package.json'))
.withFile(
'/app/create-template/package.json',
source.file('create-template/package.json'),
browser.file('create-template/package.json'),
)
.withFile('/app/plugin/package.json', browser.file('plugin/package.json'))
.withFile('/app/e2e/package.json', browser.file('e2e/package.json'))
// .withMountedCache('/app/.pnpm-store', dag.cacheVolume('pnpm-store'))
.withExec([
'sh',
'-c',
'yes | pnpm install --frozen-lockfile --shamefully-hoist',
]);

// Copy the source so installed dependencies persist in the container
const sourceContainer = workspaceContainer.withDirectory('/app', source);
// data-browser bootstrap JSON lives in repo-root lib/defaults. Vite resolves ../../../lib
// from data-browser/src to filesystem /lib if /app is only browser — do not mount there
// (it overwrites OS /lib). Mount alongside browser and resolve via alias in vite.config.
const sourceContainer = workspaceContainer
.withDirectory('/app', browser)
.withDirectory(
'/app/lib-defaults',
this.source.directory('lib/defaults'),
);

// Build all packages since they may depend on each other's built artifacts
return sourceContainer.withExec(['pnpm', 'run', 'build']);
Expand Down Expand Up @@ -238,9 +246,7 @@ export class AtomicServer {
.withWorkdir('/code')
.withExec(['cargo', 'fetch']);

const browserDir = this.jsBuild(this.source.directory('browser')).directory(
'/app/data-browser/dist',
);
const browserDir = this.jsBuild().directory('/app/data-browser/dist');
const containerWithAssets = sourceContainer.withDirectory(
'/code/server/assets_tmp',
browserDir,
Expand Down Expand Up @@ -385,7 +391,7 @@ export class AtomicServer {

@func()
async endToEnd(@argument() netlifyAuthToken: Secret): Promise<string> {
const browserContainer = this.jsBuild(this.source.directory('browser'));
const browserContainer = this.jsBuild();

// Setup Playwright container - debug and fix package manager
const playwrightContainer = dag
Expand Down Expand Up @@ -431,7 +437,6 @@ export class AtomicServer {
browserContainer.directory('/app/node_modules'),
)
.withEnvVariable('LANGUAGE', 'en_GB')
.withEnvVariable('DELETE_PREVIOUS_TEST_DRIVES', 'false')
.withEnvVariable('FRONTEND_URL', `http://${ATOMIC_DOMAIN}:9883`)
.withEnvVariable('SERVER_URL', `http://${ATOMIC_DOMAIN}:9883`)
.withServiceBinding('atomic', this.atomicService())
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ trace-*.json
artifact
server/assets_tmp
.netlify
scratchpad
.claude
9 changes: 7 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.workingDirectories": [{ "directory": "browser" }],
"eslint.workingDirectories": [
{
"directory": "browser"
}
],
"typescript.preferences.preferTypeOnlyAutoImports": true,
"rustTestExplorer.rootCargoManifestFilePath": "./Cargo.toml",
// This won't work in multi-root workspaces, could be fixed by using a rust-analyzer.toml once there is some more documentation on that.
// For now you need to set this in your own vscode settings file.
"rust-analyzer.cargo.extraEnv": {
"ATOMICSERVER_SKIP_JS_BUILD": "true"
}
},
"java.configuration.updateBuildConfiguration": "automatic"
}
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
"group": "test"
},
{
"label": "run jaeger for tracing (using docker)",
"label": "run SigNoz for tracing locally (using docker)",
"type": "shell",
"command": "docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 14268:14268 -p 9411:9411 jaegertracing/all-in-one",
"command": "git clone https://github.com/SigNoz/signoz.git /tmp/signoz 2>/dev/null || true && cd /tmp/signoz/deploy && docker compose up",
"group": "none",
"problemMatcher": []
},
Expand Down
22 changes: 22 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"lsp": {
"oxlint": {
"initialization_options": {
"settings": {
"run": "onType",
"disableNestedConfig": false,
"fixKind": "safe_fix",
"unusedDisableDirectives": "deny"
}
}
},
"oxfmt": {
"initialization_options": {
"settings": {
"fmt.configPath": "browser/.oxfmtrc.json",
"run": "onSave"
}
}
}
}
}
57 changes: 57 additions & 0 deletions .zed/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[
{
"label": "run atomic-server (cargo run)",
"command": "cargo run --bin atomic-server",
"cwd": "$ZED_WORKTREE_ROOT"
},
{
"label": "test atomic-server (cargo nextest run)",
"command": "cargo nextest run",
"cwd": "$ZED_WORKTREE_ROOT"
},
{
"label": "run data-browser dev server (pnpm start)",
"command": "pnpm start",
"cwd": "$ZED_WORKTREE_ROOT/browser"
},
{
"label": "test data-browser e2e",
"command": "pnpm test-e2e",
"cwd": "$ZED_WORKTREE_ROOT/browser"
},
{
"label": "test end-to-end / E2E (npm playwright)",
"command": "cd server/e2e_tests/ && npm i && npm run test",
"cwd": "$ZED_WORKTREE_ROOT"
},
{
"label": "build desktop atomic-server tauri",
"command": "cargo tauri build",
"cwd": "$ZED_WORKTREE_ROOT/desktop"
},
{
"label": "dev desktop atomic-server tauri",
"command": "cargo tauri dev",
"cwd": "$ZED_WORKTREE_ROOT/desktop"
},
{
"label": "benchmark criterion atomic-server",
"command": "cargo criterion",
"cwd": "$ZED_WORKTREE_ROOT/server"
},
{
"label": "docs atomic data (mdbook serve)",
"command": "mdbook serve",
"cwd": "$ZED_WORKTREE_ROOT/docs"
},
{
"label": "run SigNoz for tracing locally (docker)",
"command": "git clone https://github.com/SigNoz/signoz.git /tmp/signoz 2>/dev/null || true && cd /tmp/signoz/deploy && docker compose up",
"cwd": "$ZED_WORKTREE_ROOT"
},
{
"label": "dagger call rust-build",
"command": "dagger call rust-build",
"cwd": "$ZED_WORKTREE_ROOT"
}
]
Loading
Loading