Commit graph

88 commits

Author SHA1 Message Date
Andreas Nedbal
a58e902a01 Replace plain avatar usage with AvatarComponent 2023-10-20 11:45:53 +02:00
Karina Kwiatek
620121341e Fix typo 2023-08-18 19:41:21 +02:00
Karina Kwiatek
cb89d42813 Put IDs directly on nav entries 2023-08-16 21:17:18 +02:00
Karina Kwiatek
a6f526b9c4 Update inbox/notification counters when paginating 2023-06-16 18:07:53 +02:00
Karina Kwiatek
15405e41c5 Fix incorrect caching method used for notifications dropdown 2023-05-07 16:54:35 +02:00
Karina Kwiatek
7dc25ba841 Appease the robot dog 2023-05-07 12:51:40 +02:00
Karina Kwiatek
50531d3b6b Cache notifications dropdown based on notifications_updated_at 2023-05-07 12:47:29 +02:00
Karina Kwiatek
57ed3008d3 Fix "Content missing" on "Show all notifications" 2023-05-05 15:59:45 +02:00
Karina Kwiatek
80d8bebe57 Appease the dog overlords 2023-05-05 15:59:43 +02:00
Karina Kwiatek
c9c458252b Add functionality for marking all notifications as read 2023-05-05 15:59:25 +02:00
Karina Kwiatek
2afb10ab81 Move keyboard shortcuts menu entry out of canny if clause 2023-04-29 14:55:07 +02:00
Karina Kwiatek
f7b9d90e28 Appease the dog overlords 2023-04-29 09:34:28 +02:00
Karina Kwiatek
9572f844ec Add hotkey help window 2023-04-29 09:34:28 +02:00
Karina Kwiatek
dbd6f96f53 Add navigation shortcuts 2023-04-29 09:34:15 +02:00
Karina Kwiatek
3c052e9e0e Fix trivial lint issues 2023-03-07 19:14:20 +01:00
Karina Kwiatek
1ec5ffa6d2 Cache inbox and notification counters 2023-03-07 19:14:14 +01:00
Karina Kwiatek
febcf42b61 Update PWA notification page on page load 2023-03-07 19:14:14 +01:00
Karina Kwiatek
1dbcb3dd6f Appease the dog overlords 2023-03-05 15:58:18 +01:00
Karina Kwiatek
1cec1d0423 Fix print styling for 2FA recovery codes page 2023-03-05 15:51:50 +01:00
Andreas Nedbal
18f428eddf Remove dropup notification menu from mobile 2023-01-21 12:53:49 +01:00
Andreas Nedbal
c93255338e Add dev indicator to guest navbar 2023-01-11 22:24:16 +01:00
Andreas Nedbal
710192e8fa Add "DEV" badge to navigation brand 2023-01-11 22:24:16 +01:00
Andreas Nedbal
8e915e1c0a Add dev env indicator to navigation 2023-01-11 22:24:16 +01:00
Andreas Nedbal
61a9e39a3e Fix dropdowns in mobile navigation 2023-01-05 10:35:52 +01:00
Andreas Nedbal
572a9ab076 Fix positioning of dropdown menus 2023-01-05 10:35:52 +01:00
Andreas Nedbal
09954c15d2 Fix data attributes for functionality in Bootstrap 5 2023-01-05 10:35:52 +01:00
Andreas Nedbal
ec5dda9f66 Fix screen reader classes for Bootstrap 5 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
Andreas Nedbal
175ad4a83b eager load notification associations for dropdown 2022-12-18 22:01:43 +01:00
Andreas Nedbal
5a0e42fe66 use has_cached_role? instead of has_role? 2022-12-18 21:47:03 +01:00
Karina Kwiatek
63436d3464 Remove ios_web_app? helper 2022-12-04 23:11:59 +01:00
Bandie
0529247851 Keep place of link consistent 2022-11-25 00:10:16 +01:00
Bandie
ecb68eaee4 Make link to "all notifications" accessible even if your monitor is too small for all of your notifications 2022-11-25 00:10:16 +01:00
Andreas Nedbal
cc00fff8cd Add global anon blocks to moderation sidebar 2022-11-21 20:26:01 +01:00
Andreas Nedbal
6d462cbd1b Add link to admin dashboard to profile dropdown 2022-11-21 20:26:01 +01:00
Georg Gadinger
caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal
3498bd9072 Use data-turbo-method for mod (un)masking link 2022-10-24 23:34:15 +02:00
Georg Gadinger
87ec3093a9 allow for using SVG logos in the navbar
this uses our new and improved logo by default, but can be easily
changed by modifying `/public/logo.svg`.  the svg is loaded only once
when the application starts, so any modifications to it after a
deployment are visible immediately.

thanks to the power of CSS and SVG being able to make use of it, custom
colour schemes still work too.
2022-10-24 23:19:51 +02:00
Karina Kwiatek
29618d399d Fix profile menu direction on desktop 2022-10-12 00:04:09 +02:00
Andreas Nedbal
42a34bced4 Update logout link to work with Turbo 2022-09-04 18:34:23 +02:00
Andreas Nedbal
922799f123 Adjust route and alias naming 2022-08-21 01:13:10 +02:00
Karina Kwiatek
136eac8bdd Add page for managing site-wide anonymous-blocks 2022-08-20 19:05:55 +02:00
Karina Kwiatek
ae5d8931af Implement frontend for blocking users site-wide 2022-08-20 19:03:05 +02:00
Andreas Nedbal
77685d4229 Add new translations for navigation 2022-08-02 19:13:23 +02:00
Karina Kwiatek
55cb43c876 Move "Manage list memberships" user action title 2022-07-30 20:14:02 +02:00
Karina Kwiatek
e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Andreas Nedbal
8a5c7b2b3e Remove navbar style moderation navigation 2022-07-30 02:55:32 +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
e8f20d1fd8 Restore missing modifiers to notifications badge 2022-07-20 21:46:41 +02:00
Andreas Nedbal
7623213f96 Remove priority action views and links 2022-07-19 22:53:50 +02:00