172 Commits

Author SHA1 Message Date
6b6355e418 Chore: migrate _grid SCSS styles to emotion globals (#92986)
migrate _grid styles to emotion globals
2024-09-05 16:39:12 +01:00
d14a551ee8 Chore: Migrate _reboot SCSS styles to emotion globals (#92934)
migrate reboot styles to emotion globals
2024-09-04 16:27:07 +01:00
f34f5b80b4 Chore: Migrate _widths SCSS to global emotion styles (#92863)
* migrate widths to global styles

* only calculate width once per loop
2024-09-03 16:04:21 +03:00
a59474cf13 Chore: Migrate _forms styles to emotion globals (#92690)
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
2318e32c9f Chore: Migrate legacy dropdown styles to emotion/angular file (#92282)
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
4d82139a33 Chore: Migrate _button SCSS styles to emotion globals (#92135)
migrate button styles to emotion globals
2024-08-21 12:46:30 +01:00
ab312914cd Chore: cleanup util SCSS styles (#92078)
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
32a5651e96 Chore: Remove breakpoints SCSS (#91883)
remove breakpoints mixins
2024-08-16 12:38:26 +01:00
369cd6f81e Chore: Migrate dashboard_grid styles to emotion (#91673)
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
dface46474 Chore: Migrate gf-form classes to emotion globals (#91632)
* migrate gf-form classes to emotion globals

* should be sm due to the different way the breakpoints work
2024-08-12 13:16:16 +01:00
78f78753c7 Chore: Migrate Modal SCSS styles to emotion (#91569)
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
d8711beac5 Chore: Migrate dashdiff styles to emotion globals (#90818)
* migrate dashdiff styles to emotion globals

* fix colors
2024-07-24 12:43:52 +01:00
80f201026f Chore: Migrate _dashboard SCSS styles to emotion (#90604)
migrate dashboard.scss styles to emotion
2024-07-23 11:02:18 +01:00
a6f9336ea1 Chore: SCSS cleanup (#90366)
* migrate _type styles

* migrate queryEditor styles
2024-07-12 14:47:12 +01:00
8d858b1a82 Chore: Migrate more SCSS (#90224)
* tidy up alerts scss

* clean up alerting page rules

* remove mixins
2024-07-12 13:49:59 +01:00
8444c7760c Chore: Remove deprecated SCSS styles (#90187)
clean up infobox styles
2024-07-09 12:53:43 +01:00
680f5ed2cc Chore: More SCSS cleanup (#90132)
* convert TagBadge to a functional component

* migrate label and label-tag styles to TagBadge

* migrate filter-table to emotion globals

* migrate query-part styles to emotion globals

* move tag color to be an inline style
2024-07-05 14:33:43 +01:00
ba64ee44cb Chore: Move SCSS mixins to be where they're used (#89907)
move mixins to be where they're used
2024-07-02 11:28:27 +01:00
7b88de9946 Chore: Move font-awesome styles back to SCSS (#89687)
move font-awesome styles back to scss for performance reasons
2024-06-25 15:28:24 +01:00
7939745411 Chore: SCSS cleanup (#89563)
* fix fonts loading from CDN

* migrate font-awesome styles to emotion globals

* fix font-awesome rendering

* remove storybook scss overrides

* fix storybook theme imports
2024-06-24 11:42:16 +01:00
be65aaf5dc Chore: Clean up some more old SCSS (#89404)
* remove/migrate normalize.scss

* fix typo

* migrate _add_data_source styles

* migrate panel-header styles

* migrate slate styles to emotion globals

* put back a couple of classes used by external plugins
2024-06-21 10:03:57 +01:00
ceaf510a7d Chore: SCSS cleanup (#89355)
* remove/migrate normalize.scss

* fix typo

* migrate _explore styles

* make json-formatter styles global
2024-06-19 13:28:00 +01:00
50dd95c09b Chore: Remove betterPageScrolling toggle (#89339)
* remove betterPageScrolling toggle

* add scrollTo test shim
2024-06-18 14:33:08 +01:00
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
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
c6d07194cc Chore: Migrate DashboardRow SCSS styles (#88768)
migrate dashboard-row styles
2024-06-07 11:31:58 +01:00
1cb701c304 Chore: Move Switch SCSS to emotion/angular (#88553)
move switch scss to emotion/angular
2024-06-04 09:34:38 +01:00
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
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
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
a5414020f8 SCSS: Remove some more scss (#88129)
remove some more scss
2024-05-22 13:48:34 +01:00
5f3cd4b900 SCSS: Remove _icons.scss and associated icons (#88127)
remove _icons.scss and associated icons
2024-05-22 12:37:03 +01:00
82eb160f5c Chore: SCSS tidy up (#87956)
* more scss tidy up

* replace some scss
2024-05-16 11:20:29 +01:00
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
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
9ba13dd309 Dashboards: Remove emptyDashboardPage feature flag (#81188)
* remove emptyDashboardPage feature toggle from DashNav

* remove emptyDashboardPage feature toggle from NewDashboardWithDS

* remove emptyDashboardPage feature toggle from DashboardGrid

* remove emptyDashboardPage feature toggle from DashboardModel

* remove emptyDashboardPage feature toggle from initDashboard

* remove unused AddPanelWidged component

* remove add-panel type from test

* remove emptyDashboardPage feature flag from registry.go
2024-01-25 14:04:29 +00:00
b5b13975d6 Dashlist: Design tweak to dashlist items (#60140) 2023-01-10 10:41:29 +01:00
4d1b422b25 Chore: Remove empty and leftover files (#55757) 2022-09-26 11:33:07 -04:00
7eab08364e Navigation: Improve responsiveness of TopSearchBar (#53777)
* remove some magic numbers + used grid for better responsiveness

* remove old responsive styles
2022-08-16 15:09:22 +01:00
3a7c5a0755 Chore: Switch yarn 2 to plug-n-play strategy (#40300) 2021-10-27 14:21:07 +01:00
6e2237c02f Chore: Replace Sass-lint with Stylelint (#40617)
* chore(sass): introduce stylelint

* chore(sass): introduce stylelint config that closely matches sass-lint config

* chore: remove sass-lint from codebase

* style(theme): disable stylelint string-quotes rule

* chore(sass): introduce stylelint-prettier-config to prevent config conflicts

* chore: delete sass-lint file

* style(sass): fix remaining stylelint errors
2021-10-20 11:34:24 +02:00
e4ca6f2445 Sidemenu: Refactor Sidemenu to use emotion (#38995)
* Chore(Sidemenu): Refactor Sidemenu scss into emotion

* Fix unit test

* Sidemenu: use cx instead of template strings
2021-09-09 09:56:08 +01:00
ffa0ef9b3d Annotations: fire an event when changing annotations (#37175) 2021-07-26 20:57:52 +02:00
a67eaf6b62 DashboardPage: Refactor state to fix state timing bugs and reduce unnecessary re-renders (#36460)
* DashboardPage: Refactoring state handling to improve performance and fix bugs with state out of sync

* Fixed exit panel editor timing issues

* New tests in RTL

* Updated comment

* Removed unused imports
2021-07-07 18:39:45 +02:00
f6ecded86b Theme: Page styles move to emotion global styles and design tweaks (#33529)
* Theme: Page styles move to emotion global styles and design tweaks

* More style tweaks

* tweaks

* Updating snapshots

* Another fix

* Another fix

* minor fix

* More style tweaks to page toolbar and alert rule page

* minor polish
2021-04-30 10:04:01 +02:00
22ac0fc3cd Chore: Migrates remaining Angular modals to React (#33476)
* HelpModal: Migrates to new style

* Alerting: Migrates how to do alerting modal to React

* ApiKeysModal: migrates to new theme

* Dashboard: View dasboard json modal migrated to React and new theme

* PluginPage: migrates update plugin modal to react and new theme

* Chore: deprecates events and functions

* Simplify help modal

* Updated json modal to use Modal.ButtonRow

* Tweak to api key design

* Tests: updates snapshot

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-04-28 15:22:28 +02:00
438b403acc Migrates old Card sass file to GlobalStyles (#33183)
* Card: migrates styles from sass to emotion

* removed LayoutSelector component since it's not used in the codebase

* updates card styles with new color name
2021-04-21 16:39:56 +02:00
56fb04e94c Explore: Update styling of buttons (#30493)
* Switch deprecared toggle group for radio buttons

* Create transparent version of field, label and witch

* Replace divs wiith components

* Move styling from scss to js

* Update buttons

* Remove log generating file

* Update level button
2021-01-21 15:49:38 +01:00
91ea3b15fa Footer: Single footer component for both react & angular pages (#21389)
* Footer: Single footer implementation for both react & angular pages

* Export type

* Updates

* Use footer links in help menu

* Updates & Fixes

* Updated snapshot

* updated snapshot
2020-01-09 11:25:52 +01:00
e9079c3faa grafana/ui: New table component (#20991)
* first working example

* Support sorting, adding types while waiting for official ones

* using react-window for windowing

* styles via emotion

* sizing

* set an offset for the table

* change table export

* fixing table cell widths

* Explore: Use new table component in explore (#21031)

* Explore: Use new table component in explore

* enable oncellclick

* only let filterable columns be clickable, refactor renderrow

* remove explore table

* Keep using old merge tables logic

* prettier

* remove unused typings file

* fixing tests

* Fixed explore table issue

* NewTable: Updated styles

* Fixed unit test

* Updated TableModel

* Minor update to explore table height

* typing
2019-12-18 08:38:50 +01:00