Repository navigation
feat(desktop): share usage overview rows and add appearance assets #1113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
elyasmnvidian
wants to merge
4
commits into
emehtabuddin/s30-desktop-session-cleanup
from
emehtabuddin/s32-desktop-summary-appearance
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3265097
feat(desktop): share usage overview rows and add appearance assets
elyasmnvidian 5c918e5
feat(desktop): add the desktop stylesheet, combobox, and ECharts anal…
elyasmnvidian 159938f
feat(desktop): add the desktop app pages and route workspace (#1139)
elyasmnvidian 567b1c5
fix(desktop): require a server port, trim the baseline model, report …
elyasmnvidian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Desktop setup | ||
|
|
||
| Run `cargo desktop install` from the source checkout to build and install the | ||
| desktop app and server. On Linux, open the installed app with | ||
| `~/.switchyard/bin/switchyard-desktop --tui`. If you set `SY_HOME`, use its `bin` | ||
| directory instead. | ||
|
|
||
| Setup opens when neither the app settings file nor its default server config | ||
| exists. Existing files skip setup, including after reinstall. Invalid existing | ||
| files show an error so you can repair them in Settings. Routing logs and price | ||
| files alone do not skip setup. | ||
|
|
||
| Choose an existing server config or create one from bundled defaults. Select | ||
| the server address, routing log, optional price file, baseline model, and refresh | ||
| interval, then save. Use absolute file paths and an `http://` server address. | ||
| Creating a server config never replaces an existing file. | ||
| The server waits for saved app settings before starting. Save any required API | ||
| keys in **Settings → Server keys**. Use **Check config** in Settings, then restart | ||
| the server. The managed server listens on `127.0.0.1`; changing the address does | ||
| not expose it to the network. | ||
|
|
||
| **Settings → Configuration** uses the same form. Saving preserves comments in | ||
| the app settings file. Restart the server after changing its selected files or | ||
| port. The installed server reads those selections when it starts. | ||
|
|
||
| **Run setup again** reopens the form. **Remove app preferences** shows the exact | ||
| settings file before removal and checks that its contents have not changed | ||
| since review. Removal keeps a recovery copy and preserves server configs, saved | ||
| keys, history, accounts, and coding-tool settings. Use **Connect tools** to | ||
| restore a coding tool's settings. | ||
|
|
||
| In the terminal app, open Settings with `7`. Press `f` to edit configuration or | ||
| `d` to review removal of app preferences. | ||
|
|
||
| A fresh installation leaves the Codex profile unchanged. After setup saves a | ||
| server config, reinstalling creates or updates the Codex profile, which defaults | ||
| to `~/.codex/sy.config.toml`. The installer keeps a recovery copy of a changed | ||
| profile. |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "identifier": "main-chrome", | ||
| "description": "The desktop titlebar supports dragging and double-click maximization.", | ||
| "windows": ["main"], | ||
| "permissions": [ | ||
| "core:window:allow-start-dragging", | ||
| "core:window:allow-internal-toggle-maximize" | ||
| ] | ||
| } |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.