New front-end Launch Chat API Manage Sources Enable re-embedding of all contents Sources can be added without a notebook now Improved settings Enable model selector on all chats Background processing for better experience Dark mode Improved Notes Improved Docs: - Remove all Streamlit references from documentation - Update deployment guides with React frontend setup - Fix Docker environment variables format (SURREAL_URL, SURREAL_PASSWORD) - Update docker image tag from :latest to :v1-latest - Change navigation references (Settings → Models to just Models) - Update development setup to include frontend npm commands - Add MIGRATION.md guide for users upgrading from Streamlit - Update quick-start guide with correct environment variables - Add port 5055 documentation for API access - Update project structure to reflect frontend/ directory - Remove outdated source-chat documentation files
13 lines
No EOL
343 B
TypeScript
13 lines
No EOL
343 B
TypeScript
import { useNavigationStore } from '@/lib/stores/navigation-store'
|
|
|
|
export function useNavigation() {
|
|
const store = useNavigationStore()
|
|
|
|
return {
|
|
setReturnTo: store.setReturnTo,
|
|
clearReturnTo: store.clearReturnTo,
|
|
getReturnPath: store.getReturnPath,
|
|
getReturnLabel: store.getReturnLabel,
|
|
returnTo: store.returnTo
|
|
}
|
|
} |