GithubHelp home page GithubHelp logo

roblox / community-canned-replies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discourse/discourse-canned-replies

0.0 2.0 0.0 1.75 MB

Adds a means to insert templates from the composer for Post Approval and Community Sages

License: GNU General Public License v2.0

JavaScript 51.43% Ruby 36.17% Handlebars 10.25% SCSS 2.14%

community-canned-replies's Introduction

Plugin: community-canned-replies

Adds a means to insert templates from the composer for developer community programs, such as Post Approval and Community Sage.


Features

Clones discourse-canned-replies so we can have 2 sets of canned replies: one visible and editable for staff (i.e. discourse-canned-replies); another visible and editable for DevRel community group users (i.e. this plugin; for Post Approval and Community Sage).


Impact

Community

The post approval team can more swiftly, efficiently and effectively give feedback on post approval requests, because it takes less time to formulate a proper response to a lacking request.

Other community programs can make use of the canned replies to more quickly provide feedback to users on any other aspects than post approval requests.

Internal

It helps the developer community programs scale better and they can provide feedback more quickly through canned replies, which means that bug reports and feature requests are surfaced more quickly and are of higher quality after they have passed through post approval.

Resources

There is no significant performance overhead since only a small fraction of users will use canned replies.

Some work is performed to compute whether the user should be shown the canned replies both on the back-end and front-end, but this is very negligible.

The storage for the canned replies themselves is also very negligible (just the storage space of a few dozen posts at most).

A very minor amount of extra bandwidth will be used to cache the additional front-end assets.

Maintenance

Whenever discourse-canned-replies updates, the changes have to be merged over manually to this plugin when desired, which will be a tedious process. However, it is not required to merge over every update to the parent plugin, and it is deemed that few changes will be necessary to the plugin unless a future Discourse update breaks the plugin.


Technical Scope

Adds some custom user fields that determine whether the user can see/edit canned replies.

The front-end shows the button and list of canned replies based on these capabilities of a user.

The canned replies are stored as a custom plugin store that is indexed by the name of the plugin, so it will not interfere with the regular canned replies plugin. All other parts of the plugin (i.e. classes, modules, files, localization entries, settings) have also been renamed to avoid clashes with the regular plugin.


Configuration

The community_canned_replies_enabled can be used to turn the plugin on/off.

Upon deployment, community_canned_replies_groups should be set to the list of groups that should have view/edit access to the community canned replies button and repository.

The community_canned_replies_everyone_enabled and community_canned_replies_everyone_can_edit should probably not be used for the Developer Forum, as they let everyone use and edit the canned replies respectively.

Copyright 2020 Roblox Corporation

community-canned-replies's People

Contributors

adrapereira avatar arpitjalan avatar auromun avatar awesomerobot avatar buildthomas avatar coding-horror avatar cvx avatar danibgz avatar davidtaylorhq avatar dax74 avatar eviltrout avatar gschlager avatar hnb-ku avatar jjaffeux avatar justindirose avatar lalehmb avatar lis2 avatar majakomel avatar markokaartinen avatar nbianca avatar nlalonde avatar oblakeerickson avatar pfaffman avatar pmusaraj avatar rishabhnambiar avatar samsaffron avatar sidval avatar tgxworld avatar zogstrip avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.