Commit graph

23 commits

Author SHA1 Message Date
kibigo!
bba75c15f1 Statuses redux!
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
2017-07-05 18:51:23 -07:00
kibigo!
b525caf40a Fixing an aspect of which had previously escaped my attention 2017-06-29 23:39:57 -07:00
kibigo!
cc4cba8afd Improvements to image icon appearance on SHOW MORE 2017-06-29 01:43:15 -07:00
kibigo!
99889ea57d Tiny Status improvements
- Media toots are no longer auto-collapsed if the media is behind a CW
- Display names no longer appear clickable when a toot is collapsed
- Fixed  by adding reduplicating the media icon inside the SHOW
MORE/LESS
2017-06-28 23:23:05 -07:00
kibigo!
19690d3e33 Fixes bug with revealing sensitive media 2017-06-28 22:57:30 -07:00
kibigo!
5df7bc3a8b Disable links on collapsed toots 2017-06-26 15:22:03 -07:00
kibigo!
38a1299975 Stick images inside of CWs 2017-06-25 19:15:03 -07:00
Daniel Hunsaker
c0979381a4 Fix a typo and give CW'd statuses the right cursor () 2017-06-23 23:13:27 +02:00
Yamagishi Kazutoshi
c1a8e3d1eb Use Class and Property Decorators ()
ref https://tc39.github.io/proposal-decorators/
2017-06-23 19:36:54 +02:00
Yamagishi Kazutoshi
eff9416469 Remove unused variables () 2017-06-23 16:05:04 +02:00
Sorin Davidoi
8f03fdce7f Upgrade React Router ()
* chore(yarn): Remove react-router

* chore(yarn): Remove react-router-scroll

* chore(yarn): Remove history

* chore(yarn): Add react-router-dom

* chore: Remove usages of react-router-scroll

* refactor: Upgrade to react-router-web

* refactor: Use fork of react-router-scroll

This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.

* fix: Issues mentions in the PR feedback
2017-06-20 20:40:03 +02:00
unarist
bf8c2c4348 Clicking on the CW text should expand the status () 2017-06-20 01:34:10 +02:00
unarist
aa58cca040 Set cursor:pointer only when necessary () 2017-06-19 18:27:07 +02:00
Sorin Davidoi
0f52e42c2d fix(status): Content jump due to height changes () 2017-06-13 20:46:21 +02:00
Eugen Rochko
8015fd7600 Improve RTL detection ()
- Use plaintext
- Strip out URLs
- Strip out mentions
- Strip out hashtags
- Strip out whitespace from "overall" count
- Consistent between JS and Ruby
2017-06-10 15:06:50 +02:00
unarist
3e3ec9b2c8 Fix an error on dragging into status_content component () 2017-05-25 16:27:44 +02:00
Yamagishi Kazutoshi
2e112e2406 Improve eslint rules ()
* Add semi to ESLint rules

* Add padded-blocks to ESLint rules

* Add comma-dangle to ESLint rules

* add config/webpack and storyboard

* add streaming/

* yarn test:lint -- --fix
2017-05-20 17:31:47 +02:00
Yamagishi Kazutoshi
b8b7b506a2 Replace inline styles with stylesheet () 2017-05-19 11:42:54 +02:00
beatrix
fd03a3d957 tiny js fix for 'show more' button in chrome () 2017-05-13 22:07:58 +02:00
beatrix
3dcb5fa28f Revert HTML CW changes ()
* selectively Revert "Fix regressions from  ()"

This reverts commit 72698bc3b4.

* Revert "Handle hashtags in spoiler_texts (partial fix for ) ()"

This reverts commit e2491680e6.
2017-05-13 04:03:43 +02:00
Yamagishi Kazutoshi
2991a7cfe6 Use ES Class Fields & Static Properties ()
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook.

Added babel-plugin-transform-class-properties as a Babel plugin.
2017-05-12 14:44:10 +02:00
Eugen Rochko
72698bc3b4 Fix regressions from ()
* Fix regressions from 

Properly format spoiler text HTML, while keeping old logic for blankness intact
Process hashtags and mentions in spoiler text
Format spoiler text for Atom
Change "show more" toggle into a button instead of anchor
Fix style regression on dropdowns for detailed statuses

* Fix lint issue

* Convert spoiler text to plaintext in desktop notifications
2017-05-11 00:28:10 +02:00
Eugen Rochko
f5bf5ebb82 Replace sprockets/browserify with Webpack ()
* Replace browserify with webpack

* Add react-intl-translations-manager

* Do not minify in development, add offline-plugin for ServiceWorker background cache updates

* Adjust tests and dependencies

* Fix production deployments

* Fix tests

* More optimizations

* Improve travis cache for npm stuff

* Re-run travis

* Add back support for custom.scss as before

* Remove offline-plugin and babili

* Fix issue with Immutable.List().unshift(...values) not working as expected

* Make travis load schema instead of running all migrations in sequence

* Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
<UI />

* Add react definitions to places that use JSX

* Add Procfile.dev for running rails, webpack and streaming API at the same time
2017-05-03 02:04:16 +02:00
Renamed from app/assets/javascripts/components/components/status_content.jsx (Browse further)