Ashley Harrison
50dd95c09b
Chore: Remove betterPageScrolling toggle ( #89339 )
...
* remove betterPageScrolling toggle
* add scrollTo test shim
2024-06-18 14:33:08 +01:00
Ashley Harrison
890482052a
Login: Fix Skip button alignment ( #89332 )
...
fix login skip button alignment
2024-06-18 15:35:45 +03:00
Ashley Harrison
7bb883e375
Analytics: Fix ApplicationInsights integration ( #89299 )
...
change ApplicationInsights backend to use SystemJS to load
2024-06-17 16:19:12 +01:00
Ashley Harrison
7c5c01cb6c
Chore: Tidy up more font-awesome SCSS ( #89207 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
* remove fa animated styles
* move sr-only to global styles
* condense remaining font-awesome stuff into 1 file
* extract out spin animation into util folder
2024-06-14 11:35:32 +01:00
Ashley Harrison
84590901e5
Chore: Migrate some more deprecated SCSS ( #89160 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
2024-06-14 10:46:44 +01:00
Ashley Harrison
822644714a
Navigation: Remove ApplyAdminIA logic ( #89113 )
...
make admin IA more normal
2024-06-12 16:45:13 +01:00
Ashley Harrison
13d00e09ab
Chore: Migrate some more SCSS to emotion ( #89038 )
...
* migrate section-heading
* move fonts to global styles
* migrate code styles to emotion globals
* migrate spacings styles and leave some in angular
* padding should be 2 here not 1
2024-06-12 14:46:20 +01:00
Ashley Harrison
89dd710ca9
Chore: Add extra check in keybinds e2e test to prevent flake ( #89034 )
...
add extra check
2024-06-11 16:28:47 +01:00
Ashley Harrison
55dfc76b23
Chore: replace General with Dashboards ( #89017 )
...
replace General with Dashboards
2024-06-11 13:10:25 +01:00
Ashley Harrison
09dfdef378
Calendar: Add labels for next/previous month ( #89019 )
...
add labels for next/previous month
2024-06-11 11:49:02 +01:00
Ashley Harrison
06c30ee165
Chore: Migrate more SCSS styles ( #88780 )
...
* remove animations mixins
* move drop and drop-element to angular file
* migrate submenu scss
2024-06-10 16:10:54 +01:00
Ashley Harrison
f78fb4ff16
Chore: Remove hardcoded wait in keybinds e2e test ( #88895 )
...
* remove hardcoded wait in keybinds test
* review comments
2024-06-10 15:09:15 +01:00
Ashley Harrison
c6d07194cc
Chore: Migrate DashboardRow SCSS styles ( #88768 )
...
migrate dashboard-row styles
2024-06-07 11:31:58 +01:00
Ashley Harrison
5f33943397
Select: Revert "preserving custom value" changes ( #88856 )
...
* revert Select changes as we can handle it outside of the base select component
* update scenes
* update scenes properly
* revert changes to azure-monitor e2e tests
2024-06-06 17:33:31 +01:00
Ashley Harrison
2297687ae1
Chore: Ensure all react-transition-group animations use nodeRef ( #88604 )
...
* ensure all react-transition-group animations pass nodeRef
* clone children instead of wrapping in div
* remove div wrapper
* revert back to div
2024-06-05 15:01:50 +01:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker toggle ( #88660 )
...
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
Ashley Harrison
9f95841c45
Chore: Fix typo in lint rule file name ( #88662 )
...
rename file
2024-06-04 12:08:37 +03:00
Ashley Harrison
1cb701c304
Chore: Move Switch SCSS to emotion/angular ( #88553 )
...
move switch scss to emotion/angular
2024-06-04 09:34:38 +01:00
Ashley Harrison
3f3f95fe0c
Betterer: force update results file ( #88637 )
...
force update results file
2024-06-03 18:43:47 +03:00
Ashley Harrison
16099c9913
Drawer: Fix overflow to stop drag handle being cut off ( #88500 )
...
fix drawer overflow to stop drag handle being cut off
2024-06-03 15:35:46 +01:00
Ashley Harrison
e781716a38
Chore: move PageHeader component to angular folder ( #88556 )
...
move page-header component to angular folder, scss to angular.scss
2024-06-03 11:47:47 +01:00
Ashley Harrison
9317e2e1b2
Chore: fix betterer results ( #88539 )
...
fix betterer results
2024-05-31 15:01:15 +03:00
Ashley Harrison
8811c14aeb
AdHoc filters: add support for groups in adhoc filters + fix group styling ( #88430 )
...
add support for groups in adhoc filters + fix group styling
2024-05-31 11:04:19 +01:00
Ashley Harrison
8c88f605e4
Chore: Migrate some more scss styles ( #88484 )
...
* migrate some more styles
* migrate typeahead styles
* migrate tagsinput styles
2024-05-31 10:04:25 +01:00
Ashley Harrison
413013a000
update results file
2024-05-30 17:10:10 +03:00
Ashley Harrison
ecfe50439b
Chore: Remove last of the SCSS from grafana/ui ( #88302 )
...
* remove last of scss from grafana/ui
* add comment about legacySelect classes
2024-05-28 14:58:51 +01:00
Ashley Harrison
b4e49e3114
Select: Ensure screenreader correctly narrates options ( #88118 )
...
* replace select aria-label with data-testid
* update in copy pasted places as well
* update plugin-e2e to 1.2.2
2024-05-28 14:51:47 +01:00
Ashley Harrison
f1dbe39533
Chore: Improve typings ( #88282 )
...
* remove some type assertions
* some more type assertion fixes
* nicer
* shortcircuit while loop when hitting something that isn't an HTMLElement
2024-05-28 13:20:57 +01:00
Ashley Harrison
7e25ff5756
Select: Support option groups in virtualised Selects ( #88232 )
...
* change select group headers to always be visible
* remove unnecessary SelectOptionGroup
* hacky change to work with virtualised lists
* undo this change
* add top border
* remove children from the category header
* don't virtualize story
* bit of renaming
* comments
* add new story for virtualized options
2024-05-28 10:49:43 +01:00
Ashley Harrison
6f9527b4c2
DashboardGrid: Ensure drag handle always follows the cursor ( #88099 )
...
use flushSync in react-grid-layout
2024-05-28 09:46:04 +01:00
Ashley Harrison
c706166a24
Select: Change Select group headers to always be visible ( #88178 )
...
* change select group headers to always be visible
* remove unnecessary SelectOptionGroup
* add top border
2024-05-22 20:25:27 +03:00
Ashley Harrison
a5414020f8
SCSS: Remove some more scss ( #88129 )
...
remove some more scss
2024-05-22 13:48:34 +01:00
Ashley Harrison
5f3cd4b900
SCSS: Remove _icons.scss and associated icons ( #88127 )
...
remove _icons.scss and associated icons
2024-05-22 12:37:03 +01:00
Ashley Harrison
3800b97a5b
Chore: Clean up some @grafana/ui SCSS ( #87986 )
...
* clean up drawer and slider styles
* clean up cascader styles
2024-05-20 12:51:34 +01:00
Ashley Harrison and Dominik Prokop
429bcbe67f
Select: Preserve value when allowCustomValue is set ( #87843 )
...
* initial working poc with some better types
* move logic inside SelectBase
* add unit tests
* cleaner logic
* simpler
* update comments
* more comments
* use onMenuClose
* undo changes to cleanValue
* fix unit tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-05-20 11:01:38 +01:00
Ashley Harrison
8f6dcfee8b
Icon: Remove hardcoded color from ai icon ( #87996 )
...
* remove hardcoded color from ai icon
* remove opacity from icon
* adjust icon in grafana-icons as well
2024-05-20 10:32:37 +01:00
Ashley Harrison
82eb160f5c
Chore: SCSS tidy up ( #87956 )
...
* more scss tidy up
* replace some scss
2024-05-16 11:20:29 +01:00
Ashley Harrison
1af4256a7c
Switch: Improve disabled active state ( #87694 )
...
* add subtle active disabled state + fix story
* make toggle disabled color when disabled
* add icon in checked state
* undo placement changes
* readd positioning changes
* remove extra css
2024-05-15 16:50:24 +01:00
Ashley Harrison
a7a503501a
Select: Ensure virtualised menu scrolls active option into view when using arrow keys ( #87743 )
...
scroll option into view whenever current focusedIndex changes
2024-05-14 10:36:28 +01:00
Ashley Harrison
9bf3adabd8
Spinner: Change spinner icon when prefers-reduced-motion is set ( #87641 )
...
* change spinner icon when prefers-reduced-motion is set
* update mock
* remove outdated comment
* fix matchMedia mocks
* update spinner aria label
2024-05-13 11:32:02 +01:00
Ashley Harrison
2cdb7d923f
EmptyState: Don't apply animation when prefers-reduced-motion is set ( #87638 )
...
* don't apply animation when prefers-reduced-motion is set
* bail quicker
* early return
2024-05-13 10:48:41 +01:00
Ashley Harrison
396e75dadf
Chore: Type improvements ( #87634 )
...
* improve typings in opentsdb datasource
* couple of influx improvements
* couple more
* more
* more more more
* 3 more
* changes to variables/inspect/utils
* some graphite improvements
2024-05-10 17:28:44 +01:00
Ashley Harrison
670960f70c
Chore: Upgrade redux ( #86877 )
...
* update packages
* fix type errors
* upgrade redux toolkit as well
* don't need eslint-disable command
* remove comment
* fix unit tests
* call rtk query selector directly
* remove unnecessary checks
2024-05-10 14:28:51 +01:00
Ashley Harrison
d9d25dc649
Chore: Remove some more old SCSS ( #87506 )
...
* remove some more old styles and consolidate any angular ones into their own file
* few more
2024-05-10 10:52:51 +01:00
Ashley Harrison
62db9b01b8
new yarn version
2024-05-09 11:04:02 +01:00
Ashley Harrison
27fa544f72
SCSS: remove some low hanging dead fruit ( #87260 )
...
* remove some low hanging fruit
* restore json_explorer
2024-05-07 15:26:43 +01:00
Ashley Harrison
37ef6df3b2
Chore: replace calls to defaultProps ( #87310 )
...
* replace calls to defaultProps
* make linksGetter optional
2024-05-07 10:07:16 +01:00
Ashley Harrison
1d6d5cc2cd
Chore: improve typings ( #87306 )
...
* some fixes
* some more fixes
* some canvas fixes
* use removeProperty instead
* few more
* fixy fix
* undo changes to ticks for now
2024-05-03 17:21:37 +01:00
Ashley Harrison
84c59e1134
Chore: Add tracking for total number of scss files ( #87259 )
...
* add tracking for total number of scss files
* need this comma :o
2024-05-02 19:10:31 +03:00
Ashley Harrison
8afaea8a56
Navigation: show img as backup if icon doesn't exist ( #87247 )
...
show img as backup if icon doesn't exist
2024-05-02 16:24:06 +01:00
Ashley Harrison
f15f21a13f
Dashboard: Only show Starred as parent breadcrumb for starred dashboards ( #87145 )
...
don't update pageNav to have folder if sectionNav is starred
2024-05-01 09:55:31 +01:00
Ashley Harrison
c151a97110
Chore: Enable no-unreduced-motion and fix errors ( #86572 )
...
* enable `no-unreduced-motion` in betterer
* move all animation calls inside handleReducedMotion
* fix violations + enable rule
* update rule README
* remove unnecessary transition from <Collapse>
* remove handleReducedMotion utility and add handleMotion to theme
* update to use new theme value
* handle Dropdown and IconButton
* handle AppChromeMenu and update lint message
* keep rotation at a reduced speed
* handle DashboardLoading
2024-04-29 13:12:36 +01:00
Ashley Harrison
a1321d17ca
TimeOfDayPicker: Fix text colours in light mode ( #86771 )
...
fix text colours in light mode
2024-04-23 14:50:42 +01:00
Ashley Harrison
fc45b56d9d
EmptyState: Apply call-to-action variant in core ( #86448 )
...
* apply empty state in a bunch of places
* fix unit tests
* put alert back on top
* add data-testids so e2e tests keep working
* remove info boxes
* fix annotations empty state alignment with new maxWidth
2024-04-22 17:01:24 +01:00
Ashley Harrison
4a9e478a6b
EmptyState: Apply completed empty state in Notifications page ( #86504 )
...
* add 'completed' variant
* apply completed empty state to notifications page
2024-04-19 13:46:03 +01:00
Ashley Harrison
63427ccd98
CommandPalette: Fix keyboard shortcut alignment ( #86540 )
...
* use full typography properties
* use Text component
2024-04-19 11:52:27 +01:00
Ashley Harrison
21588ce7e2
EmptyState: Set a max width on the empty state component ( #86569 )
...
set a max width on the empty state component
2024-04-19 12:52:16 +02:00
Ashley Harrison
07044309f1
EmptyState: Add completed variant ( #86497 )
...
* add 'completed' variant
* add central text alignment
2024-04-18 11:22:28 +01:00
Ashley Harrison
60abf01526
remove stray console.log ( #86440 )
2024-04-17 15:43:38 +02:00
Ashley Harrison
f99d5a1c1a
EmptyState: Add call-to-action variant ( #85017 )
...
* add default variant
* enhance story
* rename to "initial" + update docs
* default to showing a CTA
* use switch
* translations
* update and use LinkButton
* update default message
* rename "initial" to "nothing-here"
* update variant name to `call-to-action`
* i18n
* add CTA svg
* extract into its own component
2024-04-17 14:23:21 +01:00
Ashley Harrison
5e74b6962b
Chore: Add lint rule for no-unreduced-motion ( #85862 )
...
* add lint rule for no-unreduced-motion
* update to satisfy types
2024-04-15 09:18:56 +01:00
Ashley Harrison
b3401c802c
EmptyState: make "message" a required prop ( #86029 )
...
* make "message" a required prop on EmptyState
* run i18n:extract
2024-04-12 13:13:28 +01:00
Ashley Harrison
40c148ba48
EmptyState: Provide custom messages for existing empty states ( #86021 )
...
provide custom messages for existing empty states
2024-04-12 11:08:14 +02:00
Ashley Harrison
505bdf5a8d
Chore: add @types/history to renovate ignore list ( #86011 )
...
add @types/history to renovate ignore list
2024-04-12 10:00:27 +01:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions ( #85839 )
...
* fix some type assertions in loops
* some more cleanup
* some alerting fixes
* put comments in correct place to ignore rule
* couple more
* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
Ashley Harrison
bbf874b96d
ConfirmModal: Pressing enter in confirmation input now triggers primary action ( #85812 )
...
wrap confirm modal in a form
2024-04-10 09:22:22 +01:00
Ashley Harrison
4b5b738646
Time Zones: Fix relative time when using UTC timezone ( #85637 )
...
add UTC case to e2e test + let UTC pass through to moment.tz
2024-04-09 09:54:57 +01:00
Ashley Harrison
b3cff22db3
Chore: Improve types ( #85659 )
...
* fixing some types
* more type fixes
* few more
* last couple
* tiny tweak
2024-04-08 09:56:21 +01:00
Ashley Harrison
7ad2ec9665
EmptyState: use not-found empty state variant everywhere in core ( #85007 )
...
* use EmptyState component everywhere in core
* remove GrotNotFound core component
* update unit tests
* search -> not-found
* fix 3 more
2024-03-27 12:15:12 +00:00
Ashley Harrison
4974a89316
Chore: update go version used in bump-version so it works with the new format ( #85111 )
...
update go version used in bump-version
2024-03-25 20:06:57 +02:00
Ashley Harrison
fb01ef749f
Chore: fix go.mod format ( #85108 )
...
fix go.mod format
2024-03-25 19:19:12 +02:00
Ashley Harrison
36ee1571b6
EmptyState: Rename "search" variant to "not-found" ( #85062 )
...
* rename "search" variant to "not-found"
* run i18n:extract
2024-03-25 09:55:48 +00:00
Ashley Harrison
a0bcc44b63
GrafanaUI: Add new EmptyState component ( #84891 )
...
* add empty search state component
* extract translations
* nicer prop spreading
* actually expose component in grafana-ui
* use requestAnimationFrame
* add rollup-plugin-svg-import
* move to a single EmptyState component with variants
* update docs
* remove CTA
* add some more prop documentation
* just use 1 svg
2024-03-22 14:46:32 +00:00
Ashley Harrison
f47916253c
Chore: update webpack-dev-middleware ( #85002 )
...
update webpack-dev-middleware
2024-03-22 16:45:18 +02:00
Ashley Harrison
bc8c3f99ae
Chore: Remove custom values from TextLink story ( #84889 )
...
remove default values
2024-03-21 13:33:53 +02:00
Ashley Harrison
15194b41b4
Dropdown: Fix keyboard accessibility ( #84683 )
...
* fix dropdown keyboard a11y
* remove unnecessary css
* restore tabIndex to keep linting happy
* use Box in Menu
* fix unit test
2024-03-19 10:22:17 +00:00
Ashley Harrison
b1b65faf02
Variables: Support static keys in AdHocFiltersVariable ( #83157 )
...
* initial start
* don't use getTagKeysProvider
* some cleanup
* undo kinds adjustment
* simplify
* remove async declaration
* add description and a couple of unit tests
* add transformSaveModelToScene test
* add tests for AdHocVariableForm
* add tests for AdHocFiltersVariableEditor
* update to defaultKeys
* fix snapshots
* update to 3.13.3
2024-03-18 16:12:00 +00:00
Ashley Harrison
3297d589c0
ConfirmButton: Stop pointerEvents on the correct element ( #84648 )
...
stop pointerEvents on the correct element
2024-03-18 14:04:43 +02:00
Ashley Harrison
321148511b
Chore: Rewrite ConfirmButton ( #84402 )
...
* convert to function component, clean up + fix a11y
* use position: fixed;
* fix
2024-03-14 15:50:44 +00:00
Ashley Harrison
b0848c9726
Empty state: Add animation for Grot ( #83770 )
...
* add animation for grot not found
* extract default interval out into constant
* improve relative path
* extract magic numbers out into constants + throttle properly
* better width/height definitions
* use consistent background + apply to PageNotFound as well
* increase gap in command palette empty state
2024-03-11 14:46:53 +00:00
Ashley Harrison
0280fac0e3
DatePickerWithInput: Set zIndex for popover correctly ( #84154 )
...
set zIndex for popover correctly
2024-03-11 11:35:59 +00:00
Ashley Harrison
086d47d83c
Chore: replace react-popper with floating-ui in ExemplarMarker ( #83694 )
...
* replace react-popper with floating-ui in ExemplarMarker
* fix e2e test
* floating-ui uses mousemove
2024-03-01 14:54:39 +00:00
Ashley Harrison
21affd3b0e
Library panels: Ensure all filters are visible on mobile ( #83759 )
...
* convert styles to emotion object syntax
* allow items to wrap
2024-03-01 12:24:19 +00:00
Ashley Harrison
1994d1e2c7
E2C: Implement on-prem auth flow ( #83513 )
...
* add connection modal
* extend api with connect/disconnect endpoints
* extract translations
* display stack url
* use react-hook-form
* fix links spanning whole modal
* review comments
2024-02-29 13:10:04 +00:00
Ashley Harrison
d83319365f
DatePickerWithInput: use floating-ui so calendar can overflow scroll containers ( #83521 )
...
* move DatePickerWithInput to use floating-ui
* remove position: absolute from DatePicker, remove unnecessary css from CreateTokenModal
2024-02-28 09:45:11 +00:00
Ashley Harrison
fc29182f16
Chore: Remove React 17 peer deps ( #83524 )
...
remove react 17 peer dep
2024-02-27 16:34:00 +00:00
Ashley Harrison
faaf4dc1e3
E2C: Implement cloud auth flow ( #83409 )
...
* implement cloud auth
* move logic into MigrationTokenPane folder
* update PDC link
* add missed translations
2024-02-27 09:54:06 +00:00
Ashley Harrison
da4fb8b3ed
E2C: Initial config to switch between cloud and onprem pages ( #83380 )
...
hacky config to switch between cloud and onprem pages
2024-02-26 14:36:34 +00:00
Ashley Harrison
d5adcf350a
E2C: Add cloud landing page ( #83316 )
...
* restructure and create cloud empty state
* use new Grid prop and run i18n:extract
2024-02-26 10:10:35 +00:00
Ashley Harrison
49e18a3e7a
Chore: replace react-popper with floating-ui in Popover ( #82922 )
...
* replace react-popper with floating-ui in Popover
* update HoverCard
* fix unit tests
* mock useTransitionStyles to ensure consistent unit test results
2024-02-23 15:00:24 +00:00
Ashley Harrison
604e02be15
Grid: Add alignItems prop ( #83314 )
...
add alignItems props to Grid
2024-02-23 14:25:44 +00:00
Ashley Harrison
b25667223c
Box: add direction prop to Box ( #83296 )
...
add "direction" prop to Box
2024-02-23 13:38:36 +02:00
Ashley Harrison
a3c73ae7c4
E2C: Add initial empty state ( #83232 )
...
* update subtitle
* add empty state
* rename to InfoPaneLeft/Right
* use '
* add "direction" prop to Box
* update subtitle
* Revert "add "direction" prop to Box"
This reverts commit 99f82a27c7 .
2024-02-23 13:18:09 +02:00
Ashley Harrison
c63456612e
Chore: replace react-popper with floating-ui in time pickers ( #82640 )
...
* replace react-popper with floating-ui in RelativeTimeRangePicker
* replace react-popper with floating-ui in DateTimePicker
2024-02-23 10:45:04 +00:00
Ashley Harrison
5561ace467
Navigation: Scroll the active menu item into view when menu is an overlay ( #83212 )
...
scroll the active menu item into view even when not docked
2024-02-22 11:04:18 +00:00
Ashley Harrison
c75502dd8c
Cloud migration UI: Add migrate-to-cloud route ( #83072 )
...
* add migrate-to-cloud route
* fix chunk name
* gate route behind feature toggle
* update permission checks
2024-02-21 15:50:13 +00:00
Ashley Harrison
ffb9a4de4a
Chore: some test type fixes ( #82889 )
...
* some test type fixes
* ignore table-old since it's an angular panel that will be removed
2024-02-16 14:35:26 +00:00
Ashley Harrison
691115da7a
Chore: replace react-popper with @floating-ui/react in DataSourcePicker ( #82528 )
...
* replace react-popper with floating-ui in DataSourcePicker
* don't need {force:true}
2024-02-16 09:40:16 +00:00
Ashley Harrison
c0b5b32650
Chore: replace react-popper with floating-ui in InlineToast ( #82381 )
...
replace react-popper with floating-ui in InlineToast
2024-02-15 09:44:44 +00:00
Ashley Harrison and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
cf65d91ee9
Chore: upgrade to msw v2 ( #82270 )
...
* Update dependency msw to v2
* close
* minor fixes
* fetch import changes
* fix some alerting tests
* fix another alerting test
* fix systemjs tests
* don't return undefined in json mocks
* don't return undefined in json response
* add type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 13:16:44 +00:00