GithubHelp home page GithubHelp logo

amatino-code / amatino-mac Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.44 MB

[Under Construction] MacOS Amatino client application

Swift 99.20% HTML 0.80%
accounting cocoa cocoa-framework double-entry double-entry-accounting double-entry-bookkeeping macos osx swift

amatino-mac's People

Contributors

hwjeremy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

amatino-mac's Issues

tabulated input fields do not adapt to unit fraction

Global and Custom units may have arbitrary minimum fractions. For example a U.S. Dollar's smallest fraction is cents (two fractional digits) while a Bitcoin might have a Satoshi as its smallest fraction (six fractional digits). While the Amatino API fully supports such arbitrary fractions, Amatino Mac is currently hard-coded with two fractional digits. For example, in TabularAmountInput:

init(
        frame frameRect: NSRect,
        side: Side
) {
        self.side = side
        super.init(frame: frameRect)
        numberFormatter.locale = Locale.current
        numberFormatter.numberStyle = .decimal
        numberFormatter.currencySymbol = nil
        numberFormatter.minimumIntegerDigits = 1
        numberFormatter.minimumFractionDigits = 2 // <- bad!
        numberFormatter.maximumFractionDigits = 2 // <- bad!

//...

To resolve this issue, various input classes will need to be able to receive and adapt to supplied Global and Custom unit fractional digit sizes.

responder chain reverses after shift-tabing from ledger debit input

When tabbing along the ledger input row, all is well until you attempt to reverse shift-tab back from the debit input field. A further shift-tab will take you from the account field to the debit field again. This appears to be a result of a monkey-patch applied to the tabular account selection NSView subclass, which itself "solved" ๐Ÿ™„ a bug wherein the tabular account selection would not enter the responder chain at all.

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.