mattermost-mobile/app
Jesse Hallam 36dd3f19e2 MM-11198: avoid duplicate date line keys (#1901)
* MM-11198: avoid duplicate keys in date lines

Ensure each dateline rendered as part of search, recent mentions, or flagged post list has a unique key, even if the same date itself appears multiple times.

* update post_list.test.js to actually test date boundaries, relying on TZ=utc export in package.json

* unit test makePreparePostIdsForSearchPosts

* fix eslint issues

* try TZ=GMT

* encode date lines using timestamps instead

This requires a few extra changes to the post list proper, but largely
simplifies things anyway.
2018-07-09 18:35:43 -04:00
..
actions fix profile upload by using RNFetchBlob (#1900) 2018-07-09 18:32:09 -04:00
components MM-11198: avoid duplicate date line keys (#1901) 2018-07-09 18:35:43 -04:00
constants add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
i18n fix pt-BR availability (#1884) 2018-07-04 12:21:08 -04:00
mattermost_bucket add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
mattermost_managed add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
notification_preferences add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
push_notifications add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
reducers add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
screens MM-11198: avoid duplicate date line keys (#1901) 2018-07-09 18:35:43 -04:00
selectors MM-11198: avoid duplicate date line keys (#1901) 2018-07-09 18:35:43 -04:00
store Handle bad state (#1903) 2018-07-09 18:33:13 -04:00
styles add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
utils Handle bad state (#1903) 2018-07-09 18:33:13 -04:00
app.js Handle bad state (#1903) 2018-07-09 18:33:13 -04:00
fetch_preconfig.js Merge branch 'release-1.9' 2018-06-21 18:50:39 -04:00
initial_state.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
mattermost.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00