GithubHelp home page GithubHelp logo

Comments (7)

rusenask avatar rusenask commented on July 24, 2024

Hi,

Sounds awesome! Yeah, I guess notifications would be a nice first step as a new package here https://github.com/keel-hq/keel/tree/master/extension/notification.

Regarding approvals (bot stuff) it might be more tricky. If we get notifications in I could try refactoring bot package to be more "app agnostic" since in theory it shouldn't matter where the message is coming from (slack, hipchat, rocketchat). This would save a lot of time in the future as more chat integrations are being added.

If you have any questions or need help with anything, please let me know :)

from keel.

glower avatar glower commented on July 24, 2024

Hi, thx for the comment, the PR is out, hope it is all ok (my first PR for a open source project). Add a new notification provider was very easy. It could be cool to have similar system for the approvals bots. If you have time for refactoring its cool, otherwise I have time to do it as well, if it is ok for you.

from keel.

rusenask avatar rusenask commented on July 24, 2024

Hi, notifications PR looks good, however I don't use hipchat to test it out :) the problem with approvals and bot is that it uses two interfaces (slack real time messaging) and another slack webhooks based client.

I will move slack specific functions to a subpackage as the first step. Then, we will see how much is duplicated as I understand message structure might be different (bot name included or not).

from keel.

glower avatar glower commented on July 24, 2024

Cool, thx for the fast code review. I testet it with HipChat. I just did small refactoring by myself, If you wait for 5 min I will make a PR for it and you can have a look (just decline if you dont like it). I just moved all the bot code to some sub module. I don't think I can share any code from the slack.

from keel.

rusenask avatar rusenask commented on July 24, 2024

from keel.

glower avatar glower commented on July 24, 2024

I think it is a good idea. So now, as second approval bot is implemented I can see some patterns. We can try to define a meaningful interface for a bot. I would like to work on it. For now I think you can close this issue

from keel.

rusenask avatar rusenask commented on July 24, 2024

thanks @glower !

from keel.

Related Issues (20)

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.