Commit graph

169 commits

Author SHA1 Message Date
ThibG
072158ee97 Fix swiping columns on mobile sometimes failing ()
Fixes 
2019-06-28 13:52:15 +02:00
ThibG
01e362316c Do not scroll in the compose panel on single-column () 2019-06-16 18:46:55 +02:00
ThibG
dd45c63921 List attachments in reply indicator and boost modal ()
* Add media attachments list to boost modal

* Add attachment list to reply indicator
2019-06-13 17:04:52 +02:00
ThibG
1b4dcc3f78 Only show profile directory link when it's enabled () 2019-06-13 00:16:27 +02:00
Eugen Rochko
6077eca240
Add profile directory link to single column navigation panel () 2019-06-04 19:50:38 +02:00
Takeshi Umeda
d93b82af87 Improvement variable height in single column layout ()
* Improvement variable height of compose and navigation panel in single column layout

* Fix wrong quotes and missing commas
2019-06-02 10:05:54 +02:00
Eugen Rochko
8d9755e5f5
Change links in right panel to open in the same tab ()
For Rambox compatibility
2019-05-29 17:33:35 +03:00
Eugen Rochko
451e5980b6
Refactor footers in web UI into a single component () 2019-05-27 21:58:41 +02:00
Eugen Rochko
0e445ebb13
Improvements to the single column layout ()
* Improvements to the single column layout

- Add follows and followers link to the right panel
- Increase margins around separators in right panel
- Add follow requests link with counter when account is locked to right panel

* Redirect from getting started to home when navigation panel is visible
2019-05-26 02:55:37 +02:00
Eugen Rochko
1e5532e693
Add responsive panels to the single-column layout ()
* Add responsive panels to the single-column layout

* Fixes

* Fix not being able to save the preference

* Fix code style issues

* Set max-height on the compose textarea and add a link to relationship manager
2019-05-25 21:27:00 +02:00
Eugen Rochko
84dc21d55d
Various improvements to single column layout ()
- Add potential side panels to single column layout
- Hide FAB on large screens
2019-05-23 20:01:10 +02:00
Eugen Rochko
9ddeb30f90
Add forceSingleColumn prop to <UI /> ()
* Move TabsBar rendering logic from CSS to the ColumnsArea component

* Add forceSingleColumn mode

* Add unread notifications counter to tabs bar

* Add toggle to control `forceSingleColumn`

* Increase paddings in mobile layout responsively at large sizes
2019-05-23 01:35:22 +02:00
Aurélien Reeves
fe8a8f779e Add confirm modal for unboosting toots ()
[]

Display the boost modal also when unboosting toots.
2019-05-09 22:39:26 +02:00
Eugen Rochko
eb63217210
Add button to view context to media modal ()
* Add "view context" button to media modal when opened from gallery

* Add "view context" button to video modal

Allow closing the video modal by navigating back in the browser,
just like the media modal
2019-05-03 16:16:30 +02:00
Eugen Rochko
fba96c808d
Add blurhash ()
* Add blurhash

* Use fallback color for spoiler when blurhash missing

* Federate the blurhash and accept it as long as it's at most 5x5

* Display unknown media attachments as blurhash placeholders

* Improve style of embed actions and spoiler button

* Change blurhash resolution from 3x3 to 4x4

* Improve dependency definitions

* Fix code style issues
2019-04-27 03:24:09 +02:00
kedama
d763d39d26 Fix modal items cannot scroll on touch devices () 2019-04-22 14:55:50 +02:00
ThibG
6df4a82969 Add a “Block & Report” button to the block confirmation dialog () 2019-03-26 17:34:02 +01:00
Eugen Rochko
c20d096e6a
Show disappointed elephant if web UI crashes ()
* Do not crash the whole UI when loading an invalid column

* Add error boundary component to catch Web UI crashes

* Add stack trace on supported browsers

* Add component stack info, pre-format everything for github

* Make “Reload” a clickable link that calls window.location.reload()

* Remove elephant friend from error boundary, make title stand out more

* Simplify error boundary to only a graphic
2019-03-15 05:35:45 +01:00
mayaeh
46e806cd2f Rename from instance to server. () 2019-02-05 19:11:24 +01:00
Eugen Rochko
1f95190202
Refactor icons in web UI to use Icon component ()
* Refactor uses of icons to an Icon component in web UI

* Refactor options passed to the Icon component

* Make tests work with absolute component paths
2019-02-01 00:14:05 +01:00
tmm576
30af4ee65f Hide floating action button on search and getting started pages () 2019-01-17 09:22:12 +01:00
ThibG
e25947db4a Sanitize and sandbox toot embeds () 2018-12-23 02:16:35 +01:00
Eugen Rochko
9cb26bb56b
Add new first-time tutorial ()
* Prepare to load onboarding as a full page

* Update the first-time introduction

* Improve responsive design

* Replace speech bubble with logo

* Increase text size and reword first paragraph
2018-12-17 11:07:17 +01:00
namelessGonbai
bb5558de62 Implement adding a user to a list from their profile ()
* Add add user to list from thier profile

* Fix listAdderCss
2018-11-05 18:52:38 +01:00
Eugen Rochko
28401962ca Change documentation URL ()
* Change documentation URL

* Fix hardcoded documentation URL in locales
2018-10-06 14:33:36 +09: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
Naoki Kosaka
8bae14591b Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +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
Yamagishi Kazutoshi
0ddbccf7e6 Upgrade Babel to version 7.0.0 () 2018-09-14 17:59:48 +02:00
ThibG
4959ead07c Fix media description in various media modals () 2018-09-13 20:31:59 +02:00
ThibG
661a89ea74 Autofocus comment textarea in report modal () 2018-09-13 15:27:29 +02:00
Frederic Hemberger
7c12c7b124 Add aria-label to floatingActionButton () 2018-09-02 15:51:06 +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
60df87f6f0
Compensate for scrollbar disappearing when media modal visible ()
* Compensate for scrollbar disappearing when media modal visible

Make auth pages backgrounds lighter

* Fix typo
2018-07-31 01:14:33 +02:00
Yamagishi Kazutoshi
06c83527f5 Do not scroll up when modal is opened () 2018-07-29 16:52:06 +02:00
ThibG
d199806969 Prevent scrolling main frame when navigating in image gallery with arrow keys () 2018-07-26 04:50:50 +02:00
ThibG
955d5d36e8 Use LoadingBar instead of blur to indicate that an image is loading (fixes ) () 2018-07-15 01:18:09 +02:00
Maciek Baron
f3af1a96a8 Check if router is injected in media modal () 2018-07-04 15:34:28 +02:00
Maciek Baron
bbbe3ed6ba Allow the media modal to be closed by pressing back () 2018-07-03 16:12:05 +02:00
ふぁぼ原
20bb90ced6 On the mobile UI, move the search column to the right () 2018-06-26 20:35:11 +02:00
Yamagishi Kazutoshi
64d7a63f18 Submit report using meta key () 2018-06-04 13:09:52 +02:00
Eugen Rochko
5ea643b279
Save onlyMedia prop when pinning column () 2018-05-21 17:49:10 +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
5c7bed6bbc Various improvements to the report UI ()
* Also display replies in report modal

* Allow report modal to be up to 80% of viewport height

* Use narrow no-break space where needed in the French translation
2018-05-06 20:38:17 +02:00
Lynx Kotoura
74dae9458d Add color variables of texts for better accesibility ()
* Add variables for text colors

* Change variables in sass files

* Apply text color variables for recently added colors

* Fix text colors of emoji mart anchors

* Fix text colors of search__input

* Fix text colors of text area of compose-form

* Fix icon colors of privacy dropdown and modal

* Inverted icon colors by classname

* Change variables in boost.scss

* Change action-button-color

* Fix text colors of pre-header
2018-04-18 16:52:15 +02:00
Kaito Sinclaire
156b916caf Direct messages column ()
* Added a timeline for Direct statuses
* Lists all Direct statuses you've sent and received
* Displayed in Getting Started
* Streaming server support for direct TL

* Changes to match other timelines in 2.0
2018-04-18 13:09:06 +02:00
Emelia Smith
c9cbb8de70 Add search item to tab bar for mobile devices ()
* Add search item to tab bar for mobile devices

* Fix missing prop validation
2018-04-08 14:26:58 +02:00
Emelia Smith
7a81082704 Revert "Add double-tap zoom functionary to ZoomableImage ()" ()
Unfortunately the new hammer.js functionality wasn't correctly tested and didn't work across devices and browsers, as such, it's best to revert PR  until we can revisit this functionality and make it work across all devices and browsers that are supported by Mastodon.

This reverts commit 5021c4e9ca.
2018-04-04 11:58:15 +02:00
unarist
2c51bc0ca5 Add missing rejection handling for Promises ()
* Add eslint-plugin-promise to detect uncaught rejections

* Move alert generation for errors to actions/alert

* Add missing rejection handling for Promises

* Use catch() instead of onReject on then()

Then it will catches rejection from onFulfilled. This detection can be
disabled by `allowThen` option, though.
2018-04-02 14:51:02 +02:00