Skip to content

Commit

Permalink
Added tooltip to Feed URL (#73)
Browse files Browse the repository at this point in the history
* added tooltip

* Update version

* Update

* Update README.md

---------

Co-authored-by: Mikhail Volkov <[email protected]>
  • Loading branch information
vitPinchuk and mikhail-vl authored May 20, 2024
1 parent 7fe5167 commit 8ca3dd7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 4.1.0 (IN PROGRESS)

### Features / Enhancements

- Added tooltip to Feed URL (#73)

## 4.0.0 (2024-05-09)

### Breaking changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ The Business News data source is a plugin for Grafana that retrieves RSS/Atom fe
## Requirements

- Business News Data Source 4.X requires **Grafana 10.1** or **Grafana 11**.
- Business News Data Source 3.X requires **Grafana 9** or **Grafana 10**.
- Business News Data Source 2.X requires **Grafana 8.5** or **Grafana 9**.
- Business News Data Source 1.X requires **Grafana 8**.
- RSS/Atom Data Source 3.X requires **Grafana 9** or **Grafana 10**.
- RSS/Atom Data Source 2.X requires **Grafana 8.5** or **Grafana 9**.
- RSS/Atom Data Source 1.X requires **Grafana 8**.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@
"test:ci": "jest --maxWorkers 4 --coverage",
"upgrade": "npm upgrade --save"
},
"version": "4.0.0"
"version": "4.1.0"
}
8 changes: 7 additions & 1 deletion src/components/ConfigEditor/ConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ export class ConfigEditor extends PureComponent<Props, object> {

return (
<InlineFieldRow>
<InlineField label="Feed URL" labelWidth={14} grow invalid={jsonData.feed === ''}>
<InlineField
label="Feed URL"
labelWidth={14}
grow
invalid={jsonData.feed === ''}
tooltip={`The URL must be contain all necessary characters ('/' at the end, etc.) to avoid redirects and CORS issues.`}
>
<Input
type="text"
value={jsonData.feed}
Expand Down

0 comments on commit 8ca3dd7

Please sign in to comment.