Alexander Zobnin
49790eac32
Access control: Fix role picker after roles update ( #44978 )
...
* Access control: Fix role picker after roles update
* Refactor, use useAsyncFn()
* Review suggestions
2022-02-09 16:42:46 +03:00
Hugo Häggmark
c25031fa49
Chore: Remove console.log in fetch.test.ts ( #45134 )
2022-02-09 14:11:30 +01:00
Hugo Häggmark
e4534deab3
Chore: Reduce console output in NavBarItem.test.tsx ( #45139 )
...
* Chore: Reduce console ouput in NavBarItem.test.tsx
* Chore: remove async
2022-02-09 14:07:28 +01:00
Agnès Toulet
ee6f8b6cd9
Feature Highlights: add RudderStack events ( #45099 )
...
* add RS events for PRO badge
* part 2
* fix team sync events
* clean up ProBadge
2022-02-09 11:18:27 +01:00
Kristina
4e38ac9cf7
Remove return to panel button and related code ( #45018 )
2022-02-08 10:20:22 -06:00
Gábor Farkas
2c0030b1b4
logs-volume: remove custom timeout ( #45041 )
...
* logs-volume: remove custom timeout
* make error message a little better
2022-02-08 15:39:09 +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
Agnès Toulet
bdac6576e4
Feature Highlights: add highlight to toolbar button and add upgrade modal ( #44645 )
...
* Feature Highlights: add highlight to toolbar button and add upgrade modal
* replace hideTitle attribute by making title optional
* update modal design
* remove unused updates
2022-02-07 16:04:15 +01:00
Piotr Jamróz
a40fa83893
Query History: Remove unused properties ( #44904 )
...
* Remove unused properties
* Fix unit tests
* Fix unit tests
2022-02-04 17:05:46 +01:00
Karl Persson
3cf31451ec
Access control: Reduce number of API calls for role picker ( #44905 )
...
* Restucture state for TeamRolePicker and UserRolePicker
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2022-02-04 14:54:42 +01:00
Piotr Jamróz
6bb6b13379
Query History: Refactor persistence layer ( #44545 )
...
* Extract Rich History storage into two separate implementations
Implement getting all entries and adding a new entry
* Add deleting rich history items
* Add editing rich history
* Simplify RichHistoryStorage API
* Reorganize methods
* Rename variable
* Remove feature toggle
* Fix TS errors
* Fix tests
* Clean up
* Clean up only when adding new entry
* Fix showing a warning message
* Use enum instead of a string
* Update public/app/core/history/richHistoryLocalStorage.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* Update public/app/core/history/richHistoryLocalStorage.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* Improve readability
* Rename files and remove inferred return types
* Use const over a var
* Remove unsed files
* Remove redundant null check
* Update public/app/core/history/richHistoryLocalStorageUtils.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* Fix linting issues
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-02-04 12:46:27 +01:00
Ashley Harrison
9e52361c1e
Accessibility: Fix text selection when using FocusScope ( #44770 )
...
* Add tabIndex={-1} to places using focusScope to allow for text highlighting
* use useDialog
* don't need explicit tabIndex anymore
* remove duplicate spreading of props
2022-02-04 11:20:18 +00:00
Josh Hunt
de7a920967
Chore: Suppress messages and logs from tests ( #44629 )
...
* Suppress "not wrapped in act()" warning in UserPicker test
* Add menuShouldPortal to AmRoutesExpandedForm to suppress deprecation warning
* use forwardRef in alerting ActionIcon to suppress ref warning
* Add menuShouldPortal to alerting GroupBy to suppress deprecation warning
2022-02-04 12:36:44 +11:00
Gabriel MABILLE
8217d6d206
AccessControl: Change teams permissions page when accesscontrol is enabled ( #43971 )
...
* AccessControl: Change teams permissions page when frontend is hit
* Implement frontend changes for group sync
* Changing the org/teams/edit permissions
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
* Fixing routes
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
* Use props straight away no need to go through the state
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Update public/app/features/teams/TeamPages.tsx
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2022-02-03 17:49:39 +01:00
Gabriel MABILLE
6d931226d8
AccessControl: Show UserPicker based on canListUsers ( #44843 )
...
* AccessControl: Show UserPicker based on canListUser
* Update public/app/core/components/AccessControl/AddPermission.tsx
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2022-02-03 16:59:25 +01:00
Gabriel MABILLE
86756ee3e5
AccessControl: introduce a different accesscontrol check (licensed or not) ( #44777 )
...
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
2022-02-03 16:27:53 +01:00
Giordano Ricci
6415b9a54d
Explore: avoid locking timepicker when range is inverted ( #44790 )
...
* Explore: avoid locking timepicker when range is inverted
* Explore: prevent time picker to lock if from & to search parameters are present
2022-02-03 13:45:29 +00:00
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2022-02-02 12:02:32 +00:00
Giordano Ricci
cff7336510
Logs Panel: fix timestamp parsing for string dates without timezone ( #44664 )
2022-02-02 09:54:33 +00:00
Nathan Marrs
b2b584f611
Geomap: Improve tooltip UX and fix data links ( #44740 )
2022-02-01 18:17:39 -08:00
renovate[bot]
793e3d3556
Update sentry-javascript monorepo to v6.17.2 ( #44364 )
...
* Update sentry-javascript monorepo to v6.17.2
* update Sentry transport impl to be compat with latest sentry
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Domas <domasx2@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-01-31 16:51:09 +00:00
Josh Hunt
c6ce629fd8
I18n: Translate navigation items ( #44131 )
...
* I18n: Translate navigation items
* improve comment, remove console.log
* update mock macros
* Mark up all phrases for translation
* added deprecate text comment, moved translations to a seperate file
* use TestProvider in NavBarItem
* use TestProvider in nav tests
* remove text deprecation comment
* update translations
2022-01-31 03:41:58 +01:00
Ashley Harrison
666a794a82
Navigation: Initialise navTree in redux store ( #44440 )
...
* Add navTree to redux store and used that in NavBar/NavBarNext
* Use createSlice
* update import
* Use NavBarUnconnected instead of Component
2022-01-28 10:06:52 +00:00
Giordano Ricci
ea48d131ee
Explore: deprecate compact URL encoding & dafault to extended ( #44385 )
2022-01-27 11:23:56 +00:00
Ryan McKinley
5d66194ec5
FeatureFlags: define features outside settings.Cfg (take 3) ( #44443 )
2022-01-26 09:44:20 -08:00
Alex Khomenko
55e1c53e36
NavModel: Enable adding suffix elements to tabs ( #44155 )
...
* Trigger extra events
* Extend html attributes
* Add suffix to tabs
* Add upgrade routes
* suffix => highlightText
* suffix => suffixText
* Add size prop
* Update prop name
* Convert tabSuffix to a component
2022-01-26 09:15:45 +02:00
Maria Alexandra
58b8d84085
Old Table: Table is not rendering when col property is undefined ( #44129 )
2022-01-25 14:22:57 +01:00
Kevin Burke
24efb42f19
app/core/components/TraceToLogsSettings: fix spelling error ( #44399 )
...
"Let's" is an abbreviation of "let us", which is not the right use in
this sentence on the settings page.
2022-01-25 12:42:48 +01:00
Torkel Ödegaard
566556fea2
QueryEditors: Restore query editor margin to what old value ( #44384 )
2022-01-25 09:19:39 +01:00
Alex Khomenko
aead2e9157
Navigation: allow adding extra content ( #44048 )
...
* Add PRO badge
* Allow adding extra content
* Add extra content for the new navbar
* Use highlight text instead of extra content
* Trigger extra events
* Remove ExtraContent
* Update public/app/core/components/NavBar/NavFeatureHighlight.tsx
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Remove redundant i
* Add UpgradeBox
* Move highlight to menu trigger
* Clear navbar next
* Cleanup
* Fix UpgradeBox styles
* Add arrow icon
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-01-25 10:04:44 +02:00
Ryan McKinley
c0fc60dfef
Table: default display for geometry fields ( #44347 )
2022-01-24 16:10:36 -08:00
Ryan McKinley
b88811e2af
DataFrame: deprecate/remove field.parse(any) ( #44299 )
2022-01-24 16:27:35 +00:00
Erin Noe-Payne
ac945fb6e1
Tempo / Trace Viewer: Implement deep linking to spans
2022-01-24 08:49:35 -07:00
Agnès Toulet
65bdb3a899
FeatureFlags: Revert managing feature flags outside of settings.Cfg ( #44382 )
...
* Revert "FeatureToggles: register all enterprise feature toggles (#44336 )"
This reverts commit f53b3fb007 .
* Revert "FeatureFlags: manage feature flags outside of settings.Cfg (#43692 )"
This reverts commit f94c0decbd .
2022-01-24 16:08:05 +01:00
Nathan Marrs
76827c2069
Refactor: move threshold editor out of grafana-ui ( #44300 )
2022-01-21 16:17:33 -08:00
Ryan McKinley
082b1b4db7
Geomap: add spatial transformers (alpha) ( #44020 )
2022-01-21 14:27:26 -08:00
Nathan Marrs
c6e853a13c
Refactor: Move Value Mappings to Grafana public instead of Grafana UI ( #44237 )
2022-01-20 20:36:34 -08:00
Ryan McKinley
f94c0decbd
FeatureFlags: manage feature flags outside of settings.Cfg ( #43692 )
2022-01-20 13:42:05 -08:00
Kyle Cunningham
febc24522d
Accessibility Fixes for Several SQL Based Datasource Config Pages ( #43982 )
...
* Add label elements for select boxes: MSSQL config
* Add Permission level label
* Add aria-label for password field
* Fixes for Postgres a11y page
* Fix whitespace error
* Swap aria-labelby for "for"
* Prefer "for" over aria-labeledby
2022-01-19 15:53:54 -06:00
Josh Hunt
9f97f05fcc
DashboardSettings: Prevent Dashboard permissions from linking to folder permissions when user does not have sufficient permissions ( #44212 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* add tests
* fix up
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2022-01-19 16:27:33 +01:00
Alexander Zobnin
dc913f2311
Access control: fetch role options only if user has permissions ( #44201 )
...
* Access control: fetch role options only if user has permissions
* Fix org/users page
2022-01-19 16:15:52 +03:00
Gabriel MABILLE
fc405ea9da
AccessControl: Make Permissions component customizable ( #43992 )
...
* Setting default values for props
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Using table instead
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
2022-01-19 12:19:46 +01:00
Gabriel MABILLE
ba839d1f7c
AccessControl: Refactor addAccessControlQueryParam ( #44191 )
...
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2022-01-19 11:27:45 +01:00
Agnès Toulet
99cdb56f72
Analytics: add experimentview events ( #44120 )
...
* Analytics: add experimentview event
* remove ref to feature-highlights
* Experimentview -> ExperimentView
2022-01-19 11:07:18 +01:00
Karl Persson
acb791bdd6
Disable select when permissions is not managed or if user does not have ( #44144 )
...
* Disable select when permissions is not managed
2022-01-18 12:45:14 +01:00
Josh Hunt
36983d8d3b
Chore: Mark up User Profile page for translation ( #43874 )
...
* Mark up User profile page for translation
* Extract new messages
* updated selectors
* update selectors
* wip TestProvider
* update tests
* fix field labels
* extract new messages
* don't store date objects in redux state
* don't store date objects in redux state
2022-01-17 16:58:49 +00:00
Alexander Zobnin
867ca5b59e
Access control: Team role picker ( #43418 )
...
* Refactor: move fetching from role picker to parent component
* Make built in role props optional
* Initial team role picker
* Add role picker to the teams list
* Optimize fetching roles
* Add pagination for the teams page
* Fix tests
* Hide roles if access control not enabled
* Fix test snapshots
* Refactor: use useAsync() hook
* Refactor: simplify input component
* Move api calls to separate file
* Refactor: use useAsync() hook for user role picker
* Tweak role picker input width
* Fix pagination
* Update test snapshots
* Use loading state from useAsync() hook
* Fix roles label if no roles assigned
2022-01-17 18:04:54 +03:00
Gilles De Mey
bd9df4f829
Alerting: show deleted datasource ( #43891 )
2022-01-17 14:30:00 +01:00
Hugo Häggmark
4b4afc7b2c
Chore: reduces circular dependencies for variables/utils.ts ( #44087 )
...
* Chore: move constants to own file
* Chore: moves safe* functions to grafana/data
* Chore: moves safe* functions to grafana/data
* Chore: adds VariableQueryEditorProps and deprecates VariableQueryProps
* Chore: remove getDefaultVariableAdapters function
* Chore: moves transaction status to types
* Chore: fix tests that do not initialise TemplateSrv
* Chore: change space when stringifying
* Chore: revert safe* func move
* Chore: remove circular dependency in Explore utils
2022-01-17 12:48:26 +01:00
Ryan McKinley
fd8baf5f7d
Gazetteer: reactor so the source is a DataFrame ( #43783 )
2022-01-13 17:15:31 -08:00