Commit Graph

914 Commits

Author SHA1 Message Date
Kiril Videlov
5fb947421a removing chromatic 2023-04-05 21:09:34 +02:00
Kiril Videlov
4b15a9b1f2 fix dialog for commit page 2023-04-05 21:01:45 +02:00
Ian Donahue
e5e47bf64a Modified buttons for full-width which was not update in the button-component 2023-04-05 18:06:39 +02:00
Ian Donahue
541a72de0c pnpm format 2023-04-05 18:06:39 +02:00
Ian Donahue
e8ee1b26af The most basic updates to the terminal page experience 2023-04-05 18:06:39 +02:00
Nikita Galaiko
ea09ccd2d5 rm unused deps 2023-04-05 14:58:58 +02:00
Nikita Galaiko
402622bcd2 fixed height cmdk 2023-04-05 14:27:23 +02:00
Nikita Galaiko
4815b57b95 small fixes for nav handling 2023-04-05 14:06:19 +02:00
Nikita Galaiko
29a87b7efe pnpm format 2023-04-05 14:06:19 +02:00
Nikita Galaiko
03e0ae4429 use correct terminal icon 2023-04-05 14:06:19 +02:00
Nikita Galaiko
a97ab9749b refactor cmdk 2023-04-05 14:06:19 +02:00
Kiril Videlov
ce590fdae4 visual fixes in the player slider controls 2023-04-05 11:05:11 +02:00
Kiril Videlov
96b70d0eaf add terminal navigation to command palette 2023-04-05 10:44:44 +02:00
Kiril Videlov
48c7779453 player showing full context is the default 2023-04-05 10:10:44 +02:00
Scott Chacon
35f28cbc94
Add a Terminal (#49)
This implements a simple terminal frontend using Xterm and backend using portable_pty. It will not yet record, but it should keep a separate terminal per project, resize properly, change directories to the project, etc.

https://docs.rs/portable-pty/latest/portable_pty/
2023-04-05 10:10:07 +02:00
Kiril Videlov
79632f5ce9 permit the selection of code 2023-04-05 09:30:14 +02:00
Ian Donahue
470667fa91 pnpm format 2023-04-04 19:52:53 +02:00
Ian Donahue
f17255d4e0 Refactor CSS styles and clean up code
The diff is mainly focused on updating the styling of the input fields, changing some class names, and removing extra spacing or unnecessary lines.

Changes include:
- Reformatting textarea and input element styling by breaking selectors into multiple lines for better readability.
- Updating input focus styles in `CommandPalette/Commit.svelte` to remove duplicate classes.
- Adjusting padding and margins for elements in `FileActivity.svelte` and `+page.svelte` for improved appearance and alignment.
- Tweaking and simplifying class names in `+page.svelte` for consistency and readability.
2023-04-04 19:52:53 +02:00
Ian Donahue
f51757372f Fixed the inputs 2023-04-04 19:52:53 +02:00
Ian Donahue
3607738bb1 pnpm format 2023-04-04 16:59:40 +02:00
Ian Donahue
d517ac1dd4 pnpm format 2023-04-04 16:59:40 +02:00
Ian Donahue
56277b6af4 Improve file list styling in project page
Updated the styling of the file list in the project page to enhance readability and consistency. Padding and spacing adjustments were made on both the file list and file activity components to provide a better user experience.

Changes made:
- Adjusted padding and spacing in the file list of the project page
- Updated padding and height in the FileActivity component
- Visual pretification
2023-04-04 16:59:40 +02:00
Ian Donahue
259fcfd40d Refactor project file UI and improve file activities display
In this commit, the UI for the project files page is enhanced by restructuring the layout and improving the readability of the file activities. The file activity bars are redesigned to use a more visual and adaptable representation.

Changes include:
- Updated the layout and styling of `+page.svelte` for better readability.
- Refactored the file activities display in `FileActivity.svelte` with more descriptive bar styles and heights for different activity levels.
- Added styles to the file activity bars for a cleaner and more visually appealing look.
2023-04-04 16:59:40 +02:00
Nikita Galaiko
9bf9104c81 fix project load 2023-04-04 16:35:24 +02:00
Nikita Galaiko
bf25227293 use <Button> for project page files list 2023-04-04 16:24:47 +02:00
Nikita Galaiko
828f98311b use <Button> for Replay changes 2023-04-04 16:13:48 +02:00
Nikita Galaiko
e0fb1c93ba fix cmdk project switching 2023-04-04 16:08:53 +02:00
Kiril Videlov
22365668e0 hidden ai playground page. nobody will know how to go to it 2023-04-04 16:08:21 +02:00
Nikita Galaiko
b94dcf90d4 set ariaLabel on buttons 2023-04-04 15:37:16 +02:00
Nikita Galaiko
4add646d2e Improve commit page behavior and UI
Refactored commit page behavior, enabled commit generation only when user is logged in, and selected at least one file. Removed the unused "fade" import, and added separate reactive variables for better readability and responsiveness in the commit page UI.

Changes:
- Removed unused "fade" import
- Added isLoggedIn, isSomeFilesSelected, and isGenerateCommitEnabled reactive variables
- Updated "disabled" condition for the "generate commit" button
2023-04-04 12:35:47 +02:00
Nikita Galaiko
d5126fbe3e use button component in more places 2023-04-04 12:11:32 +02:00
Nikita Galaiko
7d4d0883ff tooptip: whitespace nowrap 2023-04-04 12:11:32 +02:00
Nikita Galaiko
226a369d58 add target and rel to button 2023-04-04 12:11:32 +02:00
Nikita Galaiko
9a6068737d ensure sessions are never undefined [2] 2023-04-04 11:55:04 +02:00
Ian Donahue
b3c76f1785 pnpm install 2023-04-04 11:49:17 +02:00
Ian Donahue
4a29c592bd Added a nice animation 2023-04-04 11:49:17 +02:00
Nikita Galaiko
15201d9f8d make sure invalid deltas do not break the app 2023-04-04 11:23:32 +02:00
Nikita Galaiko
1a2266cff9 only show description placeholder when generating changes 2023-04-04 09:32:01 +02:00
Ian Donahue
9e9caff60f pnpm format 2023-04-03 20:40:37 +02:00
Ian Donahue
e5de6bcf7b Buttons, user settings page, command K input size. 2023-04-03 20:40:37 +02:00
Nikita Galaiko
7266f1a854 align slider with figma 2023-04-03 17:05:25 +02:00
Ian Donahue
dae2f6f7ef pnpm format 2023-04-03 17:04:58 +02:00
Ian Donahue
a8e4c4c692 Fixed buttons and made them pretty again 2023-04-03 17:04:58 +02:00
Nikita Galaiko
5426f1db1d ensure sessions are never undefined 2023-04-03 14:15:32 +02:00
Nikita Galaiko
422eb18f1b inline source maps 2023-04-03 14:15:32 +02:00
Ian Donahue
c6bc097f66 pnpm format 2023-04-03 12:34:04 +02:00
Ian Donahue
89445fa122 Added changed files back to project page 2023-04-03 12:34:04 +02:00
Ian Donahue
c1e057edeb Revert "pnpm format"
This reverts commit 6f40b6565ab00747d165de75afe91b8e51fb1017.
2023-04-03 12:34:04 +02:00
Ian Donahue
a59d4c2c44 Improved scroll bar and card interaction 2023-04-03 12:34:04 +02:00
Ian Donahue
7d99628996 Refactor Work in Progress sidebar and styles
Restructured the Work in Progress sidebar by introducing nesting for better readability and maintainability. Colors and styles have been updated as well to improve the overall look and feel of the interface.

Changes:
- Enclosed Work in Progress header and related items within a new 'recent-changes' div.
- Created new 'work-in-progress-sidebar' class for the containing div.
- Replaced the SVG icon with a new one for 'Everything is committed'.
- Improved styling for both committed and uncommitted statuses.
2023-04-03 12:34:04 +02:00