gristlabs_grist-core/test
Jarosław Sadziński bfd7243fe2 (core) Comments
Summary:
First iteration for comments system for Grist.
- Comments are stored in a generic metatable `_grist_Cells`
- Each comment is connected to a particular cell (hence the generic name of the table)
- Access level works naturally for records stored in this table
-- User can add/read comments for cells he can see
-- User can't update/remove comments that he doesn't own, but he can delete them by removing cells (rows/columns)
-- Anonymous users can't see comments at all.
- Each comment can have replies (but replies can't have more replies)

Comments are hidden by default, they can be enabled by COMMENTS=true env variable.
Some things for follow-up
- Avatars, currently the user's profile image is not shown or retrieved from the server
- Virtual rendering for comments list in creator panel. Currently, there is a limit of 200 comments.

Test Plan: New and existing tests

Reviewers: georgegevoian, paulfitz

Reviewed By: georgegevoian

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D3509
2022-10-17 13:38:21 +02:00
..
client
common give parseDate test more time (#278) 2022-09-09 17:05:29 -04:00
deployment Adding new lines at the end 2022-09-30 17:00:38 +02:00
fixtures (core) Comments 2022-10-17 13:38:21 +02:00
gen-server
nbrowser (core) Comments 2022-10-17 13:38:21 +02:00
server (core) Fix for tests failures 2022-10-03 15:11:59 +02:00
chai-as-promised.js
init-mocha-webdriver.js
mocha.opts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
report-why-tests-hang.js
test_under_docker.sh Adding dedicated folder for external tests 2022-09-30 16:45:35 +02:00
testUtils.ts
tsconfig.json
utils.js
xunit-file.js