Ryan McKinley
d710507bc5
Chore: Avoid explicit React.FC<Props>
when possible ( #64722 )
2023-03-14 16:38:21 +02:00
Ashley Harrison
53186c14a4
Chore: Improve some types ( #64675 )
...
* some type fixes
* few more
* more type fixes
* fix the majority of (window as any) calls
* don't make new variable for event
* few more
* MOAR
2023-03-14 09:51:44 +00:00
Torkel Ödegaard
5275a203aa
TopNav: Wrap TopSearchBar in memo to prevent unnecessary re-renders ( #64667 )
2023-03-13 10:57:55 +01:00
Andreas Christou
a814357d6d
FalconLogScale: Traces to logs support ( #64174 )
...
* Humio traces to logs support
* Update tag formatting
* Add tests for humio
* Correct naming
2023-03-10 14:17:17 +00:00
Ashley Harrison
3336327306
Navigation: Fix Home logo always going to /login
( #62658 )
...
* only redirect to /login when anonymous access is disabled
* only search for dashboards when not logged in if anon access is enabled
* fix go logic
* add unit tests
2023-03-09 16:42:45 +00:00
Ryan McKinley
5f7bc54fba
OptionsUI: Enabled settings on the color picker ( #64483 )
2023-03-09 04:53:18 -05:00
Ashley Harrison
11bc66a0e8
Chore: use React.PropsWithChildren
to explicitly define the children
prop ( #64433 )
...
* use React.PropsWithChildren to explicitly define the children prop
* fix ThemeDemo as well
* provide empty generics
2023-03-08 16:12:54 +00:00
renovate[bot]
523f675dd8
Update Monthly patch updates ( #64323 )
...
* Update Monthly patch updates
* don't update dangerously-set-html-content
* run prettier
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-03-08 09:38:06 +00:00
Ieva
1b6b5dd7e9
AuthN: use the default login icon if no icon is specified ( #64327 )
...
use the default login icon if empty string passed in
2023-03-07 10:14:36 -05:00
Joey
b6eb324139
Tempo: Config and doc updates ( #64017 )
...
* Config and doc upgrades
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update tags text
* Use service graph as a proper noun
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/datasources/tempo/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Yarn prettier
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2023-03-06 16:03:29 +00:00
Eric Leijonmarck
15fb7e99d9
Login: Fix sanitize input for signin url ( #64203 )
...
fix: sanitize input for signin
2023-03-06 09:54:30 +00:00
Jan-Otto Kröpke
c323a7cb13
Login: Allow custom name and icon for social providers ( #63297 )
2023-03-03 09:17:43 +01:00
Eric Leijonmarck
9d6ab92e39
Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab ( #63411 )
...
* add: hide apikeys tab on start
* make use of store method
* added hiding of apikeys tab for new org creation
* missing err check
* removed unused files
* implemennted fake to make tests run
* move check for globalHideApikeys from org to admin
* refactor to remove the fake
* removed unused method calls for interface
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
* remove the checkglobal method
* removed duplicate global set const
* add count of apikeys for performance
* remove apikeys adding in UI
* added back deleted file
* added comment on component
* changed wording and copy for hiding and migrating service accounts
* refactor: remove migrationstatus in front/backend
This removes the migrationstatus state from the UI in favor of only
looking at the number of API keys to determine what to show to the user.
This simplifies the logic and makes less calls to the backend with each
page load. This was called both on the API keys page and the Service
accounts page.
- removes the state of migrationstatus from the UI
- removes the backend call
- removes the backend endpoint for migrationstatus
* Update pkg/services/apikey/apikeyimpl/xorm_store.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
* changes the contet to also be primary
* change id of version for footer component
---------
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-03-01 15:34:53 +00:00
Ashley Harrison
8e9ccfc66e
Navigation: Fix broken layout at 544px ( #63793 )
...
* ensure media queries transition properly
* fix unit tests
2023-03-01 15:31:32 +00:00
Uladzimir Dzmitračkoŭ
429d693a4a
Navigation: reserve horizontal space for img in SectionNavItem to avoid layout shift ( #63722 )
2023-02-28 15:04:17 +01:00
Josh Hunt
91d2df59fc
CommandPalette: Remove topnav command palette feature flag ( #63620 )
...
* CommandPalette: Remove topnav command palette feature flag
* Restore search shortcuts if topnav isnt enabled
* fix unused imports
2023-02-24 07:14:53 -05:00
Torkel Ödegaard
2023203045
SectionNav: Simplify section toggle styling ( #63653 )
2023-02-23 17:03:00 +01:00
Josh Hunt
0c36b247af
Chore: Refactor Search/Folder view types into DashboardViewItem ( #63162 )
...
* Chore: Refactor Search/Folder view types into DashboardViewItem
* uid is not optional in api
* rename queryResultToNestedFolderItem function
* Fix error from locationInfo being empty
* change queryResultToViewItem to take view instead
* Fix sortMeta fields not showing on search cards
* Show correct parent for panel search results
2023-02-23 15:52:54 +00:00
Josh Hunt
54aaaf169f
Internationalization: Mark up more of Dashboard Variables and Browse/Search Dashboards ( #63518 )
...
* Extract dirty translations from main
* Translate some variable phrases
* Translate nav bar
* Translate search/browse
* Fix header returning null
* Translate search results type
* fix test
2023-02-23 10:46:07 +00:00
Torkel Ödegaard
f64b7fe8a7
Page: Remove footer from new page layout ( #63455 )
...
* Page: Option to hide footer, enabled by default for PluginPage
* Remove footer from new page layout
2023-02-22 13:30:57 +01:00
Torkel Ödegaard
6fd547881a
Page: Remove page shadow and replace with panel border ( #63453 )
2023-02-21 15:42:37 +01:00
Ashley Harrison
f8d89eff56
Chore: fix type errors in tests ( #63270 )
...
* fix any's in tests
* fix more any's in tests
* more test type fixes
* fixing any's in tests part 3
* more test type fixes
* fixing test any's p5
* some tidy up
* fix template_srv
2023-02-14 16:46:42 +01:00
Ashley Harrison
fc2f7f90f8
Navigation: add a link to starred dashboards in the megamenu ( #62685 )
...
add a link to starred dashboards in the megamenu
2023-02-08 15:18:13 +00:00
Ashley Harrison
6a720f96f7
A11y: ignore rule since keyboard interaction is already handled ( #62850 )
...
* Revert "Accessibility: Remove unnecessary onClick from title element (#59696 )"
This reverts commit f19b07c0bc
.
* ignore eslint rule
2023-02-08 14:17:15 +00:00
Josh Hunt
504eabbe80
Navigation: Ensure command palette is correctly translated ( #61103 )
...
* Navigation: Translate nav tree in store
* Remove usage of getNavTitle
* properly translate children
* add pubdash translation
* remove extraneous calls to translation in PageHeader
* empty commit
* correctly allow subtitle to be overrwitten (thank you tests!)
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-02-08 13:15:37 +00:00
linoman
bc67edbff8
Fix RolePicker component offset when it has too many roles ( #62857 )
...
Fix role picker offset with too many roles
2023-02-08 12:09:27 +01:00
Josh Hunt
09637caade
Chore: Remove search_srv ( #62964 )
...
* Chore: Remove Search Service
* use getSortOptions from grafana searcher
* wip
* fix library panels search tests
2023-02-07 15:28:07 -05:00
Josh Hunt
5564b93e2f
CommandPalette: Move quick add actions to top level ( #62900 )
...
* Move quick actions to top level
* Change quick action verb to "Create"
* create to 'new'
* fix comment
* update translations
* undo changing alerting
2023-02-07 16:10:43 +00:00
Torkel Ödegaard
39537043ec
AppChrome: Reduce re-renders for identical pageNavs ( #62483 )
...
* AppChrome: Reduce re-renders for identical pageNavs
* Update
* removed log
2023-02-07 08:01:22 +01:00
Torkel Ödegaard
0ae118d3ed
Page: Fixes plugins chromeless bug ( #62879 )
2023-02-03 16:14:42 +01:00
Eric Leijonmarck
ed18a249b8
Refactor: move displayname logic from backend to frontend ( #62845 )
...
* remove fallback from backend
* add: displayname logic to frontend
* Update public/app/core/components/RolePicker/utils.ts
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
* add: fetchTeamRoles and return earlier
* refactor: change to const
---------
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2023-02-03 10:39:44 +00:00
Ashley Harrison
5795553353
Navigation: Fix command palette toggle removal ( #62809 )
...
command palette is always here
2023-02-02 16:32:34 +00:00
Ashley Harrison
5e7e026c0c
Navigation: Remove commandPalette
feature toggle ( #62698 )
...
* remove command palette feature toggle
* undo irrelevant AppChrome changes
* update toggle description
2023-02-02 14:44:21 +00:00
Torkel Ödegaard
b8e7ef48d0
AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc ( #62281 )
...
* Keybindings: No global keybindings on chromeless pages
* simplify condition
* Refactoring
* Align name and file
* Move logic into AppChrome
* minor fix
* Update Page.tsx
* Fixing test
* Fixed tests
* More fixes
* Fixed more tests
* Fixing final test
* Fixed search in old nav
2023-02-02 09:53:06 +01:00
Torkel Ödegaard
c0f0c3d485
TopNav: Fix right padding on signin link ( #62537 )
...
* TopNav: Fix right padding on signin link
* revert yarn lock
* Update package.json
* Update
2023-01-31 17:22:36 +01:00
Ashley Harrison
77a186879d
Navigation: add event tracking for navigation elements ( #62563 )
...
add user tracking for navigation elements
2023-01-31 13:03:31 +00:00
Gilles De Mey
702fd0f9e8
Docs: Update wording / text and copy ( #61868 )
...
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2023-01-30 15:26:21 +00:00
Ashley Harrison
f19b07c0bc
Accessibility: Remove unnecessary onClick from title element ( #59696 )
...
* remove unnecessary onClick from title element
* associate icon label with title + fix unit tests
* remove cursor: pointer;
* remove link color from title as it's no longer clickable
* remove useless aria-label
* stop incorrectly marking title as a ReactNode - it's just a string
2023-01-30 13:32:16 +00:00
Josh Hunt
d51e7ec7ef
Preferences: Add theme preference to match system theme ( #61986 )
...
* user essentials mob! 🔱
lastFile:pkg/api/preferences.go
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:packages/grafana-data/src/types/config.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/utils.test.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/views/index-template.html
* user essentials mob! 🔱
* Restore currentUser.lightTheme for backwards compat
* fix types
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* cleanup
* cleanup
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-30 10:51:51 +01:00
Josh Hunt
6c990b461e
SupportBundles: Feature flag + access control navtree item ( #62337 )
...
* SupportBundles: Feature flag + access control navtree item
* remove translation
2023-01-27 20:04:04 +00:00
Ashley Harrison
1ef7cfda3f
Navigation: more command palette tweaks ( #62286 )
...
* update placeholder text, only create search keybindings if topNavCommandPalette is disabled
* make search input wider
2023-01-27 16:21:48 +00:00
Yaelle Chaudy
3281eb9223
[Navigation] Add user events for quick actions/dashboard actions ( #62220 )
...
Add fe events for quick actions/dashboard actions
2023-01-27 14:11:17 +01:00
Victor Marin
846acd28ff
StateTimeline: Show correct legend label when value mappings set ( #62282 )
...
* StateTimeline: Show correct legend label when value mappings set
* Add test dashboard for thresholds and value mappings
* run stripnulls.sh
2023-01-27 14:30:42 +02:00
Andrej Ocenas
a414b07991
Tempo: Trace to logs custom query with interpolation ( #61702 )
2023-01-26 16:37:16 +01:00
Ashley Harrison
f7d92ab841
Navigation: only show the img
for a section root if both img
and icon
are present ( #62127 )
...
only show an img for a section root if both img and icon are present
2023-01-26 12:07:43 +00:00
Ashley Harrison
a77c342764
Navigation: Add keyboard shortcut to search input ( #62116 )
...
* Show shortcut
* add icon to search bar, make same changes in search modal
* rename to modKey
Co-authored-by: joshhunt <josh@trtr.co>
2023-01-26 12:07:32 +00:00
Ashley Harrison
a3b396854a
Navigation: Command palette topnav tweaks ( #61991 )
...
stylings tweaks to command palette
2023-01-26 10:03:16 +00:00
Victor Marin
6a93c77082
Refactor state timeline/status history to cue model and refactor TimelineChart
component ( #61631 )
...
* Adapt state timeline to scuemata
* Refactor status history to cue model
* Refactor
* Refactor TimelineChart as a core component
* wip
* Change as per CR
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-01-26 07:03:59 +00:00
Ryan McKinley
a0405912a8
Preferences: Add preferences kind and remove unused navbar settings ( #59621 )
2023-01-25 11:00:32 -08:00
Nathan Marrs
8b574e22b5
SVG: Add dompurify preprocessor step ( #62143 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-01-25 10:37:29 -08:00