diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3a28bae..ee32288 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- OIDC authorization restrictions can now be controlled from the settings UI. (closes [#102](https://github.com/tale/headplane/issues/102))
- The required permission role for this is **IT Admin** or **Admin/Owner** and require the Headscale configuration.
- Changes made will modify the `oidc.allowed_{domains,groups,users}` fields in the Headscale config file.
+- The Pre-Auth keys page has been fully reworked (closes [#179](https://github.com/tale/headplane/issues/179), [#143](https://github.com/tale/headplane/issues/143)).
### 0.5.10 (April 4, 2025)
- Fix an issue where other preferences to skip onboarding affected every user.
diff --git a/app/components/Select.tsx b/app/components/Select.tsx
index 79da75a..ecc5ae0 100644
--- a/app/components/Select.tsx
+++ b/app/components/Select.tsx
@@ -78,7 +78,9 @@ function Select(props: SelectProps) {
className={cn(
'flex items-center justify-center p-1 rounded-lg m-1',
'bg-headplane-100 dark:bg-headplane-700/30 font-medium',
- 'hover:bg-headplane-200/90 dark:hover:bg-headplane-800/30',
+ props.isDisabled
+ ? 'opacity-50 cursor-not-allowed'
+ : 'hover:bg-headplane-200/90 dark:hover:bg-headplane-800/30',
)}
>
diff --git a/app/routes/machines/dialogs/new.tsx b/app/routes/machines/dialogs/new.tsx
index f245243..11aaa5c 100644
--- a/app/routes/machines/dialogs/new.tsx
+++ b/app/routes/machines/dialogs/new.tsx
@@ -1,4 +1,4 @@
-import { Computer, KeySquare } from 'lucide-react';
+import { Computer, FileKey2 } from 'lucide-react';
import { useState } from 'react';
import { useNavigate } from 'react-router';
import Code from '~/components/Code';
@@ -12,6 +12,7 @@ export interface NewMachineProps {
server: string;
users: User[];
isDisabled?: boolean;
+ disabledKeys?: string[];
}
export default function NewMachine(data: NewMachineProps) {
@@ -51,7 +52,7 @@ export default function NewMachine(data: NewMachineProps) {
-