Sebastian Martinez
4e0d557a65
Improve error when node doesn't have any pinned repos
2024-03-25 16:34:16 +01:00
Sebastian Martinez
d315380e01
Add visual test for code clipboard icon on hover
2024-03-04 22:08:57 +01:00
Sebastian Martinez
16e858bd7a
Update footnote regex to handle footnotes with spaces
2024-03-04 16:35:22 +01:00
Sebastian Martinez
dcced2e06d
Fix visual test on preview toggle
2024-02-28 14:06:42 +00:00
Sebastian Martinez
d216caec7d
Improve catching of errors when loading routes
...
- Handle ResponseParseErros, ResponseErrors and normal errors
differently.
- Show them all in the same `LoadError` view
- Add a subtitle to give users some more information on what could have
gone wrong.
- Add more properties to the copyable error message to make debugging
easier.
2024-02-15 13:26:11 -03:00
Rūdolfs Ošiņš
65e906fd07
Bump heartwood version
...
This fixes the landing page not showing local projects anymore.
2024-01-25 11:58:53 +00:00
Sebastian Martinez
c683ac3711
Fix sidebar e2e visual test collapsing
2024-01-18 13:16:28 +01:00
Rūdolfs Ošiņš
5684b8ef42
Refactor visual tests
...
We use built in devices for testing instead of our own custom ones.
Split up desktop and mobile visual tests for better separation.
2024-01-05 17:45:20 +00:00
Sebastian Martinez
24628f57d8
Improve handling missing files and README
2023-12-12 10:41:27 +01:00
Sebastian Martinez
e080883059
Add private project visual tests
2023-12-04 11:59:12 +01:00
Sebastian Martinez
095b99fcec
Fix issue text horizonal overflow
2023-12-01 12:28:27 +01:00
Thomas Scholtes
72352835eb
Update heartwood version
...
The update resulted in changes to all issue and patch IDs. We adapt the
tests so that they do not rely on fixed IDs.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-11-23 09:21:37 +01:00
Sebastian Martinez
e6c560b58b
Fix cob commit listing borderline not expanding
2023-11-20 15:12:34 +01:00
Sebastian Martinez and Rūdolfs Ošiņš
38fbddeb21
Update test suite to latest heartwood
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-11-03 15:34:16 +01:00
Rūdolfs Ošiņš and dnlklmn
d914710396
Implement new design
...
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-10-13 18:05:19 +02:00
Sebastian Martinez
45830f6cd9
Show local projects instead of network to landing page, if available
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-04 12:06:03 +02:00
Rūdolfs Ošiņš
5736083d50
Fix not found and loading error screens
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-08-16 09:35:44 +02:00
Rūdolfs Ošiņš
0e33915e9a
Fix visual tests
...
This was failing on master, so the visual spec cache didn't get updated.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-08-15 14:05:53 +02:00
Rūdolfs Ošiņš
0146ca00b5
Update the UI to work with the new COB schema
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-08-08 10:53:49 +02:00
Sebastian Martinez
4525771264
Use /nodes/ in URL instead of /seeds/
...
We still allow already published URLs with `/seeds/` in them to be
resolved.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-31 16:58:45 +02:00
Sebastian Martinez
f4bf5b9c6a
Sort projects in seed view by most recent activity
...
Uses the projects activity, fetched from `/projects/${id}/activity`
which is an array of commit timestamps.
So could suffer from some errors if commits with non current timestamps
are being used.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-31 13:05:56 +02:00
xphoniex
5ee8c8281b
Make diff line selectable and shareable
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-07-20 11:37:57 +02:00
Sebastian Martinez
afbc57079b
Switch page.locator with page.getByRole and page.getByText
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-19 11:35:20 +02:00
Sebastian Martinez
78b988af95
Replace custom extension with marked-katex-extension
...
- Add a visual test to check math rendering
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-17 17:18:07 +02:00
Sebastian Martinez
555d4da30c
Fix some style regressions in patch view
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 16:33:17 +02:00
Sebastian Martinez
9f40fd85b7
Sort projects in seed project listing visual test
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-30 10:02:02 +02:00
Sebastian Martinez
c04d399cf3
Revert HTML tag escaping
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-30 10:01:14 +02:00
Sebastian Martinez
0e6be19373
Add patch reviewers in sidebar
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:23:37 +02:00
Sebastian Martinez
31be78144f
Fix padding issues of project headers on mobile
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 10:19:56 +02:00
Sebastian Martinez
ecabe9b7a8
Escape html tags in marked found outside of code blocks
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 13:00:20 +02:00
Sebastian Martinez
107696c3c9
Add a cobs fixture and issue and patch tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Sebastian Martinez
889b13303b
Extract markdown from source-browsing fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-05 15:08:32 +02:00
Sebastian Martinez
3ea6a07dc4
Update seed fixture to latest heartwood commit
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-14 11:13:15 +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
xphoniex and Rūdolfs Ošiņš
f72405a3e4
Add support for Heartwood
...
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-04 11:20:14 +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
Sebastian Martinez
e86accafae
Handle errors in Browser.svelte
...
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-21 17:10:20 +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ņš
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