stacker.news/components
ekzyis 069417d130
Enable push notifications in settings (#301)
* Enable push notifications in settings

* Fix checkbox still checked after user denied permission

The error was related to me thinking that the value prop does anything. It didn't.
The value of the checkbox is handled by formik.
So the solution was to hook into formik and use the handler which actually changes the value.

* Add double opt-in to /notifications

* Better styling of alert in /notifications

---------

Co-authored-by: ekzyis <ek@stacker.news>
2023-06-12 13:03:44 -05:00
..
accordian-item.js global modal + small fixes/enhancements 2023-01-10 17:13:37 -06:00
action-tooltip.js add polls 2022-07-30 08:51:04 -05:00
adv-post-form.js reuse validation on server 2023-02-08 13:39:53 -06:00
avatar.js job board enhancements 2022-07-21 17:55:05 -05:00
bookmark.js Implement bookmarking of posts and comments (#235) 2023-02-16 16:23:59 -06:00
bounty-form.js Add cancel button for editing all post types + bio (#310) 2023-06-12 12:35:28 -05:00
comment-edit.js reuse validation on server 2023-02-08 13:39:53 -06:00
comment.js make freebie comments visible case by case 2023-06-03 20:01:50 -05:00
comment.module.css stackernews bounties (#227) 2023-01-26 10:11:55 -06:00
comments-flat.js improved top 2022-10-25 16:35:32 -05:00
comments.js make freebie comments visible case by case 2023-06-03 20:01:50 -05:00
countdown.js refactor replies and full items 2021-09-23 15:09:07 -05:00
cowboy-hat.js hide cowboy hat setting 2023-05-01 16:52:02 -05:00
delete.js Implement bookmarking of posts and comments (#235) 2023-02-16 16:23:59 -06:00
discussion-form.js Add cancel button for editing all post types + bio (#310) 2023-06-12 12:35:28 -05:00
dont-link-this.js Implement bookmarking of posts and comments (#235) 2023-02-16 16:23:59 -06:00
error-boundary.js improve comment performance 2023-05-06 16:51:17 -05:00
fee-button.js Disable post button while dupes are loading 2023-04-26 13:02:42 -05:00
fee-button.module.css spam fees 2022-08-11 15:38:10 -05:00
footer.js Tech sub (#311) 2023-06-12 12:41:22 -05:00
footer.module.css enhancements for footer version with prod support 2023-06-01 12:57:31 -05:00
form.js Enable push notifications in settings (#301) 2023-06-12 13:03:44 -05:00
form.module.css user suggestions on forward 2022-08-31 14:09:49 -05:00
fund-error.js global modal + small fixes/enhancements 2023-01-10 17:13:37 -06:00
header.js Tech sub (#311) 2023-06-12 12:41:22 -05:00
header.module.css make room in header to pwa back button 2023-06-01 19:34:26 -05:00
info.js prevent default on privacy invoice info click 2022-09-02 11:58:16 -05:00
invite.js full powered editing 2022-08-18 13:15:24 -05:00
invoice-status.js lightning login copy 2023-01-10 12:55:17 -06:00
invoice.js slashtags auth 2023-01-18 12:49:20 -06:00
invoice.module.css ready for invoices 2021-05-06 16:15:22 -05:00
item-act.js Mix default and custom tips during sort 2023-05-14 19:41:36 -05:00
item-full.js form enhancements 2023-05-11 14:34:42 -05:00
item-info.js Add thread subscriptions (#293) 2023-05-31 19:44:06 -05:00
item-job.js hide cowboy hat setting 2023-05-01 16:52:02 -05:00
item.js form enhancements 2023-05-11 14:34:42 -05:00
item.module.css stackernews bounties (#227) 2023-01-26 10:11:55 -06:00
items-mixed.js improve comment performance 2023-05-06 16:51:17 -05:00
items.js improve comment performance 2023-05-06 16:51:17 -05:00
items.module.css working search 2022-01-27 13:18:48 -06:00
job-form.js Add cancel button for editing all post types + bio (#310) 2023-06-12 12:35:28 -05:00
layout-center.js donations to rewards 2022-12-07 18:04:02 -06:00
layout-center.module.css require sub selection, allow editting 2023-05-10 19:30:51 -05:00
layout-static.js nostr sub 2023-05-01 15:58:30 -05:00
layout.js nostr sub 2023-05-01 15:58:30 -05:00
lightning-auth.js navbar fixes 2023-05-02 19:22:38 -05:00
lightning-auth.module.css lightning login copy 2023-01-10 12:55:17 -06:00
lightning.js allow lightning animation to be disabled 2022-10-04 17:34:28 -05:00
link-form.js Add cancel button for editing all post types + bio (#310) 2023-06-12 12:35:28 -05:00
login-button.js slashtags auth 2023-01-18 12:49:20 -06:00
login.js navbar fixes 2023-05-02 19:22:38 -05:00
login.module.css more invite work 2021-10-15 13:05:34 -05:00
me.js fix 'me' on refresh 2022-09-06 10:08:53 -05:00
modal-button.js account linking 2022-06-08 16:26:44 -05:00
modal.js global modal + small fixes/enhancements 2023-01-10 17:13:37 -06:00
more-footer.js fixes for top 2023-02-03 13:10:18 -06:00
notifications.js Enable push notifications in settings (#301) 2023-06-12 13:03:44 -05:00
notifications.module.css Enable push notifications in settings (#301) 2023-06-12 13:03:44 -05:00
past-bounties.js improve comment performance 2023-05-06 16:51:17 -05:00
pay-bounty.js improve comment performance 2023-05-06 16:51:17 -05:00
pay-bounty.module.css stackernews bounties (#227) 2023-01-26 10:11:55 -06:00
poll-form.js Add cancel button for editing all post types + bio (#310) 2023-06-12 12:35:28 -05:00
poll.js global modal + small fixes/enhancements 2023-01-10 17:13:37 -06:00
poll.module.css add polls 2022-07-30 08:51:04 -05:00
post.js move free posts message about sub select 2023-05-31 19:54:35 -05:00
price.js nostr sub 2023-05-01 15:58:30 -05:00
qr.js slashtags auth 2023-01-18 12:49:20 -06:00
recent-header.js nostr sub 2023-05-01 15:58:30 -05:00
related.js related items 2022-10-27 15:25:42 -05:00
reply.js placeholder when there aren't comments 2023-05-10 19:41:17 -05:00
reply.module.css stackernews bounties (#227) 2023-01-26 10:11:55 -06:00
root.js improve comment performance 2023-05-06 16:51:17 -05:00
search-items.js improve comment performance 2023-05-06 16:51:17 -05:00
search.js nostr sub 2023-05-01 15:58:30 -05:00
search.module.css search filters 2022-10-20 17:44:44 -05:00
seo.js allow user to visit/bookmark empty search page 2022-05-18 16:09:44 -05:00
share.js nostr sub 2023-05-01 15:58:30 -05:00
sub-select-form.js Tech sub (#311) 2023-06-12 12:41:22 -05:00
subscribe.js Add thread subscriptions (#293) 2023-05-31 19:44:06 -05:00
table-of-contents.js nostr sub 2023-05-01 15:58:30 -05:00
text.js lexical beta test url 2023-01-05 13:24:09 -06:00
text.module.css fix blockquote spacing 2023-01-05 19:06:31 -06:00
top-header.js top cowboys 2023-02-09 12:41:28 -06:00
upload.js set cache control on uploads 2022-05-18 11:59:59 -05:00
upvote.js remove bolt on posts forwarding to self 2023-02-08 18:11:28 -06:00
upvote.module.css refine tipping experience, removing notion of upvote from UX 2022-01-20 17:04:12 -06:00
usage-header.js better user analytics mostly 2022-12-01 15:31:04 -06:00
user-header.js add 'stacking since' to profile 2023-06-02 19:55:45 -05:00
user-header.module.css WIP profiles 2022-05-05 15:39:05 -05:00
user-list.js hide cowboy hat setting 2023-05-01 16:52:02 -05:00
when-charts.js referrals 2022-12-19 16:27:52 -06:00