coleam00 / bolt.new-any-llm

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
https://bolt.new
MIT License
3.85k stars 1.58k forks source link

feat: [UX] click shortcut in chat to go to source file in workbench #330

Closed hgosansn closed 2 days ago

hgosansn commented 3 days ago

Greetings earthlings 🙋🏽

About me

First contribution here

I've found a topic on the thinktank forum

https://thinktank.ottomator.ai/t/ux-enhancement-ctrl-click-shortcut-in-chat-to-go-to-source-file-in-workbench/478

i wanted to start contributing small to learn the codebase and eventually do some more.

https://github.com/user-attachments/assets/341836cd-e079-4020-a949-ab5c72e5270a

Summary

Allow clicking on files ("Artifacts") in the chat to open them in the Workbench.

Proposed changes

Pull request checklist

chrismahoney commented 2 days ago

@wonderwhy-er I tested this okay, it links file names in chat to the file in editor. I'm 👍 for it but would like another set of eyes if you get a chance.

wonderwhy-er commented 2 days ago

Tested, looks good Thanks for quality of life contribution @hgosansn

If you and your PR is featured by youtubers do you want some page, social network, profile to be shown as kudos?

hgosansn commented 2 days ago

@wonderwhy-er Happy that i could help, i'll continue looking for small to medium improvements i can make in here. This small feat is my way to say Hi 👋🏽 . Still you can find all my contacts at https://hson.fr.

About the next steps for me,

  1. I saw an issue that somehow the project's node dev server isn't started when opening projects from the sideNav. It does that on Bolt.new, i think it's another QOL. (When can see the example in the linked video)

  2. Would it be helpful building integration/non regression tests, that mock an LLM response to be Sure the UI loads and runs basic responses from PRs ?