bolt.diy/app/components/workbench
KevIsDev b41691f6f2 feat(previews): add refreshAllPreviews method to refresh all previews
This commit introduces the `refreshAllPreviews` method in the `PreviewsStore` class, which iterates through all previews and triggers a file change broadcast for each. This ensures that all previews are updated after a file save operation.

refactor(CodeBlock): handle unsupported languages by falling back to plaintext

The `CodeBlock` component now defaults to 'plaintext' when an unsupported language is detected, improving the user experience by avoiding unsupported language errors.

prompts: update dependency installation instructions

The prompts documentation has been updated to clarify the process of installing dependencies, emphasizing the importance of updating `package.json` first and avoiding individual package installations.
2025-04-22 20:42:38 +01:00
..
terminal
DiffView.tsx fix: added a bunch more common languages to diff view 2025-03-03 09:39:16 +00:00
EditorPanel.tsx feat: Add Diff View and File History Tracking 2025-02-23 07:55:38 -03:00
ExpoQrModal.tsx refactor: move qrCodeStore to lib/stores for better organization 2025-04-18 11:45:14 +01:00
FileBreadcrumb.tsx UI fixes 2025-01-24 01:08:51 +01:00
FileTree.tsx fix: remove excessive commenting 2025-03-10 11:20:01 +00:00
PortDropdown.tsx refactor(workbench): simplify URL handling and improve PortDropdown UI 2025-04-19 00:47:14 +01:00
Preview.tsx refactor(workbench): simplify URL handling and improve PortDropdown UI 2025-04-19 00:47:14 +01:00
ScreenshotSelector.tsx
Workbench.client.tsx feat(previews): add refreshAllPreviews method to refresh all previews 2025-04-22 20:42:38 +01:00