Updates to defaults
This commit is contained in:
@@ -82,6 +82,7 @@ DB_USER='triggeradmin'
|
|||||||
DB_PASS='trigger'
|
DB_PASS='trigger'
|
||||||
DB_PORT='3306'
|
DB_PORT='3306'
|
||||||
API_PORT='5000'
|
API_PORT='5000'
|
||||||
|
API_URI='trigger'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run/build
|
## Run/build
|
||||||
@@ -115,4 +116,3 @@ sudo pm2 start server.cjs
|
|||||||
### TODO
|
### TODO
|
||||||
|
|
||||||
- Mobile improvements
|
- Mobile improvements
|
||||||
- Debounce all inputs
|
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ function App() {
|
|||||||
if (
|
if (
|
||||||
allThemes &&
|
allThemes &&
|
||||||
themeName &&
|
themeName &&
|
||||||
|
personalData &&
|
||||||
Object.keys(personalData).length > 0 &&
|
Object.keys(personalData).length > 0 &&
|
||||||
isThemePlaylistsFetched
|
isThemePlaylistsFetched
|
||||||
) {
|
) {
|
||||||
|
|||||||
@@ -96,6 +96,9 @@ export function useCommonHooks() {
|
|||||||
email: 'triggerUser@default.com',
|
email: 'triggerUser@default.com',
|
||||||
physicalAddress: '1510 Polk St, Houston, TX 77002',
|
physicalAddress: '1510 Polk St, Houston, TX 77002',
|
||||||
defaultFont: 'Jost',
|
defaultFont: 'Jost',
|
||||||
|
enableWol: 0,
|
||||||
|
enableGuacamole: 0,
|
||||||
|
guacamoleHost: 'https://domain.example.com/guacamole',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const [currentLocation, setCurrentLocation] = useLocalStorage<Location>({
|
const [currentLocation, setCurrentLocation] = useLocalStorage<Location>({
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ function Header({
|
|||||||
.replace('$nickname', currentUser.nickname)
|
.replace('$nickname', currentUser.nickname)
|
||||||
.replace('$^firstName', currentUser.firstName.toUpperCase())
|
.replace('$^firstName', currentUser.firstName.toUpperCase())
|
||||||
.replace('$^lastName', currentUser.lastName.toUpperCase())
|
.replace('$^lastName', currentUser.lastName.toUpperCase())
|
||||||
.replace('$^nickname', currentUser.nickname.toUpperCase())}
|
.replace('$^nickname', currentUser.nickname?.toUpperCase())}
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack
|
<Stack
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ function LargeHeader({ greet, date }: { greet: string | undefined; date: string
|
|||||||
{greet
|
{greet
|
||||||
?.replace('$firstName', currentUser.firstName)
|
?.replace('$firstName', currentUser.firstName)
|
||||||
.replace('$lastName', currentUser.lastName)
|
.replace('$lastName', currentUser.lastName)
|
||||||
|
.replace('$nickname', currentUser.nickname)
|
||||||
.replace('$^firstName', currentUser.firstName.toUpperCase())
|
.replace('$^firstName', currentUser.firstName.toUpperCase())
|
||||||
.replace('$^lastName', currentUser.lastName.toUpperCase())}
|
.replace('$^lastName', currentUser.lastName.toUpperCase())
|
||||||
|
.replace('$^nickname', currentUser.nickname?.toUpperCase())}
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
fz={'2.25rem'}
|
fz={'2.25rem'}
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ export interface User {
|
|||||||
lastName: string;
|
lastName: string;
|
||||||
email: string;
|
email: string;
|
||||||
physicalAddress: string;
|
physicalAddress: string;
|
||||||
|
enableWol: number;
|
||||||
|
enableGuacamole: number;
|
||||||
|
guacamoleHost: string;
|
||||||
nickname: string;
|
nickname: string;
|
||||||
defaultFont: string;
|
defaultFont: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user