stacker.news/components
SatsAllDay 64a16373c5
Fix client-side error boundary (#623)
* * add error boundary immediately above page component

* send error logs to server via LoggerContext

* display error stack and component stack in copyable text area

* wrap every context provider in an error boundary

* memoize context values to fix error boundary propagation issue

* Wrap page component in an error boundary so we can use our context utilities
for a better experience, like toast and logger

Still have a top-level error boundary that catches things from the context providers,
just in case.

Don't display the whole error stack, just because it's ugly, but make it copyable
2023-11-19 14:24:56 -06:00
..
accordian-item.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
action-dropdown.js Quote reply support on text-based posts and comments (#526) 2023-10-03 20:12:12 -05:00
action-tooltip.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
adv-post-form.js make fee button less of a hack 2023-11-10 18:18:10 -06:00
adv-post-form.module.css fix height of foward percent on validation err 2023-09-12 17:04:49 -05:00
avatar.js Image uploads (#576) 2023-11-06 14:53:33 -06:00
banners.js signup => sign up in welcome banner 2023-09-12 14:51:55 -05:00
banners.module.css Add new visitor welcome banner (#418) 2023-09-11 16:29:45 -05:00
block-height.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
bolt11-info.js Provide option to clear withdrawal invoices (#591) 2023-11-09 11:50:43 -06:00
bookmark.js Toast (#431) 2023-08-25 18:21:51 -05:00
bounty-form.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
cancel-button.js make fee button less of a hack 2023-11-10 18:18:10 -06:00
charts.js Custom date selector for more pages (#567) 2023-11-08 18:15:36 -06:00
comment-edit.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
comment.js keep as much context as possible when navigating deeper in comment threads 2023-10-26 14:24:49 -05:00
comment.module.css enhance styling 2023-07-25 13:32:48 -05:00
comments.js fix url UX exposing state 2023-10-26 14:36:20 -05:00
countdown.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
dark-mode.js dark-mode needs to block block 2023-08-04 20:45:12 -05:00
delete.js Provide option to clear withdrawal invoices (#591) 2023-11-09 11:50:43 -06:00
discussion-form.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
dont-link-this.js reuse debounce hook more places 2023-10-06 15:01:51 -05:00
error-boundary.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
fee-button.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
fee-button.module.css small receipt styling 2023-11-10 09:22:14 -06:00
footer-rewards.js allow viewing reward ranges 2023-08-29 19:13:21 -05:00
footer.js Minor tweaks to the page footer (#452) 2023-08-28 19:35:25 -05:00
footer.module.css fix dark mode 2023-08-04 19:21:51 -05:00
form.js fix custom dates to use ms since epoch 2023-11-14 10:23:44 -06:00
form.module.css Custom date selector for more pages (#567) 2023-11-08 18:15:36 -06:00
hat.js better organize user graphql types 2023-11-09 19:05:35 -06:00
header.js Notification badges (#595) 2023-11-08 18:17:01 -06:00
header.module.css Fix link to profile matching current URL, not profile (#395) 2023-08-15 12:54:24 -05:00
hidden-wallet-summary.js use number formatting more places 2023-09-18 18:09:08 -05:00
image.js Strip EXIF data before upload on client (#634) 2023-11-19 14:22:46 -06:00
info.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
invite.js full powered editing 2022-08-18 13:15:24 -05:00
invoice-status.js make anon posting less hidden, add anon info button explainer 2023-08-10 14:41:56 -05:00
invoice.js fix successive zap timing issues? 2023-11-13 20:02:34 -06:00
invoice.module.css ready for invoices 2021-05-06 16:15:22 -05:00
item-act.js reuse debounce hook more places 2023-10-06 15:01:51 -05:00
item-full.js Quote reply support on text-based posts and comments (#526) 2023-10-03 20:12:12 -05:00
item-info.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
item-job.js Image uploads (#576) 2023-11-06 14:53:33 -06:00
item.js fix url UX exposing state 2023-10-26 14:36:20 -05:00
item.module.css restyle ad to be clearer 2023-08-16 17:53:51 -05:00
items.js rewards only go to top posts/comments 2023-08-29 16:05:09 -05:00
items.module.css working search 2022-01-27 13:18:48 -06:00
job-form.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
layout.js better search layout spacing 2023-10-26 13:01:01 -05:00
layout.module.css Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
lightning-auth.js remove slashtags completely 2023-08-17 13:40:21 -05:00
lightning-auth.module.css Notifications with nostr info (#368) 2023-08-08 13:19:31 -05:00
lightning.js Revert "halloween animation" 2023-11-01 11:57:55 -05:00
link-form.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
logger.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
login-button.js remove slashtags completely 2023-08-17 13:40:21 -05:00
login.js remove slashtags completely 2023-08-17 13:40:21 -05:00
login.module.css more invite work 2021-10-15 13:05:34 -05:00
me.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
modal.js Images v2 (#513) 2023-10-01 18:03:52 -05:00
more-footer.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
mute.js mutes 2023-09-28 15:02:25 -05:00
nostr-auth.js fix nostr auth (#621) 2023-11-12 11:59:18 -06:00
notifications.js Custom date selector for more pages (#567) 2023-11-08 18:15:36 -06:00
notifications.module.css remove list jitter by initially preferring ssr 2023-08-06 13:04:25 -05:00
page-loading.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
past-bounties.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
pay-bounty.js reuse debounce hook more places 2023-10-06 15:01:51 -05:00
pay-bounty.module.css upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
payer-data.js LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00
poll-form.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
poll.js reuse debounce hook more places 2023-10-06 15:01:51 -05:00
poll.module.css increase poll choice length to 40 chars 2023-09-28 16:52:11 -05:00
post.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
price.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
qr.js fix qr layout shift 2023-08-11 17:05:21 -05:00
recent-header.js fix back button behavior on select navigation 2023-07-25 15:29:45 -05:00
related.js more package updates 2023-07-24 19:50:55 -05:00
reply.js fix freebie dialog (#460) 2023-11-19 14:16:35 -06:00
reply.module.css add spacing to comment reply button 2023-10-26 12:17:43 -05:00
root.js improve comment performance 2023-05-06 16:51:17 -05:00
search.js fix custom dates to use ms since epoch 2023-11-14 10:23:44 -06:00
search.module.css Add a date selector to the search function (#494) 2023-10-04 14:44:06 -05:00
seo.js better organize user graphql types 2023-11-09 19:05:35 -06:00
serviceworker.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
share.js don't show link share failure when close share options 2023-10-20 20:27:07 -05:00
snl.js add removed snl banner 2023-08-25 18:43:50 -05:00
sub-select-form.js fix undefined sub on post pre-form 2023-07-25 15:41:46 -05:00
subscribe.js Toast (#431) 2023-08-25 18:21:51 -05:00
subscribeUser.js Proposal: User Subscriptions: separate posts and comments (#470) 2023-09-18 13:20:02 -05:00
table-of-contents.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
text.js fix post headings 2023-11-12 09:04:28 -06:00
text.module.css enhance youtube embeds in markdown 2023-10-22 13:28:18 -05:00
toast.js Fix client-side error boundary (#623) 2023-11-19 14:24:56 -06:00
toast.module.css toast border color based on variant (#469) 2023-09-11 14:57:41 -05:00
top-header.js fix custom dates to use ms since epoch 2023-11-14 10:23:44 -06:00
upvote.js fix successive zap timing issues? 2023-11-13 20:02:34 -06:00
upvote.module.css fix dark mode 2023-08-04 19:21:51 -05:00
usage-header.js fix custom dates to use ms since epoch 2023-11-14 10:23:44 -06:00
use-crossposter.js Removing a tag, retested crossposts and edits 2023-10-11 17:26:25 -05:00
use-data.js remove list jitter by initially preferring ssr 2023-08-06 13:04:25 -05:00
use-debounce-callback.js remove unused debounce callback deps 2023-10-06 16:34:16 -05:00
use-no-initial-effect.js reuse debounce hook more places 2023-10-06 15:01:51 -05:00
user-header.js better organize user graphql types 2023-11-09 19:05:35 -06:00
user-header.module.css upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
user-list.js better organize user graphql types 2023-11-09 19:05:35 -06:00