[Haik]: ckpt (Removed utils.sh) (Simplified run scripts) (Added global run.sh in the root) (Start sort is enabled by default when u open the mcp registry in the tools page) (Reload issue when your in a specific dashboard is now fixed)

This commit is contained in:
haikdc
2026-03-14 19:44:16 -07:00
parent 23621306a1
commit 802551db64
8 changed files with 145 additions and 425 deletions
+3 -3
View File
@@ -398,7 +398,7 @@ const Tools: React.FC = () => {
// Registry browser
const [registryOpen, setRegistryOpen] = useState(false);
const [regQuery, setRegQuery] = useState('');
const [regSort, setRegSort] = useState<'name' | 'stars'>('name');
const [regSort, setRegSort] = useState<'name' | 'stars'>('stars');
const [regSource, setRegSource] = useState<'' | 'community' | 'google'>('');
const [expandedServer, setExpandedServer] = useState<string | null>(null);
const [snackbar, setSnackbar] = useState<{ open: boolean; message: string; severity?: 'success' | 'error' }>({ open: false, message: '' });
@@ -609,11 +609,11 @@ const Tools: React.FC = () => {
handleMenuClose();
setRegistryOpen(true);
setRegQuery('');
setRegSort('name');
setRegSort('stars');
setRegSource('');
setExpandedServer(null);
dispatch(fetchRegistryStats());
dispatch(searchRegistry({ q: '', limit: 20, offset: 0, sort: 'name', source: '' }));
dispatch(searchRegistry({ q: '', limit: 20, offset: 0, sort: 'stars', source: '' }));
};
// --------------- Tool CRUD ---------------