gristlabs_grist-core/app/client/ui
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
..
AccountPage.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
AccountPageCss.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
AccountWidget.ts (core) Comments 2022-10-17 13:38:21 +02:00
AddNewButton.ts (core) i18 2022-09-29 18:02:09 +02:00
ApiKey.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
App.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
App.ts (core) Fix issue with 'UNEXPECTED ORDER OF CALLBACKS' in Client.ts. 2022-06-16 23:51:14 -04:00
AppHeader.ts (core) show package.json version when hovering on Grist icon in grist-core 2022-10-12 16:02:01 -04:00
AppUI.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
BottomBar.ts (core) Making side bars a bit more usable for narrow screen 2021-01-19 15:22:01 +01:00
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
CellContextMenu.ts (core) Comments 2022-10-17 13:38:21 +02:00
CodeHighlight.ts (core) Update UI for formula and column label/id in the right-side panel. 2021-03-17 01:35:56 -04:00
ColumnFilterMenu.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
contextMenu.ts (core) Show default context menu on link 2022-02-18 10:09:36 +01:00
cssInput.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
CustomSectionConfig.ts add a description property to column mapping for custom widgets (#255) 2022-08-26 08:25:34 -04:00
CustomThemes.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
DocHistory.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
DocMenu.ts (core) i18 2022-09-29 18:02:09 +02:00
DocMenuCss.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
DocTour.ts (core) Use auto popup placement for DocTour on mobile 2021-12-16 16:06:15 +02:00
DocumentSettings.ts (core) add gvisor-based sandboxing to core 2022-03-24 17:04:49 -04:00
DuplicateTable.ts (core) Allow duplicating tables from Raw Data page 2022-09-29 08:59:42 -07:00
errorPages.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ExampleCard.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ExampleInfo.ts (core) Redesign examples and templates UI 2021-07-28 12:29:03 -07:00
FieldConfig.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
FieldMenus.ts (core) Initial data tables page 2022-02-10 12:46:19 +02:00
FileDialog.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
FilterBar.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
forms.ts (core) In Welcome questionnaire, add 'School' option, ask to enter company or school 2020-11-02 14:05:31 -05:00
googleAuth.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
GridOptions.ts (core) Implementing row conditional formatting 2022-08-09 20:11:36 +02:00
GridViewMenus.ts (core) Comments 2022-10-17 13:38:21 +02:00
HomeImports.ts (core) Adding import from google drive to the home screen 2021-08-05 20:46:11 +02:00
HomeIntro.ts Improving documentation. Renaming folder to 'documentation' 2022-10-03 10:49:07 +02:00
HomeLeftPane.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
inputs.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
LeftPanelCommon.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
MakeCopyMenu.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
MenuToggle.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
mouseDrag.ts (core) Add cell selection summary 2022-09-30 09:11:46 -07:00
MultiSelector.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
NotifyUI.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
OnBoardingPopups.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
OpenUserManager.ts (core) Update design of empty docs home page, and add a "Manage Team" button. 2022-06-03 12:58:57 -04:00
OpenVideoTour.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
PagePanels.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
PageWidgetPicker.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
PinnedDocs.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ProductUpgradesStub.ts (core) Removing NEW_DEAL flag 2022-08-09 17:29:28 +02:00
resizeHandle.ts Initial config with a few files that build on client and server side. 2020-05-20 00:50:46 -04:00
RightPanel.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
RightPanelStyles.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
RowContextMenu.ts (core) Adding new command Duplicate rows 2022-04-20 17:29:48 +02:00
selectBy.ts (core) Fix summary table titles and linking when source table is hidden by ACL 2022-09-01 19:14:47 +02:00
sendToDrive.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
setupPage.ts (core) i18 2022-09-29 18:02:09 +02:00
shadowScroll.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ShareMenu.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
SiteSwitcher.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
TemplateDocs.ts (core) Redesign examples and templates UI 2021-07-28 12:29:03 -07:00
ThemeConfig.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
Tools.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
tooltips.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
TopBar.ts (core) Comments 2022-10-17 13:38:21 +02:00
TopBarCss.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
transientInput.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
transitions.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
TreeViewComponent.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
TreeViewComponentCss.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
TriggerFormulas.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
UserImage.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
UserItem.ts Improve input team member (#268) 2022-09-21 10:30:54 -04:00
UserManager.ts (core) For team sites, use term 'guest' in place of 'free outside collaborator' 2022-10-05 15:02:32 -04:00
ViewLayoutMenu.ts Export xlsx #256 (#270) 2022-09-14 14:55:44 -04:00
viewport.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
ViewSectionMenu.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
VisibleFieldsConfig.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
WelcomePage.ts (core) Add basic activation page to grist-ee 2022-08-23 10:30:52 -07:00
WelcomeQuestions.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
welcomeTour.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
WidgetTitle.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
widgetTypes.ts (core) move client code to core 2020-10-02 13:24:21 -04:00