Code Monkey home page Code Monkey logo

Comments (6)

robellegate avatar robellegate commented on June 18, 2024 1

This could possibly be implemented via #70, but with the addition of re-generating the commit message based on user feedback.

from opencommit.

di-sukharev avatar di-sukharev commented on June 18, 2024

@robellegate thanks for that! do you want to make a PR? I would play instead with the few-shot examples in the prompt, maybe it can be solved more UX friendly.

if not — I dont think #70 is the way to go, cause we have oco hook set which allows you to edit messages in your IDE of choice when running git commit (with no -m flag) or any alias you have

if there is no easier way — we could do something like this:

  1. create a config ASK_PURPOSE=boolean, default false
  2. if ASK_PURPOSE=true => before going to openAI api for the message we prompt user for sharing the purpose

from opencommit.

sebastienfi avatar sebastienfi commented on June 18, 2024

Then it would ask the purpose for every commit... I'd rather have something that's set per-commit.

from opencommit.

robellegate avatar robellegate commented on June 18, 2024

from opencommit.

sebastienfi avatar sebastienfi commented on June 18, 2024

That's why I thought an optional argument would be the best solution. However, I could also see this working with improved UI/UX with an edit option that opens up a conversational chat where the changes the user wants made to the commit message are done via chat instead of direct editing of the commit message.

It seems a better option. That doesn't seem complex to implement given cleye documentation, @robellegate would you like to push a PR?

from opencommit.

github-actions avatar github-actions commented on June 18, 2024

Stale issue message

from opencommit.

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.