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

UI and Feature Improvements #165

Open
andrewpareles opened this issue Dec 1, 2024 · 0 comments
Open

UI and Feature Improvements #165

andrewpareles opened this issue Dec 1, 2024 · 0 comments
Labels
help wanted Extra attention is needed high priority 🚀 High priority issue

Comments

@andrewpareles
Copy link
Contributor

andrewpareles commented Dec 1, 2024

Sidebar Chat

  • Glue the chat's scroll position to the bottom as text is being generated.

  • Ability to edit or delete individual chat messages.

  • If an API key is not provided, the chat idles in "awaiting response" state. To reproduce, select Anthropic and don't provide an api key. This might be a React problem where the error state updates too quickly and isn't recognized.

  • (lower priority) Link to all recognized files, variables, and symbols that appear in the chat.

  • Switching tabs should abort the current chat stream (this doesn't mean switching editors, this means Void tabs e.g. opening "settings"). (removed tabs and added editor pane)

Inline Diffs

  • Accept | Reject UI needs to be positioned correctly.

  • The AI’s streaming response appears stuttery because it refreshes highlighting very frequently. An optimization (debouncing / refreshing fewer DiffAreas) might fix this.

  • Code in the red sections doesn't wrap if you toggle wordWrap with Alt+Z.

  • Put green on top and red on bottom for better readability?

  • Abort the stream if the user presses undo (ctrl+Z), or redo, or there are any other interruptions.

  • When the stream is done, we might want to convert each Diff into its own DiffArea so diffs aren't computed if the user types just anywhere in the file.

Misc

  • We wanted to use this React library to build new UI, but it will be deprecated. The new plan is to use built-in widgets for BlockCode and text inputs, but this is hard and some needs work. See ui-improvements branch. (we're going with tailwind)

  • Let users pull Ollama models straight from the editor? - will do this later, need to make it a good UX

@andrewpareles andrewpareles changed the title Improve UI Misc UI and Feature Improvements Dec 8, 2024
@andrewpareles andrewpareles added the high priority 🚀 High priority issue label Dec 8, 2024
@andrewpareles andrewpareles changed the title Misc UI and Feature Improvements Release #1: Misc UI and Feature Improvements Dec 8, 2024
@andrewpareles andrewpareles changed the title Release #1: Misc UI and Feature Improvements UI and Feature Improvements Dec 9, 2024
@andrewpareles andrewpareles added the help wanted Extra attention is needed label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed high priority 🚀 High priority issue
Projects
None yet
Development

No branches or pull requests

1 participant