Commit Graph

24 Commits

Author SHA1 Message Date
Eugen Rochko
8c4b5f7cef
Revert "Change timelines to add new items to pending items when scrolled down " ()
Fix 
2019-09-23 00:48:31 +02:00
Eugen Rochko
ba0de8fb68
Fix updates being hidden behind pending items on unmounted components () 2019-09-21 09:12:13 +02:00
ThibG
577706987d Fix “load more” adding older toots/notifications to pending items () 2019-09-18 11:27:10 +02:00
ThibG
d256901f60 Change timelines to add new items to pending items when scrolled down () 2019-09-16 19:39:44 +02:00
ThibG
f109867578 Fix “slow mode” issues ()
* Fix weird scroll-jumping behavior with pending items

* Treat pending items as unread items

* Fix scroll position being altered because of the “X new items” button
2019-09-16 15:45:06 +02:00
Eugen Rochko
4eeff26533
Change account domain block to clear out notifications and follows () 2019-07-25 04:17:35 +02:00
Eugen Rochko
9b1d3e4acb
Add option to disable real-time updates in web UI ()
Fix 
Fix 
2019-07-16 06:30:47 +02:00
abcang
3593b85423 Display notifications count on a new single column () 2019-05-27 21:56:29 +02:00
Eugen Rochko
3a44827d3f
Fix web UI not removing notifications after block ()
Regression from 
2019-02-25 01:10:56 +01:00
Paweł Ngei
13dce12665 Add notification quick-filter bar in the frontend app ()
* create FilterBar componer and its container, unstyled

* introduce basic styling for FilterBar

* add selection css

* allow FilterBar to display active CSS with js

* connect the FilterBar to the Redux state

* change getNotifications to use filter

* remove temporary comments

* add an option to turn the FilterBar off in settings

* fix showFilterBar data type to boolean

* fix eslint errors

* add English and Polish translations

* allowed filter bar overflow to accomodate for longer languages

* fix mispelled translation key

* add unified CSS look

* replace text in FilterBar with icons

* add tooltips

* replace text @ with an icon

* introduce simple and advanced filtering view

* add ability to toggle the advanced view

* add Polish translations

* change Advanced View description to be more clear

* make each filter flush notifications and load new ones, fixing pagination

* simplify getNotifications once frontend filtering is not needed for FilterBar

* add a semicolon

* Revert "simplify getNotifications once frontend filtering is not needed for FilterBar"

This reverts commit 9f4be7857135b0327814bd22a3e8a4e7b546f7cc.

* reset filter to 'all' when turning off FilterBar
2018-12-16 05:56:41 +01: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
a791bac153
Add aria-label to notifications ()
Fix 
2018-08-26 17:53:26 +02:00
abcang
71a7cea73f Keep notification when muting_notifications is true ()
* Keep notification when muting_notifications is true

* Retrun mute object

* Fix test
2018-05-02 16:14:51 +02:00
abcang
0ba49eca8b Fix comparing id () 2018-04-18 16:50:19 +02:00
unarist
2f3ac14a43 Add missing null handling in notification reducer ()
This patch adds null item (i.e. gap) handling on below functions to avoid TypeError.

* `filterNotifications` called on user mute/block
* `deleteByStatus` called on status deletion
2018-03-27 13:05:59 +02:00
Akihiko Odaki
cbf97c03bb Allow clients to fetch notifications made while they were offline () 2018-03-24 22:07:23 +01:00
Akihiko Odaki
59657e24b9 Rename variables to have semantic meanings in notifications reducer () 2018-03-24 13:36:44 +01:00
Eugen Rochko
07f7192bc3 Fix - Reset column loading status after fetch fail () 2017-11-12 12:51:07 +09:00
Eugen Rochko
0f699a4280 When muting, clear web UI like for blocks ()
* When muting, clear web UI like for blocks

* Fix style issue
2017-10-03 02:01:54 +02:00
Sorin Davidoi
cc68d1945b refactor: Rewrite immutablejs import statements using destructuring () 2017-07-11 01:00:14 +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
Eugen Rochko
d0ef318eaa Fix - Delete associated notifications when a status is deleted () 2017-05-11 21:54:47 +02:00
Eugen Rochko
eddb95b012 When streaming API is disconnected, poll home/notifications ()
* When streaming API is disconnected, poll home/notifications
Display slightly different empty home timeline message if user is following others
Cull notifications to 20 items when over 40 get added in real-time
Run manage:translations

* Optimize <HomeTimeline /> a little
2017-05-04 23:41:34 +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