Commit graph

9 commits

Author SHA1 Message Date
Sudhanshu Gautam
128855c278
Change the code according to the new ASU api. (#5)
Now, upon load, the app fetched versions from the server and then
the devices for that particular version.
Then the user can search for their device and download an image
accordingly.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-23 19:53:02 +05:30
Sudhanshu Gautam
3d1243a946 Fix responsiveness of UI on mobile devices. Shows only relevant images.
The UI is now responsive for all devices (almost). The inputs are made
full-width for mobile devices.
Only relevant images are shown as download links. Previously all the
images returned by ASU server were shown which is fixed now.

Signed-off-by: Sudhanshu Gautam <sudhanshu@clever.coffee>
2019-07-27 17:25:31 +05:30
Sudhanshu Gautam
d30cf925b1 Complete build functionality. Used mwarning's server for data.
Now users can build their images using the Build button and it works
fine for the most part.
There is still some issue with the file download as there are a lot
of them and will be imporved in the future.
Using axios now for cross browser support issue of `fetch`

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-21 20:49:13 +05:30
Sudhanshu Gautam
c05ac4dc2c Change the checkboxes to chips. Provide input field for extra modules
On considerations, the checkboxes were found to be limited as the
customization was limited by that interface. Now a "chip" styled
interface has been introduced alongside a text input field to add
custom packages.
An array separated by commas or newline can be feeded into the input
for bigger lists.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-14 13:32:49 +05:30
Sudhanshu Gautam
40f466153b Adds tabbed interface for advanced image building and reformats code
An interface tagged Basic and Advanced is introduced. Basic section
shows the default openwrt images with download links. Advanced
section show the options to choose which packages to use and an
option to build the images is introduced.
Reformatting of the code is also done according to standard code
styling.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-12 01:41:43 +05:30
Sudhanshu Gautam
7cab0bfeb5 adds more display information and advanced section
Basic device information is added to be displayed along with the
download buttons. Additionally, a warning432 message will be
displayed if the size of the image is less than 4000k.
New interface for customized image building with a custom selection
of packages.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-08 20:02:05 +05:30
Sudhanshu Gautam
16a6f7eb0b uses json from dev server
instead of locally stored data, now the application can get the
data from json sources over the internet.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-05 22:18:02 +05:30
Sudhanshu Gautam
3f7007f259 adds search bar functionality
The process of finding image for a specific device by select inputs
was a tidious one.
Search bar functionality was introduced to make the process easier
and convenient.
The search uses fuzzyset.js to find possible suggestions for the user
in realtime.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-03 03:10:36 +05:30
Sudhanshu Gautam
8f68dc328e initializes the base for the firmware wizard
PWA based on ReactJs. Showcases the basic functionalities required
for the Firmware Selector.
Proof of Concept for the wizard with selection for vendor, model
and variants.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
Initial commit from Create React App
2019-06-26 02:43:24 +05:30