gristlabs_grist-core/app/client/ui2018
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
..
breadcrumbs.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
buttons.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
buttonSelect.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
checkbox.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ColorPalette.ts (core) Adding font options to the style picker 2022-04-07 20:35:03 +02:00
ColorSelect.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
cssVars.ts (core) Comments 2022-10-17 13:38:21 +02:00
draggableList.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
editableLabel.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
IconList.ts (core) Comments 2022-10-17 13:38:21 +02:00
icons.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
links.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
loaders.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
menus.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
modals.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
pages.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
search.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
select.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00