Giter VIP home page Giter VIP logo

k4stem's People

Contributors

ahinchman1 avatar bekwam avatar rwalker9997 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

k4stem's Issues

Save is Broken

Got this in the JSON file
"ObjectProperty [value: Lab(version=1, labName=MDLab, labOwner=Carl, inventory=[net.bekwam.k4stem.labassist.Inventory@6f32bc82])]"

  1. File > New
  2. Specify a Lab Name and User
  3. Add a single component
  4. Press save as
  5. Inspect the JSON file

Implement Preferences

Bring up a dialog that displays the app.properties and saving the settings in this newly-created panel will save to the properties

The first -- and only for now -- property should be "Open Last Saved Project on Startup". If set, this property will prompt the app to look for a file and open it automatically. This file location will also be an app.properties.

Implement Open Recent

Use the TornadoFX app.properties Config Properties mechanism to store a list in a file. This file will be at a known location for now (the default) but may move to a .lab-assistant folder in the users home that is created when the app starts if not found.

Style The TableView

Put in a larger font and more generous whitespace padding within the cell

Use TypeSafe CSS

Implement Domain Objects

Implement the domain objects for the Lab in preparation of JSON serialization / deserialization
lab assistant class model

Implement Cut, Copy, and Paste

These should work as with any application. The clipboard pulls and puts values into the various TextFields in the details form.

Implement ComponentView

Build the following window to be launched from double-clicking on a TableView item or from the plus button and any other menu or keyboard shortcut sources

This will be used for both the add operation and the edit update operation (and a detailed view use case too)
k4stem_labassistant_component_view_1

Add Task to Load and Store Operations

Add an HBox containing a ProgressBar and a Label. These will be bound to Task properties supporting the Tasks for the load and store operations.

The load method should handle both the success and failure causes. This means implementing the ui and the fail functions.

fun load() {  // and store()
  runAsync {
    updateMessage("loading components")
    updateProgress(4.0, 1.0)
    loadComponents()
  } ui {
    updateJavaFXProperties()
  }  fail {
    // show dialog
  }

Set Selected Style

The TableView doesn't retain the selection so it's not clear which of many items are about to be deleted by the time you get the mouse to the - button

Fix Form Validation

On the data entry page, only Name and Type are required. If either is missing, notify the user when the user presses save.

The optional fields should not hold up the saving. It's ok to put in default values of 0 in places for now.

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.