1
0

36 Commits

Author SHA1 Message Date
dcf5e7b675 Create IServersEFCoreRepository interface, register as service and use dependency injection to replace the static ServersRepository. 2025-04-16 23:46:00 +02:00
9e7e7df370 Add observer for online servers.
Only for the servers in the Eindhoven city.
2025-03-30 22:33:08 +02:00
28c3449e24 Add Wizard to add a new server, using URL query strings to pass data. 2025-03-30 16:08:48 +02:00
705e9493fe Rename Add button label to: Add Server 2025-03-30 15:34:30 +02:00
86e41b22ff Consolidate Edit and Add server pages into single routable component. 2025-03-29 19:26:52 +01:00
d6df2a448d Navigate back to same selected city on servers page after editing a server. 2025-03-29 19:00:01 +01:00
23d20f2f04 Allow HTML attributes on SearchBar. 2025-03-28 23:20:00 +01:00
f24cc284f7 Use Cascading Parameter to provide server component with selected city parameter to set a background color. 2025-03-28 12:20:07 +01:00
8a39b661cb Clear search filter on city change using a component reference. 2025-03-27 21:47:21 +01:00
b14af7616e Clear city selection using a component reference. 2025-03-27 21:36:53 +01:00
bdfc834753 Move Search bar into its own component. 2025-03-27 12:32:42 +01:00
af8d7a7698 Move city into its own component and use EventCallback to bubble events when a city is clicked to be handled by the parents of the component. 2025-03-27 12:05:31 +01:00
a6dea2bc3a Pass selected city as parameter to Server List Component. 2025-03-27 00:18:16 +01:00
9d72279631 Move server list into its own component. 2025-03-27 00:07:36 +01:00
7159c8ffed Replace foreach loop with Virtualize component.
Improves performance greatly when lots of li elements are to be created. Note that every li should have the same height in pixels in order for the Virtualize component to work properly.
2025-03-26 00:09:03 +01:00
ea04b947e8 Add key to li elements for servers.
This improves performance. If a new server was to be added interactively, then ALL li elements would update. With this key, only the new li element will be added.
2025-03-25 23:57:26 +01:00
b02d6d2bb9 Apply two-way data binding for search bar. 2025-03-25 23:43:06 +01:00
1ebbced64b Move button to add server under search bar. 2025-03-25 23:42:42 +01:00
c8cd3d07b5 Add search bar to filter server names. 2025-03-25 23:24:35 +01:00
1577933bb4 Create active view for city cards. 2025-03-25 22:41:32 +01:00
a22d8d7ffd Remove loose server component from servers page. 2025-03-25 22:41:09 +01:00
838fc29b51 Filter servers by city by adding functionality to buttons under city cards. 2025-03-25 21:43:49 +01:00
1d7bb19c40 Apply global server side rendering, but exclude certain routable components. (.NET 9 feature) 2025-03-25 15:01:37 +01:00
64c2be5028 Replace EditForm for turn on/off button with server interactivity. 2025-03-25 12:15:17 +01:00
3c85a8feda Add turn on/off button for a server component.
But notice that the page gets refreshed.
2025-03-25 11:31:39 +01:00
a0e034e740 Add functionality to delete servers. 2025-03-24 18:32:53 +01:00
48638eeae2 Change links for add and edit to look like primary buttons. 2025-03-24 18:32:34 +01:00
4d77319f48 Add a routable component to add a new server. 2025-03-24 18:16:00 +01:00
3b14454205 Add root parameter to the URL for editing a server. 2025-03-24 15:56:29 +01:00
51564f5582 Add Edit server component and edit link to server page. 2025-03-24 11:51:33 +01:00
3947374e35 Show cards with city images. 2025-03-24 11:47:04 +01:00
0d5b5cdf0a Add buttons with city names on servers page. 2025-03-24 10:32:13 +01:00
2151da4ef5 Create list of server components on server page. 2025-03-24 10:13:27 +01:00
b1ed6188fb Add Server model and a data repository. 2025-03-23 23:36:43 +01:00
4e9d8a3d66 Add ServerComponent component. 2025-03-23 21:23:18 +01:00
1bd9420c94 Add servers page routable component. 2025-03-23 12:38:45 +01:00