mattermost-mobile/app/selectors
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
..
autocomplete.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
channel.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
client_upgrade.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
device.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
file.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
i18n.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
post_list.js MM-11198: avoid duplicate date line keys (#1901) 2018-07-09 18:35:43 -04:00
post_list.test.js MM-11198: avoid duplicate date line keys (#1901) 2018-07-09 18:35:43 -04:00
views.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00