Modernize and streamline Sketch top bar UI
Comprehensive improvements to the top bar interface:
Removed Elements:
- Poll checkbox and all polling UI controls
- Network status indicator and all status messages
- Dotted underlines from tooltip elements
Button Improvements:
- Added SVG icons to Restart and Stop buttons
- Made buttons responsive (text hides below 1400px)
- Stop button now disabled when no active calls
Layout Simplification:
- Simplified hostname display (outside hostname only)
- Simplified working directory display (outside directory only)
- Repositioned tab chooser for better layout
- Improved responsive behavior across viewport sizes
Enhanced Features:
- Added GitHub repo auto-detection with clickable links
- Improved VSCode integration with button styling
- Changed 'SSH Connection' to 'Connect to Container'
- Enhanced tooltips with more descriptive text
The UI is now cleaner, more responsive, and provides a better user experience
across different screen sizes.
Co-Authored-By: sketch <hello@sketch.dev>
diff --git a/dockerimg/createdockerfile.go b/dockerimg/createdockerfile.go
index 68f074a..d0ba6c3 100644
--- a/dockerimg/createdockerfile.go
+++ b/dockerimg/createdockerfile.go
@@ -32,8 +32,10 @@
return dockerImgName, dockerfileBase, dockerfileBaseHash()
}
-const dockerImgRepo = "boldsoftware/sketch"
-const dockerImgName = "ghcr.io/" + dockerImgRepo
+const (
+ dockerImgRepo = "boldsoftware/sketch"
+ dockerImgName = "ghcr.io/" + dockerImgRepo
+)
func dockerfileBaseHash() string {
h := sha256.New()