Closed olegklimov closed 1 week ago
/bounty $3000
## 💎 $3,000 bounty • Refact.ai
### Steps to solve:
1. Start working: Comment
/attempt #28
with your implementation plan2. Submit work: Create a pull request including
/claim #28
in the PR body to claim the bounty3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to smallcloudai/refact-vscode!
/attempt #28
Hey @aazam-gh, I see you are already taking care of support for LSP 3.18 InlineCompletion. Do you mind if I work on this one?
Hi @mnmt7 you can go for the LSP support one instead. I'll handle this one then :)
Hello beautiful people, I'm a beginner in open source contributor. Could you please tell me more about this issue?
@olegklimov Since we are implementing a sidebar does that mean we will be having a total of two sidebars? One for the Refact: AI toolbox and the other for the Chat? Should clicking on New Chat
then open another tab or instead open another sidebar itself?
total of two sidebars
Yes. Eventually there should be one, but for the purpose of this task, it's better to have it separate, avoid scope drift.
clicking on New Chat .. open another sidebar itself
Should open new chat in the sidebar. The existing chat should go into history, accessible via history button.
Gotcha, so first I should start by making the chat into a side bar and opening new chats in it
@olegklimov According to the docs, Idont think it's possible to add views to a secondary sidebar. https://code.visualstudio.com/api/ux-guidelines/sidebars#secondary-sidebar It would be better to open the chat within the current sidebar itself in my opinion. What are your thoughts?
views to a secondary sidebar
Maybe another primary sidebar?
within the current sidebar itself in my opinion
It's not something we want to be stuck at. Eventually there should be 1 sidebar for the plugin, for the purpose of this task the idea is to minimize intervention to any code unrelated to chat.
/attempt #28 @olegklimov
views to a secondary sidebar
Maybe another primary sidebar?
within the current sidebar itself in my opinion
It's not something we want to be stuck at. Eventually there should be 1 sidebar for the plugin, for the purpose of this task the idea is to minimize intervention to any code unrelated to chat.
VS code wont allow for direct addition to a secondary sidebar. How about we directly add chat to the plugin in the primary once the rest of the issue is solved?
Note: The user @Alcadeus0 is already attempting to complete issue #28 and claim the bounty. If you attempt to complete the same issue, there is a chance that @Alcadeus0 will complete the issue first, and be awarded the bounty. We recommend discussing with @Alcadeus0 and potentially collaborating on the same solution versus creating an alternate solution.
@olegklimov for the autoscroll being too invasive. What is your opinion on the following change
let autoScrollTimeout;
function auto_scroll() {
if (autoScrollTimeout) {
return;
}
autoScrollTimeout = setTimeout(() => {
input_care();
currentHeight.scrollTop = currentHeight.scrollHeight;
autoScrollTimeout = null;
}, 100);
}
This would make it scroll with a delay
Hello, I would like to work on this if anyone wants to collaborate with and split the bounty there is my discord username feliciien /attempt #28.
Hi I'm already working on this and will be making a pr soon
@olegklimov I am done with all tasks but the sidebar one which I am not clear about. As I stated earlier a new sidebar would not work for chat. Tell me your thoughts about it. I'll still open a pull request though
💡 @Ahmadkhan02 submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
🎉🎈 @Ahmadkhan02 has been awarded $3,000! 🎈🎊
@olegklimov Hope you liked the pr and thanks!!
The current chat is this:
The good about it:
diff
,new file
,copy
retry
button allows to go back and change the questionThe bad about it:
diff
,new file
,copy
are not available until streaming is finished.retry
button to edit question in place (similar to OpenAI chat UI).Epic change needed: instead of tabs, use sidebar. Make a new one, to avoid conflicting with the existing sidebar.
retry
Picture: history in sourcegraph UI
A good solution is: