Commit Graph

99 Commits

Author SHA1 Message Date
Nikita Galaiko
28b2fa558e pnpm updates 2023-08-23 13:47:59 +02:00
Mattias Granlund
b14f2ddde9 Fix CI composite action output values 2023-08-17 22:13:59 +01:00
Mattias Granlund
7b569b0e93 Fix broken eslint in ci
- it needed svelte-kit sync to pickup the generated tsconfig.json
2023-08-17 20:20:38 +01:00
Mattias Granlund
e7cd56ddb5 Manually update eslint related npm packages 2023-08-17 10:26:32 +01:00
Mattias Granlund
85866306aa pnpm update 2023-08-17 10:26:32 +01:00
Mattias Granlund
9a1f707c39 Make https explicit for github hosted packages
This should remove any ambiguity for related tools.
2023-08-17 10:26:32 +01:00
Mattias Granlund
72ff39a106 Hopefully fix dependabot for typescript
When upgrading to pnpm 8 it seems packages with the protocol
`github:` in packages.json are given some weird `git/` prefix
in the lockfile version.. resulting in broken CI.

I assume the difference between github: and without is the
difference between cloning over ssh vs. https. The actions
were indeed failing with Permission denied (publickey).
2023-08-17 09:00:32 +01:00
Nikita Galaiko
b688c451fb update deps 2023-08-10 08:26:59 +02:00
Nikita Galaiko
f12cf1b9e9 setup head subscription 2023-08-09 16:10:09 +02:00
Mattias Granlund
930abe4e48 Fix ts/svelte linting 2023-07-31 13:13:52 +01:00
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