Coder Social home page Coder Social logo

mattermost-plugin-analytics's People

Contributors

jasonblais avatar manland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mattermost-plugin-analytics's Issues

Minor updates to analytics output report

In the attached screenshot, propose using the following text updates

image

Analytics since February 19, 2019, at 21:59.

2 users sent 21 messages in 4 channels. 21 (100%) of the messages were in public channels, 0 (0%) in private.

Moreover, 0 files were sent for a total upload size of 0 B.

<emoji> Top Users
- <emoji> @sysadmin: 19 messages (90% of total) with 0 replies.
- <emoji> @user-1: 2 messages (9% of total) with 0 replies.

<emoji> Top Channels
- <emoji> ~Town Square: 16 messages (76% of total) with 0 replies.
- <emoji> ~nostrum: 3 messages (14% of total) with 0 replies.
- <emoji> ~utem: 1 message (9% of total) with 0 replies.

Help prepare an outline of best practices for plugin development

I see lots of great issues opened here, including HA, doc updates, logos, etc, which you probably discussed with Hanzei.

It would be absolutely awesome if you were interested helping prepare a list of items you discussed, which we could then share as best practices with other plugin developers.

Console errors

{"level":"error","ts":1558821732.1550608,"caller":"mlog/sugar.go:23","msg":"Error rendering chart","plugin_id":"com.github.manland.mattermost-plugin-analytics","err":"Not enought time to draw a chart 1 for url /line.svg?DM=10&DM=113&DM=1&DM=33&DM=30&DevOps=20&IPM=19&Off-Topic=3&Operations=7&Town+Square=12&amp=&amp=&amp=&amp=&amp=&amp=&amp=&amp=&amp=&amp=&date=1555414366"}

Update readme

Add:

  • New screenshot
  • Explain configuration
  • Contributing
  • Badges

no chart

Error: "Not enought time to draw a chart 1 for url"

can't post mesage: Post.IsValid:

Get Error "An error occured!"
On logs get:
level":"error","ts":1560263896.769223,"caller":"mlog/sugar.go:23","msg":"can't send analytics","plugin_id":"com.github.manland.mattermost-plugin-analytics","err":"can't post mesage: Post.IsValid: Некорректный тип, id=kxkc89dezb84dqqe1pyuacepoh"}

past events/limit access

Interesting plug-in! A couple things I just wanted to note. I did notice that it didn't pull analytics on past events. It only reported on things that happened since I installed in the plugin. Also - the analytics aren't something I would want everyone to see. It would be cool if I could lock it down/limit it to only certain users and/or a certain channel. Thanks for the hard work!

History size

No cleanup possible today. Find a way to clean history sessions (maybe max retention in configuration?)

Compatible HA

Today plugin retain local stats in memory (and store it every minute in KVStore). Find a way to make it HA compatible.

Help prepare an outline of best practices for plugin development

I see lots of great issues opened here, including HA, doc updates, logos, etc, which you probably discussed with Hanzei.

It would be absolutely awesome if you were interested helping prepare a list of items you discussed, which we could then share as best practices with other plugin developers.

Plusalize post

Now : "1 messages" or "0 files"

Expected : "1 message", "2 messages", "0 file", "5 files"

Contextualize report

If report come from command in a channel, show only stats for this channel. Idem for user.

Add logo

And point to it in default configuration logo for bot

Improvement: Fix the layout

image

This can be improved. Since we do not know much of the text in the following is not readable, maybe there is a better UI/UX that can be used here.

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.