-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4aa5e51
commit d01fad0
Showing
19 changed files
with
846 additions
and
592 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'hostd': minor | ||
--- | ||
|
||
The configuration now has an advanced mode that allows the user to view and change all settings. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'hostd': minor | ||
--- | ||
|
||
The configuration page now shows the changed status on fields if the user has made a change but the server values were since updated. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'hostd': minor | ||
--- | ||
|
||
The command palette now includes navigation to configuration sections. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'hostd': minor | ||
--- | ||
|
||
The configuration is now much simpler by default, only requiring the user to set essential settings. |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Text, Switch, Tooltip } from '@siafoundation/design-system' | ||
import { useConfig } from '../../contexts/config' | ||
|
||
export function ConfigNav() { | ||
const { showAdvanced, setShowAdvanced } = useConfig() | ||
|
||
return ( | ||
<div className="pl-1"> | ||
<Tooltip content={showAdvanced ? 'Hide advanced' : 'Show advanced'}> | ||
<div className="flex gap-1 items-center"> | ||
<Switch | ||
checked={showAdvanced} | ||
onCheckedChange={(checked) => setShowAdvanced(checked)} | ||
/> | ||
<Text size="12" color="subtle"> | ||
Advanced | ||
</Text> | ||
</div> | ||
</Tooltip> | ||
</div> | ||
) | ||
} |
Oops, something went wrong.