Alex Khomenko
574f609550
Init node item ( #45218 )
2022-02-11 16:18:33 +01:00
Alex Khomenko
d21abdfe77
Feature Highlights: Refactor report nav highlight ( #44765 )
...
* Remove UpgradeBox from report nav
* Add children prop
* Update icon
* Update styles
* Update text
* Add pro badge to main nav
* Remove redundant span
* Update secondaryAction
2022-02-08 09:53:57 +02:00
Alex Khomenko
a79c048344
Feature Highlights: move setting to a feature toggle ( #44780 )
...
* Add toggle
* Use the toggle
* Cleanup
2022-02-03 13:53:23 +02:00
Alex Khomenko
3e0a589ba1
Update @grafana/tsconfig ( #44582 )
2022-01-28 11:30:06 +01:00
Alex Khomenko
28c51cde3a
Feature highlights: Highlight team group sync ( #44477 )
...
* Highlight team group sync
* Update text
2022-01-27 09:11:57 +02:00
Alex Khomenko
55e1c53e36
NavModel: Enable adding suffix elements to tabs ( #44155 )
...
* Trigger extra events
* Extend html attributes
* Add suffix to tabs
* Add upgrade routes
* suffix => highlightText
* suffix => suffixText
* Add size prop
* Update prop name
* Convert tabSuffix to a component
2022-01-26 09:15:45 +02:00
Alex Khomenko and Ashley Harrison
aead2e9157
Navigation: allow adding extra content ( #44048 )
...
* Add PRO badge
* Allow adding extra content
* Add extra content for the new navbar
* Use highlight text instead of extra content
* Trigger extra events
* Remove ExtraContent
* Update public/app/core/components/NavBar/NavFeatureHighlight.tsx
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Remove redundant i
* Add UpgradeBox
* Move highlight to menu trigger
* Clear navbar next
* Cleanup
* Fix UpgradeBox styles
* Add arrow icon
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-01-25 10:04:44 +02:00
3b4a4be3c6
Feature highlights: add setting toggle ( #43394 )
...
* Feature highlights: add toggle setting
* Settings: Use provider for 'feature_highlights' section
* Fix frontendsettings API tests
* Document the toggle
Co-authored-by: Joan López de la Franca Beltran <5459617+joanlopez@users.noreply.github.com >
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com >
2021-12-24 10:49:52 +02:00
Alex Khomenko
9c2126c002
Dashlist: use defaultChecked for IconToggle ( #42642 )
2021-12-03 09:31:41 +01:00
Alex Khomenko
4e8b97b8ed
CI: Temporarily disable panel edit e2e test ( #42517 )
2021-11-30 13:46:23 +01:00
Alex Khomenko
8d22733666
grafana-ui: Style disabled option for Select ( #41464 )
2021-11-09 16:00:08 +01:00
Alex Khomenko
112e44181e
Separate SoloPanel rendering logic ( #41408 )
2021-11-09 09:47:01 +02:00
Alex Khomenko
026006290b
QueryGroup: Add missing keys for extra group action components ( #40619 )
2021-10-20 08:02:39 +02:00
Alex Khomenko and Selene
b5f39637d4
Admin: Enable extending filters ( #39825 )
...
* Setup extensible filters
* Fix test
* Handle filter as array
* Add className
* Abstract getFilters
* Make docs link external
* Use underline for links in tooltips instead of link color
Co-authored-by: Selene <selenepinillos@gmail.com >
2021-10-07 17:41:52 +03:00
Alex Khomenko
5c7e874008
Search: Fix local storage key ( #40127 )
...
* Default to 'General' if no folder title is present
* Add bottom padding
2021-10-07 11:35:31 +03:00
Alex Khomenko
d6fd17531d
QueryEditor: Add missing keys to extra action components ( #39913 )
2021-10-04 09:05:43 +03:00
Alex Khomenko and spinillos
62dc10829a
Admin: Show licensed roles and unit membership in UI ( #39773 )
...
* Extend User type
* Render licensed roles and org units
* Combine admin icon with units
* Extract search users to a new service
* Fix wire provider
* remove mock data
* Fix icon margin
* Fix common_test and remove RouteRegister
* Remove old endpoints
* Fix test
* Add indexes to dashboards and orgs tables
* Fix lint
* Revert docs changes
* undo docs formatting
* Change order of input and filters
* Abstract aria-label into a function
* Add accessible info about user's membership
* UI tweaks
Co-authored-by: spinillos <selenepinillos@gmail.com >
2021-09-29 18:26:50 +03:00
Alex Khomenko and Marcus Efraimsson
9f833681b1
Docs: Fix typos in merge pull request guide ( #38904 )
...
* Fix typos
* Update contribute/merge-pull-request.md
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-09-07 09:46:10 +02:00
Alex Khomenko
ea8d9d77f4
Admin: User list tweaks ( #38750 )
...
* Setup filter
* Enable filtering users by active in last 30 days
* Add loading state
* Update last active age strings
* Tweak user list
* Use theme spacing
* Improve table's accessibility
* Add more aria-labels
2021-09-01 16:53:58 +03:00
Alex Khomenko
7f27a2e1af
Add licensing card background images ( #38774 )
2021-09-01 10:46:03 +03:00
Alex Khomenko
d90c822e69
Fix key prop when rendering options ( #38595 )
2021-08-30 06:59:51 +02:00
Alex Khomenko
a15e33e693
Admin: remove Redux from ServerStats ( #38581 )
...
* Admin: remove Redux from ServerStats
* Admin: Fix import
2021-08-27 11:09:17 +03:00
Alex Khomenko
c08d5eeda0
Update the location of the server stats tab ( #38548 )
2021-08-27 10:04:57 +03:00
Alex Khomenko
6e639f3c72
Admin: Update stats page UI ( #38014 )
...
* Add StatCard
* Style cards
* Update types
* Add tests
* Move stats tab into licencing
* Prevent UI jumps when loading stats
* Fix merge conflicts
* Revert docs format
2021-08-24 19:13:48 +03:00
Alex Khomenko
49fdab7e43
grafana/ui: Clarify InlineField docs ( #38100 )
...
* grafana/ui: clarify InlineField docs
* grafana/ui: revert formatting
* grafana/ui: revert formatting[2]
* grafana/ui: do not format code samples
* grafana/ui: disable mdx formatting
2021-08-23 16:25:09 +03:00
Alex Khomenko
059ef4ee9a
PasswordField: Fix button role ( #37816 )
...
* Fix button role
* Fix tests
2021-08-12 10:46:33 +02:00
Alex Khomenko
a6a09add7a
DateTimePicker: Use TZ independent formatter ( #37676 )
2021-08-09 12:37:53 +03:00
Alex Khomenko
1a46123dbf
TimeRangePicker: fix DOM nesting ( #37550 )
2021-08-04 17:04:31 +02:00
Alex Khomenko
8c8d2fe08b
Use dateTime vs new Date() ( #37210 )
2021-07-26 18:18:15 +02:00
Alex Khomenko
1655ff1e49
Add aria label ( #36468 )
2021-07-07 09:06:39 +03:00
Alex Khomenko
1ab4ffb03d
Fix Graph story ( #36259 )
2021-06-30 17:08:34 +03:00
Alex Khomenko
91e9ef232d
Memoize SearchResults ( #35851 )
2021-06-17 11:19:33 +03:00
Alex Khomenko
11335d6f6a
grafana/ui: Add DatePicker ( #35742 )
...
* Move DatePicker to grafana/ui
* Export the pickers
* Reuse TimePicker styles
* Fix date formatting
* Remove mockdate
* Add release tags
* Switch to input type='text'
* Move DatePicker to pickers
* Add mdx files
* Update types
* Update tests
2021-06-16 15:57:12 +03:00
Alex Khomenko
e5e93134cf
grafana/ui: Do not wrap words inside RadioButton ( #35654 )
2021-06-15 16:27:14 +03:00
Alex Khomenko
8e827337ea
Search: runAllTimers => runOnlyPendingTimers ( #35509 )
2021-06-11 12:45:18 +03:00
Alex Khomenko
2cc172db1a
Search: minor UI fixes ( #35335 )
...
* Increase margin between search item so it's visible
* Fix manage dashboards height overflow
* Align folder icon
* Increase margin
* Update container height
* Fix className not being passed to CardContainer
2021-06-08 14:41:06 +02:00
Alex Khomenko
bfcc6a2248
Remove extra margin for checkboxes ( #35169 )
2021-06-04 13:10:57 +02:00
Alex Khomenko
f683a497eb
Add missing select options for controls ( #35178 )
2021-06-04 10:28:27 +01:00
Alex Khomenko
486ab7c639
Debounce location update ( #35033 )
2021-06-01 17:20:00 +03:00
c6a78a6bd7
Reporting: update docs ( #34740 )
...
* Reporting: update dcos
* Add info about pausing reports
* Add version note
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Docs: update report form information
* Docs: update report scheduling
* Docs: re-order reporting sections
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
Co-authored-by: Agnès Toulet <agnes.toulet@gmail.com >
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2021-06-01 08:35:45 +02:00
Alex Khomenko
05f3161f8e
Admin: hide per role counts for licensed users ( #34984 )
...
* Hide per-role counts for licensed users
* Hide totals
2021-05-31 17:06:45 +03:00
Alex Khomenko
e38c6d73a0
Make sure ConfirmButton cannot be clicked when closed ( #34818 )
2021-05-31 10:39:55 +03:00
Alex Khomenko
10f6638d9e
Add custom icons for layout options ( #34890 )
2021-05-31 10:38:39 +03:00
Alex Khomenko
e9e438ee2f
Form: Expose all return values from useForm ( #34380 )
2021-05-24 15:09:33 +03:00
Alex Khomenko
ca416df9d1
grafana/ui: Add invalid prop to the TagsInput ( #34409 )
...
* Add invalid prop to the tag input
* Enable controls
2021-05-20 10:19:41 +03:00
Alex Khomenko
958ebce1e1
Enable adding tags on blur ( #34374 )
2021-05-19 16:32:14 +02:00
Alex Khomenko
0a2054bbe0
Storybook: Fix Button story ( #34357 )
2021-05-19 11:22:39 +02:00
Alex Khomenko
9f9666415b
grafana/ui: Prevent Select placeholder text from wrapping ( #34260 )
2021-05-18 15:29:50 +03:00
Alex Khomenko
10a19ab790
grafana/ui: update react-hook-form to version 7.5.3 ( #34218 )
2021-05-18 12:07:13 +03:00
Alex Khomenko
65cacd31c2
grafana/ui: Unify disabled styles for input components ( #34126 )
...
* Select: Add disabled prop to SingleValue
* TagsInput: Disable remove button with disabled prop
* Checkbox: Add disabled styles
2021-05-15 10:06:42 +02:00
Alex Khomenko
167bad070b
Grafana-UI: Add disabled state to picker components ( #34005 )
...
* TimeRangeInput: add disabled prop
* TimeOfDayPicker: add disabled prop
* TimeZonePicker: add disabled prop
* TagsInput: add disabled prop
2021-05-12 18:33:36 +03:00
Alex Khomenko
553d3b9dbc
Grafana-UI: Add className to TagsInput ( #33944 )
...
* Grafana-UI: Add className to TagsInput
* Do not add existing tags
2021-05-12 15:09:12 +03:00
Alex Khomenko
60c32dc96a
Add explicit return to GetLoginSubTitle ( #33946 )
2021-05-11 18:52:16 +02:00
Alex Khomenko
7cd4066e9a
Add public tags to ThemeContext hooks ( #33940 )
2021-05-11 18:24:47 +02:00
Alex Khomenko
1b36656455
Use ids for enterprise nav model items ( #33854 )
2021-05-10 17:40:19 +03:00
Alex Khomenko
1a9c84f0e8
ConfirmButton: Add preventDefault ( #33743 )
2021-05-06 10:20:37 +03:00
Alex Khomenko and Domas
3b515e650c
Grafana-UI: Update React Hook Form to v7 ( #33328 )
...
* Update hook form
* Update Form component
* Update ChangePassword.tsx
* Update custom types
* Update SaveDashboardForm
* Update form story
* Update FieldArray.story.tsx
* Bump hook form version
* Update typescript to v4.2.4
* Update ForgottenPassword.tsx
* Update LoginForm.tsx
* Update SignupPage.tsx
* Update VerifyEmail.tsx
* Update AdminEditOrgPage.tsx
* Update UserCreatePage.tsx
* Update BasicSettings.tsx
* Update NotificationChannelForm.tsx
* Update NotificationChannelOptions.tsx
* Update NotificationSettings.tsx
* Update OptionElement.tsx
* Update AlertRuleForm.tsx
* Update AlertTypeStep.tsx
* Update AnnotationsField.tsx
* Update ConditionField.tsx
* Update ConditionsStep.tsx
* Update GroupAndNamespaceFields.tsx
* Update LabelsField.tsx
* Update QueryStep.tsx
* Update RowOptionsForm.tsx
* Update SaveDashboardAsForm.tsx
* Update NewDashboardsFolder.tsx
* Update ImportDashboardForm.tsx
* Update DashboardImportPage.tsx
* Update NewOrgPage.tsx
* Update OrgProfile.tsx
* Update UserInviteForm.tsx
* Update PlaylistForm.tsx
* Update ChangePasswordForm.tsx
* Update UserProfileEditForm.tsx
* Update TeamSettings.tsx
* Update SignupInvited.tsx
* Expose setValue from the Form
* Update typescript to v4.2.4
* Remove ref from field props
* Fix tests
* Revert TS update
* Use exact version
* Update latest batch of changes
* Reduce the number of strict TS errors
* Fix defaults
* more type error fixes
* Update CreateTeam
* fix folder picker in rule form
* fixes for hook form 7
* Update docs
Co-authored-by: Domas <domasx2@gmail.com >
2021-04-29 16:54:38 +03:00
Alex Khomenko
440f4182b9
Chore: Update @grafana/eslint-config ( #33512 )
...
* Update @grafana/eslint-config
* Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser
* Update dependencies in grafana/toolkit
2021-04-29 11:30:19 +03:00
Alex Khomenko
6d95f2f1db
Chore: Update typescript to v4.2.4 ( #33297 )
...
* Update typescript to v4.2.4
* Update @types/slate
* Fix QueryVariableEditor.test.tsx
* Fix search-related type errors
* Fix Plugin pages type errors
* Fix missing initializer errors
* Update snapshot
* Revert tsconfig changes
2021-04-28 15:40:01 +03:00
Alex Khomenko
1336a57e99
Grafana-UI: Export Card container styles ( #33386 )
...
* Export Card container styles
* Export CardContainer as a separate component
* Update story
* Remove tooltip
2021-04-28 13:41:20 +03:00
Alex Khomenko
4b801be98c
Silcense warning message for row ( #32985 )
2021-04-14 16:48:53 +03:00
Alex Khomenko
a626d844cb
Card: add missing padding ( #32702 )
2021-04-06 12:36:48 +03:00
Alex Khomenko
f1bc4078c8
Search: update item padding ( #32701 )
2021-04-06 10:11:43 +03:00
Alex Khomenko
8404d54277
Variables: Do not reset description on variable type change ( #31933 )
2021-03-12 13:49:19 +02:00
Alex Khomenko
b017c65409
Chore: upgrade eslint and fork-ts-checker-webpack-plugin ( #31854 )
...
* Chore upgrade eslint, fork-ts-checker-webpack-plugin
* Update eslint version for grafana-toolkit
* Update @grafana/eslint-config version
* Update @grafana/eslint-config in grafana-toolkit
* Update lockfile
2021-03-11 13:39:43 +02:00
Alex Khomenko
598a44076a
Remove invalid attribute ( #31848 )
2021-03-10 10:24:14 +02:00
Alex Khomenko
ab2f405205
Search: Make items more compact ( #31734 )
2021-03-06 10:51:09 +02:00
23c510f831
Docs: document report template variables ( #31637 )
...
* Docs: document report template variables
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update docs/sources/enterprise/reporting.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* update template variables title
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2021-03-04 10:54:11 +02:00
Alex Khomenko
e21b2748f6
DashList: Sort starred and searched dashboard alphabetically ( #31605 )
2021-03-03 08:59:01 +02:00
Alex Khomenko
119963ada2
Add reportVariables feature toggle ( #31469 )
2021-02-26 08:55:08 +02:00
Alex Khomenko and Torkel Ödegaard
6db4b40d5b
Data source list: Use Card component ( #31326 )
...
* Replace DataSourcesListItem with Card
* Add tests
* Remove unused styles
* Make card heading semi bold
* Make heading semi-bold
* Show type name instead of type id
* Fix key warning
* Update Card
* Fix tests
* Make typeName optional
* remove styling that was just a test
* Make typeName non-optional and fix tests
* Update list key
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-02-22 14:02:10 +02:00
Alex Khomenko
e932d5bb09
Grafana-UI: Update tooltip type ( #31310 )
2021-02-18 11:10:11 +02:00
Alex Khomenko and Agnès Toulet
c21e45e428
Search: display sort metadata ( #31167 )
...
* Search: display metadata
* Search: update SortPicker icon
* Search: display folder meta data
* Search: reset sort picker on layout change
* Search: align tags in Card component
* Search: replace hyphen with dash
* Search: preserve sort state on layout change
* Search: update tests
* Search: fix tests
* Update pkg/services/search/hits.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* Update public/app/features/search/types.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* Search: fix type error
* Search: add General folder name and adjust icon margin
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2021-02-17 14:06:19 +02:00
Alex Khomenko and Hugo Häggmark
6f1a38cbe2
Variables: Extend option pickers to accept custom onChange callback ( #30913 )
...
* Rename DashboardPicker props
* Extend variable option pickers to allow providing custom onchage callback
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Update public/app/features/variables/textbox/TextBoxVariablePicker.tsx
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Codeformat
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2021-02-12 16:00:12 +02:00
Alex Khomenko
eb83135ba9
Grafana-UI: Add story/docs for ErrorBoundary ( #30304 )
2021-02-02 09:50:00 +02:00
Alex Khomenko
64a1003a28
Add missing callback dependency ( #30797 )
2021-02-02 09:17:11 +02:00
Alex Khomenko
e36b035c05
DashboardPicker: switch to promise-based debounce, return dashboard UID ( #30706 )
...
* Use uid in dashboard picker
* Set both id and uid from picker
* Use debounce-promise
* Simplify logic
* Use exact package versions
2021-01-28 16:57:57 +02:00
Alex Khomenko
aad7d495ec
Grafana-UI: Fix setting default value for MultiSelect ( #30671 )
...
* Grafana-ui: Default value to undefned vs empty array
* Grafana-ui: Remove log
* Grafana-ui: Update tests
2021-01-27 19:10:18 +02:00
Alex Khomenko
506120bb81
Grafana-UI: Make Card story public ( #30388 )
...
* Grafana-ui: Enable customisable separator for metadata
* Grafana-ui: Make Card story public
2021-01-19 14:23:11 +02:00
Alex Khomenko
0fceca5f73
Search: use Card component ( #29892 )
...
* Search: Use Card component for search items
* Search: Set min height of search item
* Search: Adjust item height
* Search: Move tags to the right
* Search: Center item content
* Search: Align tags
* Search: Adjust Card spacing
* Search: Adjust dimensions
2021-01-19 13:42:59 +02:00
Alex Khomenko
4971ce6a3c
Grafana-toolkit: Update component generator templates ( #30306 )
...
* Grafana-toolkit: Update component generator templates
* Update story name
2021-01-16 11:31:54 +02:00
Alex Khomenko
61b9d811cb
Grafana UI: EmptySearchResult docs ( #30281 )
...
* Grafana-UI: Remove sass
* Grafana-UI: Add story/docs
2021-01-15 09:29:44 +02:00
Alex Khomenko
b48ac0dc53
Grafana-UI: Add story/docs for FilterPill ( #30252 )
...
* Grafana-UI: Add story/docs for FilterPill
* Grafana-UI: Update args
2021-01-14 09:55:49 +02:00
Alex Khomenko
b8d84092bb
Grafana-UI: Add story/docs for Counter ( #30253 )
...
* Grafana-UI: Add story/docs for Counter
* Grafana-UI: Fix naming
2021-01-14 09:09:08 +02:00
Alex Khomenko
3a27dc55eb
Move colors demo under theme colors ( #29873 )
2020-12-16 10:51:45 +02:00
Alex Khomenko
8d9b4e4ac2
Display palette and colors for dark and light themes in storybook ( #29848 )
2020-12-15 17:40:24 +02:00
Alex Khomenko
dd1cbd21f0
Docs: Add info about typing of connected props to Redux style guide ( #29842 )
...
* Add info about typing of connected props
* Update with suggestions
2020-12-15 16:27:43 +02:00
Alex Khomenko and Torkel Ödegaard
b1a57c6f77
Chore: Automatically infer types for dashgrid connected components ( #29818 )
...
* Refactor DashboardPanel
* Refactor PanelEditor
* Fix missing initializer
* Update public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Simplify type
* Remove unused type
* Move prop connectors on top
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2020-12-15 13:18:40 +02:00
Alex Khomenko and Dominik Prokop
8587e9fe6c
Grafana-UI: Support optgroup for MultiSelect ( #29805 )
...
* Grafana-UI: Support optgroup for MultiSelect
* Update packages/grafana-ui/src/components/Select/Select.story.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-12-14 15:11:25 +02:00
Alex Khomenko and kay delaney
2c4899a4cd
Grafana UI: Card API refactor ( #29034 )
...
* Refactor API
* Fix types
* Cleanup
* Remove useMemo
* Update actions
* Update story
* Align secondary actions
* Replace snapshot tests
* Update docs
* Update packages/grafana-ui/src/components/Card/Card.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
* Allow overriding child props
* Fix types and remove alpha tags
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2020-11-19 09:48:56 +02:00
Alex Khomenko and Dominik Prokop
9e5f0a48f6
Update react-testing-library ( #29061 )
...
* Update react-testing-library
* Update package.json
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* Update lockfile
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-11-13 12:55:19 +02:00
Alex Khomenko
1d7fda4db6
Grafana-UI: LoadingPlaceholder docs ( #28874 )
...
* Refactor props
* Add docs
2020-11-09 09:25:07 +02:00
9b90ff2961
Disable selecting enterprise plugins with no license ( #28758 )
...
* Add unlicensed property to plugins
* Disable selecting unlicensed plugin
* Add customizable plugin market place url
* License: workaround enabled only in enterprise
* linter
* Move licensing info to front end
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update sample.ini
* Update docs
* Update packages/grafana-runtime/src/config.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/features/datasources/state/buildCategories.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix spelling
Co-authored-by: Leonard Gram <leo@xlson.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2020-11-05 12:55:40 +02:00
Alex Khomenko
18d8185eb0
AlertRuleList: Add keys to alert rule items ( #28735 )
2020-11-02 12:35:23 +01:00
Alex Khomenko and Torkel Ödegaard
c96ef2676e
Grafana-UI: Add Card component ( #28216 )
...
* Base card
* Add disabled state
* Expand knobs
* Add card actions
* Add meta data
* Allow custom tags
* Extend container props
* Add inner link
* Add docs
* Add missing keys
* Update margins
* Add description
* Add full card example
* Tweak disabld state
* Export Card
* title => heading
* Filter out empty content
* Add disableEvents
* Move tooltip to container
* Use new Card for AlertRuleItem
* Cleanup
* Update snapshot
* Rename props
* Rename props[2]
* Disable hover is onClick is missing
* Fix alert rule item
* Update snapshot
* Export CardProps
* Replace logo
* Remove tag prop
* Remove extra div
* Add @public
* Update AlertRuleItem
* Simplify disabled logic
* Export Card styles
* Remove AlertRuleItem tooltips
* Revert to old button design
* Make component internal
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-10-28 09:23:22 +02:00
Alex Khomenko
75ebf3f15c
Grafana-UI: ContextMenu docs ( #28508 )
...
* Add story
* Add docs
* Get rid of selectThemeVariant
* Minor tweaks
2020-10-27 17:18:45 +02:00
Alex Khomenko
d6fd8e4584
Plugin page: update readme icon ( #28465 )
...
* Update readme icon
* Use file icon
2020-10-22 17:19:49 +03:00
Alex Khomenko and Ryan McKinley
1cce13b501
Add unique ids to query editor fields ( #28376 )
...
* Add unique ids to query editor fields
* Update public/app/plugins/datasource/testdata/components/RandomWalkEditor.tsx
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2020-10-19 18:56:57 +03:00
Alex Khomenko
3225b119d4
Migration: TestData Query Editor ( #27997 )
...
* Use new editor
* Add basic fields
* Add labels
* Add ids
* Add ManualEntryEditor
* Use tooltip prop
* Switch to inline labels
* Fix inline label tooltip position
* Allow resetting max-width
* Replace form inputs
* Add random walk editor
* separate editors
* Add logs and endpoints fields
* Add PredictablePulseEditor
* Add CSVWaveEditor
* Add grow prop
* Add default query
* Fix types
* Fix manual editor
* Fix type issues
* Handle scenario change
* Sort scenarios by label
* Add ManualEditor test
* Fix label height
* test manual editor
* Update test
* Setup QueryEditor tests
* Fix selected value
* Connect CSVWaveEditor
* Convert stream data to numbers
* Fix random walk editor
* Cleanup
* Convert scenarios to ts
* Remove extra icon styles
* Minor tweaks
* Update e2e tests
* Remove useEffect
* Add missing aria-labels
* Use new button components
2020-10-14 13:08:35 +03:00
Alex Khomenko
9c112cd785
Grafana-UI: Form elements fixes ( #27858 )
...
* Fix inline label tooltip position
* Allow resetting max-width
* Fix label alignment and props
* Fix label line height
2020-10-07 13:20:32 +03:00