Alexander Zobnin
a558d287a7
Role picker: Remove unnecessary table wrapper ( #77707 )
2023-11-06 15:33:58 +01:00
Alex Khomenko
d62170e4ce
Grafana/ui: Move the Stack component out of unstable ( #77495 )
...
* grafana/ui: Move Stack out of unstable
* grafana/ui: Replace imports
2023-11-02 12:22:57 +02:00
Alexander Zobnin
cf7a2ea733
RolePicker: Optimise rendering inside lists of items ( #77297 )
...
* Role picker: Load users roles in batch
* Use orgId in request
* Add roles to OrgUser type
* Improve loading logic
* Improve loading indicator
* Fix org page
* Update service accounts page
* Use bulk roles query for teams
* Use POST requests for search
* Use post request for teams
* Update betterer results
* Review suggestions
* AdminEditOrgPage: move API calls to separate file
2023-11-01 11:57:02 +01:00
Alex Khomenko
f5cbd4f9d0
grafana/ui: Rename Flex component to Stack ( #77453 )
...
* grafana/ui: Remove Stack and rename FLex to Stack
* Update types
* Update grafana/ui imports
* Update Grafana imports
* Update docs
2023-11-01 09:48:02 +02:00
Joao Silva
f183e68b1c
GrafanaUI: Move Box out of unstable and into GrafanaUI ( #77080 )
2023-10-26 13:46:11 +01:00
Alexander Zobnin
aa7a6da985
Role picker: Fix flickering at service accounts page ( #77049 )
...
* Role picker: Fix flickering at service accounts page
* Set role picker fixed width
* Fix betterer
* Fix styles
2023-10-25 13:03:12 +02:00
Eric Leijonmarck
9ef390a81b
Auth: Update `disabledMessage` to make better use of info box ( #76687 )
...
* refactor: make better use of info box for basic roles
* linting fix
2023-10-18 15:14:07 +01:00
Alex Khomenko
a4522812fe
Admin: Use primitive components for table views ( #76512 )
...
* Remove HorizontalGroup and VerticalGroup from OrgUserstable
* Refactor OrgUnits
* Refactor UsersTable
* Add TableWrapper
* Use Stack and Flex for TeamList
* Revert pagination changes
* Update betterer
* Remove div wrapper
* Codeformat
2023-10-17 14:06:28 +03:00
Alex Khomenko
bc98f3d139
Grafana UI: Add Avatar component ( #76429 )
...
* Grafana/UI: Add Avatar component
* Use the new component
* Add docs and story
* Update type check
* Codeformat
2023-10-16 13:59:54 +03:00
Alex Khomenko
57b99728ad
Admin: Add missing wrapper to OrgUsersTable ( #76185 )
2023-10-09 14:43:47 +03:00
Alex Khomenko
4a692fc82e
Admin: Use backend sort ( #75228 )
...
* Admin: Use InteractiveTable
* Admin: Fix pagination
* Admin: Use CellWrapper
* Admin: Split components
* Admin: Separate OrgUsersTable
* Admin: Remove UsersTable
* Admin: Use the new table for TeamList
* Admin: Cleanup TeamList page
* Admin: Add edit team action
* Admin: Use explicit edit action instead of a link wrapper
* Admin: Fix responsive styles
* Cleanup
* Remove redundant sort
* Add item key
* Fix icon styles
* Set loading by default
* Use separate pagination component
* Use default sorting functionality
* Fix merge conflicts
* Update betterer
* Add controlled sort
* Revert pagination changes
* Move pagination inside OrgUsersTable.tsx
* Add missing prop
* Sort users table
* Fix tests
* Remove loader
* Add sort to Teams
* Cleanup
* Update loadTeams action
* Remove sort condition
2023-09-29 12:48:36 +03:00
Alex Khomenko
13321788e8
OrgUsersTable: Fix RolePicker overflow ( #75541 )
...
* OrgUsersTable: Fix RolePicker overflow
* Remove redundant styles
2023-09-27 17:24:58 +03:00
Alex Khomenko
87ced17060
Admin: Use InteractiveTable for user and team tables ( #74821 )
...
* Admin: Use InteractiveTable
* Admin: Fix pagination
* Admin: Use CellWrapper
* Admin: Split components
* Admin: Separate OrgUsersTable
* Admin: Remove UsersTable
* Admin: Use the new table for TeamList
* Admin: Cleanup TeamList page
* Admin: Add edit team action
* Admin: Use explicit edit action instead of a link wrapper
* Admin: Fix responsive styles
* Cleanup
* Remove redundant sort
* Add item key
* Fix icon styles
* Set loading by default
* Use separate pagination component
* Use default sorting functionality
* Fix merge conflicts
* Update betterer
* Move pagination inside OrgUsersTable.tsx
* Disable sort if results have more than 1 page
* Update betterer results
* Use CSS objects
* More style fixes
* Update betterer
2023-09-27 08:55:57 +03:00