Commit Graph

265 Commits

Author SHA1 Message Date
Andreas Nedbal 3aa18ef7c7 only initialize service workers if they are available 2023-10-17 20:14:28 +02:00
Andreas Nedbal 87813d3005 Fix sharing condition 2023-10-17 20:14:28 +02:00
Andreas Nedbal 5ccdd9bbc2 Remove answerbox-specific sharing feature 2023-10-17 20:14:28 +02:00
Andreas Nedbal 3feb827b16 Add support for sharing dialog in inbox answer sharing 2023-10-17 20:14:28 +02:00
Karina Kwiatek 7eee7d38c6
Merge pull request #1370 from Retrospring/bugfix/webpush-registration-catch
Rewrite WebPush enable handler to properly catch errors
2023-10-15 15:35:53 +02:00
Andreas Nedbal ac05489329 Limit comment toggle querySelector call to nearest answerbox 2023-10-15 10:17:13 +02:00
Andreas Nedbal 9e35c036b1 Rewrite WebPush enable handler to properly catch errors 2023-10-14 20:57:09 +02:00
Andreas Nedbal a18bf040b3 Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-08-07 22:34:46 +02:00
Andreas Nedbal 3d21beff39 Fix race condition in `CropperController` 2023-08-07 22:34:46 +02:00
Karina Kwiatek 5fc481f797 Set fallback for PWA badge count to 0 (removes badge) 2023-05-30 22:04:39 +02:00
Karina Kwiatek 79e742ce1e Remove debug 2023-04-29 09:34:28 +02:00
Karina Kwiatek 655b822e54 Add Stimulus controller for handling hotkeys 2023-04-29 09:34:28 +02:00
Karina Kwiatek f7b9d90e28 Appease the dog overlords 2023-04-29 09:34:28 +02:00
Karina Kwiatek 9a7dedcafc Ensure bottom of page is visible while navigating 2023-04-29 09:34:28 +02:00
Karina Kwiatek e307204375 Navigate between traversable elements regardless of parent element 2023-04-29 09:34:28 +02:00
Karina Kwiatek a39696dd3e Add shortcut for writing new comment 2023-04-29 09:34:26 +02:00
Karina Kwiatek a64a4699b0 Add Stimulus controller for navigation shortcuts 2023-04-29 09:34:15 +02:00
Karina Kwiatek 1a2650e810 Add `@github/hotkey` 2023-04-29 09:34:12 +02:00
Karina Kwiatek b5193cd1ac
Merge pull request #1129 from Retrospring/feature/multiline-comments
Allow multi-line comments
2023-04-29 08:52:24 +02:00
Karina Kwiatek da186747cc Handle clicking the comment submit button 2023-03-18 15:24:36 +01:00
Karina Kwiatek fc90b746c9 Remove debug 2023-03-07 19:14:57 +01:00
Karina Kwiatek febcf42b61 Update PWA notification page on page load 2023-03-07 19:14:14 +01:00
Karina Kwiatek abff39557d Allow multi-line comments 2023-03-07 17:57:41 +01:00
Georg Gadinger e59c151d83
Merge pull request #1097 from Retrospring/add-telegram-sharing
add sharing to telegram
2023-03-01 16:21:33 +01:00
Karina Kwiatek cdcff88649 Always register PWA
This is required for installability.
2023-02-23 16:54:25 +01:00
Georg Gadinger 4ee2b46b32 add sharing to telegram 2023-02-19 20:58:47 +01:00
Karina Kwiatek 1c0e82053c Remove unused import in inbox 2023-02-18 18:00:49 +01:00
Andreas Nedbal 4c0948c6d1 Add Stimulus toast controller 2023-02-12 20:16:36 +01:00
Karina Kwiatek 59c0dce9b4 Disable relationship action buttons while waiting for a response 2023-02-07 23:39:13 +01:00
Andreas Nedbal 8f0ae5171d Appease the dog overlords 2023-02-05 21:54:51 +01:00
Andreas Nedbal a4195a158f Update TypeScript to support new sharing feature 2023-02-05 21:54:51 +01:00
Andreas Nedbal da0a5fb98d Add inbox sharing Stimulus controller 2023-02-05 21:54:51 +01:00
Andreas Nedbal 83d386267a Remove inbox entry options collapse 2023-02-05 21:54:51 +01:00
Andreas Nedbal a2e45c85bf Add migration to enable sharing for legacy service owners 2023-02-05 21:54:51 +01:00
Andreas Nedbal 6b3342036f Merge branch 'main' into feature/raised-texts 2023-01-29 19:38:32 +01:00
Andreas Nedbal 6c25594b88 Get the username of the currently searched author correctly 2023-01-28 19:18:02 +01:00
Andreas Nedbal 8dd49d3a8c Remove author search handler 2023-01-28 19:17:04 +01:00
Andreas Nedbal a0a7f4e124 Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
Andreas Nedbal fe156a38d3 Appease the dog overlords 2023-01-22 17:58:23 +01:00
Andreas Nedbal 96ed2c864c Add Stimulus cropper controller 2023-01-22 17:43:40 +01:00
Andreas Nedbal 3b1f9bf4cb Remove legacy cropping feature 2023-01-22 17:43:20 +01:00
Andreas Nedbal c122652275 Increase allowed comment length to 512 characters 2023-01-22 10:36:23 +01:00
Karina Kwiatek 9e25a36196 Fix 'Buffer is not defined' on push enable 2023-01-22 00:04:10 +01:00
Andreas Nedbal de3e04812d Merge branch 'main' into feature/theme-stimulus 2023-01-21 13:40:58 +01:00
Andreas Nedbal 07ea833d13 Add Stimulus capabilities controller 2023-01-21 04:53:20 +01:00
Andreas Nedbal e81e85cf9a Remove capabilities feature 2023-01-21 04:53:20 +01:00
Andreas Nedbal 5f46c84850 remove console.log 2023-01-18 20:52:28 +01:00
Andreas Nedbal 5f529b2b26 Add Stimulus theme controller 2023-01-17 07:39:14 +01:00
Andreas Nedbal ab8d608458 Extract theme-related utilities 2023-01-17 07:38:32 +01:00
Andreas Nedbal 79fa204897 Remove theming handler features 2023-01-17 07:38:02 +01:00