24474dcb9c
AppChrome: Improved responsive use of vertical space ( #103488 )
...
* Progress
* Progress
* Update
* Update
* Update
* Update
* Responsive improvements
* Update
* Update
* Update
* Revert height change
* Update
* add missing testid
* update
* Fixes
* update
* Refactoring
* fix bug in app chrome service
* Fixed e2e tests
* fix
* fix
* Update
* Update
* fix bookmarks e2e
* Update
* improve responsiveness on small screens for breadcrumbs
* Always use two levels when menu is docked
* Adding kiosk toggle button to dashboards only
* update
* Update
* Update
* when menu is docked and no actions use 1 level
* removed formatting change that caused unnessary diff in PR
* remove extra separator line after merge with main
* Fix double separators
* Update
* remove temp change
* Update
2025-04-09 14:51:22 +02:00
f277902682
Sidebar: Create a sidebar that can render an extension ( #102626 )
...
* Extension Sidebar: Add missing `web-section` icon
* Extension Sidebar: Add core extension sidebar components
* Extension Sidebar: Integrate extension sidebar into Grafana
* Extension Sidebar: Change extension point to alpha
* Extension Sidebar: Fix saved state of docked extensions
* Extension Sidebar: Delete from local storage if undocked
* Extension Sidebar: Move main scrollbar from body to pane
* Extension Sidebar: Expose `ExtensionInfo`
* Extension Sidebar: Move `useComponents` into ExtensionSidebar
* Extension Sidebar: Store selection in `localStorage`
* Extension Sidebar: Simplify return of extension point meta
* Extension Sidebar: Ensure `body` is scrollable when sidebar is closed
* Extension Sidebar: Add missing `GlobalStyles` change
* Extension Sidebar: Don't render `ExtensionSidebar` unless it should be open
* Extension Sidebar: Better toggle handling
* Extension Sidebar: Fix wrong header height
* Extension Sidebar: Change `getExtensionPointPluginMeta` to use `addedComponents` and add documentation
* Extension Sidebar: Add tests for `getExtensionPointPluginMeta`
* Extension Sidebar: Add tests for `ExtensionSidebarProvider`
* Extension Sidebar: Fix tests `ExtensionSidebarProvider`
* Extension Sidebar: Add tests `ExtensionToolbarItem`
* Extension Sidebar: Add `extensionSidebar` feature toggle
* Extension Sidebar: Put implementation behind `extensionSidebar` feature toggle
* update feature toggles
* fix lint
* Extension Sidebar: Only toggle if clicking the same button
* Extension Sidebar: Hide sidebar if chromeless
* Update feature toggles doc
* Sidebar: Add `isEnabled` to ExtensionSidebarProvider
* Extension Sidebar: Use conditional CSS classes
* Extension Sidebar: Move header height to GrafanaContext
* Sidebar: Adapt to feature toggle change
* Sidebar: Remove unused import
* Sidebar: Keep featuretoggles in ExtensionSidebar tests
* ProviderConfig: Keep `config` import in tests
* FeatureToggles: adapt to docs review
* fix typo
2025-04-03 12:16:35 +02:00
e48351fbd3
AppChromeService: Improve useChromeHeaderHeight
to only react to necessary state changes ( #94624 )
...
make useChromeHeaderHeight only react to necessary state changes
2024-10-14 16:21:15 +01:00
4d08f44667
SingleTopNav: Revert to using AppChromeUpdate
so banners are correct ( #94540 )
...
* revert to using AppChromeUpdate
* fix dashboard settings in old arch
* remove empty interface
* fix AlertRuleForm
2024-10-11 15:07:01 +01:00
8e5459791b
SingleTopNav: Initial changes ( #93694 )
...
initial changes for single top nav
2024-09-25 14:27:30 +03:00
a54308138f
Navigation: Remove bodyScrolling
toggle and make it default ( #93652 )
...
* remove bodyScrolling toggle and make it default
* fix e2e tests
2024-09-24 13:23:18 +01:00
334657e1cb
Navigation: Move scroll behaviour to body ( #89921 )
...
* initial attempt at body scrolling
* fix login layout
* minor fixes
* "fix" some fixed position stuff
* remember scroll position in dashboard page
* fix unit tests
* expose chrome header height in runtime and fix connections sticky header
* fix panel edit in scenes
* fix unit tests
* make useChromeHeaderHeight backwards compatible, fix plugin details double scrollbar
* fix sticky behaviour in explore metrics
* handle when undefined
* deprecate scrollRef/scrollTop
* fix extra overflow on firefox
2024-07-17 13:48:47 +01:00
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
42cd4266b4
ReturnToPrevious: make href
optional ( #81691 )
2024-02-02 13:14:58 +01:00
8ee7b1e00c
ReturnToPrevious : Add logic to show the new component in AppChrome
behind the new toggle ( #81035 )
2024-01-30 13:34:59 +01:00
e924627659
Frontend: Reload the browser when backend configuration/assets change ( #79057 )
...
* Detect frontend asset changes
* Update
* merge main
* Frontend: Detect new assets / versions / config changes (#79258 )
* avoid first check
* Updates and add tests
* Update
* Update
* Updated code
* refine
* use context
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-01-04 08:00:07 +01:00
b8e72d6173
TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature ( #55149 )
...
* Initial progress
* Moving keybindingSrv to context
* Simplfy KioskMode
* Removed unused logic
* Make kiosk=tv behave as before but when topnav is enabled
* Minor fix
* Fixing tests
* Fixing bug with notice when entering kiosk mode
* Fixed test
2022-09-15 14:04:58 +02:00
b223c65a6c
Chore: remove unnessisary type assertion from GrafanaContext ( #52979 )
2022-07-29 11:48:52 +01:00
b782d9aa12
GrafanaContext: Exploring a way to get rid of global scope singletons ( #52128 )
...
* Context start
* More progress on more generic react context for services
* Update
* Update Page test
* Fixing tests
* Moving to core app
2022-07-23 17:09:03 +02:00