Git Product home page Git Product logo

matterpoll's Introduction

Matterpoll Logo

Build Status Code Coverage Go Report Card CII Best Practices Releases

Matterpoll is a plugin for Mattermost. It allows users to create poll by using a slash command.

Matterpoll plugin screenshot

Installation

In Mattermost, open Product Menu > Marketplace (Main Menu > Marketplace on Mattersmot v5) to install and configure Matterpoll.

For offline/air gapped installations, you can obtain a .tar.gz from https://github.com/matterpoll/matterpoll/releases. In Mattermost, open System Console > Plugins > Plugin Management > Upload Plugin to upload the .tar.gz. Upgrades can be performed by importing the lastest release and confirm overwriting of the duplicate plugin ID.

Settings

After the plugin has downloaded and been installed, click the Configure button. Alternatively, you can configure Matterpoll from System Console > Plugins > Matterpoll.

  • Trigger Word: Change trigger word for poll command. (default /poll)
  • Experimental UI: Enable new experimental UI for poll posts:
    • Change button color of voted answers
    • Hide poll management buttons (Add Option / Delete Poll / End Poll) from users who don't have permission

Usage

/poll "Is Matterpoll great?" creates a poll with the answer options "Yes" and "No". You can also leave out the double quotes and just type /poll Is Matterpoll great?.

If you want to define all answer options by yourself, type /poll "Is Matterpoll great?" "Of course" "In any case" "Definitely"- Note that the double quotes are required in this case.

/poll show up a modal for creating a poll.

Poll Settings

Poll Settings provide further customisation, e.g. /poll "Is Matterpoll great?" "Of course" "In any case" "Definitely" --progress --anonymous. The available Poll Settings are:

  • --anonymous: Don't show who voted for what at the end
  • --progress: During the poll, show how many votes each answer option got
  • --public-add-option: Allow all users to add additional options
  • --votes=X: Allow users to vote for X options

Localization

Matterpoll supports localization of user specify messages. You can change language of poll message by setting it in System Console > Site Configuration > Localization > Default Server Language. Language of messages that only a user can see (e.g.: help messages, error messages) use the language set in Settings > Display > Language (Account Settings > Display > Language on Mattermost v5).

The currently supported languages are:

  • English
  • French
  • German
  • Japanese
  • Korean
  • Polish
  • Russian
  • Simplified Chinese
  • Spanish
  • Traditional Chinese

Troubleshooting

Pressing the poll buttons does nothing and creates a 400 error in the Mattermost log

Make sure to set your Site URL properly. For example, this error happens in case you set SiteURL starting with http://, in spite of running Mattermost server through https.

Contributing

We welcome contributions for bug reports, issues, feature requests, feature implementations and pull requests. Feel free to file a new issue or join the Matterpoll channel on the Mattermost community server.

For a complete guide on contributing to Matterpoll, see the Contribution Guideline.

matterpoll's People

Contributors

bbodenmiller avatar burasuk avatar chiefabbot avatar dependabot-preview[bot] avatar dependabot[bot] avatar duboism avatar ducttapecoder-vt avatar ernestoittig avatar hanzei avatar jbattistispiria avatar justinegeffen avatar kaakaa avatar khwolf avatar ldidry avatar lieut-data avatar mmslkr avatar mouson avatar potatogim avatar sharuru avatar tw-ayush avatar vorlif avatar yoikeda 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.