diff --git a/AccessQueuePlayground/Components/Layout/MainLayout.razor b/AccessQueuePlayground/Components/Layout/MainLayout.razor index 0fd1b20..e21aaad 100644 --- a/AccessQueuePlayground/Components/Layout/MainLayout.razor +++ b/AccessQueuePlayground/Components/Layout/MainLayout.razor @@ -1,6 +1,30 @@ @inherits LayoutComponentBase -@Body + + +
+ @Body +
An unhandled error has occurred. diff --git a/AccessQueuePlayground/Components/Layout/MainLayout.razor.css b/AccessQueuePlayground/Components/Layout/MainLayout.razor.css index df8c10f..3c93579 100644 --- a/AccessQueuePlayground/Components/Layout/MainLayout.razor.css +++ b/AccessQueuePlayground/Components/Layout/MainLayout.razor.css @@ -16,3 +16,10 @@ right: 0.75rem; top: 0.5rem; } + +.container-body { + width: 90%; + max-width: 1000px; + margin-left: auto; + margin-right: auto; +} diff --git a/AccessQueuePlayground/Components/Pages/About.razor b/AccessQueuePlayground/Components/Pages/About.razor new file mode 100644 index 0000000..c2f45bc --- /dev/null +++ b/AccessQueuePlayground/Components/Pages/About.razor @@ -0,0 +1,49 @@ +@page "/about" + +About - AccessQueue Playground + +

About AccessQueue Playground

+

+ AccessQueue Playground is a demo Blazor application for testing and visualizing the AccessQueueService system. It allows you to simulate users requesting access, manage a queue, and experiment with configuration options such as expiration, activity, and capacity limits. +

+ + +

How AccessQueueService Works

+
    +
  1. Requesting Access: Users are granted access if capacity is available, otherwise they are queued. Expiration and activity timeouts are enforced.
  2. +
  3. Queueing: Users in the queue must remain active to keep their spot. The queue is managed FIFO (first-in, first-out).
  4. +
  5. Dequeuing: When capacity is available, users are dequeued and granted access if still active.
  6. +
  7. Maintaining Access: Users must re-request access to remain active. Expiration can be rolling or fixed.
  8. +
  9. Revoking Access: Users can revoke their access, freeing up capacity for others.
  10. +
+ +

Configuration Options

+ +

For now these options can only be set via appsettings.json. The Playground UI does not yet support changing these values.

+ +

About the Playground UI

+

+ The Playground UI lets you: +

+

+ +

Source Code & Documentation

+

+ See the project repository for full documentation, source code, and usage instructions. +

\ No newline at end of file