Andreas Nedbal
d1ac420303
use `question_markdown` helper for questions in notifications
2023-12-21 00:06:54 +01:00
Andreas Nedbal
a58e902a01
Replace plain avatar usage with `AvatarComponent`
2023-10-20 11:45:53 +02:00
Karina Kwiatek
a6f526b9c4
Update inbox/notification counters when paginating
2023-06-16 18:07:53 +02:00
Karina Kwiatek
4bf977e96c
Fix lint errors for the remaining notification types
2023-05-09 23:03:26 +02:00
Karina Kwiatek
2c72252591
Use Unicode ellipsis
2023-05-09 22:58:14 +02:00
Karina Kwiatek
0d55ff16c3
Appease the dog overlords
2023-05-09 22:57:18 +02:00
Karina Kwiatek
e096ddc999
Prevent links from notifications from being opened in the dropdown frame
2023-05-09 22:51:40 +02:00
Karina Kwiatek
2db4ce38c9
Add stub notification partial for content pending deletion
2023-05-08 19:06:40 +02:00
Karina Kwiatek
655b822e54
Add Stimulus controller for handling hotkeys
2023-04-29 09:34:28 +02:00
Karina Kwiatek
0eb9a4d089
Add hotkey for loading more entries
2023-04-29 09:34:28 +02:00
Georg Gadinger
e1aee89be0
remove expired service connection notifications
2023-02-12 19:26:31 +01:00
Georg Gadinger
d572734b96
notifications: only provide #index as GET
2023-01-22 00:04:33 +01:00
Andreas Nedbal
cea1190ab9
Remove and replace usage of media classes
2023-01-05 10:35:52 +01:00
Andreas Nedbal
5bbb798102
Fix spacing classes for Bootstrap 5
2023-01-05 10:35:52 +01:00
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