Felipe Trzaskowski e4b34c2150 fix: Sort and deduplicate comments when loading the next page [BD-38] [TNL-8657] [BB-5007] (#44)
fix: Sort and deduplicate comments when loading the next page

This fixes the issue with loading the next page of older comments after
posting a new one, which only appended comments to the end, leaving the
newer one behind.

Deduplicating also fixes the related issue, when the new comment would
repeat after paginating to its correct position.
2021-12-30 12:08:07 +00:00
2020-09-07 14:44:02 +05:30
2020-09-07 14:44:02 +05:30
2021-09-14 21:51:09 +05:30
2020-09-07 14:44:02 +05:30
2020-09-07 14:44:02 +05:30
2020-08-11 19:04:16 -04:00
2020-09-07 14:44:02 +05:30
2020-09-07 14:44:02 +05:30
2021-12-06 15:45:14 +05:30
2021-12-06 15:45:14 +05:30
2020-09-07 14:44:02 +05:30
2020-09-07 14:44:02 +05:30

|Build Status| |Codecov| |license|

frontend-app-discussions
========================

Please tag **@edx/fedx-team** on any PRs or issues.  Thanks.

Introduction
------------

This repository is a React-based micro frontend for the Open edX discussion forums.

**Installation and Startup**

1. Clone your new repo:

  ``git clone https://github.com/edx/frontend-app-discussions.git``

2. Install npm dependencies:

  ``cd frontend-app-discussions && npm install``

3. Start the dev server:

  ``npm start``

The dev server is running at `http://localhost:2002 <http://localhost:2002>`_.

Project Structure
-----------------

The source for this project is organized into nested submodules according to the ADR `Feature-based Application Organization <https://github.com/edx/frontend-app-discussions/blob/master/docs/decisions/0002-feature-based-application-organization.rst>`_.

Build Process Notes
-------------------

**Production Build**

The production build is created with ``npm run build``.

Internationalization
--------------------

Please see `edx/frontend-platform's i18n module <https://edx.github.io/frontend-platform/module-Internationalization.html>`_ for documentation on internationalization.  The documentation explains how to use it, and the `How To <https://github.com/edx/frontend-i18n/blob/master/docs/how_tos/i18n.rst>`_ has more detail.

.. |Build Status| image:: https://api.travis-ci.org/edx/frontend-app-discussions.svg?branch=master
   :target: https://travis-ci.org/edx/frontend-app-discussions
.. |Codecov| image:: https://codecov.io/gh/edx/frontend-app-discussions/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/edx/frontend-app-discussions
.. |license| image:: https://img.shields.io/npm/l/@edx/frontend-app-discussions.svg
   :target: @edx/frontend-app-discussions
Description
No description provided
Readme AGPL-3.0 12 MiB
Languages
JavaScript 97.9%
SCSS 1.2%
HTML 0.7%
Makefile 0.2%