GithubHelp home page GithubHelp logo

jack9966qk / electron-aria2 Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 4.0 8.96 MB

Download utility built upon aria2 and Electron https://jack9966qk.github.io/electron-aria2/

License: GNU General Public License v2.0

JavaScript 5.46% CSS 0.23% HTML 0.76% TypeScript 93.55%
aria2c electron react-redux typescript

electron-aria2's People

Contributors

jack9966qk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

electron-aria2's Issues

Options available for global settings and task

Currently, all options available in the input file are displayed in global options and task options dialogs. This does not seem to match exactly what's available for all scenarios, since more options seem to available, and not all of the options match the type of task (e.g. Bittorrent specific options).

Display issues with notistack Snackbars

Despite looking perfect in notistack online demos, the Snackbars it displays in the app are always full width, with no rounded corners. Extra margin from nonexistent Snackbar icon is another minor issue.

Could be solved by injecting CSS (setting flex-grow: 0 to snackbar items and adding the rounded corners), but it does not look like the correct way to do. Current implementation doesn't look very good either.

Will either fallback to MUI Snackbar, or investigate into the issue more.

`AriaJsonRPC` object, Redux store, and connection status

Fields in Redux store is currently not very clear. hosturl and secret are fields indicating the server to be connected to, but not necessarily active connection. rpc is a mutable object, and rpc !== undefined when connection is active. Other fields such as tasks and version contain meaningful values only if connection is active.

Change the Redux store and relevant modules so that:

  • Store contains only immutable, pure data, possibly by removing rpc from the store
  • Values of all fields are consistent to the current connection

It might be preferable to manage AriaJsonRPC objects in component states only, data can be passed between components with props and callbacks.

Tree view for files

Display a tree given files in a task, which can be used in task details and task preview.

Loading time of `OptionFields`

With a large number of text fields to render, OptionFields takes quite some time to load, causing noticeable delays when opening dialogs for settings and new tasks.

This can possibly be addressed by rendering the fields only when its section is expanded, but it is more like a treatment to the symptom itself: even with many options, it shouldn't take this long to render.

It feels like another React Component related issue.

Batch add new task

Enable users to add multiple tasks at the same time, from URL's separated with commas/line breaks and/or an aria2c input file.

Ability to connect to another server

UI and logic to make a new connection to another server, with user specified address and token. This should (finally) make it a client for remote servers.

Unnecessary React child component updates

This currently happens a lot and seems to affect performance (especially in settings page, where all text fields get updated even just one of them is changed).

Need to figure out whether it does cause performance problems, if so, find a way to avoid these unnecessary updates.

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.