docbrown/app/javascript
Sarthak Sharma 6dee5edd0e
🚀 Ability to allow tag moderators to create chat channels (#9741)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* Merge conflict resolved

* UI completed for Create Channel

* API for create channel & invitations

* 🚀 Combining Backend and Frontend

* Test cases added

* UI completed for Create Channel

* API for create channel & invitations

* 🚀 Combining Backend and Frontend

* Test cases added

* fix suggestions

* add test cases

* replace mod_relations_admin to tag_moderator

* fix test cases

* refactor and fix code climate issues

* Update app/controllers/chat_channel_memberships_controller.rb

Co-authored-by: Michael Kohl <me@citizen428.net>

* fix suggestions

* renaming the methods

* Update app/javascript/chat/chat.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Update app/javascript/chat/components/createChatModal.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* add jsDoc and add validation

* add PR suggestions

* renmae the file name to  PascalCase

* add styled component

* refactor channel button component

* fix specs

* fix code smell issues

* fix file name issue

* handle error message

* add jsDoc

* Update app/controllers/chat_channels_controller.rb

Co-authored-by: Michael Kohl <me@citizen428.net>

* refactor chat_channel_helpers

* update old hash to new hash

* Update app/javascript/chat/components/ChannelButton.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Update app/views/chat_channels/index.html.erb

Co-authored-by: Michael Kohl <me@citizen428.net>

* fix syntax error

* Update app/views/chat_channels/index.html.erb

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Policies changed

* The Disable Button issue 🐞

* Fixing Disabled button Issue 🐞

* New group doesn't show up 🐞

Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Michael Kohl <me@citizen428.net>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-12-08 13:10:36 +07:00
..
.storybook Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
actionsPanel Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
admin [EOY2020 Issue] Default new forems to Email Authentication only (#11696) 2020-12-02 16:49:07 -05:00
analytics Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
article-form Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
articles Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
chat 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
CommentSubscription Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
common-prop-types 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
contentDisplayPolicy Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
crayons Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
githubRepos Deprecate old button stylings with Crayons buttons (#10694) [deploy] 2020-10-14 07:28:41 -07:00
icons Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
leftSidebar [deploy] Fix tag display bug and crayonsify area (#10868) 2020-10-20 16:07:17 -04:00
listings Headings and alt text roundup (#11721) 2020-12-04 09:41:45 -05:00
modCenter Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
onboarding Fixed some frontend tests causing unhandled rejection errors (#11627) 2020-11-26 06:11:25 -05:00
organization Fixed Error: Not implemented: window.computedStyle(elt, pseudoElt) console error in frontend tests. (#11633) 2020-11-26 16:55:33 -05:00
packs Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
podcasts Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
profileDropdown Fix TypeError: userData is null in blockButton.js (#9299) 2020-07-14 07:28:53 -07:00
readingList Fix frontend test setup file (#11623) 2020-11-25 15:27:06 -05:00
responseTemplates Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
Search Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
searchableItemList Filter by tags of reading list items not tags you follow (#11394) 2020-11-13 10:45:32 -05:00
shared/components Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
sidebar-widget Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
Snackbar Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
utilities Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
.eslintrc.js Added a comment mentioning that index.js overrides are for barrel files (#8978) 2020-06-29 10:52:35 -04:00
netlify.toml Update Netlify config to handle stylesheet changes for Storybook (#9753) 2020-08-12 11:02:14 -04:00