Commit Graph
1654 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 00ff5c1c38 Simplify authentication logic 2024-03-15 13:13:13 +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
Sebastian Martinez d7521a4608 Don't store the entire node config in the httpd state
This should also fix the race condition, since we don't compare it for
running the checkState fn
2024-03-14 11:07:21 +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 0918d38be9 Add title attribute to anchor tags 2024-03-13 17:11:58 +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 ab86033cb2 Update nix flake 2024-03-11 20:18:43 +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 cfafd333fb Add a 798px og image 2024-03-11 09:15:18 +01:00
Sebastian Martinez b755d36ddb Hide device icon in collapsed sidebar 2024-03-08 12:25:36 +01:00
Rūdolfs Ošiņš 0b56f31dad Flip settings and radicle.xyz in the footer
In the sidebar layout we also show settings on the left-hand-side of the
screen.
2024-03-07 14:30:26 +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
Sebastian Martinez 273dff2da4 Add target="_blank" attribute to external markdown links 2024-03-06 15:34:22 +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 d315380e01 Add visual test for code clipboard icon on hover 2024-03-04 22:08:57 +01:00
Sebastian Martinez caf2cf0ae2 Update dependencies 2024-03-04 22:08:57 +01:00
Sebastian Martinez 6340501bd8 Make all text fields 2rem high 2024-03-04 17:43:53 +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
Sebastian Martinez 9c45fe4576 Update nix flake 2024-03-04 16:52:46 +01:00
Sebastian Martinez 9b425e534b Update heartwood version 2024-03-04 16:52:46 +01:00
Sebastian Martinez 16e858bd7a Update footnote regex to handle footnotes with spaces 2024-03-04 16:35:22 +01:00
Michael Raitza 18ef797f41 Fixes scripts/update-flake
Avoid using BASE64 characters for separating substitution patterns.
2024-03-04 16:01:48 +01:00
Sebastian Martinez 4bb0e72841 Remove hash routing
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +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
Sebastian Martinez dcced2e06d Fix visual test on preview toggle 2024-02-28 14:06:42 +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
Thomas Scholtes 7ba9429afb Cache requests for blob and tree objects 2024-02-28 10:59:06 +01: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 3f07650bcc Allow preview issue description if title is empty 2024-02-27 10:22:52 +01:00
dnlklmn 1ef7be3974 Fix disabled buttons in light mode 2024-02-27 10:16:00 +01:00
dnlklmn d18086d2a6 Align alias button contents 2024-02-27 10:05:59 +01:00
Sebastian Martinez 8a3864b19b Update codeLocationSchema with required Oid
We where missing an update for CodeLocation introduced in heartwood
commit 2dea54c6eeb7bf3a177fac77ae04fd4aeadd772d
2024-02-26 15:53:02 +00: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ņš 8f43a57984 Remove Radworks from app
It's already on the radicle.xyz webpage, no need to repeat it in the
app.
2024-02-23 12:15:29 +00:00
Rūdolfs Ošiņš ea91dc800b Fix canonical branch popover width 2024-02-23 11:46:52 +00:00