Giter Site home page Giter Site logo

Comments (3)

aadcg avatar aadcg commented on July 18, 2024 1

I think that this is a general issue, and not only related to toggle-modes.

The general formulation of the issue then becomes: how do we display marked suggestions in the prompt buffer? As of today, we use theme:secondary as a background color for the marked suggestion.

The proposed solution is to add checkboxes in addition to the background color. Then, we must justify the need for a second solution to achieve the goal.

I'm leaning towards thinking that the background color suffices and that the checkboxes will amount to visual clutter, but I'm happy to be convinced otherwise! CC @jmercouris.

from nyxt.

jmercouris avatar jmercouris commented on July 18, 2024 1

I think the checkboxes are an easy way for people to understand what is and is not selected. It is in my opinion superior to simply a color. If you overcommunicate something visually, it is probably better than undercommunicating it.

from nyxt.

aadcg avatar aadcg commented on July 18, 2024 1

On second thoughts, I'm convinced. It will also help users mark suggestions with the mouse. There's an important requirement: when prompter:enable-marks-p is t, all suggestions must have empty checkbox as soon as the prompt buffer pops up.

from nyxt.

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.