Rūdolfs Ošiņš
ee61864642
Cache eslint and prettier
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-30 09:53:30 +02:00
Rūdolfs Ošiņš
dd3b514dfc
Properly await promises
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš
37f6cccced
Mark floating promises with void
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš
930210da80
Replace deprecated eslint-plugin-svelte3 with eslint-plugin-svelte
...
We were using a deprecated plugin that wasn't working. This new plugin
is also more performant.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš
a671706979
Use colors in badges and icons consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-23 12:32:39 +02:00
Rūdolfs Ošiņš
2563438874
Add icons for issues and patches
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-16 14:38:26 +02:00
Rūdolfs Ošiņš
26944d5334
Keep global tabs selected when viewing individual issue/patch/commit
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
11af7bed86
Remove issue/patch filter query when navigating away
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
e41a12d663
Separate global project header from source browsing header
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
f9445de618
Don't select the + and - signs when selecting a diff
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:26:40 +02:00
Rūdolfs Ošiņš
2cd3a10f8f
Make sure filter tabs are displayed properly on mobile
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:16:35 +02:00
Rūdolfs Ošiņš
45c6f20855
Make commit list and commit view visually consistent
...
We style the commit teaser and commit header visually to fit in better
with patches and issues.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:26:01 +02:00
Rūdolfs Ošiņš
1df28abed2
Show comments that are thread replies to the issue body
...
Previously treated the issue body as a comment and people could post a
thread reply to that first comment. Now we treat the first comment as
the issue body and disallow replying to it via a thread. There are still
some old replies, we show them as regular comments.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:10:34 +02:00
Rūdolfs Ošiņš
34f40fba02
Adjust action wording to show only latest action in patch list
...
It will show either "Opened x days ago" or "Updated x days ago"
depending whether there is one or multiple revisions.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:59:54 +02:00
Rūdolfs Ošiņš
d5e194bf11
Make diff line background uniform across gutter and body
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:51:26 +02:00
Rūdolfs Ošiņš
b815c9004b
Fix httpd client root query
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 18:15:47 +02:00
Rūdolfs Ošiņš
b997b12353
Implement data loading in router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:51:35 +02:00
Rūdolfs Ošiņš
85dc1c3552
Port mutexExecutor from Upstream
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:50:26 +02:00
Rūdolfs Ošiņš
6ae0add137
Update deps
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-05 13:56:41 +02:00
Rūdolfs Ošiņš
cc2e5a1a67
Prevent logo flickering when loading
...
We set the logo size so that it takes up the same space before it is
loaded as when it is fully loaded. This way the search bar doesn't get
pulled to the left and there is no visual flickering.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-03 14:25:02 +02:00
Rūdolfs Ošiņš
2b25533b58
Use underline for commit/issue/patch teaser links
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-28 11:57:24 +02:00
Rūdolfs Ošiņš
d54889cea1
Allow markdown in issue/patch titles
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 16:47:19 +02:00
Rūdolfs Ošiņš
36746a8091
Fix font preloading
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 16:06:19 +02:00
Rūdolfs Ošiņš
1f09d8a2a8
Allow opening links in a new tab
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 15:54:53 +02:00
Rūdolfs Ošiņš
518b821250
Fix patch review schema
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-26 10:42:00 +02:00
Rūdolfs Ošiņš
3a4a766cfa
Fix httpd-client patch review verdict schema
...
We now also show an error message to the user instead of silently
failing.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-25 11:56:40 +02:00
Rūdolfs Ošiņš
67f02463ee
Refactor commit history view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-21 11:36:50 +02:00
Rūdolfs Ošiņš
9704318248
Refactor seed view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš
26419a74e2
Simplify the ProjectCard component
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš
d80c46e085
Rename the search bar placeholder
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 08:36:16 +02:00
Rūdolfs Ošiņš
df57c15a37
Upgrade dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-17 09:51:28 +02:00
Rūdolfs Ošiņš
7682d9e215
Refactor issue/patch side inputs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-13 10:06:29 +02:00
Rūdolfs Ošiņš
069b0949d5
Enable the @typescript-eslint/no-floating-promises rule
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 15:05:05 +02:00
Rūdolfs Ošiņš
2d58c600ad
Don't show port in clone URL if it is the default port
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 10:02:04 +02:00
Rūdolfs Ošiņš
6efe60984b
Update logo and favicon
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 08:22:28 +02:00
Rūdolfs Ošiņš
c8c251fabd
Add httpd-client api library
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-11 15:31:08 +02:00
Rūdolfs Ošiņš
045890d2e1
Simplify Avatar component and get rid of extra requests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-10 14:39:50 +02:00
Rūdolfs Ošiņš
9e1fc49ae7
Fix mixed content warning when connecting to local node
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-05 13:49:52 +02:00
Rūdolfs Ošiņš
53c83c465a
Add myself to CODEOWNERS
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-29 14:58:49 +02:00
Rūdolfs Ošiņš
894435de79
Use capitalize from lodash
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-28 18:18:26 +02:00
Rūdolfs Ošiņš
46666fd6da
Fix tsconfig
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-28 18:12:12 +02:00
Rūdolfs Ošiņš
30105e2845
Update dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-28 18:12:12 +02:00
Rūdolfs Ošiņš
c7c13f6323
Pin radicle-team repo
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-15 10:40:58 +01:00
Rūdolfs Ošiņš
feed4d4461
Show local seed page upon successful authentication
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-14 15:35:11 +01:00
Rūdolfs Ošiņš
c1d0fbc1d7
Don't try to find comment on master for visual diffs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-14 15:21:33 +01:00
Rūdolfs Ošiņš
68b0832280
Make sure visual diffs are generated on master
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-14 14:23:05 +01:00
Rūdolfs Ošiņš
a552bb75a4
Update npm packages
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-13 15:07:39 +01:00
Rūdolfs Ošiņš
ce36068c57
Update nodejs version
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-13 15:04:20 +01:00
Rūdolfs Ošiņš
30ceea80ce
Fix link to artifacts
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-09 14:37:59 +01:00
Rūdolfs Ošiņš
8b9cbeb3ae
Use a Github bot to comment about visual diff changes
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-08 12:22:57 +01:00
Rūdolfs Ošiņš
e2f7665dbd
Show twemojis in project descriptions
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-07 13:30:40 +01:00
Rūdolfs Ošiņš
94d0ec50c5
Improve nodeId formatting on various views
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-07 13:30:40 +01:00
Rūdolfs Ošiņš
742fe4dec0
Update deps
...
And re-enable Firefox tests.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-06 11:53:55 +01:00
Rūdolfs Ošiņš
2bad94457c
Migrate to the heartwood protocol stack
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-03 14:23:46 +01:00
Rūdolfs Ošiņš
d71f47a98a
Disable Firefox checks until Playwright is fixed
...
See https://github.com/microsoft/playwright/issues/21145 for more
details.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-27 16:26:10 +01:00
Rūdolfs Ošiņš
55cc5c319a
Update dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-27 15:11:54 +01:00
Rūdolfs Ošiņš
466f72002f
Document legacy IPFS deployment
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-15 18:13:12 +01:00
Rūdolfs Ošiņš
4e26df7240
Clean up pinned projects
...
clients.radicle.xyz got migrated to Heartwood. Removed pax to have an
even number of projects and they align in two rows.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-15 11:18:18 +01:00
Rūdolfs Ošiņš
29933116e8
Fix dropdown click outside on mobile safari
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-14 17:18:38 +01:00
Rūdolfs Ošiņš
ffc6f21061
Fix magnifying glass icon alignment in Safari
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-14 15:22:46 +01:00
Rūdolfs Ošiņš
3cbf265def
Don't expand search bar on mobile
...
Also don't show the connect button in the mobile layout. We don't
support running nodes on mobile anyway.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-14 14:59:53 +01:00
Rūdolfs Ošiņš
e0e51b234a
Poll session every minute to make sure we are still connected
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-14 14:11:53 +01:00
Rūdolfs Ošiņš
a0f0cc549a
Lower image diff threshold
...
We want to catch smaller changes. The threshold was too high to catch
the rounded corners change in a full-page screenshot.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-13 14:40:58 +01:00
Rūdolfs Ošiņš
847c18b2e5
Fix copy button alignment
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-13 14:26:21 +01:00
Rūdolfs Ošiņš
85fed61b10
Fix Mixed Content error
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-13 14:26:21 +01:00
Rūdolfs Ošiņš
5cbf8b97da
Make search bar more interactive
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-13 11:28:42 +01:00
Rūdolfs Ošiņš
b8b203514b
Add connect to node button in header
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-13 11:19:47 +01:00
Rūdolfs Ošiņš
2c5830a076
Fix flaky specs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-02-07 17:11:26 +01:00
Rūdolfs Ošiņš
6287f1f916
Use radicle-httpd from our public download location
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-31 16:49:31 +01:00
Rūdolfs Ošiņš
44b14b67cc
Use cursor pointer for settings button
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-31 09:52:35 +01:00
Rūdolfs Ošiņš
e04c792caf
Clean up components
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-31 09:45:55 +01:00
Rūdolfs Ošiņš
40ad8c1efb
Fix clearing snapshot cache
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-30 15:04:57 +01:00
Rūdolfs Ošiņš
3d018dae18
Refactor modals
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-30 09:24:49 +01:00
Rūdolfs Ošiņš
a301224c58
Chunk more imports to reduce individual chunk size
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-09 10:45:01 +01:00
Rūdolfs Ošiņš
ccacd824a6
Update dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-09 10:39:48 +01:00
Rūdolfs Ošiņš
972b5ccf20
Remove playwright dependency install steps
...
It seems like the tests on CI work just fine without installing the
deps. We assume the deps are already installed in the ubuntu image.
This saves build time and our builds still work when the azure servers
that provide the deps are down.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-06 15:25:54 +01:00
Rūdolfs Ošiņš
d8dd0d8e5b
Fix flaky landingPage visual spec
...
This makes sure that the stubs are always loaded before the app.
We assume that previously the load order was not deterministic due to
the dynamic import.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-06 14:53:54 +01:00
Rūdolfs Ošiņš
c3c3d06380
Split up visual markdown specs into sections
...
So that it's easier to spot changes.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-04 17:37:06 +01:00
Rūdolfs Ošiņš
57600c8adf
Remove *.log files from snapshot artifacts
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-04 17:37:06 +01:00
Rūdolfs Ošiņš
adc159a71e
Fix regression in patches feature
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-29 15:58:11 +01:00
Rūdolfs Ošiņš
cc416bcbf8
Fix svelte complaining about types
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-29 15:56:55 +01:00
Rūdolfs Ošiņš
cd9b2adcdd
Rename label -> tag
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-29 13:45:52 +01:00
Rūdolfs Ošiņš
5f0d187ecd
Undo line diff type change, it was unnecessary
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-29 11:48:05 +01:00
Rūdolfs Ošiņš and xphoniex
4bb34023c2
Add Heartwood translation layer for file diffs
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-29 09:58:59 +01:00
Rūdolfs Ošiņš and xphoniex
25edd969f8
Rename Seed class attributes
...
seed.api -> seed.addr
seed.link -> seed.node
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-28 15:28:34 +01:00
Rūdolfs Ošiņš and xphoniex
26f96990a4
Extract fixture specific variables
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-28 12:23:28 +01:00
Rūdolfs Ošiņš and xphoniex
1a5430aced
Rename URN -> ID
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-27 15:43:46 +01:00
Rūdolfs Ošiņš
caa83db480
Organise files more consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-22 16:46:08 +01:00
Rūdolfs Ošiņš
5f2cd259a0
Clean up snapshot cache on master
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-19 13:31:54 +01:00
Rūdolfs Ošiņš
e80fabbbdd
Fix flaky visual tests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-19 10:37:09 +01:00
Rūdolfs Ošiņš
41168db8d5
Improve CI workflows
...
- bump visual spec timeouts
- don't warn if there are no artifacts
- revert unneeded workflow checks
- improve workflow messages
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 23:10:57 +01:00
Rūdolfs Ošiņš
d7f8156725
Format yaml files with prettier
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:51:13 +01:00
Rūdolfs Ošiņš
2c022a40df
Add visual snapshot tests
...
We use the cache Github action to store snapshots when pushing to master and
then load them in pull requests and run the visual tests against it.
This way we don't have to commit the images to the repository and always
get diffs to the latest master.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš
d5f690926e
Move build smoke tests to a separate folder
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš
836b0ccc09
Extract fixture URL
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš
0b6d9586ee
Extract custom app config in tests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:05:57 +01:00
Rūdolfs Ošiņš
795ab5253d
Upgrade transitive dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-13 10:08:00 +01:00
Rūdolfs Ošiņš
9e71823a99
Remove SIWE functionality
...
It's not working with our current seed nodes and is confusing to users.
It also prevents us from upgrading transitive dependencies.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-12 20:24:19 +01:00
Rūdolfs Ošiņš
6c363e9313
Move all test files to the tests folder
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-01 16:36:40 +01:00
Rūdolfs Ošiņš and Sebastian Martinez
9cb9332e88
Replace Cypress with Playwright
...
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:
- project source browsing
- tree view
- commit list view
- commit view
- routing
- hash based
- history API based
- clipboard copy paste functionality
- seed view
- project search
- landing page view
- settings
Co-authored-by: Sebastian Martinez <me@sebastinez.dev >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-01 15:54:56 +01:00