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