Commit graph

80 commits

Author SHA1 Message Date
baldo
bf16ee0ca7 Update frontend dependencies. 2022-09-14 16:19:31 +02:00
baldo
7cb11259dc Merge branch 'main' into new-admin 2022-09-14 16:17:51 +02:00
baldo
5af12eba41 Update frontend dependencies. 2022-09-06 16:54:49 +02:00
baldo
b53ae271ed Update frontend dependencies. 2022-09-01 14:59:32 +02:00
baldo
4c6556de3f Ask for confirmation for nodes outside of community bounds. 2022-09-01 14:38:41 +02:00
baldo
9387df8dd3 Re-validate form inputs when model is changed from outside.
* This fixes the issue of the coordinates input still being displayed as
  invalid after pickig coordinates from the map.
2022-09-01 14:36:55 +02:00
baldo
903a1bcf8a On submit focus first input having a validation error. 2022-09-01 14:36:55 +02:00
baldo
0bf8a149e7 Add icon to reset coordinates input. 2022-09-01 13:13:01 +02:00
baldo
e9b8e0b7ae Make title text for info icons the actual help text. 2022-08-30 17:10:53 +02:00
baldo
ac6fb7b57a Add checkbox for monitoring when creating node. 2022-08-30 17:08:27 +02:00
baldo
f80657e4e0 Frontend: Update typescript. 2022-08-30 15:21:13 +02:00
baldo
1f24c0f550 Update frontend dependencies. 2022-08-30 15:18:16 +02:00
baldo
7e2769cfa5 Zoom out map a little bit in node preview. 2022-08-26 18:13:05 +02:00
baldo
5b0ec235cb Fix: Make response body readable in ApiError message. 2022-08-26 18:09:33 +02:00
baldo
b5eaf0b637 Allow picking coordinates from map. 2022-08-26 18:01:06 +02:00
baldo
53bb20781d Add pre-commit hook that runs all the checks. 2022-08-26 16:23:36 +02:00
baldo
f799765317 ESLint fix warnings. 2022-08-25 22:46:01 +02:00
baldo
82f298ccc0 ESLint: Allow NodeJS global. 2022-08-25 22:45:38 +02:00
baldo
1a0fcbdd6f ESLint: Fix warnings. 2022-08-25 22:15:59 +02:00
baldo
1de5bc0604 Allow passing hostname, fastd-key and MAC as query-parameters when creating new node 2022-08-25 20:37:34 +02:00
baldo
fb5bf934ff Basic node registration form. 2022-08-25 18:21:42 +02:00
baldo
fb73dac224 Fix: Use scss math.div instead of deprecated /. 2022-08-25 16:11:06 +02:00
baldo
aa0d63fd44 Show node on map in confirmation before deleting it. 2022-08-25 15:47:32 +02:00
baldo
dcfaae7955 Make sure config and version are loaded before app runs to avoid null checks. 2022-08-24 23:46:56 +02:00
baldo
df82b70756 Update frontend dependencies. 2022-08-24 18:22:01 +02:00
baldo
22d7755215 Fix sorting after merge. 2022-08-23 22:20:14 +02:00
baldo
867be21f68 ESLint: Auto format and fix some warnings / errors. 2022-08-23 19:08:39 +02:00
baldo
90ac67efbe Fix: no-unused-vars linter warning for variables set in script setup. 2022-08-23 17:52:23 +02:00
baldo
3312930d5a Local testing. 2022-08-23 17:17:51 +02:00
baldo
704620e2f7 More readable link styling in ErrorCards. 2022-08-23 17:17:11 +02:00
baldo
3a2f0799eb Frontend: Added forms to delete nodes. 2022-08-23 17:05:13 +02:00
baldo
a0d186da3a Add RouteButton 2022-08-23 15:52:26 +02:00
baldo
5a944f9916 Add card to display errors that scrolls into view. 2022-08-23 15:41:01 +02:00
baldo
4ed749eee3 First shot on form validation. 2022-08-23 15:38:10 +02:00
baldo
096b792caa Some styling. 2022-08-23 15:34:20 +02:00
baldo
6ff2fe2acf Add DELETE method and more generic error handling to API helper. 2022-08-23 15:18:22 +02:00
baldo
cf134eb199 Make page padding dependend on screen size. 2022-08-23 15:16:35 +02:00
baldo
2cbdc92ef1 Refactoring: Pinia stores are called *Store now. 2022-08-23 15:14:07 +02:00
baldo
5ae27f530e Allow specifying alignment for ButtonGroup. 2022-08-23 15:11:09 +02:00
baldo
4db53af7ce Use enum to identify routes. 2022-08-23 15:07:37 +02:00
baldo
4167b5ee14 Update frontend dependencies. 2022-08-23 14:58:19 +02:00
baldo
7160c8563d Update frontend dependencies. 2022-08-09 17:57:22 +02:00
baldo
6f8240ac84 Move shared code into own directory for use in new frontend. 2022-08-04 15:33:41 +02:00
baldo
0ad1d4bcc9 Updated frontend dependencies. 2022-08-04 14:16:17 +02:00
baldo
b5bcb620fd Removed unused import. 2022-08-02 18:17:36 +02:00
baldo
e80b6b2028 Responsive button layout via ButtonGroup 2022-08-02 18:16:30 +02:00
baldo
33f076b1b6 Responsive statistics card in admin dashboard. 2022-08-02 17:21:05 +02:00
baldo
e885975aff Added PageContainer handling responsive breakpoints. 2022-08-02 17:07:57 +02:00
baldo
215f70db26 Introduced ActionButton component as a replacement for HTML's button. 2022-08-02 16:31:38 +02:00
baldo
d159e22c50 Update frontend dependencies. 2022-08-02 15:36:04 +02:00