Hugo Häggmark
4f0fa776be
Chore: Migrates reducers and actions to Redux Toolkit ( #21287 )
...
* Refactor: Adds Redux Toolkit package
* Refactor: Uses configureStore from Redux Toolkit
* Refactor: Migrates applicationReducer
* Refactor: Migrates appNotificationsReducer
* Refactor: Migrates locationReducer
* Refactor: Migrates navModelReducer
* Refactor: Migrates teamsReducer and teamReducer
* Refactor: Migrates cleanUpAction
* Refactor: Migrates alertRulesReducer
* Refactor: Cleans up recursiveCleanState
* Refactor: Switched to Angular compatible reducers
* Refactor: Migrates folderReducer
* Refactor: Migrates dashboardReducer
* Migrates panelEditorReducer
* Refactor: Migrates dataSourcesReducer
* Refactor: Migrates usersReducer
* Refactor: Migrates organizationReducer
* Refactor: Migrates pluginsReducer
* Refactor: Migrates ldapReducer and ldapUserReducer
* Refactor: Migrates apiKeysReducer
* Refactor: Migrates exploreReducer and itemReducer
* Refactor: Removes actionCreatorFactory and reducerFactory
* Refactor: Moves mocks to test section
* Docs: Removes sections about home grown framework
* Update contribute/style-guides/redux.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Refactor: Cleans up some code
* Refactor: Adds state typings
* Refactor: Cleans up typings
* Refactor: Adds comment about ImmerJs autoFreeze
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-01-13 08:03:22 +01:00
Eric Leijonmarck
f05607d4c0
UserTableView: Show user name in table view ( #18108 )
...
* refactor to multiple rows
* added name for org user struct
* added name getorgusers
* added user name to tableview
* made test pass
* updated userMocks to user name field
* added missing UsersTable snapshot
* added name on teammembers page, be able to search query for name, login and email
* added the updated snapshots
* conform to same sorting as output form
* conform to previous way of using it
* sort first by login and after by email, as it was before
2019-11-21 12:44:46 +02:00
kay delaney
ca3dff99e8
Chore: Bumps prettier version for new typescript syntax support ( #20463 )
...
* Chore: Bumps prettier version for new typescript syntax support
* Ran new version of prettier against the codebase
2019-11-19 13:59:39 +00:00
Torkel Ödegaard
785584a690
UsersPage: Removed icon in external button ( #20441 )
2019-11-19 09:28:17 +01:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
kay delaney
918cb78092
Chore: Upgrades react-redux to version 7.1.1 ( #19272 )
2019-09-23 12:01:08 +01:00
lzd
50b4695cf5
Admin/user: fix textarea postion in 'Pending Invites' to avoid page scrolling ( #19288 )
...
* hide textarea element after click 'Copy Invite' button on firefox
2019-09-23 12:50:35 +02:00
548017
09b434bdd0
Auth: Allow inviting existing users when login form is disabled ( #19048 )
...
Allow api to accept inviting existing users when login form is disabled.
UI shows invite button when login form is disabled.
2019-09-12 18:45:50 +02:00
kay delaney
7985aa1e57
Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements ( #18544 )
...
* Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements
- Introduces dynamic imports for built-in plugins
- Uses dynamic imports for various packages (rst2html, brace)
- Introduces route-based dynamic imports
- Splits angular and moment into separate bundles
2019-09-03 09:29:02 +01:00
Dominik Prokop
faabb839e6
Chore: Revert React 16.9.0 bump ( #18634 )
...
Since React and other dependencies bump caused some troubles with building packages that @kaydelaney and me tried to debug without any success, we decided to revert React 16.9.0 bump.
2019-08-20 11:14:53 +02:00
kay delaney
7f8f3fa458
Chore: Updates react-dependant packages to address react warnings ( #18549 )
...
Updates packages that depend on react in order to address warnings produced
by react regarding the use of `componentWillReceiveProps`
2019-08-14 14:20:35 +01:00
Tobias Skarhed
e1cec1069c
noImplicitAny: 1670 errors ( #18035 )
...
* Sub 2000 errors
* Down to 1670 errors
* Minor fixes
2019-07-11 17:05:45 +02:00
Tobias Skarhed
8541214c9e
Markdown: Replace rendering library ( #17686 )
...
* Replace remarkable with marked
* Add wrapper and options for marked
2019-06-26 13:15:45 +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
96ba32d0c8
Add a @grafana/runtime package with backendSrv interface ( #16533 )
...
grafana-runtime/tsconfig.json imports query to avoid a build error ¯\_(ツ)_/¯
2019-06-03 17:55:59 +02:00
Ryan McKinley
26bd76b4c2
Refactor: move NavModel to @grafana/ui ( #16813 )
2019-04-30 07:46:46 -07:00
Patrick O'Carroll
d040e336c1
UI: Remove old icons ( #16335 )
...
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* replaced fontawesome cog, eye, link and edit with gicons
* updated snapshot
* fixed color of cog in dashboard nav, removed icons from buttons, ran preitterier on some files
* changed opacity on getting started icons and fixed getting started button
* .5 -> 0.5 fix for prettier
2019-04-17 15:18:32 +02:00
Patrick O'Carroll
128fb8fa7e
Theme: Reworking button styling ( #16362 )
...
* added new variables for height in theme, added height to gui button large, replaced add gicon with regular gicon, replaced + with gicon, changed button display to flex
* set fixed height to large button, removed xlarge button and replaced with large button
* removed button-mini and replaced with button-small, set fixed height to default button and button-small
* fixed padding for default and large button, fixed height for navbar button, fixed snapshots
* fixed padding and margin on navbar buttons
* gave special height to login btn-primary
* readded btn-mini class with same styling as btn-small and a deprecated notice
* fixed add panel widget buttons
2019-04-08 09:48:15 +02:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +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
Hugo Häggmark
222482b6be
Forgot about the snapshots
2019-02-12 16:31:11 +01:00
Hugo Häggmark
4c74b09a9d
Renamed to FilterInput and added label and search icon
2019-02-12 16:22:57 +01:00
Hugo Häggmark
5388541fd7
Fixes bug #12972 with a new type of input that escapes and unescapes special regexp characters
2019-02-12 08:48:54 +01:00
ijin08
0642c52693
created new color variables, changed primary to blue, changed success-btns to primary-btns.
2019-02-05 12:05:02 +01:00
Johannes Schill
1dfabf498a
chore: Replace the deprecated SFC with FC
2019-01-17 09:27:43 +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
234713466e
test: Update snapshots and mocks
2019-01-16 16:29:07 +01:00
Johannes Schill
feeb3ea56d
feat: Generate page titles from navModel
2019-01-16 16:03:15 +01:00
Johannes Schill
25304629bd
test: Updated snapshots
2019-01-16 16:03:15 +01:00
Johannes Schill
b2961a4b4a
fix: Configuration: Users should also use the Page component
2019-01-16 16:03:15 +01:00
Torkel Ödegaard
98d26354c1
Added a form component to @grafana/ui
2018-12-25 11:42:23 +01:00
Peter Holmberg
d37dae34f2
fixing issue with copy invite link
2018-12-14 13:49:14 +01:00
Peter Holmberg
02e7d713a1
Added Loading state on org pages
2018-10-11 11:49:34 +02:00
Torkel Ödegaard
848f19a4a1
ux: misc react migration fixes and info box style improvement
2018-10-05 08:43:56 +02:00
Torkel Ödegaard
a83f0e9ba2
test: updated react snapshot
2018-10-03 14:58:34 +02:00
Torkel Ödegaard
9b4dd31095
ux: minor tweak to link
2018-10-03 14:52:13 +02:00
Peter Holmberg
ef5180bae0
fixed toggle buttons
2018-10-03 13:04:31 +02:00
Peter Holmberg
45113e6c8b
updated after pr feedback
2018-10-03 10:54:15 +02:00
Torkel Ödegaard
afdec3d1b0
Revert "Revert "Org users to react""
2018-10-03 09:43:10 +02:00
Torkel Ödegaard
fe4f2f71c3
Revert "Org users to react"
2018-10-03 09:40:37 +02:00
Peter Holmberg
cc57995070
snap
2018-10-02 13:30:09 +02:00
Peter Holmberg
6d6416c04d
fix after merge from master
2018-10-02 13:19:11 +02:00
Peter Holmberg
a188ceacbc
invitees
2018-10-02 11:04:55 +02:00
Peter Holmberg
3c8820ab55
invites table
2018-10-01 18:01:26 +02:00
Peter Holmberg
3211df7303
filter users in selector based on search
2018-10-01 13:45:00 +02:00
Peter Holmberg
94971abd9c
functions and tests
2018-10-01 12:01:53 +02:00
Peter Holmberg
8f99276606
first crude display
2018-09-28 17:21:00 +02:00