feat: 添加服务层增强与零散改进

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
unraid
2026-04-22 22:38:10 +08:00
parent 2247026bd5
commit c7e1c50b86
23 changed files with 861 additions and 100 deletions

View File

@@ -584,7 +584,6 @@ export function useTypeahead({
const debouncedFetchSlackChannels = useDebounceCallback(fetchSlackChannels, 150);
// Handle immediate suggestion logic (cheap operations)
// biome-ignore lint/correctness/useExhaustiveDependencies: store is a stable context ref, read imperatively at call-time
const updateSuggestions = useCallback(
async (value: string, inputCursorOffset?: number): Promise<void> => {
// Use provided cursor offset or fall back to ref (avoids dependency on cursorOffset)