Commit Graph

287 Commits

Author SHA1 Message Date
Andreas Nedbal 7f93fabb62 Remove tooltip initializer from Bootstrap file 2024-03-10 17:29:32 +01:00
Andreas Nedbal 94f027f546 Add Stimulus tooltip controller 2024-03-10 17:29:32 +01:00
Andreas Nedbal b3cbfc762b Initialize Bootstrap dropdowns on the toggle data attribute 2024-03-02 22:43:39 +01:00
Andreas Nedbal 4ed9cf5a32 Add Bluesky to inbox entry sharing dialog 2024-03-01 21:14:59 +01:00
Andreas Nedbal 950443bbb8 add ReactionController to disable button during submits 2023-12-21 00:01:43 +01:00
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Andreas Nedbal e428d1e0c8 Add note to follower asking modal if on a user profile 2023-12-11 00:16:43 +01:00
Andreas Nedbal e318763801 Remove legacy smile TypeScript functionality 2023-12-09 00:59:14 +01:00
Ahmed Ejaz e5fe0c6958 #1448, add copy to clipboard button on inbox share dialogue 2023-11-26 17:12:56 +01:00
Ahmed Ejaz bfe1851969 #1448, add notification toast for copy success & failure 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 877d108c2c 1448, chore: add missing semicolons 2023-11-26 17:12:56 +01:00
Ahmed Ejaz dee298fe33 1448, remove share#copyToClipboard changes 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 03d41ec8b1 1448, add clipboard controller 2023-11-26 17:12:56 +01:00
Ahmed Ejaz e7f2582f59 #1448, add copyToClipboard controller action 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 8fa6c24b4a #1443, fix error upon comment 2023-11-12 01:19:04 +01:00
Ahmed Ejaz 2392153af1 #1427, fix disabled button issue 2023-11-09 20:07:10 +01:00
Andreas Nedbal 31ccc7c11b Remove TypeScript relationship functionality 2023-10-28 10:41:24 +02:00
Andreas Nedbal 42b5b6ccc2 Remove TypeScript subscription functionality 2023-10-25 03:14:57 +02:00
Andreas Nedbal c09cc85c4f Adjust class references to question CSS classes 2023-10-22 21:04:30 +02:00
Andreas Nedbal 7156dc5c9b Catch `navigator.share` errors with a no-op 2023-10-18 20:04:41 +02:00
Andreas Nedbal bc45bda517 Only remove inbox entry after share has been triggered 2023-10-18 20:04:14 +02:00
Andreas Nedbal 8b86e2f123 Set text and URL separately for `navigator.share`
Apparently for most mobile OSses `url` is a required share option
2023-10-18 20:01:59 +02:00
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