forked from stitionai/devika
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve UI responsiveness and mobile support
- Add loading and error states for blank UI (stitionai#386) - Fix mobile layout and responsive design (stitionai#538) - Improve widget components for mobile devices - Add proper truncation and overflow handling - Enhance touch scrolling support - Implement responsive sidebar layout Co-Authored-By: Erkin Alp Güney <[email protected]>
- Loading branch information
1 parent
33517de
commit 4192626
Showing
7 changed files
with
95 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<script> | ||
export let message = "An error occurred"; | ||
export let retryAction = () => window.location.reload(); | ||
</script> | ||
|
||
<div class="flex items-center justify-center h-full"> | ||
<div class="text-center"> | ||
<p class="text-red-500 mb-2">{message}</p> | ||
<button | ||
class="px-4 py-2 bg-primary text-foreground-invert rounded hover:bg-btn-active" | ||
on:click={retryAction}> | ||
Retry | ||
</button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script> | ||
export let size = "h-8 w-8"; | ||
export let message = "Loading..."; | ||
</script> | ||
|
||
<div class="flex items-center justify-center h-full"> | ||
<div class="text-center"> | ||
<div class="animate-spin rounded-full {size} border-b-2 border-primary mx-auto mb-4"></div> | ||
<p class="text-foreground-light">{message}</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters