Commit graph

51 commits

Author SHA1 Message Date
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
Karina Kwiatek
5bd186bbe2 Deduplicate navigation dropdowns; Restore notification dropdown to mobile 2022-07-18 23:09:53 +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
Karina Kwiatek
28240bba27 Properly match notification type 2022-07-09 01:15:31 +02:00
Andreas Nedbal
b551b7acdb Add translations for notification navigation 2022-07-07 16:51:05 +02:00
Andreas Nedbal
334c30e773 Remove notification navigation bar 2022-07-07 16:51:05 +02:00
Karina Kwiatek
0cfe5ee964 Replace usages of smiles with reaction appendables 2022-07-05 23:23:37 +02:00
Karina Kwiatek
845e8fb3a3 Prevent navigation from appearing in print 2022-07-03 18:54:44 +02:00
Karina Kwiatek
1b09d51443 Add toggle for moderation view 2022-06-26 21:07:28 +02:00
Andreas Nedbal
249de5b1ee Fix theme color application on guest navbar 2022-04-10 22:01:27 +02:00
Andreas Nedbal
153ba70aea Sort feedback items alphabetically 2022-01-22 22:50:32 +01:00
Andreas Nedbal
eecaaeab2d Hide navigation section if Canny is not configured 2022-01-22 22:50:32 +01:00
Andreas Nedbal
2f7d7b2601 Fix HAML codestyle of navigation partials 2022-01-22 22:50:32 +01:00
Andreas Nedbal
3bd43f1cf2 Add feedback links to navigation 2022-01-22 22:50:32 +01:00
Andreas Nedbal
75b93d3535 Use button_to helper to generate a proper logout button 2022-01-15 09:25:30 +01:00
Karina Kwiatek
3a8d207b70 Fix ask fab not being visible at tablet size 2021-09-24 00:06:23 +02:00
Karina Kwiatek
d76af263ce Style and position badges on mobile nav 2021-08-12 21:56:28 +02:00
Karina Kwiatek
ec2332818c Show mobile nav bar badges as pills 2021-08-12 13:29:50 +02:00
Karina Kwiatek
da70238667 Fix linter errors 2021-08-12 01:18:10 +02:00
Karina Kwiatek
d86bf2bf9d Use notification_count helper to get notification count for icon badge 2021-08-12 00:37:47 +02:00
Karina Kwiatek
38bd282b38 Make notification icon show notification count badge 2021-08-12 00:37:47 +02:00
Karina Kwiatek
31a8bf6f00 Add mobile user menu 2021-08-12 00:37:47 +02:00
Karina Kwiatek
0886daa62d Remove icon from brand in desktop navbar 2021-08-12 00:37:47 +02:00
Karina Kwiatek
e213041d47 Add mobile navigation bar 2021-08-12 00:37:47 +02:00
Dominik Kwiatek
3db3ccfc41 Fix incorrectly updated conditions 2020-11-17 21:57:19 +01:00
Dominik Kwiatek
cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Georg Gadinger
ea0685136e Rename Groups to Lists
haha regexp go brrr

special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Andreas Nedbal
66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal
730b6156ce Fix lints in app/views/navigation 2020-05-11 19:40:43 +02:00
Andreas Nedbal
4474d9895c Fix notification menu clipping out of view 2020-05-11 15:19:40 +02:00
Andreas Nedbal
185b5a65c8 Refactor notification styling and layout 2020-05-01 21:57:14 +02:00
Andreas Nedbal
c4c0c44eec Remove old navbar styles and refactor navigation
- Create components/buttons for btn-fab element
- Create components/avatars for defined avatar size classes and behaviour
2020-04-29 18:15:52 +02:00
Andreas Nedbal
56b63d60b7 Add "navbar-themed" class to use CSS variables in navigation 2020-04-27 18:39:01 +02:00
Andreas Nedbal
0afff3f84d Adjustments and smaller fixes
- Fixed initially selected Discover tabs being empty
- Removed spacing classes from inbox templates
- Fixed feed layout and sidebar display
- Adjust some profile layout nits
2020-04-26 16:25:54 +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
1885343900 Clean up main navigation
- Move main navigation into views/navigation
- Split guest navigation into seperate file
- Move main navigation partials into subfolder
- Further adjustments for Bootstrap 4 compatibility
2020-04-26 14:29:23 +02:00
Andreas Nedbal
18d4fad00e Move notification navigation to new location 2020-04-25 20:27:56 +02:00
Andreas Nedbal
aeedee8b2f Move moderation navigation to new location 2020-04-25 20:20:00 +02:00