Commit graph

3 commits

Author SHA1 Message Date
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
07b13c3f7a adds translation support via i18n.js
Uses react-i18next library to provide APIs for translational
purposes.
Translation data is loaded from `src/locales/{{lng}}/translation.json`
and is accessed by dot notation.
The data can be translated in two ways:
1. In functional components, a method `t` can be instantiated using the
`useTranslation` method from rect-18next.
2. In class components, a method `t` can be accessed via props while
exporting the component with `withTranslation` method from react-i18next
library.

The syntax will look like `t('data.data')` or `this.props.t('data.data')`

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-06-29 12:22:32 +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