as requested in:
nostr:nevent1qvzqqqqqqypzpepndn2jthmelfxn4umylktqp493ph8yy9d2fse76al2ppprgjcsqy88wumn8ghj7mn0wvhxcmmv9uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9uqzpu6lzfhs9xfjm8ue47mvvuxfwa3rm5v2fdd43ma6g47t7ssv7x70ed7vr6
because SSR used up 50% of invocation allowance on netlify whereas
bandwidth was at 0.5% and build minutes were at 1%
These assets should be delivered statically and only the README.md
proxy should use up these invocations
even if the repo event doesn't exist there may be many issues
and proposal that reference it so it makes sence to:
1. show the repo Menu with a count of proposals and issues
2. show the details within the address point
2. show the issues and proposals page with a warning
RepoPageWrapper stops overwriting all content with error
RepoHeader show warning
RepoDetails show basic details from address point and a warning
proposals / issues are fetched that tag the repo address pointer
for each maintainer listed in the selected repo event. not just the
ones that tag the selected proposal event.
previously, the link to each proposal would change the selected
repository to the first address pointer tagged in the proposal event
not only is the selected repo changing without the user's knowledge,
it can also cause an error if it points to a repo event that doesn't
exist. this happned here:
nostr:note1h25kwpycszl33285exdkrm4qz7a03e37nf4ujvexwqz94yj3k4xql9yj23
this ensures that the selected repo address pointer doesnt change.
if the proposal is accessed via gitworkhop.dev/e/<ref> the page will
error. a seperate change is needed to check through each
address pointer listed until it finds one that points to an actual
event.
issue:
nostr:note10kkr6mnj0wulfpenqeq02rzraxfj6yttk8lnfkz6lau9w7jeqldsjjwfla
this adds robustness to previous commit
ensureRepo always returns with writable that includes identifier and
author before any events are fetched
as reported in
nostr:nevent1qvzqqqqqqypzptssprfrjv9hwmqcpyhka26pujcflnelq0ekgxcmfehw82skd4mqqy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyrhp9z9j62llalp7j7ljhtkkr44j2ru24klh6wmfuhce8465pxavxtn8wk0