Anton Khorev
fafed5f821
Create message mute resource
2025-01-24 04:36:04 +03:00
Anton Khorev
3490eb580c
Remove unused css classes from inbox table
2025-01-24 04:34:20 +03:00
Anton Khorev
cc3bccb9b3
Create message read_mark resource
2025-01-24 04:34:20 +03:00
Anton Khorev
0016c6f4b1
Use resourceful route for message reply
2025-01-03 11:12:29 +03:00
Anton Khorev
c7e038a4d0
Use resourceful routes for web mailboxes
2024-12-29 08:40:39 +03:00
Anton Khorev
2d36aa74db
Truncate if necessary and set dir=auto for message usernames
2024-12-03 10:48:59 +03:00
mmd-osm
3d3e143811
I18n: messages: avoid dynamic translation keys
...
By moving the translation outside the loop and calling t(...) with
explicitly stated keys, `bundle exec i18n-tasks unused` no longer
reports the keys as unused.
2024-09-02 06:55:21 +02:00
Nenad Vujicic
4716800144
Allowed sending follow-ups for sent messages
...
Fixes #3497 . Adds Reply button when displaying sent messages (app/views/messages/show.html.erb) and allows replying to messages for which sender is current user (app/controllers/messages_controller.rb). Improved tests for testing added functionality.
2024-08-28 15:11:09 +02:00
Tom Hughes
8dafc39ab3
Merge remote-tracking branch 'upstream/pull/4740'
2024-04-30 18:37:25 +01:00
Anton Khorev
728425858d
Don't change display property of messages table header cell
2024-04-30 06:58:43 +03:00
Anton Khorev
a84c1cb89d
Remove .message-summary css classes and selectors
...
They are not necessary because they select every table body row, and the table already has its own class.
2024-04-30 06:49:30 +03:00
Anton Khorev
fdd596bd60
Remove .inbox-row and use .table-success instead of .inbox-row-unread
2024-04-16 00:44:53 +03:00
Anton Khorev
5befc0658a
Wrap message action buttons in divs
...
Avoid redefining table cell display css property using d-flex. Now d-flex is on wrapper divs.
2024-04-15 03:14:00 +03:00
Anton Khorev
0fb635e8bc
Replace border-grey css class with border-secondary-subtle
...
No noticeable difference (#cccccc vs #cfcfcf) and no problems with dark mode.
2024-04-06 17:11:38 +03:00
Gregory Igelmund
045209fade
Nest data-turbo="true" attributes in partials
2024-03-21 14:55:16 +01:00
Gregory Igelmund
6c4968eafd
Remove now-obsolete partials in app/views/messages/*
2024-03-21 14:55:16 +01:00
Gregory Igelmund
1a7b7f5d18
Enable Turbo Drive with morphing for Messages#{destroy,mark}
2024-03-21 14:55:16 +01:00
Anton Khorev
1df250e3e4
Rename message local in message table partials
2024-03-20 19:43:32 +03:00
Anton Khorev
332fad14bb
Simplify link_to calls on message pages
2024-03-20 04:48:02 +03:00
Anton Khorev
2f40eff2c2
Change "people mapping nearby" empty inbox/outbox link to dashboard
2024-03-18 00:16:36 +03:00
Anton Khorev
d1763dd526
Fix messages heading update when message is deleted
2023-12-26 04:46:35 +03:00
Gregory Igelmund
efc61f1315
Add basic structures for UserMute and Message muting logic
...
Including models, migration, controllers, views & locales.
2023-12-19 12:57:47 -05:00
Gregory Igelmund
3e69a4512f
Refactor app/views/messages templates
2023-12-19 12:57:47 -05:00
Anton Khorev
8645ec503d
Center messages table cells vertically
2023-08-11 20:58:46 +03:00
Anton Khorev
8f946f1360
Use flex for buttons cell in messages table
2023-08-11 20:51:51 +03:00
Anton Khorev
94d8638b00
Remove unused inbox css classes
2023-08-11 20:37:53 +03:00
Anton Khorev
c751967d0e
Change mark message buttons visibility with hidden attr
2023-08-11 20:35:36 +03:00
Anton Khorev
d0cfde2996
Use Bootstrap nowrap class in messages table
2023-08-11 18:54:39 +03:00
Anton Khorev
e290df896e
Put message read/unread/delete buttons in one column
2023-08-11 18:46:51 +03:00
Anton Khorev
f4da0d34a0
Remove message header custom css
2023-08-10 20:47:41 +03:00
Anton Khorev
de8a60a3e3
Check recipient condition separately for message header/footer
2023-08-10 20:38:49 +03:00
Anton Khorev
2d677df6e2
Remove message date float
2023-08-10 20:23:13 +03:00
Andy Allan
75749cc540
Convert remaining heading titles to use h1
...
This makes them consistent with all the other pages that use h1
in the `content_for :heading` sections
2021-11-11 15:12:23 +00:00
Tom Hughes
e842c7be97
Add missing autocomplete attributes
2021-07-27 19:36:47 +01:00
Andy Allan
0ab9359f9f
Ensure message destroy button has danger colour when showing the message, and add button to show page when viewing sent messages
2021-07-14 18:54:23 +01:00
Andy Allan
e073f93bbd
Ensure the message title shows in the heading for both sent and received messages
...
I'm not sure why they were ever different.
2021-07-14 18:40:02 +01:00
Andy Allan
d89c4f887c
Add a title in the heading to match the main menu text
2021-07-14 18:36:52 +01:00
Andy Allan
a8b4325be9
Convert mailbox navigation to use tabs
2021-07-14 18:34:39 +01:00
Michal Migurski
f5f84027fa
Chasing parse errors
2021-03-13 10:49:52 -08:00
Michal Migurski
68896d5b2f
Switched to hash rockets syntax per erblint feedback
2021-03-13 10:49:52 -08:00
Michal Migurski
d28ab8d3f2
Replaced H2 messages header links with Bootstrap nav links
...
Following suggestion from https://github.com/openstreetmap/openstreetmap-website/issues/2962#issuecomment-768985393
2021-03-13 10:49:52 -08:00
Andy Allan
e6dcf94577
Use small bootstrap buttons for message inbox and outbox actions
2021-02-03 13:44:52 +00:00
Andy Allan
601d28d4b4
Convert to use bootstrap form
2021-01-20 11:11:52 +00:00
Tobias Jordans
b470e01f84
Break long URLs where richtext is used.
...
For example on the blog post show page.
This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Andy Allan
8cd83426cc
Make the back button not look disabled
...
This switches the message buttons to use bootstrap, so that we can have a back button that looks clickable.
Alternative implementation of #2386
2020-07-04 11:20:46 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
b8c1bbb4f8
Remove unnecessary h() calls on model attributes
...
These were necessary in the rails 2.x era, but not now.
2020-03-18 14:33:30 +01:00
Andy Allan
f885cfe0f5
Rename form-row to standard-form-row to avoid clashing with a bootstrap class
2020-01-15 17:16:11 +01:00