Code Monkey home page Code Monkey logo

mattermost-plugin-replace's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mattermost-plugin-replace's Issues

When using s/goo/good in a reply thread, post the ephemeral message to the reply thread

Describe the bug
When using s/goo/good in a reply thread, post the ephemeral message to the reply thread

To Reproduce
Steps to reproduce the behavior:

  1. Open a reply thread
  2. Post goo day!
  3. Post s/goo/good to fix the typo

image

Expected behavior
Post the ephemeral message in the reply thread (which would also appear in the center channel). This would be consistent with using /away or /offline in the reply thread, for instance

image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

Using s/goo/good results in a pending message

Describe the bug
Using s/goo/good results in a pending message for the s/goo/good message

To Reproduce
Steps to reproduce the behavior:

  1. Post goo day!
  2. Post s/goo/good to fix the typo

Expected behavior
goo day! replaced with good day!

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

Additional context
This is blocked by mattermost/mattermost#10883, just opening for tracking purposes

limit s/foo/bar usage only when starting a new line

Description of the bug
the command does not only trigger when calling s/foo/bar on a new line. Instead it triggers, when a / is used in a message somewhere. Filing this as a bug because I do not think it was intended based on the statement that the replacement should work "sed-like"

To Reproduce

  1. in mattermost, type "Hello world"
    2.On the next line write Hello/hello
  2. see the text replaced.

Expected behavior
the replacement should only trigger when:

  • the pattern s/a/b is found at the beginning of a message
  • there are no other parts to the message.

This is using the release version 0.2

When using the command in reply threads, replace text for the most recent reply in thread

Repro:

  1. Post a message hey test
  2. Post a message This is a test
  3. For the message you posted in step 1, open its reply thread by clicking the "reply arrow" associated with that post

image

  1. Type /s test/testing in the reply thread on the right-hand side

Observed: Message posted in step 2 is updated.
Expected: Message posted in step 1 is updated, given it's in the reply thread.

image

Release v0.2.1: content unclear

The release is called v0.2.1 however inside the release is a tar file containing a version number of 0.2.0.
Which version am I actually running when using that?

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.