Ryan McKinley
48fbe51d37
Chore: Avoid FC in canvas elements and dimension editors ( #61014 )
2023-01-05 09:55:55 -08:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
kay delaney
1ce750471f
A11y: Fix fastpass issues for dashboard management pages ( #39940 )
...
* A11y: Fix fastpass issues for dashboard pages
See #39429
2021-10-06 11:58:18 +01:00
Josh Hunt
4c0acf335b
Grafana-UI: Refactor Checkbox to fix alignment issues ( #36164 )
...
* Grafana-UI: Fix Checkbox vertical layout issues
* reorganise css
* WIP for fixing checkboxes in manage dashboards
* Cleanup checkbox and fix issue in Dashboard manage page
* update tests
2021-07-08 14:09:58 +02:00
Torkel Ödegaard
10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths ( #32541 )
...
* Babel: Updates babel dependencies to latest version
* Emotion: Upgrade form 10 to 11
* Fixing tests
* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +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
Chi-Hsuan Huang
546f569e0c
Chore: Enable eslint-plugin-react partial rules ( #29428 )
...
* Chore: Enable eslint react/display-name
Enable react/display-name and fixed the corresponding linting issue
part of: #29201
* Chore: Enable eslint react/no-deprecated
Enable react/no-deprecated and add the UNSAFE_ prefix for deprected methods
part of: #29201
* Chore: Enable eslint react/no-find-dom-node
Enable react/no-find-dom-node rule and use ref instead
part of: #29201
* Test: Update TeamGroupSync test snapshot
Since we added the displayName for ToolTip compontent and tag name is changed.
* Fix: Fixed ClickOutsideWrapper render
The props.children might contains numbers of nodes which make cloneElement failed. Change to simply use a div to wrapper
the children and assign the ref to div for this feature
* Style: Use shorthand method definition style for inline component
* Fix: Rebase master and fix linting
Rebase from master branch and fix new displayName linting warning
2020-12-01 16:19:52 +01:00
Torkel Ödegaard
6f02b51561
Search: Improving search look and feel ( #23854 )
...
* Search: Improving search look and feel
* Fixed issue with tag filter beeing cramped and wrapping tags
* Minor tag polish
* fixed type
2020-04-24 19:23:45 +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
Alex Khomenko
d04dce6a37
Search/refactor dashboard search ( #23274 )
...
* Search: add search wrapper
* Search: add DashboardSearch.tsx
* Search: enable search
* Search: update types
* Search: useReducer for saving search results
* Search: use default query
* Search: add toggle custom action
* Search: add onQueryChange
* Search: debounce search
* Search: pas dispatch as a prop
* Search: add tag filter
* Search: Fix types
* Search: revert changes
* Search: close overlay on esc
* Search: enable tag filtering
* Search: clear query
* Search: add autofocus to search field
* Search: Rename close to closeSearch
* Search: Add no results message
* Search: Add loading state
* Search: Remove Select from Forms namespace
* Remove Add selectedIndex
* Remove Add getFlattenedSections
* Remove Enable selecting items
* Search: add hasId
* Search: preselect first item
* Search: Add utils tests
* Search: Fix moving selection down
* Search: Add findSelected
* Search: Add type to section
* Search: Handle Enter key press on item highlight
* Search: Move reducer et al. to separate files
* Search: Remove redundant render check
* Search: Close overlay on Esc and ArrowLeft press
* Search: Add close button
* Search: Document utils
* Search: use Icon for remove icon
* Search: Add DashboardSearch.test.tsx
* Search: Move test data to a separate file
* Search: Finalise DashboardSearch.test.tsx
* Add search reducer tests
* Search: Add search results loading indicator
* Search: Remove inline function
* Search: Do not mutate item
* Search: Tweak utils
* Search: Do not clear query on tag clear
* Search: Fix folder:current search
* Search: Fix results scroll
* Search: Update tests
* Search: Close overlay on cog icon click
* Add mobile styles for close button
* Search: Use CustomScrollbar
* Search: Memoize TagList.tsx
* Search: Fix type errors
* Search: More strictNullChecks fixes
* Search: Consistent handler names
* Search: Fix search items types in test
* Search: Fix merge conflicts
* Search: Fix strictNullChecks errors
2020-04-08 18:14:03 +03:00
Alex Khomenko
85dc4e565e
Search/migrate search results ( #22930 )
...
* Search: Setup SearchResults.tsx
* Search: add watchDepth
* Search: Use SearchResults.tsx in Angular template
* Search: Render search result header
* Search: Move new search components to features/search
* Search: Render nested dashboards
* Search: Expand dashboard folder
* Search: Remove fa prefix from icon names
* Search: Enable search results toggling
* Search: Add onItemClick handler
* Search: Add missing aria-label
* Search: Add no results message
* Search: Fix e2e selectors
* Search: Update SearchField imports
* Search: Add conditional classes
* Search: Abstract DashboardCheckbox
* Search: Separate ResultItem
* Search: Style ResultItem
* Search: Separate search components
* Search: Tweak checkbox styling
* Search: Simplify component names
* Search: Separate tag component
* Search: Checkbox docs
* Search: Remove inline on click
* Add Tag component
* Add Tag story
* Add TagList
* Group Tab and TabList
* Fix typechecks
* Remove Meta
* Use forwardRef for the Tag
* Search: Use TagList from grafana/ui
* Search: Add media query for TagList
* Search: Add types
* Search: Remove selectThemeVariant from SearchItem.tsx
* Search: Style section + header
* Search: Use semantic html
* Search: Adjust section padding
* Search: Setup tests
* Search: Fix tests
* Search: tweak result styles
* Search: Expand SearchResults tests
* Search: Add SearchItem tests
* Search: Use SearchResults in search.html
* Search: Toggle search result sections
* Search: Make selected prop optional
* Search: Fix tag selection
* Search: Fix tag filter onChange
* Search: Fix uncontrolled state change warning
* Search: Update icon names
* Search: memoize SearchCheckbox.tsx
* Search: Update types
* Search: Cleanup events
* Search: Semantic html
* Use styleMixins
* Search: Tweak styling
* Search: useCallback for checkbox toggle
* Search: Add stylesFactory
Co-authored-by: CirceCI <circleci@grafana.com>
2020-03-26 10:09:08 +01:00