Git Product home page Git Product logo

Comments (8)

diraulo avatar diraulo commented on May 29, 2024 1

There's a method to get list of channel from the slack API https://api.slack.com/methods/channels.list

from websiteone.

freeranger avatar freeranger commented on May 29, 2024

That is very true!
It would be good if the "connected on" box on every project page had links to, where applicable:

  • the repo(s)
  • the PM tool
  • the CI build(s) (showing the red/green status next to the link)
  • the slack channel(s)
  • the deployed prod site
  • other deployed instances - Dev/uat

from websiteone.

tansaku avatar tansaku commented on May 29, 2024

would be awesome if there was a live feed of slack chat on each project page ... https://github.com/improvi/slack-chat

from websiteone.

tansaku avatar tansaku commented on May 29, 2024

would be great to have the slack api give a list of project channels to connect project to chat room:

from websiteone.

mattlindsey avatar mattlindsey commented on May 29, 2024

I think I'll work on this ticket.

from websiteone.

mattlindsey avatar mattlindsey commented on May 29, 2024

@tansaku: @mtc2013 and I discussed 2 ways of approaching this: 1) Fetch list of rooms every time project page is visited 2) Fetch list of rooms once a day in rake job and load a table.

Which method sounds best? Or is there another way? We don't have memcached or redis running, do we?

from websiteone.

tansaku avatar tansaku commented on May 29, 2024

@mattlindsey the rake task sounds like a good way to go if performance is bad ... however simplicity suggests we shouldn't prematurely optimize - we only hit the API on the project edit page right? and then we could make that an ajax task triggered on opening the dropdown to select the slack chat room ... even that's a premature optimization - I think hitting it from the project edit page is reasonable.

We don't have memcached or redis set up for WSO (we do for others) and that feels like another moving part to avoid - although I could be wrong there - perhaps I'm too database-centric

However we're probably on good lines if we go for simplest first and then see about performance optimizations later ...

from websiteone.

tansaku avatar tansaku commented on May 29, 2024

@mattlindsey should we throw this back into "ready"?

from websiteone.

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.