Commit Graph
1421 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 6d7d7660d5 Move popover padding into the component
This makes sure all popovers are styled the same way.
2023-11-23 10:20:28 +01:00
Sebastian Martinez b8408db4f1 Improve the Branch Selector
We now also let people select branches if they only have one branch.
Renamed also some variables to make it clearer what they represent.
2023-11-23 09:57:35 +01:00
Thomas Scholtes e172aac1af Set Playwright action timeout for quicker failures
When a Playwright action (like click) fails we want it to throw an error
after 5 seconds instead of waiting 30 seconds for the test timeout.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes b979862b08 Reuse log prefix colors if we run out
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes c568757675 tests: Improve peer manager logging
* The log prefix now includes the command name in addition to the peer
  name. This allows us to distinguish `radicle-node` and `radicle-httpd`
  logs as well as the output of commands.
* We also log prettify the JSON event log so it is easier to debug.
* Don’t log ouput of `waitForRoutes`

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes de64d7c151 Use more descriptive name for making log prefixes
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes 5d4511e3a7 Fix noEmit option in tsconfig
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +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
Rūdolfs Ošiņš 6cf78832de Fix comment border overflow issue 2023-11-22 17:36:20 +01:00
Rūdolfs Ošiņš 4e68b98ef9 Fix project sub-view breadcrumb alignment 2023-11-22 16:57:41 +01:00
Rūdolfs Ošiņš d7fc70a1f3 Don't show "Source" segment in breadcrumbs
It is redundant, we can already go to the "Source"/"Files" tab by
clicking on the project title in the breadcrumbs.

This also fixes some of the links that were linking to "Source"
incorrectly.
2023-11-22 15:29:41 +01:00
Rūdolfs Ošiņš 159f766157 Tweak primary/secondary toggle button styling 2023-11-21 16:44:07 +01:00
Sebastian Martinez 2f013df4e1 Refactor CobHeader 2023-11-21 15:15:27 +01:00
Rūdolfs Ošiņš ad84bc9f30 Add breadcrumbs to header 2023-11-21 13:57:25 +01:00
Sebastian Martinez eeba82017d Add permission checks for delegates and authors 2023-11-20 22:13:51 +01:00
Rūdolfs Ošiņš ffe7bbba17 Update colors 2023-11-20 21:38:31 +01:00
Sebastian Martinez e6c560b58b Fix cob commit listing borderline not expanding 2023-11-20 15:12:34 +01:00
Sebastian Martinez 181fcc15af Fix e2e change theme test 2023-11-17 11:54:33 +01:00
Sebastian Martinez 0b331ba515 Update to vite@5 2023-11-17 11:53:53 +01: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ņš 709450cbac Disable Firefox e2e tests on CI
They give us more headaches than they find bugs.
2023-11-16 17:53:30 +01:00
Rūdolfs Ošiņš efcb287c87 Update colors to match latest in Figma design system 2023-11-16 16:11:23 +01:00
Rūdolfs Ošiņš 6435d62fb5 Show avatar and alias in NodeId popover
This also adjusts colors and font styling as per design.
2023-11-16 12:12:34 +01:00
Rūdolfs Ošiņš 4bd03f55dc Tweak sync/authenticate/connect buttons
- simplify positioning
- make sure they expand depending on content, yet have a min width
- add a popover for the connected button state, move httpd info from the
  authenticated button into this popover
- fix external link styling
- make the hover outline color pink
2023-11-16 11:54:44 +01:00
Sebastian Martinez 54be2b78e4 Simplify nodeStore, and make it part of the httpdStore 2023-11-16 10:03:06 +01:00
Sebastian Martinez 7f4af6fb72 Inherit font-size for non code blocks 2023-11-15 17:08:08 +01:00
Rūdolfs Ošiņš 57c82e0c41 Tweak tracking button popover width 2023-11-15 16:34:17 +01:00
Rūdolfs Ošiņš c7027c1f2f Extract all external link styling into a component 2023-11-15 16:34:17 +01:00
Rūdolfs Ošiņš 2bd1893504 Tweak font features
This only enables the slashed zero font variant. We remove the other
settings because they mess up the monospace Jetbrains font in diffs.
2023-11-15 16:28:26 +01:00
Sebastian Martinez 0f8bd0d1dc Fix flakiness in comment and reply e2e test 2023-11-15 16:21:47 +01:00
Sebastian Martinez 84addf467d Show node state indicator 2023-11-15 16:21:47 +01:00
Sebastian Martinez 94985d0489 Fix HMR issue with customElements 2023-11-15 15:46:15 +01:00
Rūdolfs Ošiņš 838ee1b420 Update transitive dependencies 2023-11-15 12:51:03 +01:00
Sebastian Martinez 3bdf21ec06 Update dependencies 2023-11-15 12:51:02 +01:00
Sebastian Martinez e658e67c43 Fix issue with dismiss changes in title 2023-11-15 09:32:12 +01:00
Sebastian Martinez 56c87787ed Add e2e tests for editing patches, issues, comments, labels and assignees 2023-11-15 09:32:12 +01:00
Sebastian Martinez 1188e84c87 Cleaning up state flags 2023-11-15 09:32:12 +01:00
Sebastian Martinez 664158e472 Refactor Patch actions and related components 2023-11-15 09:32:12 +01:00
Sebastian Martinez 5742f15e28 Refactor Issue actions and related components 2023-11-15 09:32:10 +01:00
Rūdolfs Ošiņš dabfab083e Tweak icons
- use key icon in connect/authenticate modal
- use person without hat for contributors
- use +- icon for diffs
- use color to distinguish between track/tracking states
2023-11-09 15:34:50 +01:00
Rūdolfs Ošiņš 89424819b4 Use different yellow for user selection 2023-11-09 13:36:36 +01:00
Rūdolfs Ošiņš 5fc49faf6b Update color tokens 2023-11-09 13:36:36 +01:00
Rūdolfs Ošiņš 92f3e32c90 Adjust commit message text size
This makes it look more balanced in comparison to the subject line.
2023-11-09 11:09:01 +01:00
Rūdolfs Ošiņš 179f22cf66 Make IDs copyable by clicking anywhere in the body 2023-11-09 10:55:10 +01:00
Sebastian Martinez ca28fc28b2 Display a top and bottom border in the file tree when overflowing 2023-11-08 17:43:11 +01:00
Thomas Scholtes f44b0f4709 Eliminate popoverWidth property
Users of `Popover` can set the width by setting it on the slot element.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-08 17:16:50 +01:00
Thomas Scholtes b757e62691 Avoid nested button for Popover
We elminitate the element with the “button” role that wrapped the
Popover toggle slot. The element rendered into the slot is in all cases
already a button. This prevents issues where `getByRole("button")` finds
_two_ buttons for popover toggles.

We take the opportunity to simplify the popover toggling by making the
slot responsible for the toggle. This has a couple of advantages:

* We don’t need a `disabled` property for Popover. This is handled by
  the button. (This fixes a bug we did not disable the PeerSelector
  Popover properly.)
* The popover is opened on key events

In the future this also gives us more flexibility in determining how to
toggle the Popover.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-08 17:16:50 +01:00
Sebastian Martinez bc64e90d7f Display which revision was merged in patches 2023-11-07 17:15:05 +01:00
Sebastian Martinez a3a7f09181 Patch icon in revision timeline reflects patch state color 2023-11-07 13:04:10 +01:00
Sebastian Martinez 79b1e9c9f8 Add clipboard button to code blocks
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-11-06 18:38:11 +01:00