Git Product home page Git Product logo

Comments (4)

yatharthx avatar yatharthx commented on June 11, 2024

I would love to pick this one as a first-good-start, maybe! Could you please guide me on what behaviour are we expecting here?

from ratpack.

threepointone avatar threepointone commented on June 11, 2024

file open

like this, but with a single option. `New File`. should do the same as dragging a file into the window.

I don't think this is as simple as you'd imagine, mostly because it involves communicating between the main and renderer process, and also my code is a bit shit right now. Feel free to try!

from ratpack.

yatharthx avatar yatharthx commented on June 11, 2024

True. I was reading the src yesterday and found it little intimidating. :D
Sure, I'll try this and maybe come back with a PR. Thanks for the clarification, anyway :)

from ratpack.

yatharthx avatar yatharthx commented on June 11, 2024

Hey, I got a couple of things over here:

  1. Do we need the Menu to be supporting Win and Linux, too? Because there is some little tweaking involved to make that work. Or just MacOS would be fine as for now?
  2. Shall we apply a file type filter? So that users are able to pick just the .js files.
  3. A little help over here on the approach - Shall we recreate the window on file select (from Menu) passing the file path to the renderer process? Or shall we re-render the React component (if we use IPC)? Or I'm not sure if I'm getting it completely wrong.

from ratpack.

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.