-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better clipboard handling + fix input blur
- Loading branch information
1 parent
c893ec8
commit 91c7721
Showing
20 changed files
with
1,612 additions
and
1,148 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,78 @@ | ||
{ | ||
"build": { | ||
"beforeDevCommand": "pnpm dev", | ||
"beforeBuildCommand": "pnpm build", | ||
"devPath": "http://localhost:3000", | ||
"distDir": "../.output/public", | ||
"withGlobalTauri": false | ||
}, | ||
"package": { | ||
"productName": "MacroGraph" | ||
}, | ||
"tauri": { | ||
"allowlist": { | ||
"all": false, | ||
"shell": { | ||
"all": true, | ||
"execute": true, | ||
"sidecar": true, | ||
"open": true | ||
}, | ||
"dialog": { | ||
"all": true | ||
}, | ||
"path": { | ||
"all": true | ||
}, | ||
"fs": { | ||
"all": true, | ||
"scope": ["**"] | ||
}, | ||
"protocol": { | ||
"all": true, | ||
"asset": true, | ||
"assetScope": ["**"] | ||
}, | ||
"http": { | ||
"all": true, | ||
"scope": ["https://**"] | ||
} | ||
}, | ||
"bundle": { | ||
"active": true, | ||
"icon": [ | ||
"icons/32x32.png", | ||
"icons/128x128.png", | ||
"icons/128x128@2x.png", | ||
"icons/icon.icns", | ||
"icons/icon.ico" | ||
], | ||
"identifier": "macrograph.brendonovich.dev", | ||
"targets": "all" | ||
}, | ||
"security": { | ||
"csp": "asset: https://asset.localhost;" | ||
}, | ||
"updater": { | ||
"active": true, | ||
"endpoints": [ | ||
"https://cdn.crabnebula.app/update/macrograph/macrograph/{{target}}-{{arch}}/{{current_version}}" | ||
], | ||
"dialog": true, | ||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQzOEQ2NzBDN0FFQkE1NzEKUldSeHBldDZER2VOMHlhUG5vaUNKVHV0L0RnT3Ardnd5RmJiQWNtZUhyd3I2QVVlYnZFVVM4Q1gK" | ||
}, | ||
"windows": [ | ||
{ | ||
"fullscreen": false, | ||
"resizable": true, | ||
"title": "MacroGraph", | ||
"width": 800, | ||
"height": 600, | ||
"userAgent": "Macrograph/0.0" | ||
} | ||
] | ||
} | ||
"build": { | ||
"beforeDevCommand": "pnpm dev", | ||
"beforeBuildCommand": "pnpm build", | ||
"devPath": "http://localhost:3000", | ||
"distDir": "../.output/public", | ||
"withGlobalTauri": false | ||
}, | ||
"package": { | ||
"productName": "MacroGraph" | ||
}, | ||
"tauri": { | ||
"allowlist": { | ||
"all": false, | ||
"clipboard": { | ||
"all": true | ||
}, | ||
"shell": { | ||
"all": true, | ||
"execute": true, | ||
"sidecar": true, | ||
"open": true | ||
}, | ||
"dialog": { | ||
"all": true | ||
}, | ||
"path": { | ||
"all": true | ||
}, | ||
"fs": { | ||
"all": true, | ||
"scope": ["**"] | ||
}, | ||
"protocol": { | ||
"all": true, | ||
"asset": true, | ||
"assetScope": ["**"] | ||
}, | ||
"http": { | ||
"all": true, | ||
"scope": ["https://**"] | ||
} | ||
}, | ||
"bundle": { | ||
"active": true, | ||
"icon": [ | ||
"icons/32x32.png", | ||
"icons/128x128.png", | ||
"icons/128x128@2x.png", | ||
"icons/icon.icns", | ||
"icons/icon.ico" | ||
], | ||
"identifier": "macrograph.brendonovich.dev", | ||
"targets": "all" | ||
}, | ||
"security": { | ||
"csp": "asset: https://asset.localhost;" | ||
}, | ||
"updater": { | ||
"active": true, | ||
"endpoints": [ | ||
"https://cdn.crabnebula.app/update/macrograph/macrograph/{{target}}-{{arch}}/{{current_version}}" | ||
], | ||
"dialog": true, | ||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQzOEQ2NzBDN0FFQkE1NzEKUldSeHBldDZER2VOMHlhUG5vaUNKVHV0L0RnT3Ardnd5RmJiQWNtZUhyd3I2QVVlYnZFVVM4Q1gK" | ||
}, | ||
"windows": [ | ||
{ | ||
"fullscreen": false, | ||
"resizable": true, | ||
"title": "MacroGraph", | ||
"width": 800, | ||
"height": 600, | ||
"userAgent": "Macrograph/0.0" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
import "@macrograph/ui/global.css"; | ||
import { Router } from "@solidjs/router"; | ||
import { FileRoutes } from "@solidjs/start/router"; | ||
|
||
import { Suspense } from "solid-js"; | ||
import { Toaster } from "solid-sonner"; | ||
import "./app.css"; | ||
|
||
import { client, queryClient, rspc } from "./rspc"; | ||
|
||
import "./app.css"; | ||
|
||
export default function App() { | ||
return ( | ||
<Router | ||
root={(props) => ( | ||
<rspc.Provider client={client} queryClient={queryClient}> | ||
<Suspense>{props.children}</Suspense> | ||
<Toaster /> | ||
</rspc.Provider> | ||
)} | ||
> | ||
<FileRoutes /> | ||
</Router> | ||
); | ||
return ( | ||
<Router | ||
root={(props) => ( | ||
<rspc.Provider client={client} queryClient={queryClient}> | ||
<Suspense>{props.children}</Suspense> | ||
<Toaster /> | ||
</rspc.Provider> | ||
)} | ||
> | ||
<FileRoutes /> | ||
</Router> | ||
); | ||
} |
Oops, something went wrong.