stacker.news/pages
SatsAllDay 0ee056b2a1
Toast (#431)
* Prototype of toast system

* More toast adoption

* share
* flag
* bookmark
* subscribe
* delete

* More toast usage:

* forms
* settings save

* Log error during flag failure

* Incorporate PR feedback:

1. return `toaster` from `useToast` hook, with simplified `success` and `danger` methods

2. remove toast header, move close button to body

3. change how toast ids are generated to use a global incrementing int

4. update toast messages

* PR feedback:

* reduce width of toast on narrow screens
* dynamic delete success toast message based on deleted type
* add toasts to auth methods deletion operations

* Dismiss all toasts upon page navigation

* refine style and use delay prop

* more styling

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-08-25 18:21:51 -05:00
..
[name] fix nested comment sorting 2023-07-25 19:45:35 -05:00
api Fix negative maxWithdrawable (#438) 2023-08-23 15:32:42 -05:00
auth upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
invites fix conditional nextFetchPolicy overriding cache-only on SSR and suppress time hydration warnings 2023-07-31 14:54:30 -05:00
invoices Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
items/[id] fix dark mode 2023-08-04 19:21:51 -05:00
referrals add average comments per post to items analytics 2023-08-14 15:36:54 -05:00
rewards show sources and history of rewards 2023-08-15 12:41:51 -05:00
stackers add average comments per post to items analytics 2023-08-14 15:36:54 -05:00
withdrawals Singular/Plural "Sats" labels (#380) 2023-08-08 16:04:06 -05:00
~ enhance styling 2023-07-25 13:32:48 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js Toast (#431) 2023-08-25 18:21:51 -05:00
_document.js Make the web manifest dynamic to incorporate preferred color scheme (#398) 2023-08-15 12:58:27 -05:00
_error.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
email.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
live.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
login.js show errors on settings during auth linking 2023-07-30 15:39:18 -05:00
notifications.js reduce rerenders in notifications 2023-08-06 10:47:58 -05:00
offline.js improve service worker asset precaching and offline page 2023-07-28 10:57:12 -05:00
satistics.js show sources and history of rewards 2023-08-15 12:41:51 -05:00
settings.js Toast (#431) 2023-08-25 18:21:51 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
wallet.js Make withdrawal options more visible (issue167a) (#423) 2023-08-19 19:42:50 -05:00