Commit Graph
403 Commits
Author SHA1 Message Date
dnlklmn 01448ca587 Align issue teaser title line 2024-03-19 14:49:45 +01:00
Sebastian Martinez fcdaa24973 Display diff stats badge in patch summary 2024-03-19 14:26:53 +01:00
Sebastian Martinez 8ba5d4e731 Increase hit area on commit teaser title 2024-03-19 10:49:20 +01:00
Sebastian Martinez 780158bb2c Remove extra space between FileLocationChange components 2024-03-19 10:34:21 +01:00
Sebastian Martinez 1e97828ccb Make commit title in commit page semibold 2024-03-19 10:34:21 +01:00
Sebastian Martinez cee200e629 Compare to revisionBase instead of projectHead
- Makes diff stat badge clickable and navigates users to previous
  revision or revision base.
    - If base has changed between revisions uses latest patch base
2024-03-18 15:50:48 +01:00
Sebastian Martinez 7bb1c74fb2 Display seeding icon on seeded projects in node view project list 2024-03-18 14:32:52 +01:00
dnlklmn 9638922cab Refine file tree styling 2024-03-18 11:57:30 +01:00
Sebastian Martinez b7b9370709 Change commit browse icon tooltip 2024-03-15 15:30:58 +01:00
Rūdolfs Ošiņš a1db517346 Disable authentication in read-only mode
Tell the user how to enable experimental mode where authentication
works.
2024-03-14 16:57:36 +01:00
Rūdolfs Ošiņš 9289508265 Add "go to tree" button to commit header 2024-03-13 17:38:33 +01:00
Sebastian Martinez 67eef6caa7 Query all local repos by getting the local repo count
Instead of falling back to the default of 10 repos, set by
radicle-httpd.
We query the local httpd instance for the amount of repos hosted.
2024-03-13 16:33:30 +01:00
Rūdolfs Ošiņš 493d33a80a Make node view mobile friendlier
This also fixes an overflow problem with the popover.
2024-03-13 14:15:02 +01:00
Rūdolfs Ošiņš ad1fdca446 Show RID on ProjectCard 2024-03-13 10:39:59 +01:00
Rūdolfs Ošiņš 57c759c65e Show a compact authorship widget for revisions 2024-03-12 21:37:35 +01:00
Rūdolfs Ošiņš 192daf761a Remove info icon and popover 2024-03-12 16:58:41 +01:00
Sebastian Martinez b6e8bca18b Fetch project listing on node page after page load 2024-03-11 21:22:33 +01:00
Sebastian Martinez 6cfa0d0555 Fix assignee and peer switching e2e tests 2024-03-11 20:18:43 +01:00
Sebastian Martinez 2b318e5002 Add submodules improvements
Also display submodules in nested folders, and show them as
`foreground-dim`.
Adds also a title to explain what the entry is and to look at the
nearest `.gitmodules` file
2024-03-11 20:18:43 +01:00
Sebastian Martinez 5b30269c7c Add support for submodules and update heartwood 2024-03-11 19:13:22 +01:00
Sebastian Martinez 953643c09c Navigate to first available branch for remotes without project default branch
Also filters remotes that don't have any branches
2024-03-11 17:29:04 +01:00
Sebastian Martinez b755d36ddb Hide device icon in collapsed sidebar 2024-03-08 12:25:36 +01:00
Sebastian Martinez acbad456fd Fix local node tooltip in the Sidebar
Also changes the ContextHelp from Device to Local node, seems more
explicit.
2024-03-07 14:16:53 +01:00
Sebastian Martinez 63122094df Show edited label only if there is at least 1 edit 2024-03-07 14:10:16 +01:00
Sebastian Martinez 1ad85ac2c3 Remove HomepageSection height animations 2024-03-07 10:55:03 +01:00
Sebastian Martinez 192524fe90 Add experimental switch in settings
Hide all read/write functionality behind this setting.
2024-03-07 10:35:21 +01:00
Rūdolfs Ošiņš 45479ddf47 Show full SHAs in breadcrumbs 2024-03-06 09:44:01 +01:00
Thomas Scholtes 67e16ea7dd Consolidate and optimize data fetching for ProjectCard
We consolidate the code that fetches the data for `ProjectCard` in one
module, adjacent to the `ProjectCard` component. We also consolidate all
the data into one interface to simplify the component API.

With the data loading in one place we can eliminate duplicate code and a
handful of helper functions.

The consolidation also allows us to discover some optimizations to
fetching: We parallelize requests and we use the commit detail endpoint
instead of the commit list endpoint. For the latter to pay off, we need
to deploy caching to the API.
2024-03-05 10:49:25 +01:00
Sebastian Martinez 6cfbfbf665 Fix some pending design issues
- Wrap long patch and issue titles
- Patch state, author information sans-serif
2024-03-04 17:29:04 +01:00
Thomas Scholtes 69429cb08f Re-use project-level data when browsing source code
We make source code browsing faster by re-using project-level data when
navigating between files. This comes at a cost: Project info (like the
issue counter), remotes and branches are only updated when the page is
hard-refreshed or the user navigates away from the source code view.
2024-02-28 14:15:58 +00:00
Rūdolfs Ošiņš 0906593854 Don't query the /profile endpoint on every project load
We load the preferred seed config value on demand when the user clicks
the share button.
2024-02-28 14:03:15 +00:00
Sebastian Martinezanddnlklmn eb0013ef9c Switch toggle styles
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com>
2024-02-27 16:59:07 +00:00
Sebastian Martinez add8a9ad94 Display images in source browser and diffs, enable preview for svgs 2024-02-27 16:59:07 +00:00
Sebastian Martinez 481e25dca1 Enable branch selector even if no delegate is selected 2024-02-27 14:41:10 +01:00
dnlklmn 1ef7be3974 Fix disabled buttons in light mode 2024-02-27 10:16:00 +01:00
Rūdolfs Ošiņš 4a5e67dd2b Improve authentication error modal
We tell users to check their firewall and ad blocker settings in case
they bump into authentication problems. This also separates out the
modal to be only used by the session view.
2024-02-26 13:03:44 +00:00
Rūdolfs Ošiņš 41435951c1 Refactor BaseUrl string conversion
We're only using this as a string, so no need to convert it to an URL.
2024-02-23 15:46:28 +00:00
Rūdolfs Ošiņš ea91dc800b Fix canonical branch popover width 2024-02-23 11:46:52 +00:00
Rūdolfs Ošiņš 3cfddf8647 Show seed policy and scope in "online" button 2024-02-23 11:37:01 +00:00
Sebastian Martinez 1471fb1709 Add edited label to patches 2024-02-23 07:53:48 -03:00
Rūdolfs Ošiņš 703fb3845f Hide git clone behind a tab in the Clone button 2024-02-22 14:00:32 +00:00
Rūdolfs Ošiņš 975d1823a2 Show only pinned projects on node view
And style them visually similar to the landing page.
2024-02-22 05:33:36 +00:00
Rūdolfs Ošiņš d86ff1952a Allow only delegates to add labels and assignees to new issues 2024-02-20 16:34:33 +00:00
Rūdolfs Ošiņš d4b246c72d Tweak issue/patch validation rules
Patches - title: mandatory, body: optional.
Issues - title and body: mandatory.
2024-02-20 16:34:33 +00:00
Rūdolfs Ošiņš 6ff0d52165 Fix bug where changing the issue title would reset the body 2024-02-20 14:48:33 +00:00
dnlklmn 25b61573f3 Hide actions while editing issue or patch 2024-02-19 22:26:11 +01:00
dnlklmn a0f22b0649 Make edited marker on an issue Inter 2024-02-19 22:26:11 +01:00
dnlklmn 865afad13d Remove icon from Raw button on source 2024-02-19 22:26:05 +01:00
Rūdolfs Ošiņš f833fc506e Improve error message when local project is unavailable 2024-02-16 16:38:18 +00:00
dnlklmn e67db70e0c Hide overflow on navigation items in the sidebar 2024-02-15 22:50:15 +01:00