Sebastian Martinez
bb9ea851fc
Use Raw button to navigate to raw file
...
For toggling Markdown view, we add a button that either shows `Plain` or
`Markdown`.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-17 12:15:29 +02:00
Sebastian Martinez
02aa591c84
Lowercase all markdown inline link and heading ids
...
By having different casings between heading and link ids we avoid
getting case mismatches on navigation.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-17 11:00:04 +02:00
Rūdolfs Ošiņš
2563438874
Add icons for issues and patches
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-16 14:38:26 +02:00
xphoniex
2b21390540
Add alias to PeerSelector
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-16 08:17:48 +02:00
Rūdolfs Ošiņš
26944d5334
Keep global tabs selected when viewing individual issue/patch/commit
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
11af7bed86
Remove issue/patch filter query when navigating away
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
e41a12d663
Separate global project header from source browsing header
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
f9445de618
Don't select the + and - signs when selecting a diff
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:26:40 +02:00
Rūdolfs Ošiņš
2cd3a10f8f
Make sure filter tabs are displayed properly on mobile
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:16:35 +02:00
xphoniex
305c9677fd
Add alias to Comment
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:30:27 +00:00
xphoniex
3eab5b9d62
Add alias to Issue/IssueTeaser
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:58:16 +02:00
xphoniex
04bae0ade6
Add alias to PatchTeaser
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:57:10 +02:00
Rūdolfs Ošiņš
45c6f20855
Make commit list and commit view visually consistent
...
We style the commit teaser and commit header visually to fit in better
with patches and issues.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:26:01 +02:00
Rūdolfs Ošiņš
1df28abed2
Show comments that are thread replies to the issue body
...
Previously treated the issue body as a comment and people could post a
thread reply to that first comment. Now we treat the first comment as
the issue body and disallow replying to it via a thread. There are still
some old replies, we show them as regular comments.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:10:34 +02:00
Rūdolfs Ošiņš
34f40fba02
Adjust action wording to show only latest action in patch list
...
It will show either "Opened x days ago" or "Updated x days ago"
depending whether there is one or multiple revisions.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:59:54 +02:00
Rūdolfs Ošiņš
d5e194bf11
Make diff line background uniform across gutter and body
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:51:26 +02:00
Thomas Scholtes
5c7806ecff
Fix anchor links
...
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-05-11 10:51:35 +02:00
Rūdolfs Ošiņš
b997b12353
Implement data loading in router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:51:35 +02:00
Rūdolfs Ošiņš
85dc1c3552
Port mutexExecutor from Upstream
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:50:26 +02:00
Sebastian Martinez
d8d049518b
Improve patch timeline and add description
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-10 09:15:19 +02:00
Sebastian Martinez
b87a6735b5
Add hr before first footnote in footer
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-08 15:44:00 +02:00
Sebastian Martinez
03c05edeca
Updates marked to v5.0
...
Disables some of the deprecated options to avoid the console warnings.
Removes obfuscation of plain-text emails.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-08 10:35:24 +02:00
Rūdolfs Ošiņš
cc2e5a1a67
Prevent logo flickering when loading
...
We set the logo size so that it takes up the same space before it is
loaded as when it is fully loaded. This way the search bar doesn't get
pulled to the left and there is no visual flickering.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-03 14:25:02 +02:00
Rūdolfs Ošiņš
2b25533b58
Use underline for commit/issue/patch teaser links
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-28 11:57:24 +02:00
Rūdolfs Ošiņš
d54889cea1
Allow markdown in issue/patch titles
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 16:47:19 +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
Rūdolfs Ošiņš
3a4a766cfa
Fix httpd-client patch review verdict schema
...
We now also show an error message to the user instead of silently
failing.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-25 11:56:40 +02:00
Rūdolfs Ošiņš
67f02463ee
Refactor commit history view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-21 11:36:50 +02:00
Sebastian Martinez
d77b6041a6
Fetch cobs by selected or default state
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-20 22:29:37 +02:00
Rūdolfs Ošiņš
9704318248
Refactor seed view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš
26419a74e2
Simplify the ProjectCard component
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš
d80c46e085
Rename the search bar placeholder
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 08:36:16 +02:00
Sebastian Martinez
05ba3bfc04
Improve click behaviour code highlighting
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-18 21:50:22 +02:00
Sebastian Martinez
9799695a1a
Fix relativeTimestamp function to get timestamp in ms
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-18 15:40:57 +02:00
Sebastian Martinez
6f413cc5ac
Remove word-break: break-all from Comment component
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-15 10:22:04 +02:00
Sebastian Martinez
534430b2ec
Fix relative markdown file links
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 17:05:42 +02:00
Sebastian Martinez
e5ec6e33fb
Improve general UX
...
- Hide issue title edit button when not logged in
- Show Blob placeholder when empty file
- Allow selecting blob code without the lines
- Add Clipboard component to object id in CobHeader
- Add blockies to Patch and Issueteasers
- Reduce formatted object ids to 7 instead of 11 chars
- Remove line breaking on soft wraps from Markdown
- Reduce font size of code blocks in Markdown
- Improve margins in IssueTeaser
- Reduce font size in FileDiffs
- Improve teasers, assignees and tags highlighting
- Reduce font size of code
- Change commit teaser subtitle
- Show Clipboard in commit sha1
- Add blockies to PeerSelector
- Adjust commit view CSS
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 16:15:51 +02:00
Sebastian Martinez
94632d7ea0
Fix patches state colors
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 16:06:09 +02:00
Sebastian Martinez
4ff0258af6
Improve DiffStatBadge contrast
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 16:06:09 +02:00
Rūdolfs Ošiņš
7682d9e215
Refactor issue/patch side inputs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-13 10:06:29 +02:00
Rūdolfs Ošiņš
2d58c600ad
Don't show port in clone URL if it is the default port
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 10:02:04 +02:00
Rūdolfs Ošiņš
6efe60984b
Update logo and favicon
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-12 08:22:28 +02:00
Rūdolfs Ošiņš
c8c251fabd
Add httpd-client api library
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-11 15:31:08 +02:00
Rūdolfs Ošiņš
045890d2e1
Simplify Avatar component and get rid of extra requests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-10 14:39:50 +02:00
Rūdolfs Ošiņš
9e1fc49ae7
Fix mixed content warning when connecting to local node
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-05 13:49:52 +02:00
Sebastian Martinez
016b5e9d0a
Patch states fallback to disable and show default if undefined
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 15:35:56 +02:00
Sebastian Martinez
5fbbd824ff
Add merged patch state
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 14:59:37 +02:00
Sebastian Martinez
a6bc6d3c27
Fix small markdown spacing issue
...
Adds a listitem renderer overwrite to marked which
wraps everything that is inside a <li> which isn't only single <p> tag
into a <div class="list-content"> which we give a margin: 1rem 0;
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 14:30:58 +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
4c3bd7ee04
Fix statically replaced HASH_ROUTING env variables
...
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 11:50:24 +02:00