No description
Find a file
narender2031 e78a0078a7
[deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271)
* 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

* 🐞 Channel List bug in mobile view

* changes in joining request responses

* 🛠  Request Managers Frontend ready

* changes in routes for adding and removing remembership

* 🚀 New routes implemented for request manager

* fix issues

* changes in api for remove membership

* Merge conflict resolved

* 🐞 Channel List bug in mobile view

* changes in joining request responses

* 🛠  Request Managers Frontend ready

* changes in routes for adding and removing remembership

* 🚀 New routes implemented for request manager

* fix issues

* changes in api for remove membership

* 🛠Optimizing for CodeClimate

* 🛠Optimizing again for CodeClimate

* 🛠Optimizing again 2 for CodeClimate

* 🛠 Added more test cases

* 🛠 Optimizing code

* 🚀 Action to open setting page added

* 🛠  Dummy page added for chat setting

* add JSON routes for chat channel settings

* Integrate chat channel settings API with UI

* 🐞 Channel List bug in mobile view

* 🛠  Request Managers Frontend ready

* changes in routes for adding and removing remembership

* 🚀 New routes implemented for request manager

* fix issues

* 🐞 Channel List bug in mobile view

* 🛠  Request Managers Frontend ready

* changes in routes for adding and removing remembership

* 🚀 New routes implemented for request manager

* fix issues

* 🛠Optimizing again for CodeClimate

* 🚀 Action to open setting page added

* 🛠  Dummy page added for chat setting

* add JSON routes for chat channel settings

* Integrate chat channel settings API with UI

* Fix PR requested changes

* Add JSDoc documentation to exported functions

* fix/add rspec test cases

* refactor channelSettinngs render part

* add test cases for chat channel settings component

* fix code-climate

* add rest component tests

* add more test coverage

* fix code-climate bugs

* add API function test

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
Co-authored-by: Parasgr-code <paras.gaur@skynox.tech>
2020-06-10 16:58:37 -04:00
.gems Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
.github Update dependabot.yml (#8143) 2020-05-28 13:45:47 -05:00
.vscode Add nickytonline.dev-to-extension-pack to VSCode recommendations (#6437) 2020-03-04 14:22:28 -05:00
.yarn/releases Update yarn version (#6857) 2020-03-26 18:08:49 -04:00
app [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
bin Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
config [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
datadog [deploy] dont configure Honeycomb if its disabled (#6618) 2020-05-11 11:59:18 -05:00
db Add json template to Pages (#8357) 2020-06-10 09:42:15 -05:00
docs Flaky Spec Fix: Clear Elasticsearch Data For js: true Specs to Fix Server Errors (#8388) 2020-06-10 14:12:19 -05:00
lib Use Rails 6 new features in the code (#8342) 2020-06-08 16:06:29 -04:00
log Initial commit 2018-02-28 16:11:08 -05:00
public [deploy] Remove unnecessary bulk from image assets (#8306) 2020-06-05 17:51:06 -04:00
scripts Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
spec [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
vendor Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
.codeclimate.yml Loosen CodeClimate's method-lines rule (#7980) 2020-05-20 16:44:35 +02:00
.dockerignore Set --disable-march-tune-native when building sassc. (#8229) 2020-06-01 22:25:47 -05:00
.editorconfig Export articles/posts (#576) 2018-11-21 11:13:36 -05:00
.erb-lint.yml [deploy] Remove Unused Pro Memberships (#7894) 2020-05-20 11:54:30 -05:00
.eslintignore Add app/assets/javascripts/lib to eslintignore (#4323) [ci skip] 2019-10-08 18:38:59 -04:00
.eslintrc.js Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
.gitattributes Topbar icons states (#7012) 2020-04-02 11:50:05 +02:00
.gitdocs.js Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.gitignore Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
.gitpod.dockerfile Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
.gitpod.yml [deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
.nvmrc Revert "[deploy] Upgrade nvm to use node 12.17 (#8209)" (#8219) 2020-06-01 11:54:47 -04:00
.postcssrc.yml Initial commit 2018-02-28 16:11:08 -05:00
.prettierignore Use yarn 1.21.1 (#5786) 2020-02-05 17:04:06 -05:00
.rspec Initial commit 2018-02-28 16:11:08 -05:00
.rubocop.yml Routine rubocop fixes (#8346) 2020-06-08 17:37:25 +02:00
.rubocop_todo.yml Routine rubocop fixes (#8346) 2020-06-08 17:37:25 +02:00
.ruby-version Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
.simplecov Update .simplecov (#8078) 2020-05-27 14:37:21 -04:00
.slugignore Add .slugignore (#6528) 2020-03-10 14:43:48 -04:00
.travis.yml Flaky Spec Fix: Set Profile Image to Nil to Avoid Server Errors in js Specs (#8350) 2020-06-09 08:48:21 -05:00
.validaterc Validate API OpenAPI 3 spec (#6519) 2020-03-09 16:40:05 +01:00
.yardopts Adds Ruby source code documentation to docs.dev.to (#2656) 2019-05-02 13:50:58 -04:00
.yarnrc Update yarn version (#6857) 2020-03-26 18:08:49 -04:00
babel.config.js [deploy] Update webpacker configuration (#8004) 2020-05-25 12:03:18 -04:00
CODE_OF_CONDUCT.md Replace ban/banned with suspend/suspended in user facing text (#5816) [deploy] 2020-02-10 10:12:53 -05:00
config.ru Remove honeycomb code from config.ru (#2378) 2019-04-11 11:58:13 -04:00
container-compose.yml Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
Containerfile Set --disable-march-tune-native when building sassc. (#8229) 2020-06-01 22:25:47 -05:00
CONTRIBUTING.md Fix dev.to link (#8097) 2020-05-28 10:00:47 +02:00
docker-compose.yml Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
Dockerfile Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
empty-module.js Initial commit 2018-02-28 16:11:08 -05:00
Envfile Make Devise.mailer_sender configurable (#8246) 2020-06-08 12:02:07 +02:00
Gemfile Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
Gemfile.lock Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js Import jest-axe matchers via setupFilesAfterEnv config property (#8217) 2020-06-01 16:37:32 +02:00
jsconfig.json [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
LICENSE.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
package.json [deploy] Bump @percy/agent from 0.26.8 to 0.26.9 (#8325) 2020-06-10 15:55:49 -05:00
Procfile remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
Procfile.dev Adapt dev env to use remote box (#7742) 2020-05-13 10:21:00 -04:00
Procfile.dev-hot Initial commit 2018-02-28 16:11:08 -05:00
Rakefile Code cleanups (#659) 2018-08-07 11:00:13 -04:00
README.md Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
release-tasks.sh [deploy] Consolidate Setup Tasks to a Single Rake Task (#8065) 2020-05-27 11:59:07 -05:00
testSetup.js Import jest-axe matchers via setupFilesAfterEnv config property (#8217) 2020-06-01 16:37:32 +02:00
yarn.lock [deploy] Bump @percy/agent from 0.26.8 to 0.26.9 (#8325) 2020-06-10 15:55:49 -05:00


DEV

DEV Community 👩‍💻👨‍💻

The Human Layer of the Stack

ruby version rails version Travis Status for thepracticaldev/dev.to Code Climate maintainability Code Climate test coverage Code Climate technical debt CodeTriage badge Dependabot Badge GitPod badge Netlify badge GitHub code size in bytes GitHub commit activity GitHub issues ready for dev Honeybadger badge

Welcome to the dev.to codebase. We are so excited to have you. With your help, we can build out DEV to be more stable and better serve our community.

What is dev.to?

dev.to (or just DEV) is a platform where software developers write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️

Table of Contents

Contributing

We encourage you to contribute to dev.to! Please check out the Contributing to dev.to guide for guidelines about how to proceed.

Getting Started

This section provides a high-level quick start guide. If you're looking for the installation guide, you'll want to refer to our complete Developer Documentation.

We run on a Rails backend, and we are currently transitioning to a Preact-first frontend.

A more complete overview of our stack is available in our docs.

Prerequisites

Local

Containers

Linux

OS X

Installation Documentation

View Full Installation Documentation.

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

We welcome security research on DEV under the terms of our vulnerability disclosure policy.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see the LICENSE file in our repository for the full text.

Like many open source projects, we require that contributors provide us with a Contributor License Agreement (CLA). By submitting code to the DEV project, you are granting us a right to use that code under the terms of the CLA.

Our version of the CLA was adapted from the Microsoft Contributor License Agreement, which they generously made available to the public domain under Creative Commons CC0 1.0 Universal.

Any questions, please refer to our license FAQ doc or email yo@dev.to.


Sloan, the sloth mascot
Happy Coding ❤️