Tobias Skarhed
f31f17d559
Fix strict nulls ( #23931 )
2020-04-27 12:07:32 +02:00
Tobias Skarhed and Dominik Prokop
d0e23af228
Angular/Forms migration: Orgs list ( #23821 )
...
* Create new components
* Fix async issues
* Remove comments
* Update public/app/features/admin/AdminOrgsTable.tsx
* Update public/app/features/admin/AdminListOrgsPage.tsx
* Update public/app/features/admin/AdminListOrgsPage.tsx
* Remove angular code
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-04-27 10:00:17 +02:00
Tobias Skarhed
ff4d199ce4
Migration: Admin org edit page ( #23866 )
...
* Start migration
* Migrate admin org edit page
2020-04-25 14:14:22 +02:00
Tobias Skarhed
8d56f87473
Migration: Alerting - notifications list ( #22548 )
...
* Handle empty list
* Connect to redux
* Finish migration
* Remove comments
* Remove old files
* Remove console log
* Remove old import
* Forgot to add the new button
* Fix href
* Fix feedback
2020-04-24 18:13:45 +02:00
Tobias Skarhed
e18e4cf015
Forms migration: Data/Panel link editor ( #23778 )
...
* DataLink input to new form styles
* Make Angular work with inline editor
* Remove onRemove and desiableRemove
* Remove DataLinksEditor
* Change order of inputs
* Enable syntax highlight
* Fix datalinks for Elastic
2020-04-24 09:26:22 +02:00
Tobias Skarhed
3fbdcf1070
Form migrations: Teams and alert list ( #23810 )
...
* Basic migration
* Update test
* Fix feedback
2020-04-24 09:26:09 +02:00
Tobias Skarhed
78a6d39ebb
Forms migration: LayoutSelector ( #23790 )
2020-04-22 17:49:46 +02:00
Tobias Skarhed
7e4292508f
Form migrations: Final components to LegacyForms ( #23707 )
...
* FormField to LegacyForms
* FormLabel to InlineFormLabel
* Move SecretFormField to LeagcyForms
2020-04-21 11:42:21 +02:00
Tobias Skarhed
9bbc007cb9
Input: Width prop ( #23615 )
...
* Add width property
* Remove unused import
* Spelling mistake
* Add width to interface
* Make width optional
* Remove size
* Update snapshot
* Remove size from places
* Add size prop for button
* Update width
* Update snapshots
2020-04-21 10:42:57 +02:00
Tobias Skarhed
1f6a6b3802
Storybook: Small fixes ( #23692 )
2020-04-20 13:33:37 +02:00
Tobias Skarhed
a9e408fecf
Forms migration: Change password ( #23623 )
...
* Migrate ChangePassword
* Add validation
2020-04-17 11:24:21 +02:00
Tobias Skarhed
0a1ab60b8c
Storybook: Organizing ( #23572 )
...
* Initial reorganizing
* Update Layout props table
* Change sorting and move stories
2020-04-15 21:51:20 +02:00
Tobias Skarhed
cff70b6648
Forms migration: Org users page ( #23372 )
...
* Migrate UsersActionBar
* Invites table
* Migrate Users page
* Select version of OrgPicker
* OrgRolePicker to use Select only
* Fix modal issue
* Move legacy Switch
* Move from Forms folder
* Fix failing test
* Merge and fix issues
* Update OrgRole issues
* OrgUser type
* Remove unused import
* Update Snapshot
2020-04-15 16:49:20 +02:00
Tobias Skarhed
da6056d5e1
Form migrations: Forms/switch move folders ( #23430 )
...
* Move legacy Switch
* Move from Forms folder
* Fix prettify issue
* Fix prettify issue
2020-04-15 10:59:15 +02:00
Tobias Skarhed and Alex Khomenko
fa6a43c6e5
Docs: Select ( #23398 )
...
* Start Select docs
* Writ emore docs
* Apply suggestions from code review
Co-Authored-By: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2020-04-15 10:11:25 +02:00
Tobias Skarhed
f15593684a
Form migrations: Last components from Forms namespace ( #23556 )
...
* Migrate RadioButtonGroup
* Migrate Label
* Migrate Form
* Migrate Field
* Missing Form import
* Migrate InputControl
* Migrate Checkbox
* Move InputControl and uncomment
* Fix small issues
* inor fix
* Fix import
* Fix stuff
2020-04-14 18:52:56 +02:00
Tobias Skarhed
5cd2b22684
Storybook: Change deploy bucket ( #23569 )
2020-04-14 18:28:41 +02:00
Tobias Skarhed
4cf8e1d6a7
Storybook: Update URL to push to new bucket ( #23441 )
2020-04-14 08:26:41 +02:00
Tobias Skarhed
c11ea0b973
Form migrations: TextArea from Forms namespace ( #23436 )
...
* Move from Forms namespace and move folder
* Figrate pages from Forms
* Make Enterprise mergable
2020-04-09 09:16:10 +02:00
Tobias Skarhed
61a2a713ea
Forms migrations: Move Switch from Forms namespace ( #23386 )
2020-04-08 10:17:19 +02:00
Tobias Skarhed and Dominik Prokop
21f55d1345
@grafana/ui docs: Input ( #23228 )
...
* Add prefix and suffix example
* Update doc
* Update packages/grafana-ui/src/components/Forms/Input/Input.mdx
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
* Add light theme to be loaded for docs
* Add more docs
* Make Legacy stories internal
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-04-07 09:24:24 +02:00
Tobias Skarhed
553f50e4f5
Form migrations: Switch to LegacyForms namespace ( #23357 )
...
* Move Switch to Legacy namespace
* Make story internal
* Fix import
2020-04-07 08:50:54 +02:00
Tobias Skarhed
6748ceae67
Update storybook.md ( #23374 )
2020-04-07 06:59:50 +02:00
Tobias Skarhed
f91c7a81ce
Forms migration: Move Input folders ( #23313 )
...
* Remove exports
* Move folders
* Fix errors
2020-04-06 11:20:22 +02:00
Tobias Skarhed
b86789c66b
Docs: task template typo ( #23322 )
2020-04-03 17:19:01 +02:00
Tobias Skarhed
2e58a65e8f
Forms migration: Remove Input from Forms namespace ( #23301 )
2020-04-03 10:04:19 +02:00
Tobias Skarhed
1704fe074a
Codeowner: Marcus Olsson and Jess for .mdx files ( #23290 )
...
* Codeowner: Marcus Olsson for .mdx files
* Update CODEOWNERS
2020-04-02 16:54:04 +02:00
Tobias Skarhed
703476b3ae
Forms migration: Input namespace ( #23286 )
...
* Update exports
* Add LegacyForms namespace
* Update ci grep
2020-04-02 16:18:06 +02:00
Tobias Skarhed
a2a579cea7
Forms migration: Finalizing Select namespace ( #23281 )
2020-04-02 13:25:09 +02:00
Tobias Skarhed
b34281e250
Forms migration: Old Select to Legacy namespace ( #23200 )
...
* Export other components as Legacy
* More Select Legacy
* Add namespacing to more files
* Export new elements
* Move Legacy Select folder
* Let's not forget the scss file
* Move new Select folder
* Move new Select from Forms namespace
* Little oopsie
* Fix errors
* Fix merge issues
2020-04-02 10:57:35 +02:00
Tobias Skarhed
69259d62a0
Forms migration: User edit ( #23110 )
...
* Forms for UserProfile
* Migrate to new Form styles
* Add remove icon
* Remove unused import
* Update public/app/features/admin/UserOrgs.tsx
* Remove comment
* Remove icon and add text
* Make every ButtonGroup unique - regardless of values
* Remove visual glitch etc.
* Fic failing typecheck
2020-04-01 17:36:08 +02:00
Tobias Skarhed
d7d94d13a0
Forms migration: New datasource ( #23221 )
...
* Add Icon to Button and add newForms to FilterInput
* Reset button changes
* Update feedback
* Update Snapshots
2020-04-01 15:55:23 +02:00
Tobias Skarhed
3385ed9007
Storybook: Update theme switcher ( #23187 )
2020-03-30 11:50:46 +02:00
Tobias Skarhed
6d6d86f940
Storybook: Add internal stories functionality ( #23139 )
2020-03-27 14:37:08 +01:00
Tobias Skarhed
e5f4ac8ca0
Forms Migrations; Remove Buttons from Forms namespace ( #23105 )
2020-03-26 12:47:21 +01:00
Tobias Skarhed and Torkel Ödegaard
5cdb8f8e44
Form Migrations: Button ( #23019 )
...
* Update legacy exports and fix Type errors
* Remove Button and LinkButton from Forms namespace
* Fix errors
* Update snapshots
* Move Legacy button
* Migrate more Buttons
* Remove legacy button dependency
* Move button up
* Remove legacy button
* Update Snapshots
* Fix ComponentSize issues
* Switch primary button
* Switch primary
* Add classNames and fix some angular directive issues
* Fix failing build and remove log
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-03-26 11:50:27 +01:00
Tobias Skarhed
aeb88015ab
Storybook: Fix broken stories ( #22975 )
...
* Rewrite to CSF and make it not crash
* Move comments to be in generated docs
* Fix broken ThresholdsEditor story
* Fix breaking Select docs
2020-03-23 17:54:48 +01:00
Tobias Skarhed
c82a778c3d
Storybook: Remove unneccesary stories and reorganize a bit ( #22959 )
2020-03-23 13:02:09 +01:00
Tobias Skarhed and Dominik Prokop
a2b3da2792
Migration: Create org ( #22542 )
...
* Add NewOrgPage
* Remove filrs
* Remove import
* Remove comments
* Get navModel from Redux
* Add DTO
* Get nav model from state
* Change error display
* Add async await and check if org is available
* Fix null strict null error
* Update public/app/features/org/NewOrgPage.tsx
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-03-19 14:22:53 +01:00
Tobias Skarhed
c7951a2575
Storybook: Solve deployment issues ( #22873 )
2020-03-19 07:51:22 +01:00
Tobias Skarhed
5a5122e7e3
BarGauge: Fix strict null that breaks Storybook build ( #22871 )
2020-03-18 18:23:48 +01:00
Tobias Skarhed
492264abc3
CircleCI: Don't build Storybook on PR ( #22865 )
2020-03-18 13:57:17 +01:00
Tobias Skarhed
81fed255fd
Storybook: add canary deploy from master ( #22843 )
...
* Canary from master latest from release
* Fix logo URL
2020-03-17 15:03:59 +01:00
Tobias Skarhed
7f76e8b684
Storybook: Deploy on PR, master and release ( #22827 )
...
* Update CircleCI deployment
* Add GCP auth
* Change master to latest dir
2020-03-17 13:34:41 +01:00
Tobias Skarhed
8a03703837
Storybook: Add relative logo url ( #22786 )
2020-03-14 09:04:14 +01:00
Tobias Skarhed
b4666456f0
Pass dashboard via angular directive ( #22696 )
2020-03-11 08:31:07 +01:00
Tobias Skarhed
9a67e94618
StatPanel: Return base color when there is no value set ( #22690 )
2020-03-10 16:57:23 +01:00
Tobias Skarhed
7598d3fb43
Notification Channel: Make test button wider ( #22653 )
...
* Remove width
2020-03-10 13:17:03 +01:00
Tobias Skarhed and Dominik Prokop
98418ea55f
Old AsyncSelect: Add story ( #22536 )
...
* Change to CSF
* Remove comments
* Fix AsyncSelect error
* Remove changes to the component
* Restructure
* Remove comments
* Add searching
* Remove witespace
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-03-03 17:06:57 +01:00
Tobias Skarhed
87da6a293b
Revert "Select: scroll into view when navigate with up/down arrows ( #22503 )" ( #22535 )
...
This reverts commit 75fe3c839b .
2020-03-03 11:51:17 +01:00
Tobias Skarhed
8b122ee464
Cascader: Add size for input ( #22517 )
2020-03-03 10:34:42 +01:00
Tobias Skarhed and Diana Payton
2483efb8c5
Docs: Add Storybook guidelines ( #22465 )
...
* Add Storybook guidlines
* Make lists
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update contribute/style-guides/storybook.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Apply suggestions from code review
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update docs with feedback
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2020-03-02 20:11:04 +01:00
Tobias Skarhed
768911a6f9
Migration: Invite Signup ( #22437 )
...
* Inital commit with new page
* Make routing work
* Correct field
* Move submit button and fix routing after signup
* Remove comments
* Fix feedback
* Undo mistake
2020-02-28 15:45:00 +01:00
Tobias Skarhed and Dominik Prokop
d2689b6d6c
Migration: User invite ( #22263 )
...
* Add new form and functionality
* Add new files
* Connect to Redux and add navigation stuff
* Add required login/name
* Remove import
* Fix feedback
* Replace direct button spacing with HorizontalGroup
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-02-20 08:01:14 +01:00
Tobias Skarhed
9cf84c51f5
Select: Fix focus issue and remove select container ( #22309 )
2020-02-20 07:25:23 +01:00
Tobias Skarhed
0c4dae321c
Migrations: Signup page ( #21514 )
...
* Start Angular migration
* Add SignupCtrl
* Change name signup
* Add backend call
* Put form in separate file
* Add form model
* Start using react-hook-forms
* Add FormModel to state
* Reduxify
* Connect nav with Redux
* Fix routing and navModel
* Fetch state options on mount
* Add default values and add button margin
* Add errror messages
* Fix title
* Remove files and cleanup
* Add Signup tests
* Add boot config assingnAutoOrg and verifyEmailEnabled
* Remove onmount call
* Remove ctrl and move everything to SignupForm
* Make routeParams optional for testing
* Remove name if it is empty
* Set username
* Make function component
* Fix subpath issues and add link button
* Move redux to SignupPage
2020-02-17 11:13:13 +01:00
Tobias Skarhed
029a6c64b4
Storybook: Add color theme and theme switcher ( #22005 )
...
* Add color theme and serve static files for storybook
* Add color theme and serve static files for storybook
* Export dark and light theme
* Add storybook-dark-mode package
* Add theme toggle functionality
* Toggle story theme too
* Remove unused import
* webpack config changes not needed
2020-02-17 10:36:16 +01:00
Tobias Skarhed
1554dcee0d
Cascader: Fix issue where the dropdown wouldn't show ( #22045 )
...
* Fix z-index on cascader
* Cleanup
* Remove unused import
2020-02-09 17:02:07 +01:00
Tobias Skarhed
88922ea4ee
Chore: Use forwardRef in ButtonSelect ( #22042 )
...
* forwardRef to ButtonSelect
* Remove innerRef prop
* Use styleFactory
2020-02-09 15:13:26 +01:00
Tobias Skarhed
eba0390502
New Select: Fix the overflow issue and menu positioning ( #22039 )
...
* Fix the overflow issue and menu positioning
* Add portal as a property
2020-02-09 12:50:01 +01:00
Tobias Skarhed
c75ca5cf06
UnitPicker: Use the new Cascader implementation ( #22029 )
...
* Use Cascader for UnitPicker and add relevant props to Cascader
* Fix grammar
* Add placeholder for UnitPicker
* Update comments
2020-02-08 19:06:06 +01:00
Tobias Skarhed
20c4d00df8
Cascader: Add enable custom value ( #21812 )
...
* Add an early exit
* Fix issue with blur and only display label
* Remove unused code
* Enabled custom value
* Update test
* Add custom value creating according to #21869
2020-02-08 16:02:03 +01:00
Tobias Skarhed
165c3adf1d
Storybook: Update categories ( #21898 )
...
* Update paths for Storybook categories
* Restructure categories
2020-02-06 10:32:35 +01:00
Tobias Skarhed
5c54bd1e98
New Select: Blur input on select ( #21876 )
2020-02-04 11:35:18 +01:00
Tobias Skarhed
959c49f6d8
Disable logging in button ( #21900 )
2020-02-04 09:41:11 +01:00
Tobias Skarhed
8aed87394d
Select: Fix scroll issue ( #21795 )
2020-01-29 09:08:52 +01:00
Tobias Skarhed
1ad569c470
Chore: bump react-select to 3.0.8 ( #21638 )
...
* Update imports
* Solve compability issues with react-select
* Fix frozen lockfile
* Update snapshots
* Change name to something less general
* Fix proposed changes
* Fix imports
* Fix changes
2020-01-28 07:43:18 +01:00
Tobias Skarhed
751eb2c8bb
TablePabel: Sanitize column link ( #21735 )
2020-01-25 16:59:58 +01:00