Commit Graph

253 Commits

Author SHA1 Message Date
Nikita Galaiko
cdabd1ec5e add linter for stores 2023-05-12 12:34:31 +02:00
Nikita Galaiko
03171d648e bump typescript 2023-05-11 08:22:28 +02:00
Nikita Galaiko
0b977613b1 add link project modal 2023-05-10 14:29:13 +02:00
Nikita Galaiko
1c62a7976f rm react from deps 2023-05-09 10:03:00 +02:00
Nikita Galaiko
eef6c6374e replace storybook with histoire 2023-05-09 09:57:59 +02:00
Nikita Galaiko
92ec2a52a2 Revert "tauri 1.3"
This reverts commit 7a0b25e9dc.
2023-05-05 09:59:49 +02:00
Nikita Galaiko
7a0b25e9dc tauri 1.3 2023-05-04 10:22:41 +02:00
Nikita Galaiko
25b44d7df6 introdue app-wide event bus 2023-04-27 08:54:29 +02:00
Nikita Galaiko
7fba6269fb update deps 2023-04-25 14:28:02 +02:00
Nikita Galaiko
a06c234e0c better sentry setup 2023-04-21 16:10:06 +02:00
Nikita Galaiko
9b2ea25a7a cleanup terminal 2023-04-06 11:17:09 +02:00
Nikita Galaiko
ea09ccd2d5 rm unused deps 2023-04-05 14:58:58 +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
Nikita Galaiko
581728ee0f use svelte templates for storybook 2023-03-31 14:35:14 +02:00
Nikita Galaiko
57c1571be4 update some versions 2023-03-31 12:13:03 +02:00
Kiril Videlov
f948f0d24f implement a tooltip which always floats correctly 2023-03-29 17:18:02 +02:00
Kiril Videlov
d8b044cf3b add storybook again 2023-03-27 17:31:27 +02:00
Kiril Videlov
14ced0d544 Revert "add Storybook dev dependency"
This reverts commit 615f0092a6.
2023-03-27 17:25:19 +02:00
Kiril Videlov
615f0092a6 add Storybook dev dependency 2023-03-27 17:09:32 +02:00
Nikita Galaiko
47fb378496
highlight rust 2023-03-17 12:47:55 +01:00
Kiril Videlov
bdcc39c494 cmdk 2023-03-16 16:18:40 +01:00
Nikita Galaiko
0e8ff81b6b
thanks, google 2023-03-16 13:21:15 +01:00
Nikita Galaiko
380f606839 replace codemirror with diff2html 2023-03-15 15:37:35 +01:00
Nikita Galaiko
31d04024cd
cherry-pick used icons from @tabler 2023-03-14 10:13:51 +01:00
Kiril Videlov
626d3bf755 🔨 Refactor search page to improve recordings, completions, and tests
- Update packages and add new features to the project search page
- Add 1000ms delay to search query
- Add functions to apply deltas to a text string and diff a paragraph with a query
- Add a code viewer with syntax highlighting for search results

[pnpm-lock.yaml]
- Add `diff` package (version 5.1.0)
- Update `date-fns` to version 2.29.3
- Update `@typescript-eslint/parser` to version 5.45.0
- Update `autoprefixer` to version 10.4.7
- Update `eslint` to version 8.28.0
- Update `eslint-config-prettier` to version
[package.json]
- Add `diff` package to `package.json`
[src/routes/projects/[projectId]/search/+page.svelte]
- Add 1000ms delay to search query
- Add a function to apply deltas to a text string
- Add a function to diff a paragraph with a query
- Add a timestamp to the file path in the search results
- Add a span to the file path with the date of the delta
- Add a code viewer with highlighting for the search results
- Add a pre tag with highlighting for the search results
2023-03-08 15:14:56 +01:00
Nikita Galaiko
e49e3433ed
setup prettier-plugin-tailwindcss 2023-03-07 11:52:18 +01:00
Nikita Galaiko
c6782190fe
optimize text rendering 2023-03-01 16:20:17 +01:00
Nikita Galaiko
29f171d6b8
syntax highlight for code viewer 2023-02-28 16:39:09 +01:00
Nikita Galaiko
03bb8bdf9a
migrate to a better icons library 2023-02-27 15:04:39 +01:00
Nikita Galaiko
afa242535c
drop mm-jsr 2023-02-27 13:19:22 +01:00
Kiril Videlov
d9dc79a4b4 Found this nice way of doing async derived stores 2023-02-24 21:46:09 +01:00
Nikita Galaiko
d80c96ce80
sort out lint/format setup 2023-02-24 10:46:41 +01:00
Nikita Galaiko
b4f13c9caa connect update user api 2023-02-24 09:36:08 +01:00
Kiril Videlov
c162567b6e Use same font family and sizing as Linear 2023-02-23 13:26:33 +01:00
Kiril Videlov
3441075286 🔨 Refactor package flags in pnpm-lock.yaml
- Update the `pnpm-lock.yaml` file
- Add `fluent-svelte` as a dependency
- Change `dev` flag to `false` for multiple packages

[pnpm-lock.yaml]
- Add `fluent-svelte` as a dependency
- Change `dev` flag from `true` to `false` for `focus-trap` and `for-each` packages
- Change `dev` flag from `true` to `false` for `tabbable` package
- Change `dev` flag from `true` to `false` for `tailwindcss` package
2023-02-23 09:22:53 +01:00
Nikita Galaiko
53669b881f
drop yjs 2023-02-23 08:56:36 +01:00
Scott Chacon
e919a5fa47
Posthog integration GB-36 (#18)
* add posthog, add init to hooks
* identify user
* send name and email
* log out user
2023-02-22 14:38:45 +01:00
Kiril Videlov
3c08aef077 timeline things 2023-02-22 00:39:04 +01:00
Nikita Galaiko
0ce6b3221f
add request id 2023-02-21 12:02:17 +01:00
Kiril Videlov
f92a2370bd Add date-fns for better date calculations
- Add date-fns package to project
- Update dependencies in pnpm-lock.yaml
- Replace manual date calculations with date-fns functions
- Add functions to Week class for getting the next/previous week and the nth day of the week

[pnpm-lock.yaml]
- Add `date-fns` dependency to `pnpm-lock.yaml`
- Update `@codemirror/state`, `@codemirror/view`, `@tauri-apps/api`, `idb-keyval`, `mm-jsr`, and `seti-icons` dependencies in `pnpm-lock.yaml`
- Add `date-fns` package to `pnpm-lock.yaml`
[src/lib/week.ts]
- Replace manual date calculations with `date-fns` functions
- Make `Week.from` use `weekStartsOn` to set the start of the week
- Add `Week.next`, `Week.previous` and `Week.nThDay` functions
[package.json]
- Add date-fns package
2023-02-20 12:34:07 +01:00
Scott Chacon
f093da0eb5 add seti icons, simplify file names, make them fit 2023-02-18 15:06:04 +01:00
Nikita Galaiko
de0dd25c90
project settings page 2023-02-16 12:16:24 +01:00
Kiril Videlov
692297ed8e Update CodeViewer to use MergeView
- Upgrade CodeViewer component to use MergeView
- Add collapseUnchanged option to MergeView
- Update @codemirror/state and @codemirror/view to latest version
- Add @codemirror/merge to dependencies and packages list

[package.json]
- Add @codemirror/merge dependency to package.json
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte]
- Change the `CodeViewer` value from `contentWithDeltasApplied` to `contentAtSessionStart` and `newValue` to `contentWithDeltasApplied`
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts]
- Remove `console.log` line in `src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts`
- Change type of `files` from `Record<string, string>` to `any`
[src/lib/components/CodeViewer.svelte]
- Change the code viewer from an EditorView to a MergeView
- Add a newValue prop to the CodeViewer component
- Update the update function to use the new MergeView
- Add collapseUnchanged option to the MergeView
- Remove unused code related to coloring the last edit
[pnpm-lock.yaml]
- Add `@codemirror/merge` to the dependencies and specifiers
- Update `@codemirror/state` to version `6.2.0`
- Update `@codemirror/view` to version `6.7.3`
- Add `@codemirror/merge` to the packages list with the specified resolution and dependencies
2023-02-14 18:33:55 +01:00
Kiril Videlov
fbb7a93564 add some linting config 2023-02-12 21:14:41 +01:00
Nikita Galaiko
66d526acd4
connect ui to rust crdts 2023-02-07 14:19:29 +01:00
Kiril Videlov
f28a75ce29 adds nav buttons 2023-02-06 12:57:13 +01:00
Kiril Videlov
68d53e8d35 visualize code in a viewer 2023-02-04 23:08:20 +01:00
Nikita Galaiko
bf04ed9e76
setup logger 2023-02-03 14:28:57 +01:00
Nikita Galaiko
76d3b31054
project page 2023-02-03 09:12:57 +01:00
Nikita Galaiko
33904f6533
simple timeline 2023-02-01 15:10:22 +01:00
Nikita Galaiko
d1adefafd0
crdt doc impl 2023-02-01 10:04:03 +01:00
Nikita Galaiko
6c6dab0872
better types 2023-01-31 16:33:32 +01:00
Nikita Galaiko
9aa96f488f
simple tauri example 2023-01-31 15:55:57 +01:00