Git Product home page Git Product logo

Comments (8)

synicalsyntax avatar synicalsyntax commented on June 15, 2024 1

Authentication would definitely be great. We're looking for responses a lot of the time we use a label function, but we can probably have the function return the associated labels if necessary.

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

@zulipbot label "feedback wanted", @zulipbot claim

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

Not sure if we can actually write functions for removing/adding labels, since we need to access the responses...

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

Sure, it'll probably work out.

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

@synicalsyntax working on authentication right now.

from zulipbot.

synicalsyntax avatar synicalsyntax commented on June 15, 2024

@lonerz Eliminated the getIssueLabels function altogether in a5e1f7c and b13e0ed (although it's still in issueReferenced.js), since we can just get the issue labels from the responses and payloads themselves :)

Also, there's only one instance of getLabels (the function that gets the repository labels), and one each of removeLabel and replaceAllLabels, should we really look into eliminating those "duplicate" functions?

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

@synicalsyntax those require .then() which means that we'll have to look into async functions...

from zulipbot.

lonerz avatar lonerz commented on June 15, 2024

@synicalsyntax I went through all the code and I think we got rid of all the duplicate functions. Closing for now.

from zulipbot.

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.