Commit Graph

5914 Commits

Author SHA1 Message Date
Kiril Videlov
7db4f427bf 🔨 Refactor layout for better responsiveness
- Adjust the header height for better UI responsiveness
- Improve layout for better user experience

[src/routes/+layout.svelte]
- Change the height of the header from `h-8` to `h-full max-h-8`
2023-03-03 15:28:09 +01:00
Kiril Videlov
c56bf93ae6 🔨 Refactor Popover component
- Refactor Popover component to improve accessibility and usability
- Add `fadeAndZoomIn` transition
- Change `aria-orientation` to `vertical` and `z-` class from `999` to `[999]`
- Add `mouseup` event listener to close the popover

[src/lib/components/Popover/Popover.svelte]
- Remove `slide` transition and replace it with `fadeAndZoomIn`
- Change `expoOut` easing to `duration`
- Add `fadeAndZoomIn` transition
- Change `aria-orientation` to `vertical`
- Add `mouseup` event listener to close the popover
- Change `z-` class from `999` to `[999]`
- Change `bg-` class from `
2023-03-03 15:06:59 +01:00
Kiril Videlov
17a7e8859e 💅 Improve UI layout and styling
- Adjust styling of Breadcrumbs component
- Increase max-height and add padding

[src/lib/components/Breadcrumbs.svelte]
- Change the max-height property of the breadcrumbs list from `280px` to `289px`
- Add a padding of `2px` to the breadcrumbs list
2023-03-03 13:58:12 +01:00
Kiril Videlov
b1bffd8d7e 🔨 Refactor project page data handling
- Update project page to use `LayoutData` type
- Refactor `project` assignment to use `$:` syntax

[src/routes/projects/[projectId]/+page.svelte]
- Change the imported type from `PageData` to `LayoutData`
- Update the data assignment to use the `LayoutData` type
- Update the `project` assignment to use the `$:` syntax
2023-03-03 13:54:56 +01:00
Kiril Videlov
b8e4543bd5 💅 Improve UI components
- Replace IconHome and IconChevronRight with SVG icons
- Add Popover component for project title
- Add a link to the project and session page
- Change background color of the breadcrumb container
- Replace `IconArrowBigLeftFilled` and `IconArrowBigRightFilled` icons with SVG images

[src/lib/components/BackForwardButtons.svelte]
- Replace the `IconArrowBigLeftFilled` and `IconArrowBigRightFilled` icons with SVG images
[src/lib/components/Breadcrumbs.svelte]
- Replace IconHome and IconChevronRight with SVG icons
- Add Popover component for project title
- Add a link to the project and session page
- Change background color of the breadcrumb container
- Remove the `space-x-1` class from the breadcrumb container
2023-03-03 12:09:17 +01:00
Kiril Videlov
e9e341e3b5 💅 Improve Popover styling and transitions
- Update Popover component to include fading transition and updated styling
- Improve accessibility by updating aria labels, orientation, and class of element

[src/lib/components/Popover/Popover.svelte]
- Import `fade` and `expoOut` from `svelte/transition` and `svelte/easing` respectively
- Change the `slide` transition duration and easing
- Add a `fade` transition for the `out` transition
- Update the `aria` labels, orientation and class of the element
- Update the `style` of the element to include `bottom` and `left`
2023-03-03 11:58:47 +01:00
Kiril Videlov
42067ca8cd update app min & max window sizes 2023-03-03 11:49:09 +01:00
Kiril Videlov
1c269444b0 🔨 Refactor UI components
- Update Breadcrumbs and Popover components
- Make Breadcrumbs link clickable and Popover close on mouseup

[src/lib/components/Breadcrumbs.svelte]
- Change `Add repository...` to include `cursor-pointer` and wrap the text in an anchor tag
[src/lib/components/Popover/Popover.svelte]
- Change `on:click|stopPropagation` to `on:mouseup={() => (showPopover = false)}`
2023-03-03 10:48:40 +01:00
Kiril Videlov
b9ff930d84 🔨 Refactor Breadcrumbs component
- Update Breadcrumbs component to use `a` elements
- Add link and `w-full` class to `a` element in Breadcrumbs component

[src/lib/components/Breadcrumbs.svelte]
- Change `div` to `a` element in Breadcrumbs component
- Add link to `a` element in Breadcrumbs component
- Add `w-full` class to `a` element in Breadcrumbs component
2023-03-03 10:34:56 +01:00
Kiril Videlov
c08b8f2a37 even higher z-index for the popover 2023-03-03 10:29:11 +01:00
Kiril Videlov
7eb741c59f dont show popover by default lol 2023-03-03 10:18:01 +01:00
Kiril Videlov
c49a392453 update popover to the latest design 2023-03-03 10:13:32 +01:00
Kiril Videlov
35b7cd780b new popover component in the breadcrumbs menu 2023-03-03 00:36:08 +01:00
Kiril Videlov
c087e57158 prettier format 2023-03-02 15:05:39 +01:00
Kiril Videlov
546c97c3ef 🤦 Refactor timeline to use UISession data
- Refactor UI sessions to display deltas in the timeline
- Add dateSessions variable to the layout page
- Update timeline page to use dateSessions instead of sessions
- Refactor formatDate on timeline page
2023-03-02 15:03:54 +01:00
Nikita Galaiko
8421901f34
figure out how to highlight changed text 2023-03-02 12:38:28 +01:00
Nikita Galaiko
2b84836d86
handle empty documents 2023-03-01 17:08:15 +01:00
Nikita Galaiko
9ef954968f
scroll editor to where the changes are 2023-03-01 17:06:08 +01:00
Nikita Galaiko
c6782190fe
optimize text rendering 2023-03-01 16:20:17 +01:00
Nikita Galaiko
7199dc7022
disable devtools in production 2023-03-01 12:06:11 +01:00
Nikita Galaiko
42d658abc5
allow production url in csp 2023-03-01 12:04:29 +01:00
Nikita Galaiko
eaeb9f4bce
fix code editor scroll 2023-03-01 09:25:13 +01:00
Nikita Galaiko
6a629f0579
improve timeline layout 2023-02-28 17:12:30 +01:00
Nikita Galaiko
29f171d6b8
syntax highlight for code viewer 2023-02-28 16:39:09 +01:00
Nikita Galaiko
4e8dd5059c
move deltas calculation into codeMirror editor 2023-02-28 13:12:44 +01:00
Kiril Videlov
0bc2109534 display session activity 2023-02-28 09:46:48 +01:00
Kiril Videlov
87e9eb85aa replace week-day-session pages with the unified timeline 2023-02-28 09:38:02 +01:00
Nikita Galaiko
c0a85d91b8
cache pnpm deps 2023-02-28 09:25:41 +01:00
Nikita Galaiko
d60d859383
cache rust deps when publishing 2023-02-28 09:25:41 +01:00
Nikita Galaiko
9126a72e66
speed up test action 2023-02-28 09:25:40 +01:00
Scott Chacon
04112d1078 this is not reachable anymore 2023-02-28 08:24:37 +01:00
Scott Chacon
c5fbf0c351 GB-59 hard code file mode 2023-02-28 08:24:37 +01:00
Kiril Videlov
7ac3c53d16 scroll code viewer to last changed line 2023-02-28 00:45:15 +01:00
Kiril Videlov
b6fcf77bfe 🔨 Refactor timeline end date logic
- Update timeline end date to latest delta timestamp plus 60 seconds

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Change the end date of the timeline from the latest delta timestamp to the latest delta timestamp plus 60 seconds
2023-02-27 23:41:23 +01:00
Kiril Videlov
9151c5bbd8 fix typescript errors 2023-02-27 23:34:51 +01:00
Kiril Videlov
e32421401a unified timeline - wire up next/previous buttons 2023-02-27 23:24:11 +01:00
Kiril Videlov
6c747beb61 unified timeline: abbreviated paths and more compact grid 2023-02-27 22:32:39 +01:00
Kiril Videlov
6aa5cad351 Unified timeline — clicking on filename pre-selects it 2023-02-27 19:04:05 +01:00
Kiril Videlov
7de91fab8e make codeviewer reactive again 2023-02-27 17:43:06 +01:00
Kiril Videlov
407e0a103c Unified timeline: compute session start/end from deltas 2023-02-27 16:19:44 +01:00
Kiril Videlov
237b63addc Unified timeline: make sure the first file of a session is selected 2023-02-27 15:29:05 +01:00
Kiril Videlov
466277a04e Scope the list files api call for better performance 2023-02-27 15:24:41 +01:00
Kiril Videlov
fa24122307 unified timeline now includes the code viewer 2023-02-27 15:14:57 +01:00
Nikita Galaiko
2e3ff0f601
pnpm format 2023-02-27 15:11:38 +01:00
Nikita Galaiko
03bb8bdf9a
migrate to a better icons library 2023-02-27 15:04:39 +01:00
Nikita Galaiko
199b714462
fix font sizes 2023-02-27 14:41:33 +01:00
Nikita Galaiko
34f868fb95
add error page 2023-02-27 14:41:25 +01:00
Nikita Galaiko
85d8d16e0d
connect project settings forms to the api 2023-02-27 14:14:31 +01:00
Nikita Galaiko
e3bb0da7c0
adjust size of avatar in the header 2023-02-27 14:14:31 +01:00
Kiril Videlov
6f3b1268f4 🔨 Refactor timeline selection logic
- Improve timeline page UX
- Add `fluent-svelte/theme.css`
- Reset selection when close button is clicked
- Update selection when session is selected
- Add human readable branch name to selection object
- Extend selection end time by 60 seconds

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Add `fluent-svelte/theme.css`
- Reset the selection when the close button is clicked
- Set the selection object when a session is selected
- Add a human readable branch name to the selection object
- Change the selection end time to add 60 seconds
- Adjust the styling of the selection bar
2023-02-27 13:50:38 +01:00