Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add agent selection, router and sidebar layout in React client #536

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

vivoidos
Copy link
Contributor

Risks

Low. Changes are isolated to the new React client with no impact on existing functionality. New API endpoints are additive only.

What does this PR do?

  • Implements agent selection on the start page
  • Sets up React Router DOM for application routing
  • Integrates Shadcn UI Sidebar component for navigation
  • Implements Tanstack Query for efficient data fetching and state management
  • Adds some basic API endpoints

What kind of change is this?

Improvement

Why are we doing this? Any context or related work?

I think agent selection was needed because everyone using different agents instead of hardcoded default Eliza.
We also needed proper routing for the app, and a sidebar makes the most sense since we'll have lots of features to navigate between. I added TanStack Query since it handles all the loading states and caching automatically - way less boilerplate code to write

@yakul0

This comment was marked as abuse.

@lalalune lalalune mentioned this pull request Nov 25, 2024
@lalalune lalalune merged commit a2eb458 into elizaOS:main Nov 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants