Commit Graph

251 Commits (c64234c31fde3f9936b53c4eb491e48ada7b622f)

Author SHA1 Message Date
Eugen Rochko ad510db3a1
Show suggested follows on search screen in mobile layout ()
Reminder: Suggestions were added in  and are based on who you
interact with who you do not follow. E.g. if you boost someone a lot
from seeing other people's boosts of that person, it makes sense you
might be interested in following the original source; or if you reply
to someone a lot, maybe you'd want to follow them

Each suggestion can be dismissed
2018-10-23 00:08:39 +02:00
Eugen Rochko 81017eaea7
Revert "RTL: remove blank character inside bdi ()" ()
This reverts commit c7e9f9ff1e.
2018-10-22 23:23:00 +02:00
Masoud Abkenar c7e9f9ff1e RTL: remove blank character inside bdi ()
* RTL: remove blank character inside bdi

* Update app/javascript/mastodon/components/display_name.js

Co-Authored-By: mabkenar <ampbox@gmail.com>
2018-10-22 01:04:32 +02:00
Eugen Rochko eb1b9903a6
Redesign direct messages column () 2018-10-20 02:23:58 +02:00
Eugen Rochko 774ac47373
Add conversations API ()
* Add conversations API

* Add web UI for conversations

* Add test for conversations API

* Add tests for ConversationAccount

* Improve web UI

* Rename ConversationAccount to AccountConversation

* Remove conversations on block and mute

* Change last_status_id to be a denormalization of status_ids

* Add optimistic locking
2018-10-07 23:44:58 +02:00
Eugen Rochko 5d5d1b528e
Double the threshold for "read more" functionality () 2018-10-01 03:38:10 +02:00
Eugen Rochko 3d7f68c273
Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit 3f9ec3de82.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit 8bae14591b.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit b9c727a945.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 17af4d27da.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit 4b794e134d.
2018-09-28 02:11:14 +02:00
Maciek Baron a72a939334 Add test for AutosuggestEmoji () 2018-09-27 20:35:58 +02:00
Naoki Kosaka 8bae14591b Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +02:00
Haelwenn Monnier 15fc2b76f9 Show "read more" link on overly long in-stream statuses ()
Show "read more" link on overly long in-stream statuses
2018-09-27 17:04:33 +02:00
theboss b9c727a945 Fix some icons names, unavailable in fontawesome5 (free license). ()
- pencil => pencil-alt
- sliders => sliders-h

related:  
2018-09-26 22:48:21 +09:00
ふぁぼ原 f7a6f9489d Add a new preference to always hide all media () 2018-09-25 05:09:35 +02:00
Maciek Baron 4b794e134d Add bot icon to bot avatars and migrate to newer version of Font Awesome ()
* Migrate to newer version of Font Awesome

* Add bot icon to bot avatars
2018-09-25 05:08:55 +02:00
Yamagishi Kazutoshi 0ddbccf7e6 Upgrade Babel to version 7.0.0 () 2018-09-14 17:59:48 +02:00
ThibG f8160b68b3 Only focus first element of dropdown menus if using keyboard ()
* Only focus first item of dropdown if it was opened via keyboard

* Improve keyboard VS mouse navigation of dropdown menus
2018-09-13 20:31:33 +02:00
Jakub Mendyk ceed1ebe5b Fix followers/follows layout issues from ()
* Add alwaysShowScrollbar prop to ScrollableList

* Fix followers/follows layout issues from 
2018-08-29 01:19:58 +02:00
Maciek Baron 2bbec9f4da Add CSS class to replies () 2018-08-27 13:07:47 -04:00
Eugen Rochko a791bac153
Add aria-label to notifications ()
Fix 
2018-08-26 17:53:26 +02:00
M Somerville ac092d03e7 Add missing video descriptions ()
* Pass through video description as necessary.

* Add title to video, matching aria-label.
2018-08-24 23:55:41 +02:00
Eugen Rochko 248df68c36
Give focused status a sensible aria-label for screen readers ()
* Give focused status a sensible aria-label for screen readers

Fix 

* Use content warning in aria-label unless expanded
2018-08-23 20:56:57 +02:00
ThibG 43b8df3228 Update state when opened dropdown is unmounted (fixes ) () 2018-08-23 20:43:27 +02:00
Eugen Rochko 885711afb9
Fix off-by-one error in aria-posinset ()
Fix 
2018-08-23 18:28:59 +02:00
Eugen Rochko 66dbb59aa1
Add aria-label to column regions ()
Fix 
2018-08-23 17:26:21 +02:00
cpsdqs 8fe1f8d4ce Make dropdown animations respect their placement ()
* Make dropdown animations respect their placement

Also fix the corner radius on the privacy dropdown button when using top placement

* Fix code style issue
2018-08-19 17:11:12 +02:00
Eugen Rochko 025fbb8285
Show compose form on delete & redraft when in mobile layout ()
Fix 
2018-08-19 03:17:01 +02:00
M Somerville 298ee84488 Fix - Do not override ctrl/cmd+click. ()
This includes clicks on hashtags, mentions, display names and media in the
timeline; and usernames in reply-indicator, detailed status, and the boost
modal.
2018-08-18 12:50:32 +02:00
Eugen Rochko 4df9cabb22
Display replies count in web UI () 2018-08-15 19:29:52 +02:00
Yamagishi Kazutoshi 06c83527f5 Do not scroll up when modal is opened () 2018-07-29 16:52:06 +02:00
Eugen Rochko bb71538bb5
Redesign public profiles and toots () 2018-07-28 19:25:33 +02:00
Shaun Gillies ac82c9380f Display full username in tooltip on search and autosuggest () 2018-07-01 04:16:13 +02:00
Eugen Rochko cdb101340a
Keyword/phrase filtering ()
* Add keyword filtering

    GET|POST       /api/v1/filters
    GET|PUT|DELETE /api/v1/filters/:id

- Irreversible filters can drop toots from home or notifications
- Other filters can hide toots through the client app
- Filters use a phrase valid in particular contexts, expiration

* Make sure expired filters don't get applied client-side

* Add missing API methods

* Remove "regex filter" from column settings

* Add tests

* Add test for FeedManager

* Add CustomFilter test

* Add UI for managing filters

* Add streaming API event to allow syncing filters

* Fix tests
2018-06-29 15:34:36 +02:00
Eugen Rochko 45b5e60909
Fix Chrome issue with sizes="0px" ()
"Do not dumb here. Not dumb area here."
2018-06-25 00:12:15 +02:00
Eugen Rochko bd0791d800
Add redraft function ()
* Add redraft function

Fix 

* Add explicit confirmation

* Add explicit confirmation message
2018-06-05 00:17:38 +02:00
Eugen Rochko 1bbe81030c
Display numbers in account header using shortNumberFormat for consistency () 2018-06-04 05:15:50 +02:00
Mélanie Chauvel (ariasuni) 691107263c Put the CW field between the toot we are replying to and the toot field ()
* Remove Collapsable and use CSS instead

* Put the CW field between the toot we are replying to and the toot field

* Use same spacing between all fields in the composing column
2018-05-31 15:16:31 +02:00
Eugen Rochko 1a7a74ff76
Improve getting started column ()
* Adjust footer of getting started column

- Improved style
- Moved hotkeys, about this instance and logout to footer
- Removed FAQ, User Guide, Apps links
- Use hamburger icon for the column

* Add edit profile action button to profile and more to dropdown

* Add "Trending now" to getting started column

* Add preferences/security links on mobile layout
2018-05-30 18:41:47 +02:00
Eugen Rochko 90b64c0069
Always display tab navigation on local/federated timeline even when empty ()
Fix 
2018-05-29 02:01:04 +02:00
Eugen Rochko 22e067bf5c
Use real container width in MediaGallery srcSet ()
Fix 
2018-05-21 16:04:01 +02:00
Yamagishi Kazutoshi d9b2f84c92 Open video modal on public UI () 2018-05-13 13:48:14 +02:00
Yamagishi Kazutoshi e0b1e17bd0 Show media modal on public timeline () 2018-05-08 13:33:09 +02:00
ThibG e06fbc4fcf Fixes/rollback scroll changes ()
* Revert "Do not re-position scroll when loading more (inserting items from below) ()"

This reverts commit 8c601b54cc.

* Revert "Prevent timeline from moving when cursor is hovering over it (fixes ) ()"

This reverts commit 58852695c8.
2018-05-06 22:26:39 +02:00
ThibG ef7d64c801 Dropdowns accessibility ()
* Mark currently selected privacy setting in privacy dropdown

* Prevent Enter keypresses from triggering dropdown display toggle twice

* Give focus to first/selected item of dropdown menus

* Implement keyboard navigation in privacy dropdown

* Implement keyboard navigation in generic dropdown menus
2018-05-04 22:13:26 +02:00
ThibG 8c601b54cc Do not re-position scroll when loading more (inserting items from below) () 2018-05-03 22:32:05 +02:00
ThibG 58852695c8 Prevent timeline from moving when cursor is hovering over it (fixes ) () 2018-05-03 12:09:11 +02:00
Eugen Rochko 660cb058e1
Improve relative timestamps in web UI ()
Use short instead of numeric month, display year when different year

E.g.: "Apr 4" instead of "4/4", "Apr 4, 2017" if different year
2018-04-23 00:43:53 +02:00
unarist 84214b864c Ignore keyevents during text composition ()
KeyboardEvent.key may be physical key name (Escape, Tab, etc.)
even in text composition and it causes hotkeys or suggestion selection.
So we need to check e.which or e.isComposing.

Checking e.which also allows us to avoid Esc key on compositionend in Safari.
2018-04-20 18:36:52 +02:00
TakesxiSximada 23106844a1 Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline. ()
* Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.

* Fix typo

* Add custom attribute prefix
2018-04-20 18:14:21 +02:00
mayaeh ee2e0f694a Fix : boosting own private toots ()
* Fix boosting own private toots.

* Run yarn manage:translations and update Japanese translations.
2018-04-20 14:58:33 +02:00
unarist 4e35ce8269 Fix Esc hotkey behavior ()
This fixes following cases which causes hotkey action accidentally:

* hitting Esc key to cancel text composition (mostly in CJK)

  Although events on cancelling composition are still heavily
  browser / input method dependent, but this implementation would
  covers current UI Events spec and some exceptions.

* hitting Esc key to close autocomplete suggestions

This PR changes to use keydown event instead of keyup event as well as other hotkeys.
2018-04-20 14:04:16 +02:00
Neil Moore fad7b9f5f2 Adds keyboard hotkey for revealing/hiding statuses ()
Resolves 
2018-04-18 03:33:59 +02:00