DanConwayDev
61c3259148
feat: improve and turn on readme display
...
for github only. added notes for enabling displaying readme for
other git servers in the future
2 years ago
DanConwayDev
78741bed05
feat(repo-details): improve copy to clipboard UI
...
* add icon and hover background and pointer
* rename copied ~> copied to clipboard
2 years ago
DanConwayDev
33ecbc0578
fetch(repo-page): display readme from github
...
turned off with feature stapling. requires:
* styles to be improved (inline image links, respecting html img sizing, etc)
* intergration into its own tab (potentially sepearte routing
for proposal, issues, readme)
* proxy to get readme via git for all git sources
2 years ago
DanConwayDev
ca4fca9b8b
feat(repo-details): show unqiue commit not specified
...
instead of not displaying the heading
to encourage repo maintainers to include it as it
improves ngit usability
2 years ago
DanConwayDev
99bda4b57a
feat(repo-details): add unique commit and naddr
...
and copy naddr on click
2 years ago
DanConwayDev
d87ac72080
feat(repo-details): combine duplicate headings
...
combine name and identifer into a single heading if they are identical
2 years ago
DanConwayDev
bc48f37782
feat(event): add img alt via imeta tags
...
extract imeta information for images and include image alt
considered adding blurhash but didn't want to increase package size
when implementing image uploading this could be added
2 years ago
DanConwayDev
3c1ecd1e86
feat(event): parse links and images
...
holding off on audio and video so that bandwidth heavy content
can be lazy loaded when visible
2 years ago
DanConwayDev
4663da09db
fix: status label name for issues
...
applied kind now reads 'Resolved' vs 'Applied' for issues
2 years ago
DanConwayDev
9591d59ef0
feat(event): stop overflow of nonbreaking content
...
prevent non-breaking content from overflowing outside the container
this mainly applies to long links and long ids
2 years ago
DanConwayDev
3f83d10146
fix(patch): unhandled unsupported language error
...
fall back to rendering line without formatting
in the future we should lazy load other/ all languages
2 years ago
DanConwayDev
b6eb83b498
fix: repo name fallback as identifer
...
if it is not present in the repo event
2 years ago
DanConwayDev
32688b87f9
feat: repo details show identifier and name
...
as the identifier may be useful and different from name
2 years ago
DanConwayDev
0411bb0eb3
feat: add about page, ngit copy, ngit v1.0.0
...
add an about page
improve ngit copy
bump ngit version to v1.0.0
2 years ago
DanConwayDev
5abaa290d7
feat: user name different from event content
...
so it is easier to read threads
2 years ago
DanConwayDev
a1d9c8aa13
feat: display cover letter content
...
as normal text note with header stripped for now
2 years ago
DanConwayDev
ccad628769
fix: status button hover color
...
it was turning pink unless status was applied and therefore already pink
2 years ago
DanConwayDev
f02d76f20c
feat: simplify thread hiding UI
...
remove text which overflowed onto the bottom line of logn content
2 years ago
DanConwayDev
8de6a257f9
fix(thread): show compose when no replies
...
when show_compose is set to true
2 years ago
DanConwayDev
3cff122091
feat: edit status from issue/proposal header
...
in preperation for showing sidebar less often
2 years ago
DanConwayDev
83df29d5f9
fix(patch): filename overflow
...
now wraps onto new lines
2 years ago
DanConwayDev
ef3fd9e9cc
feat: ComposeReply add nip10 p tags
...
tag in pubkeys participating in thread
2 years ago
DanConwayDev
e65bc77842
feat: sort thread oldest first
...
whilst maintaining sorting by youngest first in ProposalList
note: events that tag root event secondarily (eg. mention)
are no longer diplsayed
2 years ago
DanConwayDev
2a15e089e5
feat: show/hide thread replies
...
so that it is easier to read large threads and
connect replies to their parent message
2 years ago
DanConwayDev
fe1c6d34cc
feat: add threaded replies
...
for proposals and issues
2 years ago
DanConwayDev
e578ac81ba
fix: malformed replies
...
and improve how the UI reacts when events are sent
2 years ago
DanConwayDev
c623e10e1a
fix: staus icons reflect issue or proposal
...
status was showing wrong icon type in EventCard
2 years ago
DanConwayDev
42a8c0fe3d
feat: show avatar at compose
...
to make it more in keeping with other event messages
when displayed in thread
2 years ago
DanConwayDev
e56d28de98
feat: create issue page with status and replies
...
intergrating where possible with the existing proposal components
2 years ago
DanConwayDev
9ec0988006
feat: add issue icons
...
currently using the same status events as patches
2 years ago
DanConwayDev
ea0ce4c4e8
feat: create new issue
...
add the basic ability to create a new issue for a repository
2 years ago
DanConwayDev
72ff0bdf42
refactor: rename Compose to ComposeReply
...
and rename repo_id to identifier to make it clear
that is what is needed
2 years ago
DanConwayDev
39e453845b
feat(RepoPage): add support for listing issues
...
add support for listing issues
2 years ago
DanConwayDev
61bca69c91
refactor: rename repo_id repo_identifier
...
where it previously should have been renamed bit wasn't
2 years ago
DanConwayDev
dd70d07c8c
feat: RepoDisplay add web and reduce text size
...
to reflect web in nip34 draft
2 years ago
DanConwayDev
670d24bbd0
refactor: remove fIltered proposals components
...
and embed the now much simpiler code into the required pages
2 years ago
DanConwayDev
2254671de9
fix: remove read-only status btn appearance
...
so that users don't think they can press it when they cant
2 years ago
DanConwayDev
090d6e117c
fix(ProposalsList): removed repo id from title
...
this should have been removed when the repo identifer was
added to as a link in the summary footer
2 years ago
DanConwayDev
49386225de
fix(patch): consistant hunk width within diff
...
previously they varied based on max character number within the hunk
2 years ago
DanConwayDev
b7883063e2
feat: add recent proposals component
...
this adapts ensureProposalSummaries so that it works with no repo filter
2 years ago
DanConwayDev
9ddcf92598
feat(homepage): improve repo sumamry display
...
so it displays in a grid in preparation for displaying it
full width on the homepage
2 years ago
DanConwayDev
c50316f277
feat(patch): diff full width expansion
...
and general improvements to diff display
2 years ago
DanConwayDev
7371bc8eb2
feat(ProposalPage): reduce content width
...
to improve reability on larger windows
2 years ago
DanConwayDev
81da1d60c0
feat(patch): show all lines < 60
...
if there are in total less than 60 lines, ignore the rule
about only showing 20 lines per file
2 years ago
DanConwayDev
60729dfcdf
fix(patch): preserve whitespace
...
and overflow-x which is better for slightly larger lines than
the viewing width which is more common
2 years ago
DanConwayDev
2c2ee926eb
feat: intelligently load repo events
...
choose repo events based from earliest_unique_commit and indentifier
based on:
- number of mentions (issues and root patches)
- most recent created_at
identify repo events for the same repository based on identical identifiers
and use of earliest_unique_commit
use stores for collections of repo events
2 years ago
DanConwayDev
289862a708
refactor: fix rename pr as proposal error
...
where a string beging with pr should have been replaced
2 years ago
DanConwayDev
e3469969f5
fix: tag uniquie_commit in status event
...
rather than identifier
perhaps the an a tag for the repo event should be used also
but that is not done in this commit
2 years ago
DanConwayDev
b0915ab30e
feat(patch): add syntax color with highlight.js
...
for just the common languages
dynamically loading languages would help keep the package size down
2 years ago
DanConwayDev
43ad1f09c7
feat: widen patch display add hunk divider
...
widen the display of patches (diffs and commit messages)
add a divider between each code hunk
2 years ago