theexidge / routinger

Routinger is a task scheduler app that is made to make you a better person at no extra cost. The code is open-source. Dart language and Flutter framework are used extensively.
GNU Affero General Public License v3.0
27 stars 22 forks source link

Fixing Imports to make the code more readable #9

Closed Kushalrock closed 3 years ago

Kushalrock commented 3 years ago

The imports were organized by keeping in mind a specific style. But with the addition of new packages and imports, the imports have gone messy. We encourage beginners to take up this issue and fix the imports across all the files.

A simple example is Capture Capture2

The first image is of unorganized imports while the second image is of organized imports. The general structure to be followed is

Imports should have a parent category like in the image, dart imports, helper imports, and so on..

The files having package:routinger are local files and should be accessed by relative location using ./ or ../ instead of using the package:routinger.

Kushalrock commented 3 years ago

Change all the files to follow this structure of imports.

Thank you for your contribution in advance.

bayush-9 commented 3 years ago

Hi @Kushalrock I would like to work on it!

Kushalrock commented 3 years ago

Hello there, Sure I will assign it to you right away. Follow the structure that is followed in the above images.

Thank you again

bayush-9 commented 3 years ago

Yeah sure, I'll keep them in mind.

Kushagrasaxena-13 commented 3 years ago

I want to work on this can you assign it to me

Kushalrock commented 3 years ago

@Kushagrasaxena-13 It's already assigned to someone. However there are more easy issues coming in. You can contribute to them instead.

Kushalrock commented 3 years ago

@bayush-9 Make sure that your commit contains all the files and should be even with the main branch at the time of making PR. Because we are trying to be very active and new code files are being added every day. So yeah, fetch the upstream every time.

Hope your experience with our project goes well.

bayush-9 commented 3 years ago

Sure @Kushalrock

Rishavgupta12345 commented 3 years ago

can i work on this ?

Kushalrock commented 3 years ago

The issue is closed and needs no further changes.