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
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
Marcus Andersson
b626ba223f
Hooks: Adding possibility to display banner on the top of the page ( #39099 )
...
* adding working version of notificaion banner trigger.
* Move it to enterprise
* Fixing csss, none of the pages showed our CustomScrollbar or had double scrollbars
* fixing explore
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-09-29 08:28:07 +02:00
Jack Westbrook
7f63efb941
Routing: refresh plugin module when pluginId changes ( #33579 )
...
* fix(approotpage): load plugin if pluginId changes so ui updates
* fix(approotpage): prevent dashboard search breaking for plugins without navmodel
2021-05-05 13:55:34 +02:00
Torkel Ödegaard
7ee994f843
Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme ( #33619 )
2021-05-03 09:45:54 +02:00
Torkel Ödegaard
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
Jack Westbrook
249004ebef
Pages: update react components to use v2 theme ( #33413 )
...
* chore: expose theme types / functions
* fix(grafana-ui): withTheme2 extends themeable2
* feat: migrate page components to use new theme
* refactor(pages): replace legacy form components with latest form components
* refactor(dashboardimport): update page component to use theme spacing
* refactor(alerting-ng): update page component to use v2 theme
* test(dashboardpage): update test for v2 theme
* test(apikeyspage): update test to select InlineSwitch component
* test(createteam): update snapshot
* refactor(playlist): update page components to use v2 theme
* refactor(page): put back classes on page-container and background colors
2021-04-28 16:05:00 +02:00
Domas
e6a98ce1e4
Alerting: bootstrap silences page ( #32810 )
2021-04-09 13:44:26 +03:00
Domas
a56293142a
Alerting: unified alerting frontend ( #32708 )
2021-04-07 08:42:43 +03: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
Torkel Ödegaard
3e55c967ee
Theming: Support for runtime theme switching and hooks for custom themes ( #31301 )
...
* WIP Custom themes
* Load custom themes from URL and via event
* Dynamic page background
* Header color change
* Fixing tests and emotion warnings
* Fixed test
* moving cx to getStyles
* Review fixes
* minor change
2021-02-20 09:02:06 +01:00
Uchechukwu Obasi
d472c7820c
CustomScrollbar: migrated styles from sass to emotion ( #30506 )
...
* CustomScrollbar: migrated styles from sass to emotion
* fixes frontend test
* updated changes
* fixed page props and applied changes to all occurences
* moved the getStyles function to the bottom of the file
* made some changes
* fixed snapshot test
* Revert "Merge branch 'refactor-customscrollbar-30354' of https://github.com/grafana/grafana into refactor-customscrollbar-30354"
This reverts commit c45ee30b6b297991a1628e9b21c4121dc78e376c, reversing
changes made to d2645534e3
.
* improved props name
* made use of theme variables for style consistency
* fixed snapshot test and updated some theme changes
* removed hover effects from customScrollbar style
* made some changes
* updated some changes
* added label to class names
* changed to a functional component and improved styling
* fixes snapshot test
* fixes small nit
* minor tweaks
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-01-27 17:47:24 +01:00
Dominik Prokop
4468d41417
Plugin signing: UI information ( #28469 )
...
* first pass
* return list
* types and cleanup
* add to plugin page and add styles
* update comment
* update comment
* fix component path
* simplify error component
* simplify error struct
* fix tests
* don't export and fix string()
* update naming
* remove frontend
* introduce phantom loader
* track single error
* remove error from base
* remove unused struct
* remove unnecessary filter
* add errors endpoint
* Update set log to use id field
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* skip adding BE plugins
* remove errs from plugin + ds list
* remove unnecessary fields
* add signature state to panels
* Fetch plugins errors
* grafana/ui component tweaks
* DS Picker - add unsigned badge
* VizPicker - add unsigned badge
* PluginSignatureBadge tweaks
* Plugins list - add signatures info box
* New datasource page - add signatures info box
* Plugin page - add signatures info box
* Fix test
* Do not show Core label in viz picker
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/plugins/PluginListPage.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/plugins/PluginListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/datasources/NewDataSourcePage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Review comments 1
* Review comments 2
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
* Update public/app/features/plugins/PluginPage.tsx
* Prettier fix
* remove stale backend code
* Docs issues fix
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-27 13:08:08 +01:00
Torkel Ödegaard
fd44c01675
Chore: Fix typescript strict null fixes now at 298 ( #26125 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Fixed incorrect type
* removed unused import
2020-07-08 11:05:20 +02:00
Ryan McKinley
d1b230f84a
Chore: upgrade to Typescript 3.9.3 ( #25154 )
...
* upgrade to typescript 3.9.3
* Fix errors that surfaced with update
* Null check fixs
* FIx null checks
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-06-17 12:26:01 +02:00
Agnès Toulet
1dd404a1fb
Core: Make application title customizable for WL ( #22401 )
...
* Core: Add custom app title
* Docs: Update White Labeling title customization
* Core: set back export for Branding types
2020-02-25 15:18:37 +01:00
Torkel Ödegaard
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
Peter Holmberg
a07f46cee0
PageContent: fix logic in Page.Contents ( #19002 )
2019-09-11 11:35:09 +02:00
Ryan McKinley
401615847c
Build: add @grafana/data package ( #17436 )
...
first step in moving non-ui components to their own package
2019-06-18 08:17:27 -07:00
Ryan McKinley
26bd76b4c2
Refactor: move NavModel to @grafana/ui ( #16813 )
2019-04-30 07:46:46 -07:00
Torkel Ödegaard
7d105439f9
Fixed scrollbar issue introduced in theme changes
2019-02-21 09:41:53 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
fd1ef0a2be
Added custom scrollbar and remember scroll pos to jump back to same scroll pos when going back to dashboard from edit mode
2019-02-05 12:10:42 +01:00
Johannes Schill
7d8607c1b3
fix: Remove legacy title-prop and update document.title when navModel is changed #15108
2019-01-29 17:03:40 +01:00
Johannes Schill
00646b80c6
chore: Reduce code duplication by letting the page component adding the header and taking care of the page title
2019-01-17 09:01:17 +01:00
Johannes Schill
6bd87098cf
chore: Better way of getting the body node
2019-01-16 16:03:15 +01:00
Johannes Schill
1e80bac2d2
chore: Reactify footer
2019-01-16 16:03:15 +01:00
Johannes Schill
06d8243ab5
feat: Possibility to change document title on pages using the Page component
2019-01-16 16:03:15 +01:00
Johannes Schill
8237c22e24
fix: Add CustomScroller on DataSources page
2019-01-16 16:03:15 +01:00
Johannes Schill
1d8e036bcb
fix: Fix import path after Scrollbar move to @grafana/ui
2019-01-16 16:01:42 +01:00
Torkel Ödegaard
7f4a479451
POC of page layout component
2019-01-16 16:01:42 +01:00