Sebastian Martinez
7adcea4148
Update components and interfaces for radicle-surf v0.21
2024-04-24 16:50:14 +02:00
Sebastian Martinez
9f70390432
Add commit summary to BranchSelector
...
Also extract it into a separate component to use in Blob.svelte
2024-03-21 13:37:20 +01:00
Sebastian Martinez
b7b9370709
Change commit browse icon tooltip
2024-03-15 15:30:58 +01:00
Sebastian Martinez
5b30269c7c
Add support for submodules and update heartwood
2024-03-11 19:13:22 +01:00
Sebastian Martinez
c76c8e7ab8
Change actions to who what when
2024-01-17 17:00:10 +00:00
Rūdolfs Ošiņš
08d16dbbeb
Implement two column layout
2024-01-02 11:48:19 +00:00
Sebastian Martinez
b331f446ee
Remove not allowed cursor from Contributors and BranchSelector
...
Adds also HoverPopover tooltips, with some hints
2023-11-17 10:19:57 +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
bd6ba784b3
Improve binary detection
...
libgit2 optimizes around not loading the content, when there's no
content callbacks configured.
So we aren't able to get a clear answer from radicle-surf if a file in a
diff is a binary or not.
A simple way without doing additional API requests is to check if the
file type is a executable and if there are no hunks (since we don't get
any deltas in binaries), this is a strong
indicator for a binary.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-26 09:04:01 +02:00
Sebastian Martinez
fb06b5fe8b
Add moved and copied files e2e tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-19 07:50:27 +02:00
Alice Liddell
1b01216bf8
Improve FileDiff and add tests
...
Signed-off-by: Alice Liddell <alice@radicle.xyz >
2023-09-19 07:49:36 +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
Thomas Scholtes
283b665b31
Switch to flat project route type
...
We switch to a project route type that is just a union. This has the
following advantages
* It’s much easier to construct project routes. Fewer properties are
needed and there are no nested objects.
* We eliminate the implicitly shared properties `path`, `peer`,
`revision` and `route` which only belonged to the tree route.
* The structure of the project route is more regular and thus easier to
understand.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-17 11:27:57 +02:00
Sebastian Martinez
f971d777f2
Add missing moved and copied file operations to Changeset
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-17 17:50:19 +01: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
c32b303744
Add CLI tooling to create seed fixtures on the fly
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-12 14:23:10 +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
Sebastian Martinez
a168a4d126
Pluralize values instead of parenthesis
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 14:10:47 +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ņš
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
xphoniex
9fae5ebb33
Update heartwood fixture and re-enable tests
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-01-30 14:27:46 +00: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
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
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ņš
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ņš 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