Skip to content

Commit

Permalink
v1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dineeek authored Mar 9, 2023
1 parent e8cfe67 commit 5067b64
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 16 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,41 @@
![Github](https://img.shields.io/github/license/dineeek/hep-bez-struje)
![GitHub repo size](https://img.shields.io/github/repo-size/dineeek/hep-bez-struje)

Chrome extension for checking HEP areas without electric power. Based on HEP web
page data scrapping, TypeScript & React.
Unofficial HEP Chrome extension for checking areas without electric power. Based
on HEP web page data scrapping, TypeScript & React.

<p align="center">
<img src="https://github.com/dineeek/hep-bez-struje/blob/develop/assets/screenshots/en/slideshow.gif" alt="Slideshow" />
<img src="https://github.com/dineeek/hep-bez-struje/blob/develop/assets/screenshots/en/slideshow.gif" alt="Screenshot slideshow" />
</p>

## Download

Available at Chrome Web store:
[**Hep - bez struje**](https://chrome.google.com/webstore/detail/hep-bez-struje/hahhmkkofmofnadefiadmpmcencoaljf)
Available at
[**Chrome Web Store**](https://chrome.google.com/webstore/detail/hep-bez-struje/hahhmkkofmofnadefiadmpmcencoaljf).

![Chrome Web Store](https://img.shields.io/chrome-web-store/users/hahhmkkofmofnadefiadmpmcencoaljf)
![Chrome Web Store](https://img.shields.io/chrome-web-store/rating/hahhmkkofmofnadefiadmpmcencoaljf)
![Chrome Web Store](https://img.shields.io/chrome-web-store/rating-count/hahhmkkofmofnadefiadmpmcencoaljf)
![Chrome Web Store](https://img.shields.io/chrome-web-store/stars/hahhmkkofmofnadefiadmpmcencoaljf)

## Features

- Storing distribution area and power station in extension options
- Showing areas without electrical power per selected area and station
- Up to three days future search
- Detecting expected power outage for user street
- Localization: DE, EN, HR, HU and SL
- Storing user selected distribution area and power station
- Highlighting expected power outage for user street
- Up to three days future date search
- Available localization:
- German
- English
- Croatian
- Hungarian
- Slovenian

## Permissions

The extensions needs permissions for storing selected options preferences.
The extensions needs permissions for storing user options preferences.

# Contributing

Contributions are welcome!
Contributions and upgrade ideas are welcome!

# License

Expand Down
Binary file modified assets/screenshots/hr/0_ucitavanje.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/hr/1_bez_opcija.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/hr/2_odabir_opcija.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/hr/3_bez_obavijesti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/hr/4_unos_svih_opcija.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/hr/5_obavijesti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
"chrome plugin",
"extension",
"react",
"typescript"
"typescript",
"web scrapping",
"no power",
"power outage"
],
"license": "MIT",
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions src/options_ui/options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Options = () => {
value={distributionArea}
onChange={event => onDistributionAreaChange(event.target.value)}
>
<option defaultValue="none" hidden></option>
<option key="emptyArea" defaultValue="none" hidden></option>
{getOptions(DISTRIBUTION_AREAS)}
</select>
</div>
Expand All @@ -99,7 +99,7 @@ const Options = () => {
value={powerStation}
onChange={event => setPowerStation(event.target.value)}
>
<option defaultValue="none" hidden></option>
<option key="emptyStation" defaultValue="none" hidden></option>
{getOptions(areaPowerStations)}
</select>
</div>
Expand All @@ -110,6 +110,7 @@ const Options = () => {
<div className="selection">
{localize('labelMyStreet')}
<input
key="userStreet"
className="select-input"
type="text"
onChange={event => setStreet(event.target.value)}
Expand All @@ -121,6 +122,7 @@ const Options = () => {
<div className="checkbox">
{localize('labelFutureSearch')}
<input
key="futureFlagCheckbox"
className="check-input"
type="checkbox"
checked={futureSearch}
Expand Down

0 comments on commit 5067b64

Please sign in to comment.