Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Feature/pagination #93

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ce7c061
escrito en ts tooltiphelper
JoaquinJimenezGarcia Jan 14, 2020
6eca33b
Añadidos cambios de url
JoaquinJimenezGarcia Jan 17, 2020
efc3077
Corregido error copy/paste
JoaquinJimenezGarcia Jan 17, 2020
ca776ea
Arreglado error onclick y en funcion no agregada. Se muestra panel.
JoaquinJimenezGarcia Jan 20, 2020
9bc05c0
Deleted console.logs for testing
JoaquinJimenezGarcia Jan 21, 2020
4349234
Changed name of var from 'showindex' to 'seriesFilterIndex'
JoaquinJimenezGarcia Jan 21, 2020
e18acf2
Added doc to README
JoaquinJimenezGarcia Jan 21, 2020
5b966f1
Exported helper format as an enum in case more types or format were r…
JoaquinJimenezGarcia Jan 21, 2020
14f0283
Included missing functions
JoaquinJimenezGarcia Jan 23, 2020
3c36633
Added Raw as a format herlper
JoaquinJimenezGarcia Jan 23, 2020
23bb66c
Changed way to take timestamp
JoaquinJimenezGarcia Jan 27, 2020
57b2bf9
Revert "Changed way to take timestamp"
JoaquinJimenezGarcia Jan 27, 2020
16ca308
Working date format
JoaquinJimenezGarcia Jan 27, 2020
a3134e5
Fixed changing between helper types and added logic for changing types
JoaquinJimenezGarcia Jan 27, 2020
565e994
Started pagination but not completed. Rendering with errors
JoaquinJimenezGarcia Jan 29, 2020
c4a15d8
Added elements deleted by accident
JoaquinJimenezGarcia Jan 29, 2020
84ea54f
I write names in plural when the original one is in singular
JoaquinJimenezGarcia Jan 29, 2020
0d43f79
Changed plural to singular in object declaration
JoaquinJimenezGarcia Jan 30, 2020
c201266
Filtering for index. Failing filling the columns with its colour
JoaquinJimenezGarcia Jan 30, 2020
360b8dc
Changing the colours by filter
JoaquinJimenezGarcia Feb 3, 2020
945c24f
Changed the name of var which uses to take the name of the serie from…
JoaquinJimenezGarcia Feb 3, 2020
5e7ee52
changed commited before pull
JoaquinJimenezGarcia Feb 3, 2020
71ceabd
changes to be commited
JoaquinJimenezGarcia Feb 3, 2020
a004c7f
breaking
JoaquinJimenezGarcia Feb 3, 2020
8cbe79d
Added input to specify number of elements per page
JoaquinJimenezGarcia Feb 3, 2020
9321cb9
added checkbox to enable/disable pagination
JoaquinJimenezGarcia Feb 3, 2020
45abb7e
Created a new tooltip when click in a value to have different externa…
JoaquinJimenezGarcia Jan 14, 2020
b42d0f3
Merge branch 'master' into feature/pagination
JoaquinJimenezGarcia Feb 5, 2020
3df9f8e
staged changes
JoaquinJimenezGarcia Feb 5, 2020
eadda23
what have i done
JoaquinJimenezGarcia Feb 5, 2020
c24dd7a
Revert "added checkbox to enable/disable pagination"
JoaquinJimenezGarcia Feb 5, 2020
794100f
makes internal pagination, needs to show in table with cards
JoaquinJimenezGarcia Feb 5, 2020
f82afbd
Showing cards paginated. But still showing label values
JoaquinJimenezGarcia Feb 6, 2020
aeefaf7
Fixed not rendering all data after avoiding pagination
JoaquinJimenezGarcia Feb 10, 2020
685e685
Paginating with correct labels
JoaquinJimenezGarcia Feb 11, 2020
3f334bc
Added pagination controls to the panel instead to the editor menu
JoaquinJimenezGarcia Feb 11, 2020
11731e3
Added pagination controls to the panel instead to the editor menu
JoaquinJimenezGarcia Feb 11, 2020
896a833
Added pagination controls to the panel instead to the editor menu
JoaquinJimenezGarcia Feb 11, 2020
48bb638
aligned pagination options
JoaquinJimenezGarcia Feb 11, 2020
bb9b644
Cleaned from console.logs
JoaquinJimenezGarcia Feb 11, 2020
6695c00
Added pagination option to editors menu instead of above the panel
JoaquinJimenezGarcia Feb 12, 2020
90f7cde
Good pagination. Some wrong size in some cases
JoaquinJimenezGarcia Feb 12, 2020
15ac4a4
Showing all the panel
JoaquinJimenezGarcia Feb 12, 2020
7285acd
Drawing buttons in the right side
JoaquinJimenezGarcia Feb 12, 2020
d7e8312
Fixed number of total elements in last page
JoaquinJimenezGarcia Feb 12, 2020
ab48b9a
debuggin hover and click
JoaquinJimenezGarcia Feb 13, 2020
c1bde6c
Fixed values size problem and fixed tooltip bug
JoaquinJimenezGarcia Feb 14, 2020
5106d69
Code cleaned
JoaquinJimenezGarcia Feb 14, 2020
231d37d
Fixed problems when despaginating
JoaquinJimenezGarcia Feb 14, 2020
bdb2827
Fixed problems in paginate
JoaquinJimenezGarcia Feb 17, 2020
7497e22
Fixed problem when selection 0 items per page
JoaquinJimenezGarcia Feb 17, 2020
41a9d63
Fixed problem painting values in last page and Added options to selec…
JoaquinJimenezGarcia Feb 17, 2020
61ed135
Deleted elements to control page size in the editors menu
JoaquinJimenezGarcia Feb 18, 2020
3f4b617
Now cannot use a negative number
JoaquinJimenezGarcia Feb 18, 2020
70ba6e7
Fixed problem in page size after avoiding pagination
JoaquinJimenezGarcia Feb 18, 2020
d0a1c36
updated readmeç
JoaquinJimenezGarcia Feb 19, 2020
9baae5e
Added some console.log to debug and files with outputs during getting…
JoaquinJimenezGarcia Feb 26, 2020
8798c63
Fixed refreshing
JoaquinJimenezGarcia Feb 26, 2020
7be2c1d
Code cleaned
JoaquinJimenezGarcia Feb 26, 2020
38aa40b
Changed default page size to 15 elements
JoaquinJimenezGarcia Feb 27, 2020
f527d27
Changed how the page resize due to elements per page
JoaquinJimenezGarcia Feb 27, 2020
f45e425
Fixed errors when changing query or paginating at first moment
JoaquinJimenezGarcia Mar 2, 2020
c774c2c
Now you can change the number of items per page without need to save …
JoaquinJimenezGarcia Jun 11, 2020
1d85843
Added default pagination size to editor menu to change the page size …
JoaquinJimenezGarcia Jun 12, 2020
bb7c0f7
Added pagination size to visualization to not save always the number …
JoaquinJimenezGarcia Jun 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,34 @@ __Show tooltip__ toggles tooltip display on mouse over buckets.

__Y axis sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.

#### Tooltip with external link
![Tooltip with external link](src/img/tooltip-url.png)

A new tooltip that will appear when mouse click in a value showing one or more links to navigate. It can be configured in the options editor. Also it can be disabled to not appear.

#### Tooltip editor
![Tooltip options](src/img/tooltip-editor.png)

__Show Extra Series Tooltip when clicking elements__ toggles tooltip with links display on mouse click.

__Add new URL__ creates a new form to add a new link

__Remove all URLs__ removes all the urls created before

__Label__ name to show in the link instead of the URL

__URL__ URL to navigate

__Icon__ icon to show next to the url

__Force lowercase__ forces the url to be lowercase even if it is written in capital letters

__Extra Series Completer__ toggles extra series to write the URL

__Extra Series Index__ fields index to use its value on URL using $series_extra. Use -1 to disable it

__Extra Series Date Format__ date format to transform extra herlper when its type is Date

## Development

To test and improve the plugin you can run Grafana instance in Docker using following command (in
Expand Down
28 changes: 28 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,34 @@ __Show tooltip__ toggles tooltip display on mouse over buckets.

__Y axis sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.

#### Tooltip with external link
![Tooltip with external link](src/img/tooltip-url.png)

A new tooltip that will appear when mouse click in a value showing one or more links to navigate. It can be configured in the options editor. Also it can be disabled to not appear.

#### Tooltip editor
![Tooltip options](src/img/tooltip-editor.png)

__Show Extra Series Tooltip when clicking elements__ toggles tooltip with links display on mouse click.

__Add new URL__ creates a new form to add a new link

__Remove all URLs__ removes all the urls created before

__Label__ name to show in the link instead of the URL

__URL__ URL to navigate

__Icon__ icon to show next to the url

__Force lowercase__ forces the url to be lowercase even if it is written in capital letters

__Extra Series Completer__ toggles extra series to write the URL

__Extra Series Index__ fields index to use its value on URL using $series_extra. Use -1 to disable it

__Extra Series Date Format__ date format to transform extra herlper when its type is Date

## Development

To test and improve the plugin you can run Grafana instance in Docker using following command (in
Expand Down
6 changes: 3 additions & 3 deletions dist/color_legend.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/color_legend.js.map

Large diffs are not rendered by default.

58 changes: 57 additions & 1 deletion dist/color_mode_discrete.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading