feat(admin): moved server build/update to full app
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m27s

This commit is contained in:
2026-04-21 07:36:04 -05:00
parent b832d7aa1e
commit cb00addee9
49 changed files with 15551 additions and 36 deletions

View File

@@ -40,7 +40,7 @@ export default function Index() {
</Text>,
);
await devDelay(1500);
router.replace("/setup");
router.replace("/scanner");
return;
}

View File

@@ -13,12 +13,14 @@ export default function setup() {
const serverIpFromStore = useAppStore((s) => s.serverIp);
const serverPortFromStore = useAppStore((s) => s.serverPort);
const scannerIdFromStore = useAppStore((s) => s.scannerId);
const updateAppState = useAppStore((s) => s.updateAppState);
// local form state
const [serverIp, setLocalServerIp] = useState(serverIpFromStore);
const [serverPort, setLocalServerPort] = useState(serverPortFromStore);
const [scannerId, setScannerId] = useState(scannerIdFromStore);
const authCheck = () => {
if (pin === "6971") {
@@ -98,7 +100,7 @@ export default function setup() {
value={serverPort}
onChangeText={setLocalServerPort}
placeholder="3000"
autoCapitalize="characters"
//autoCapitalize="characters"
keyboardType="numeric"
style={{ borderWidth: 1, padding: 10, borderRadius: 8 }}
/>
@@ -107,8 +109,9 @@ export default function setup() {
<View>
<Text>Scanner ID</Text>
<Text style={{ width: 250 }}>
This is needed as you will be redirected to the standard scanner
with no rules except the rules that alplaprod puts in
The ID is required to be able to scan. The scanner will be
treated as a normal scanner direct to alplaprod. no extra rules
added.
</Text>
<TextInput
value={scannerId}