Commit Graph

89 Commits

Author SHA1 Message Date
Mattias Granlund
8a6314eb27 Use bundled tailwind nesting plugin
See documentation at:
https://tailwindcss.com/docs/using-with-preprocessors#nesting
2023-07-14 09:48:33 +02:00
Mattias Granlund
c2dd6f9db3 Refactor some postcss stuff
- put global files in /styles
- add postcss-nested plugin
- change runtime import for .dark enclosed classes
2023-07-13 13:57:22 +02:00
Nikita Galaiko
e871d04790 update/cleanup deps 2023-07-13 11:23:41 +02:00
Nikita Galaiko
5bce726477 upgrade svelte-related libs 2023-07-13 09:27:40 +02:00
Nikita Galaiko
82939782eb bump svelte-loadable-store 2023-07-11 15:17:49 +02:00
Mattias Granlund
2b19031a36 Replace svelte-dnd-action with native drag & drop
This commit is a bit of a relief, we now have less than 1/10th the
amount of code powering drag & drop.

Future work includes:
- extracting commonalities into a Svelte action
- applying css to new drop zone without using sibling selector
- styling
2023-07-07 15:58:12 +03:00
Mattias Granlund
d0665739c2 Lint only changed files in CI
We can use `git diff --names-only` to get a list of files changed
between two revisions. The purpose is to stop lint errors from
untouched files showing up in code review.
2023-07-07 11:46:14 +02:00
Mattias Granlund
2e6a67c0bc Revert "Add syntax highlighting for hunks"
- fixes NaN

This reverts commit ac3aa9dd30.
2023-07-03 19:48:01 +03:00
Mattias Granlund
ac3aa9dd30 Add syntax highlighting for hunks 2023-07-03 02:04:28 +03:00
Mattias Granlund
59fca56995 Fix broken test 2023-07-02 18:45:13 +03:00
Kiril Videlov
635486f815 use lscache library for local storage caching
its nice cause it has eviction strategies. updated the hunk summaries to
use this, with a 24 hour time to live, so that we dont leak
2023-07-01 21:45:45 +02:00
Mattias Granlund
5b8f4fc29b Copy in gravatar code 2023-07-01 22:10:25 +03:00
Scott Chacon
e4e902eeac try again 2023-07-01 22:10:25 +03:00
Scott Chacon
4b7d6739cc gravatars 2023-07-01 22:10:25 +03:00
Mattias Granlund
0bafe62390 Bump dnd library version to fix bug 2023-06-29 19:32:32 +03:00
Kiril Videlov
0ad618159b configure plugin to detect TS dep cycles 2023-06-27 14:46:39 +02:00
Kiril Videlov
5cdad0beea a little bit of a typescript testing setup 2023-06-22 14:42:44 +02:00
Mattias Granlund
4fa1f66976 Make drag & drop behave even better 2023-06-19 16:46:09 +01:00
Mattias Granlund
daf296c647 Create new branches through dedicated dropzone 2023-06-17 16:11:37 +01:00
Nikita Galaiko
38fb0132ec update dependencies 2023-06-16 09:29:26 +02:00
Mattias Granlund
219f1af61c Update dnd package to fix shadowing 2023-06-14 22:52:28 +01:00
Mattias Granlund
d0c2707cae Simplify drag & drop
- use classes for hunks, files, etc
- add class-transformer dependency
- simplify helper functions for readable code
2023-06-14 12:50:31 +01:00
Mattias Granlund
dbcb391252 Update drag & drop to match forked library
- svelte-dnd-action now installed from gitbutlerapp fork
- dnd zones can have multiple types and require receivable types
- dropped items that do not match zone have to be wrapped in handlers
2023-06-12 15:41:50 +02:00
Kiril Videlov
02e81b71dd first stab at virtual branch UI 2023-06-06 15:12:50 +02:00
Nikita Galaiko
cbd8046400 stop using old stores in the player 2023-05-30 16:30:43 +02:00
Nikita Galaiko
60bd88ec21 use mm-jsr for the slider 2023-05-30 14:37:42 +02:00
Kiril Videlov
737f73c834 add markdown lib 2023-05-28 00:28:04 +02:00
Kiril Videlov
4a77e377c6 some markdown for chat messages 2023-05-28 00:28:04 +02:00
Nikita Galaiko
adf1428b40 bump loadable store 2023-05-25 09:06:55 +02:00
Nikita Galaiko
e3e009b609 handle loadable error states 2023-05-24 20:29:29 +02:00
Nikita Galaiko
8ded81f418 update eslint config 2023-05-24 11:07:05 +02:00
Nikita Galaiko
ef49fcbcdc fix player sessions list 2023-05-23 16:46:42 +02:00
Nikita Galaiko
b17f704efb improve click outside detection for modals 2023-05-23 10:16:18 +02:00
Nikita Galaiko
f8bb9741e4 minor stores fix 2023-05-22 20:26:53 +02:00
Nikita Galaiko
beca54115b display bookmark status in the sessions list 2023-05-22 16:56:10 +02:00
Nikita Galaiko
1cde5b1949 update eslint-typescript 2023-05-22 16:56:10 +02:00
Nikita Galaiko
e2781591c1 bump deps 2023-05-16 08:20:07 +02:00
Nikita Galaiko
8d81e45f8b bump tauri 2023-05-12 12:48:07 +02:00
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