Coder Social home page Coder Social logo

Comments (7)

trstringer avatar trstringer commented on May 20, 2024

Thanks for opening up this issue. And wow good catch for #8 for denials! I'll fix that asap.

Regarding the original issue, I'm slightly inclined to continue the workflow of having multiple comments for additional context.

So you feel as though it would be better if this was a single comment?

denied.

Here is the reason that it was denied.

from manual-approval.

Phoenix616 avatar Phoenix616 commented on May 20, 2024

So you feel as though it would be better if this was a single comment?

denied.

Here is the reason that it was denied.

Yes. The reasoning behind this would be that with the current implementation one would have to pre-write the approval/denial reason somewhere and then copy it into another comment after posting the approval/denial comment if one would want the reasoning to be available instantly. Which imo. can be important as people might be pretty fast in checking especially if something was denied so you would want the reason to be there too as soon as possible.

from manual-approval.

trstringer avatar trstringer commented on May 20, 2024

Good point. Maybe I should convert this into a slash command. So it would match on /deny, /lgtm, etc. What do you think? Would be easier to see "hey that's a command that will be handled" as opposed to just a normal string like current.

from manual-approval.

Phoenix616 avatar Phoenix616 commented on May 20, 2024

Hm, I kinda like the distinction but if anything I think that should be optional or configurable. (Or just apply to comments that have additional text) Otherwise I could imagine that such a change could break quite some people's workflows/lead to delays until the change actually reached everyone who's working with it.

from manual-approval.

trstringer avatar trstringer commented on May 20, 2024

Yeah I definitely can't break existing v1 users. I'd have to put the slash command behind a feature flag.

from manual-approval.

alex-ld avatar alex-ld commented on May 20, 2024

Reading this thread makes me think what if keywords for both approval and denial occur at the same time in the comment? Which one will take precedence?

from manual-approval.

Phoenix616 avatar Phoenix616 commented on May 20, 2024

Reading this thread makes me think what if keywords for both approval and denial occur at the same time in the comment? Which one will take precedence?

Shouldn't be an issue imo if only the first line is checked like in my original suggestion. Otherwise I would expect to eifher the first occurence to count or an error beign returned about ambigiousness.

from manual-approval.

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.