Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to React #78

Merged
merged 109 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
0d45080
migrate to create-plugin
briangann Dec 24, 2022
bbe477b
migrate to create-plugin
briangann Dec 24, 2022
ffa3c5a
migrate and update yarn lock
briangann Dec 24, 2022
81ada55
remove circleci
briangann Dec 24, 2022
18a1a23
lint fix
briangann Dec 24, 2022
9316e2c
update workflows
briangann Dec 24, 2022
5509c5e
remove scaffolding comment
briangann Dec 24, 2022
69013b7
fix e2e and add codeclimate
briangann Dec 25, 2022
9c2c138
test ci to collect coverage
briangann Dec 25, 2022
88f208c
fixup codeclimate
briangann Dec 25, 2022
ce56255
remove duplicate
briangann Dec 25, 2022
832b6a1
update version compat
briangann Dec 25, 2022
67f5af5
move coverage config
briangann Dec 25, 2022
ff8f642
fix path to schema
briangann Dec 25, 2022
cc3df62
update with create-plugin
briangann Mar 28, 2023
666a46a
Merge branch 'main' into 20221224_port_to_react
briangann Jun 24, 2023
1e93d6c
update
briangann Jun 24, 2023
cdfb089
add migrations
briangann Jun 24, 2023
17d0e59
start migrating settings
briangann Jun 24, 2023
60fc20c
wip react components
briangann Jun 24, 2023
b1de813
Merge branch '20221224_port_to_react' of github.com:briangann/grafana…
briangann Jun 24, 2023
3ede5c7
update create-plugin migrate
briangann Jun 24, 2023
0ecba58
update packages
briangann Jun 24, 2023
b356270
update ci
briangann Jun 24, 2023
e0bf9c6
lint fixes
briangann Jun 24, 2023
03109bc
lint fixes
briangann Jun 24, 2023
bcded34
fix lint
briangann Jun 24, 2023
f140965
update test
briangann Jun 24, 2023
6677f86
ignore lint error for now
briangann Jun 24, 2023
ba87dd7
update
briangann Jul 23, 2023
7fcb6d8
implement major tick labels
briangann Jul 23, 2023
bf7e35a
cleanup
briangann Jul 25, 2023
7857e72
custom config
briangann Jul 25, 2023
bee10ab
support tickmaps and thresholds on gauge
briangann Jul 25, 2023
3c8d33c
update
briangann Jul 25, 2023
a794bf2
cleanup codeclimate issues
briangann Jul 25, 2023
0f0a87d
cleanup
briangann Jul 25, 2023
0654893
fix codeclimate issue
briangann Jul 25, 2023
8c03c7c
cleanup
briangann Jul 26, 2023
6de6bae
cleanup
briangann Jul 26, 2023
0e96f1a
cleanup
briangann Jul 26, 2023
74970d2
fix shadowed variables
briangann Jul 26, 2023
b71620a
working on migrations, added needlewidth to config
briangann Jul 26, 2023
ca8b1d4
cleanup
briangann Jul 27, 2023
5248fc5
working on migrations
briangann Jul 27, 2023
24d484a
updating defaults and migrations
briangann Jul 27, 2023
157348e
fix radius calculation
briangann Jul 27, 2023
a4b3627
add ability to set the major/minor tick width
briangann Jul 27, 2023
a8fc50a
fix migration defaults
briangann Jul 27, 2023
f000e85
fix calculations
briangann Jul 27, 2023
5fc4aab
fix font sizes and default needle gap setting
briangann Jul 28, 2023
d6bc78c
fix fonts and calculations
briangann Jul 28, 2023
cb28f30
fix descriptions
briangann Jul 28, 2023
ffb8c46
refactor
briangann Jul 28, 2023
44e7da6
fix missing semicolon
briangann Jul 28, 2023
3346de2
update to latest plugin tools
briangann Jul 28, 2023
7c0c68b
update
briangann Jul 30, 2023
d1f9a28
fix codeclimate errors
briangann Jul 30, 2023
ec97cf7
fix needle transition
briangann Jul 31, 2023
4220aca
fix codeclimate issues
briangann Jul 31, 2023
395ba0e
fix codeclimate issue
briangann Jul 31, 2023
812fa74
y-offset can be negative
briangann Aug 2, 2023
0caac38
add migration for tickMaps and refactor
briangann Aug 2, 2023
ee93c57
cleanup
briangann Aug 2, 2023
cf1a601
cleanup
briangann Aug 2, 2023
cdad6b8
implement value/rangemap and operator migration
briangann Aug 2, 2023
01d163f
cleanup
briangann Aug 2, 2023
6ddbd44
fix tickmap nesting/iteration
briangann Aug 2, 2023
a462d25
working migrations
briangann Aug 4, 2023
09d9514
update tips
briangann Aug 4, 2023
4b3a96e
remove unused field
briangann Aug 4, 2023
85fd5a5
remove unused field
briangann Aug 4, 2023
e8b54a6
remove debugger stmt
briangann Aug 4, 2023
e66066b
fixing colors
briangann Aug 4, 2023
db7f4ad
update docker
briangann Aug 4, 2023
921701d
cleanup codeclimate issues
briangann Aug 4, 2023
2c79fb4
migrate innerColor
briangann Aug 5, 2023
462741a
implement threshold bands of arbitrary length
briangann Aug 5, 2023
833b57f
cleanup
briangann Aug 5, 2023
c776932
cleanup
briangann Aug 5, 2023
dd46a68
fix colors
briangann Aug 5, 2023
b1cbe08
cleanup
briangann Aug 5, 2023
6d54909
finish threshold implementation, cleanup
briangann Aug 6, 2023
718a283
fix defaults
briangann Aug 10, 2023
f82db82
refactoring and fixing value lower range
briangann Aug 10, 2023
2371ec5
refactor
briangann Aug 10, 2023
084e4b4
refactoring
briangann Aug 10, 2023
e8b5278
cleanup
briangann Aug 10, 2023
b8a9d48
add feature to prevent crossing angle limits set for needle
briangann Aug 11, 2023
b8e4668
update packages and switch to yarn berry
briangann Sep 14, 2023
88d5986
fix workflow
briangann Sep 14, 2023
1ebede2
fix packages
briangann Sep 14, 2023
25db100
fix packages
briangann Sep 14, 2023
caa2454
fix workflow
briangann Sep 14, 2023
f604c22
try fixing cache
briangann Sep 14, 2023
e9ca489
add levitate
briangann Sep 14, 2023
af62854
update packages
briangann Sep 14, 2023
a3c9022
update workflows
briangann Sep 15, 2023
43ca10b
add semi rule to eslint
briangann Sep 15, 2023
e01c43e
update
briangann Sep 20, 2023
02dc6ce
update
briangann Sep 20, 2023
0988b2f
fix lint errors
briangann Sep 20, 2023
43be3bd
fix semicolon
briangann Sep 20, 2023
f7f06e1
fix spacing
briangann Sep 20, 2023
af19800
handle undefined bands
briangann Sep 20, 2023
12a5f69
implement crossing limits, add test environment
briangann Sep 22, 2023
8fe2a2d
update packages
briangann Sep 22, 2023
9888cb7
cleanup
briangann Sep 22, 2023
b8a8507
refactor
briangann Sep 22, 2023
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
227 changes: 0 additions & 227 deletions .circleci/config.yml.disabled

This file was deleted.

13 changes: 13 additions & 0 deletions .config/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
*
* In order to extend the configuration follow the steps in
* https://grafana.github.io/plugin-tools/docs/advanced-configuration#extending-the-eslint-config
*/
{
"extends": ["@grafana/eslint-config"],
"root": true,
"rules": {
"react/prop-types": "off"
}
}
16 changes: 16 additions & 0 deletions .config/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
*
* In order to extend the configuration follow the steps in .config/README.md
*/

module.exports = {
"endOfLine": "auto",
"printWidth": 120,
"trailingComma": "es5",
"semi": true,
"jsxSingleQuote": false,
"singleQuote": true,
"useTabs": false,
"tabWidth": 2
};
16 changes: 16 additions & 0 deletions .config/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ARG grafana_version=latest
ARG grafana_image=grafana-enterprise

FROM grafana/${grafana_image}:${grafana_version}

# Make it as simple as possible to access the grafana instance for development purposes
# Do NOT enable these settings in a public facing / production grafana instance
ENV GF_AUTH_ANONYMOUS_ORG_ROLE "Admin"
ENV GF_AUTH_ANONYMOUS_ENABLED "true"
ENV GF_AUTH_BASIC_ENABLED "false"
# Set development mode so plugins can be loaded without the need to sign
ENV GF_DEFAULT_APP_MODE "development"

# Inject livereload script into grafana index.html
USER root
RUN sed -i 's/<\/body><\/html>/<script src=\"http:\/\/localhost:35729\/livereload.js\"><\/script><\/body><\/html>/g' /usr/share/grafana/public/views/index.html
Loading