Commit Graph

75 Commits

Author SHA1 Message Date
Karina Kwiatek e0195654b5 Send notification on 3 push failures 2023-01-02 11:52:00 +01:00
Karina Kwiatek 9d1e77aeba Revoke Twitter connection when the token is revoked 2023-01-01 23:46:10 +01:00
Georg Gadinger e1bdb1324f make the export worker create a *real* notification and add specs for it 2022-12-10 04:25:08 +01:00
Georg Gadinger caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal 8d1bd30615 Use appropriate image sizes and lazy loading in notifications 2022-10-10 23:15:05 +02:00
Andreas Nedbal 1ac6475fb2 Remove turbo-frame tag in notifications view 2022-09-08 01:00:06 +02:00
Andreas Nedbal ae607ac840 Don't duplicate pagination on paging 2022-09-08 00:04:27 +02:00
Andreas Nedbal c118dab903 Refactor notifications to use a Turbo Stream-backed pagination 2022-09-08 00:04:27 +02:00
Andreas Nedbal d867352bf7 Fix "other" comment notification case not linking to answer 2022-08-30 22:56:13 +02:00
Georg Gadinger 66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek fa712a547f Update pagination to match template changes 2022-07-20 23:21:21 +02:00
Karina Kwiatek 0e2e2f35e1 Remove list styling from notification list 2022-07-20 23:21:21 +02:00
Karina Kwiatek 84abd1226d Use only card classes 2022-07-20 23:21:21 +02:00
Karina Kwiatek 7c96627106 Add card to empty notifications list 2022-07-20 23:21:21 +02:00
Karina Kwiatek 83e0f7a711 Place notifications in individual cards 2022-07-20 23:21:21 +02:00
Andreas Nedbal 2722f4fffb Fix comment notifications displaying escaped HTML 2022-07-17 09:40:47 +02:00
Karina Kwiatek 39d55e52c8 Use `target.class.name` instead of `target.type`
This only worked for polymorphic relations
2022-07-09 01:15:31 +02:00
Andreas Nedbal b3f15fe409 Remove unnecessary duplicate locales 2022-07-07 16:51:05 +02:00
Andreas Nedbal a8362702e3 Localize notification page title 2022-07-07 16:51:05 +02:00
Andreas Nedbal af327b3f08 Add translations for notification types 2022-07-07 16:51:05 +02:00
Andreas Nedbal 52218bf1d0 Add translations for navigation index page 2022-07-07 16:51:05 +02:00
Karina Kwiatek f20e407cc3 Fix notifications page crashing on reactions 2022-07-05 23:23:37 +02:00
Karina Kwiatek 0cfe5ee964 Replace usages of smiles with reaction appendables 2022-07-05 23:23:37 +02:00
Dominik Kwiatek cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Dominik M. Kwiatek abf78d4f49 Don't center content on Desktop
Suggestions from @pixeldesu's review

Co-authored-by: Andreas Nedbal <andy@pixelde.su>
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek ee947f2428 Make the "Load more" button center-aligned and give it "button" styling
Fixes #107
2020-05-29 23:05:38 +02:00
Andreas Nedbal d27ef3aae5 Fix lints in app/views/notifications 2020-05-11 19:38:07 +02:00
Georg Gadinger 9b4c8027b8 Fix pagination for ajax views 2020-05-09 04:39:09 +02:00
Andreas Nedbal e44be8fa0e Use large bell icon for notifications page 2020-05-09 00:50:46 +02:00
Andreas Nedbal 185b5a65c8 Refactor notification styling and layout 2020-05-01 21:57:14 +02:00
Andreas Nedbal b550e78272 Refactor notifications into partials
All notification type layouts have been:

1) present in both the navigation layout and the notification page
2) in a single file

This commit addresses both issues and creates partials for all notfication types.
2020-04-26 15:26:55 +02:00
Andreas Nedbal 18d4fad00e Move notification navigation to new location 2020-04-25 20:27:56 +02:00
Andreas Nedbal ae4c68a10b Use layout inheritance by convention 2020-04-25 17:54:52 +02:00
Andreas Nedbal 245c6493d3 Clean up notifications layout 2020-04-25 17:51:00 +02:00
Andreas Nedbal 7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Georg Gadinger 101b3b68d3 Use cursored pagination, remove WillPaginate 2020-04-20 23:13:24 +02:00
Andreas Nedbal 3994917ce9 Adjust notification navigation to Bootstrap 4 2020-04-19 23:42:37 +02:00
Andreas Nedbal 0c3dee30ae Add row to notification list 2020-04-19 23:34:09 +02:00
Andreas Nedbal b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Andreas Nedbal 33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
pixeldesu 927d6632c1 make the notification center smaller and shorten content 2015-09-16 23:59:47 +02:00
pixeldesu 24f7ff98ec Fix comment notifications and markdownify content 2015-09-16 22:46:33 +02:00
pixeldesu ede3ad1b92 Update notification design and behaviour
- Add display of content that was replied to/with
- Instead of marking notifications new, only show new items and hide seen entries
- Add a 'New Notifications' page and set it as default
- Add proper display if there are no new notifications
- Adjust theme to fit new changes
2015-09-16 22:18:40 +02:00
pixeldesu 8c5badf0b8 fix Retrospring/bugs#95 2015-08-28 16:29:02 +02:00
Yuki e5ecea8414 Fix third-person notifications showing the wrong user 2015-06-09 21:19:29 +05:30
Yuki 428bd99a63 Fix another issue 2015-06-09 09:36:09 +05:30
Yuki f564ef724e line 51 of _notification.html.haml line 57 of _notifications.html.haml 2015-06-07 06:13:18 +05:30
pixeldesu b8c0032986 localize notifications (except comments) 2015-06-07 01:28:10 +02:00
Yuki 2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
pixeldesu d08692340c add pagetitles 2015-05-10 19:48:47 +02:00