Coder Social home page Coder Social logo

Comments (6)

Uncommon avatar Uncommon commented on May 29, 2024

Apparently Xcode uses some trickery to achieve its full-height toolbar item.

http://stackoverflow.com/questions/6169255/is-it-possible-to-draw-in-the-label-area-of-nstoolbar

from xit.

Uncommon avatar Uncommon commented on May 29, 2024

Since I'm working on this now, my plans:

  • Show info about user-initialed git operations: load history, all write operations (commit, merge, etc)
  • Updates for in-progress and complete
  • A button will open a popover with the raw output from the last (or in-progress) operation

Technical challenges:

  • As mentioned above, Xcode uses some hack to get around the limitation that there's no standard way for a toolbar item to draw in the label area. I may go with Xcode 4.1's overlay window approach.
  • A custom flexible space item will be needed to keep the status item centered.

from xit.

Uncommon avatar Uncommon commented on May 29, 2024

On the output popover: what if the output is really long, like the history of a very large repository? Truncate? Is it even useful to show output for that case?

from xit.

laullon avatar laullon commented on May 29, 2024

put the output only on errors.

from xit.

Uncommon avatar Uncommon commented on May 29, 2024

That's a good idea, at least for loading the history. I think I still want to put the successful output for cases where it will always be short.

from xit.

Uncommon avatar Uncommon commented on May 29, 2024

Basic version is done in 66ba8e4. Refine it more when we hit other features that use it.

from xit.

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.