Code Monkey home page Code Monkey logo

smalljump's People

Contributors

pianostringquartet avatar

Watchers

 avatar  avatar

smalljump's Issues

Node info editing is hacky

Crossposted from: pianostringquartet/prototype#2

I spent some time looking into editing information on a node using e.g. a popover.

The software keyboard causes rendering and placement issues. But there is likely a solution if this is indeed the UI path we want to take.

(Tested on iPad simulator.)

hacky_node_text_edit

UI responsiveness with CoreData + SwiftUI NavigationLink

Crossposted from pianostringquartet/prototype#3

CoreData and SwiftUI's NavigationLink appear not to play nicely together.

Two intermittently observed issues are described below, and I suspect that in both cases CoreData does not finish saving/creating the data before SwiftUI's NavigationLink sends us to the CoreData-dependent screen. Solutions might involve a queue or the hack workaround described here: https://stackoverflow.com/a/64051395

(There are other known issues with CoreData + SwiftUI, e.g. crashing when a reference is deleted

1. 'Plus ball' unresponsive when graph first created

When we create a new graph, occasionally we are unable to immediately move the 'plus ball' (which, when dragged, becomes a node). The UI element itself is unresponsive -- e.g. dragging the plus-ball does not trigger onDrag callback, clicking does not trigger onTap callback etc.

To do: confirm on different devices; may just be computer performance issues?

buggy_core_data_graph_editor

2. 'Plus ball' not created in time before we navigate to graph creation screen

When we create a new graph, occasionally (when?) the CoreData saving of the 'plus ball' is not completed before SwfitUI NavigationLink sends us to the graph creation screen. The result is that we end up with only a blank screen and a Back button. (Returning to the graph selection screen then going back to the created graph solves the issue.)

To do: determine when exactly this happens and how to fix it. Might be solvable by a queue or awaiting the CD mutation completion.

Screen Shot 2020-11-07 at 9 18 36 PM

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.