GithubHelp home page GithubHelp logo

ccextractor / flood_mobile Goto Github PK

View Code? Open in Web Editor NEW
95.0 10.0 126.0 3.83 MB

GSoC 21' @CCExtractor. A modern mobile UI for various torrent clients with a Node.js backend and Flutter frontend.

License: MIT License

Java 0.02% Objective-C 0.12% Dart 99.26% Swift 0.17% HTML 0.16% Ruby 0.28%
dart flutter torrent rtorrent rtorrent-flood qbittorrent transmission flutter-app hacktoberfest

flood_mobile's People

Contributors

adizcode avatar akshatji800 avatar amitamrutiya2210 avatar antotomabraham avatar ashish-ai avatar ayush-mahawar26 avatar divz-codess avatar kunjkanani avatar letsintegreat avatar manavsarkar avatar mauryaritesh avatar prajwal27 avatar pratikbaid3 avatar procoder16 avatar raysummee avatar sudhanva-nadiger avatar suryagowda avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flood_mobile's Issues

Graph that represents the upload and the download speed.

The Flood Web UI has a graph on the left side of the screen that depicts the upload and the download speed. I want to implement a similar graph(rather a chart) for the same purpose keeping in consideration the Web UI and the Mobile UI theme.

Wrong information displayed in torrent content info.

Describe the bug:
Wrong information displayed in torrent content info i.e beside the 'Size' heading the 'Download Location/Destination' is displayed.

Steps to reproduce the behavior:

  1. Go to 'home-screen' of the app
  2. Click on 'Add torrent' i.e the add floating icon at the bottom right.
  3. Add a torrent.
  4. After adding a torrent click on the torrent tile displaying the info of the torrent added.
  5. You will find a container opening displaying the torrent info in detail.
  6. Check the detail displayed beside the 'Size' heading.

Expected behavior:
Size of the torrent should displayed instead of download location/destination.

Screenshots


Current state

Expected Behaviour

Device Information:
RealMe 7 Pro
OS: [Android]

Are you working on this issue? (Yes)

Snackbar for add new user and add new torrent not working.

Describe the bug
Snackbar for add new user and add new torrent not working.

To Reproduce
Steps to reproduce the behavior:

  1. Try adding a new torrent and no snackbar will appear although it is implemented.
  2. Try adding a new user using the settings option and no snackbar will appear although it is implemented.

Expected behavior
Respective snackbar should appear on adding a new torrent/user.

Null checks and initialization erorrs.

Describe the bug

  • The non-nullable variable '_client' must be initialized.Try adding an initializer expression.
  • A value of type 'RegExpMatch?' can't be assigned to a variable of type 'Match'.
  • The property 'isEmpty' can't be unconditionally accessed because the receiver can be 'null'.
    Try making the access conditional (using '?.') or adding a null check to the target ('!').
    -null checks

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'flutter_client_sse.dart'
  2. See an error.

Expected behavior
There should be no errors.

Screenshots

er

Are you working on this issue? (Yes/No)
Yes

Fix notification dialogue in light mode

Describe the bug
FIx some colors in light and dark mode

Expected behavior
Make it clearly visible in light and dark mode

Screenshots
Screenshot_1672993168 (Custom) Filter_light_theme (Custom)
delete sheet (Custom) high_priority (Custom)

Additional context
Color has been change accordingly to default theme.

Are you working on this issue?
Yes

Simple UI bug in add torrent feature screen.

Bug Description:
Simple UI bug in add torrent feature screen.

To Reproduce:
Steps to reproduce the behavior:

  1. Go to 'add torrent screen' i.e from the home screen click on the '+' button/icon.
  2. You can see that after the implementation of the light/dark mode feature in the app the screen container rounding has vanished and it has become straight which doesn't look better as compared to the previous version.

Screenshots


Current state in dark mode

Expected Behaviour/Earlier screen before light/dark mode implementation

Current state in light mode

Expected Behaviour/Earlier screen before light/dark mode implementation

Device Information [optional]:

  • RealMe 7 Pro
  • OS: [Android]

Are you working on this issue? (Yes)

A better way/method can be implemented to display the applied filter info.

Is your feature request related to a problem? Please describe.
The current way of displaying the applied filter info in the search bar can be improved/changed to make it look better.

Describe the solution you'd like
To be proposed by the contributors who want to take up the issue by commenting on the issue.

Gesture detector in sidebar

Is your feature request related to a problem? Please describe.
The left sidebar can be opened by a left-to-right swipe on the left edge of the screen, which is nice. However, once the sidebar opens, if we want to swipe to close the sidebar, we need to start from almost the extreme right of the screen (red arrow). Since the sidebar doesn't seem to have a gesture detector, a right-to-left swipe (blue arrow) on the same does nothing. This makes the swiping behaviour really inconvenient for single-handed use of large phones.
image

Describe the solution you'd like
Try to implement a gesture detector in the sidebar also so that the blue swipe also works.

Are you working on this?
Yes

Display applied filter information on the home screen

Feature Request:

  • To display applied filter information on the home screen.

Feature request reason:

  • It is very frustrating to each time open the filter menu to see which filter is applied so to solve this issue it is better to display the applied filter information on the home screen.

Solution:

  • To display applied filter information on the home screen

Solution Demonstration Screenshot:


Demo-1

Demo-2

Are you working on this? (Yes)

Incompatible keyboard type for different TextFields of the settings option.

Describe the bug
The keyboard type for many TextFields are incorrect based on the data which has to be entered in the TextField. This should be resolved to make the app user-friendly and bug-free.

To Reproduce
Steps to reproduce the behavior:

  1. Click on the menu option present on the top left of the home screen of the app.
  2. Open the settings option.
  3. Then open any of the option like 'Bandwidth'/'Resource' etc and check the type of input keyboard given to different TextFields. You will notice that many of the TextFields have been given incompatible input keyboard taking into consideration the data has to be entered into these TextFields.

Expected behavior
Compatible input keyboard taking into consideration the data has to be entered into these TextFields should be given.

Screenshots


Incompatible Input keyboard (Screen-1)

Incompatible Input keyboard (Screen-2)

Device Information: RealMe 7 pro

  • OS: [Android]

Are you working on this issue? (Yes)

Undo button in snackbar.

Is your feature request related to a problem? Please describe.
There is no way to undo our actions performed. For example suppose a user by mistake deletes a torrent download so he will not be any chance to undo his action. Instead he should be given a chance for some seconds to do it.

Describe the solution you'd like
Undo button can be implemented in the snackbar instead of dismiss button to undo the action performed.

Overflow issue in main dashboard screen

Bug Description
Overflow issue in main dashboard screen

Expected behavior
Should not overflow

Screenshots
overflow

Device Information

  • OS: [Android-11]
  • Device Name: realme 7 pro

Are you working on this issue? (Yes)

Tags

Feature:
Ability to add, search and filter based on tags.

  • Option for the user to add a new tag
  • Option to choose from existing tags
  • Filter the torrent list based on a tag
  • Untag a torrent

Newer version of the Kotlin Gradle plugin required

Describe the bug
Newer version of the Kotlin Gradle plugin required. After issue #63 is fixed, further these errors exist.

To Reproduce
Steps to reproduce the behavior:

  1. flutter upgrade
  2. Run main.dart
  3. See error

Expected behavior
No errors should occur

Screenshots

Screenshot 2022-02-06 at 1 21 54 AM

Are you working on this issue? (Yes/No)
Yes

Theme bug in the add torrent page.

Describe the bug
There is a theme bug in the add torrent page which can be noticed when the app is in light mode.

To Reproduce
Steps to reproduce the behavior:

Note: App should be in light mode.

  1. Go to 'home-screen' and click on add magnet/torrent file icon.
  2. Add torrent page will appear with a theme bug.

Expected behavior
The page theme should be matched in light mode also with the page's current theme.

**Screenshots
photo_2022-12-23_10-39-21
**

Add snackbar for RSS-Feeds feature.

Is your feature request related to a problem? Please describe.
Adding a snackbar for RSS-Feed feature would increase the user experience as the user would be able to get a confirmation if a particular RSS-Feed/Download Rules is added or not.

Describe the solution you'd like

  • Add a snackbar for adding an RSS-Feed.
  • Add a snackbar for adding a Download Rule.

Additional context
Sample of snackbar implemented for on delete torrent feature.

video_2022-12-12_21-48-01.mp4

Runtime Exception when adding the first torrent via app

Describe the bug
Unhandled Exception: FormatException: Invalid number (at character 1)

To Reproduce
Steps to reproduce the behavior:

  1. Empty the list of torrents in your torrent client.
  2. Run the app, and add a torrent.
  3. Now you won't see that torrent in your phone just yet. And you can find the error in the logs.

Screenshots
image

  • OS:
    Android

Additional context
This is because we are initializing torrentLength to an empty string, and then passing it to int.parse which returns that exception. Initializing torrentLength to '0' solves the issue.

Are you working on this issue?
Yes

Unable to change default download directory

Describe the bug

Unable to update default download folder

To Reproduce
Steps to reproduce the behavior:

  1. Go to settings
  2. Click on resources
  3. Select "default download..."
  4. Try and change the address

Expected behavior
You're able to change the address.

You are unable to delete the address and only have the option of keying numbers, which you can't actually press.

Screenshots

Screenshot_20220124-215611

Device Information [optional]:

  • OS: Android

Additional context
Add any other context about the problem here.

Are you working on this issue? (Yes/No)
No

[Feature] Create Generic Snackbar/Toast for Flood

Is your feature request related to a problem? Please describe.
Its an enhancement giving a notch to our product

Describe the solution you'd like
We would have a Generic class that can be used both as a toast and snackbar covering different scenarios such as

Caution 
Fail
Success
Information

It can come with or without CTA, completely depends upon our requirement.

Are you working on this? (Yes/No)
Yes

Simple UI bug in logout alert dialog

Bug Description
There is a simple UI bug in logout alert dialog. The 'Yes' and 'No' buttons are not displayed as it should.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'options by sliding the main dashboard towards right'
  2. Click on 'Logout'
  3. See error in 'Yes' and 'No' button alignment.

Expected behavior
The 'Yes' and 'No' button should be aligned side by side.

Screenshots


Present State

How it should look

Device Information

  • OS: [Android-11]
  • Device Name: realme 7 pro

Are you working on this issue? (Yes)

Runtime Exception when adding the first torrent via app

Describe the bug
Unhandled Exception: FormatException: Invalid number (at character 1)

To Reproduce
Steps to reproduce the behavior:

  1. Empty the list of torrents in your torrent client.
  2. Run the app, and add a torrent.
  3. Now you won't see that torrent in your phone just yet. And you can find the error in the logs.

Screenshots
image

  • OS:
    Android

Additional context
This is because we are initializing torrentLength to an empty string, and then passing it to int.parse which returns that exception. Initializing torrentLength to '0' solves the issue.

Are you working on this issue?
Yes

Add user accounts displaying section under authentication in the settings.

Is your feature request related to a problem? Please describe.
User accounts displaying section can be added under authentication in the settings in the same way as it is currently in the flood web app.

Describe the solution you'd like
User accounts displaying section under authentication in the settings can be added.

Additional context
imageedit_0_5712601901

Build failing due to compileSdkVersion issue and incompatible kotlin version issue in new update of Flutter.

Describe the bug
The build is failing due to compileSdkVersion issue and incompatible kotlin version issue in new update of Flutter.

To Reproduce
Steps to reproduce the behavior:
Try to build the app with the latest version of Flutter.

Expected behavior
The app should build without any problem.

Screenshots
Screenshot from 2022-03-18 01-50-57

Screenshot from 2022-03-18 01-52-23

Device Information: RealMe 7 pro

  • OS: [Android]

Are you working on this issue? (Yes)

'accentColor' is deprecated and shouldn't be used. Should use colorScheme.secondary instead.

Describe the bug
A clear and concise description of what the bug is.

  1. 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre..

To Reproduce

  • In the project accentColor is used in many places.

Screenshots
accent

Are you working on this issue?

  • Yes

Incompatible theme bug in the sidemenubar option in light mode.

Describe the bug
The sidemenubar theme looks incompatible with the light mode theme of the app. The theme doesn't look like light mode and should be changed.

To Reproduce
Steps to reproduce the behaviour:

  1. From the main homescreen (while being in light mode) click on the sidemenu option in the top left corner of the app.
  2. Look at the theme of the sidemenu. The theme doesn't matches the light theme and should be changed.

Expected behavior
The theme of the sidemenu (sidedrawer) should also match the theme of the light mode.

Screenshots


Current screen

How the screen should look

Device Information: RealMe 7 pro

  • OS: [Android]

Are you working on this issue? (Yes)

Filter torrent based on the completion status

Issue:
Currently, the only way to filter torrents is through the name. An additional way to filter the torrent based on the completion status (Completed, Downloading, Paused) would be helpful.

Solution:
A bottom sheet that is toggled with an icon adjacent to the search bar with options to choose between the filtering options.

Note: Any other solution or approach on how this could be implemented from a design or implementation perspective is also welcome.

Adding Light Theme

The Flood Web UI has both light and dark theme for people of different choices. The same should be implemented on the Flood Mobile UI keeping in mind the colour combination from the Web UI. There should be a switch to toggle between the light and the dark theme for the entire application.

App Store signing and release (IPA)

Is your feature request related to a problem? Please describe.
Hi
Congratulations for your work. It’s possible to deploy ipa file to can try it?
Thanks

Compatibility issue for few screens with different themes

Describe the bug
While toggling the theme, the color pattern used with the theme seems to be off

To Reproduce
Steps to reproduce the behavior:

  1. Open settings screen
  2. Check the label
  3. Open delete torrent bottomsheet
  4. Notice the color of texts

Expected behavior
The texts should appear different for different themes

Screenshots
If applicable, add screenshots to help explain your problem.

Device Information [optional]:

  • OS: Android

Are you working on this issue? (Yes)

Visibility issue in the LabelText of different options of the settings screen in the dark mode of the app.

Describe the bug:
The LabelText of the different options of the settings page of the app is not visible comfortably to the user in the dark mode of the app due to incorrect usage of the theme colour of the labelText.

To Reproduce
Steps to reproduce the behavior:

  1. Click on the menu option present on the top left of the home screen of the app.
  2. Open the settings option.
  3. Then open any of the option like 'Bandwidth'/'Resource' etc and check the labelText of all the TextFields

Expected behavior
The colour of the labelText should change according to the mode of theme selected i.e light mode/dark mode.

Screenshots


Current screen

How the screen should look

Device Information: RealMe 7 pro

  • OS: [Android]

Are you working on this issue? (Yes)

Error while displaying notifications.

Describe the bug
The app shows a error on clicking on the notification icon if a notification exists but is doesn't show any error on doing the same if there is no notification present.

To Reproduce
Steps to reproduce the behavior:

  1. Go to app's home-screen an click on the notification icon at the top right corner (one need to do this a the time when there is one atleast notification).
  2. See error

Expected behavior
There should not be any error and the notification should appear as it should.

Video demonstrating the bug

Record_2022-07-10-04-25-11.mp4

Device Information [optional]:

  • OS: Android 12 RealMe 7 pro

Additional context
The reason of the bug is small mistakes in notification model.

Are you working on this issue? (Yes)

CONTRIBUTING.md Needs to update

There is an issue for many new developers to contribute due to login errors. We can add login steps to simplify the process. It would be better for a new contributor.

Contributing.md file is not updated

In the contributing.md file its saying that, for qBittorent, click on the preference to set up the Web UI, but nothing like preference is present in the qBittorent UI
Capture

Add snackbar on deleting a rss-feed/download rule.

Is your feature request related to a problem? Please describe.
A snackbar can be shown on deleting a rss-feed/download rule to notify the user about the deletion process.

Describe the solution you'd like
Add snackbar on deleting a rss-feed/download rule.

Additional context
A download rule/rss-feed can be deleted by clicking on the delete icon beside a particular rss-feed/download rule.

label of setting input field not visible

Describe the bug
When in dark mode. The label of text field(input field) in setting page are not quite visible. The colour of label is black in dark background, for which it is hard to see the input.

To Reproduce

  1. Toggle dark mode
  2. Go to setting page
  3. collapse Bandwidth (or any)
  4. below sub heading (Transfer rate throttle or any )
  5. The label is black in dark background, less visibility (Global download rate throttle)

Expected behavior
The label should be white in dark background (dark mode)

Screenshots
Simulator Screen Shot - iPhone 13 - 2022-02-01 at 12 14 04

Device Information [optional]:

  • OS: iOS simulator

Additional context
Add any other context about the problem here.

Are you working on this issue? (Yes/No)
yes

Ability to multiple select torrents - with extras

Is your feature request related to a problem? Please describe.

It would be really handy if you could select multiple torrents.

This could then be linked in to other options that could apply to multiple torrents at once, for instance:

Delete multiple.
Stop/start/pause multiple.
Put multiple torrents into super seed mode

Unable to update many fields in setting page.

Describe the bug
Unable to update some fields in setting page. After updating fields, if I click save all the updated fields are reset.

In the screen recording below you can see. Some fields are updating, many are not.

To Reproduce

  1. Open setting page.
  2. Click on Bandwidth
  3. Change value of global download rate throttle (or any, some fields works. Some don't)
  4. Click save
  5. The value will be reset

Expected behavior
When click save. The value should be updated with the value user has put, Not reset.

Screenshots

Simulator.Screen.Recording.-.iPhone.13.-.2022-01-30.at.16.07.57.mov

Device Information [optional]:

  • OS: iOS
  • Type: Simulator

Additional context
Add any other context about the problem here.

Are you working on this issue? (Yes/No)
No

Display the size beside each tracker listed under filter by trackers.

Is your feature request related to a problem? Please describe.
The size can be displayed beside each tracker listed under filter by trackers in the same way as in the flood web app.

Describe the solution you'd like
Display the size beside each tracker listed under filter by trackers.

Additional context
Screenshot_38

Logout popup

Feature:
When the user clicks on the logout button on the side drawer, a popup should be shown confirming if the user is sure they want to log out.

Link to usage instruction in the login page and the drawer.

Issue:
For new users that get the app from the PlayStore or otherwise and find it difficult to log in, a link that takes the user to the usage instructions on GitHub would be helpful for easy onboarding. A similar link could be added to the side drawer for users that are interested to check the GitHub page of the app.

Solution:
Link/Icon in the login page and the side drawer that takes the user to the usage instructions

UI changes in qBittorrent

In the contribution.md, its saying that Web UI setup can be done after clicking preferences, but in the UI there isn't any preferences button.
Capture

Issue in add torrent page checkboxes.

Describe the bug
There is an issue in add torrent page checkboxes that the state of the checkboxes (use as base path checkbox, sequential download checkbox, completed checkbox) does not change even on selecting/unselecting them.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'home-screen' and click on add button at the right bottom.
  2. Click on 'magnet/file icon'.
  3. Try clicking on any of the checkboxes.
  4. You will find no state change in checkboxes even after clicking on them.

Expected behavior
State of the checkbox should be changed clearly on selecting them.

Theme bug in rss-feed and download rules page in light mode.

Describe the bug
Theme bug in rss-feed and download rules page in light mode. The existing feeds/existing rules textbox boundary is not visible in light mode but is perfectly fine in dark mode of the app.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'home-screen' and click of rss-feed icon on the top right corner.
  2. Issue can be noticed on both rss-feed/download rules pages.

Expected behavior
Boundary of the box should be clearly visible as in dark mode of the app.

Screenshots


Light-Mode(RSS-Feed)

Dark-Mode(RSS-Feed)

Light-Mode(Download Rules)

Dark-Mode(Download Rules)

Display the number of torrents that will be appearing after applying a filter.

Description:
For better user experience and ease the number of torrents that will be appearing after applying a filter should be displayed beside the filter option as displayed in the Flood WebApp.

Describe the solution you'd like
To display the number of torrents that will be appearing after applying a filter.

Demo Screenshot:

Are you working on this? (Yes)

Errors while running with Flutter 2.10

Describe the bug
Errors while debugging using Flutter 2.10

To Reproduce
Steps to reproduce the behavior:

  1. flutter upgrade
  2. Run main.dart
  3. See error

Expected behavior
No errors should occur

Screenshots
Screenshot 2022-02-06 at 12 57 09 AM

Are you working on this issue? (Yes/No)
Yes

Snack bar

Issue:
Currently, the app does not provide the user any instant feedback when they add, delete or complete a torrent. There are several other scenarios where a snack bar will be relevant (suggestions needed)

These are some of the actions where a snack bar could be added:

  • Add torrent
  • Remove torrent
  • Change the app settings
  • Create a new user on the settings page
  • Setting the priority of selected torrent content

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.