-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
34 changed files
with
570 additions
and
429 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
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 +1 @@ | ||
629562b1124538ac4adc569d85596259 | ||
b2847408bf3098df9dcf115aa2c4ab87 |
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
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,18 +1,16 @@ | ||
import React from 'react'; | ||
import { Modal, Text } from '@mantine/core'; | ||
import React from "react"; | ||
import { Modal, Text } from "@mantine/core"; | ||
|
||
interface ResultDialogProps { | ||
opened: boolean; | ||
onClose: () => void; | ||
success: boolean; | ||
} | ||
|
||
const ResultDialog: React.FC<ResultDialogProps> = ({ opened, onClose, success }) => { | ||
export const ResultDialog: React.FC<ResultDialogProps> = ({ opened, onClose, success }) => { | ||
return ( | ||
<Modal opened={opened} onClose={onClose} title="Result"> | ||
<Text>{success ? 'Success!' : 'Failed!'}</Text> | ||
<Text>{success ? "Success!" : "Failed!"}</Text> | ||
</Modal> | ||
); | ||
}; | ||
|
||
export default ResultDialog; |
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,8 +1,6 @@ | ||
import React from "react"; | ||
import { Text } from "@mantine/core"; | ||
|
||
function AppStatus() { | ||
export function AppStatus() { | ||
return <Text size="sm">unchained index progress</Text>; | ||
} | ||
|
||
export default AppStatus; |
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,9 +1,7 @@ | ||
import React, { useEffect } from "react"; | ||
import { EventsOn, EventsOff } from "../../../wailsjs/runtime"; | ||
import { EventsOn, EventsOff } from "@runtime"; | ||
import { Text } from "@mantine/core"; | ||
|
||
function Aside() { | ||
export function Aside() { | ||
return <Text>Help file</Text>; | ||
} | ||
|
||
export default Aside; |
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,14 +1,12 @@ | ||
import React from "react"; | ||
import { Group, Title } from "@mantine/core"; | ||
import AppStatus from "./AppStatus"; | ||
import { AppStatus } from "./"; | ||
|
||
const Header = ({ title }: { title: string }) => { | ||
export const Header = ({ title }: { title: string }) => { | ||
return ( | ||
<Group w={"100%"} justify="space-between"> | ||
<Title order={1}>{title}</Title> | ||
<AppStatus /> | ||
</Group> | ||
); | ||
}; | ||
|
||
export default Header; |
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,15 +1,12 @@ | ||
import React from "react"; | ||
import { Stack } from "@mantine/core"; | ||
import Menu from "./Menu"; | ||
import ServerStatus from "./ServerStatus"; | ||
import { Menu, ServerStatus } from "./"; | ||
|
||
function Navbar() { | ||
export function Navbar() { | ||
return ( | ||
<Stack h={"100%"} justify="space-between"> | ||
<Menu /> | ||
<ServerStatus /> | ||
</Stack> | ||
); | ||
} | ||
|
||
export default Navbar; |
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
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,7 @@ | ||
export * from "./AppStatus"; | ||
export * from "./Aside"; | ||
export * from "./Header"; | ||
export * from "./Menu"; | ||
export * from "./Navbar"; | ||
export * from "./Routes"; | ||
export * from "./ServerStatus"; |
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,6 @@ | ||
export * from "./EditableSelect"; | ||
export * from "./ImageDisplay"; | ||
export * from "./ResultDialog"; | ||
export * from "./StringTable"; | ||
export * from "./global"; | ||
export * from "./view"; |
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 @@ | ||
export * from "./useKeyboardPaging"; |
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
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
Oops, something went wrong.