Skip to content

Commit

Permalink
Merge pull request #256 from Lodestone-Team/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Ynng authored May 21, 2023
2 parents 977d8df + e023793 commit 8daaf07
Show file tree
Hide file tree
Showing 82 changed files with 3,290 additions and 1,852 deletions.
36 changes: 30 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,41 @@ A free, open source server hosting tool for Minecraft and other multiplayers
- [ ] Automated macros and tasks 🚧
- [ ] Connecting without port forward 🚧

![Lodestone Spring 2023 Roadmap](/public/assets/springRoadmap.png)

## [Download](https://github.com/Lodestone-Team/dashboard/releases/latest)
## Installation

You can download the Lodestone client from our [release page](https://github.com/Lodestone-Team/dashboard/releases/latest).
### Windows
You can download Lodestone Desktop for Windows from the [releases page](https://github.com/Lodestone-Team/lodestone/releases)

We also have a [webapp](https://www.lodestone.cc/) in early access for remote management.
### Linux
Download and run [Lodestone CLI](https://github.com/Lodestone-Team/lodestone_cli).

For any troubleshooting, see our [wiki](https://github.com/Lodestone-Team/lodestone/wiki/Known-Issues).
If you would like to use the dashboard:
1. Use a chromium based browser (Chrome, Edge, Brave, etc.) and go to [https://www.lodestone.cc/](https://www.lodestone.cc/)
2. Follow this [guide](https://experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html?lang=en) to enable mixed content for the site.
3. If you have browser extensions such as HTTPS Everywhere, disable them for the site.

To see why step 2 and 3 are necessary and some possible solutions, see [here](https://github.com/Lodestone-Team/lodestone/wiki/FAQ#why-do-i-need-to-enable-mixedinsecure-content-and-disable-https-is-this-safe)

> **Note**
> Lodestone Desktop for Linux is highly experimental and untested. We won't be able to provide support if you decide to use it.
### MacOS (Intel)
Download and run [Lodestone CLI](https://github.com/Lodestone-Team/lodestone_cli).

If you would like to use the dashboard:
1. Use a chromium based browser (Chrome, Edge, Brave, etc.) and go to [https://www.lodestone.cc/](https://www.lodestone.cc/)
2. Follow this [guide](https://experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html?lang=en) to enable mixed content for the site.
3. If you have browser extensions such as HTTPS Everywhere, disable them for the site.

To see why step 2 and 3 are necessary and some possible solutions, see [here](https://github.com/Lodestone-Team/lodestone/wiki/FAQ#why-do-i-need-to-enable-mixedinsecure-content-and-disable-https-is-this-safe)

> **Note**
> ARM Macs are not supported yet. See [this issue](https://github.com/Lodestone-Team/lodestone_core/issues/160) for more info.
> **Note**
> Lodestone Desktop for MacOs is highly experimental and untested. We won't be able to provide support if you decide to use it.
For installing Lodestone Core, check out [here](https://github.com/Lodestone-Team/lodestone_core).

## Safety & Security

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lodestone",
"version": "0.4.3",
"version": "0.4.4",
"private": true,
"scripts": {
"dev": "next dev -p 3001",
Expand Down
40 changes: 39 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ import { SettingsLayout } from 'components/DashboardLayout/SettingsLayout';
import { toast } from 'react-toastify';
import RequireSetup from 'utils/router/RequireSetup';
import InstanceTabs from 'pages/InstanceTabs/InstanceTabs';
import ProfilePage from 'pages/settings/profile';
import CoreSettings from 'pages/settings/CoreSettings';
import UserSettings from 'pages/settings/UserSettings';


const queryClient = new QueryClient({
defaultOptions: {
Expand All @@ -62,6 +66,27 @@ const InstanceTabList = [
'logs',
];

export const CoreSettingsTabList = [
{
title: 'General',
path: 'general',
content: <CoreSettings />,
},
{
title: 'Users',
path: 'users',
content: <UserSettings />,
},
];

export const AccountSettingsTabList = [
{
title: 'Profile',
path: 'profile',
content: <ProfilePage />,
},
];

export default function App() {
const { location, setSearchParam } = useContext(BrowserLocationContext);

Expand Down Expand Up @@ -300,7 +325,20 @@ export default function App() {
<Route path="/" element={<Home />} />
</Route>
<Route element={<SettingsLayout />}>
<Route path="/settings" element={<SettingsPage />} />
{CoreSettingsTabList.map((tab, i) => (
<Route
path={`/settings/${tab.path}`}
element={tab.content}
key={i}
/>
))}
{AccountSettingsTabList.map((tab, i) => (
<Route
path={`/settings/${tab.path}`}
element={tab.content}
key={i}
/>
))}
</Route>
</Route>
<Route path="*" element={<NotFound />} />
Expand Down
3 changes: 3 additions & 0 deletions public/assets/GenericIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8daaf07

Please sign in to comment.