grafana/public/app/core/utils
Ivana Huckova 4a523c3248
Explore: Sort order of log results (#26669)
* Create sorting button and functionality

* Set up logs ordering

* Add tests

* Refactor

* Refactor

* Replace new button with old

* Move SortOrder enum to grafana/data

* Update SortOrder in test

* Update context based on sort order of logs

* Update used  method for panel, update tests

* Rename prop  to logsSortOrder

* Memoize resuults

* Add title too button

* Add disablinng of button for 1sec

* Update wordiing

* Update packages/grafana-data/src/utils/logs.ts

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

* Update packages/grafana-data/src/utils/logs.ts

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

* Update test by reordering logs

* Clear timers, add button flipping title

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-08-06 18:35:49 +02:00
..
acl.ts Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
applyStateChanges.ts Templating: Migrates some variable types from Angular to React/Redux (#22434) 2020-03-10 08:53:41 +01:00
browser.test.ts Core: Show browser not supported notification (#19904) 2019-10-23 10:30:31 +02:00
browser.ts Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
CancelablePromise.ts Add util for handling promise cancelation to avoid setting state on unmounted components 2019-01-29 12:10:03 +01:00
colors.ts Moved colorpicker to ui/components 2019-01-11 07:03:12 +01:00
ConfigProvider.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
connectWithReduxStore.tsx Migration: Save dashboard modals (#22395) 2020-03-03 08:22:26 +01:00
css_loader.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
dag.test.ts make sure to add all variable nodes to dag before linking variables 2018-10-12 14:15:44 +02:00
dag.ts Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
deferred.ts Templating: Migrates some variable types from Angular to React/Redux (#22434) 2020-03-10 08:53:41 +01:00
docsLinks.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
emitter.ts Chore: Removes some unneeded console logging and changes logs to errors (#26235) 2020-07-10 15:07:04 +01:00
errors.test.ts Tracing: Add some error handling to JaegerQueryField (#23599) 2020-04-21 14:18:56 +02:00
errors.ts Strict null fixes: updates return type of getMessageFromError, fixes QueryOperationAction props (#24690) 2020-05-14 17:08:52 +02:00
explore.test.ts Explore: Sort order of log results (#26669) 2020-08-06 18:35:49 +02:00
explore.ts Explore: Sort order of log results (#26669) 2020-08-06 18:35:49 +02:00
factors.ts Use factors for max repeated panels per row 2019-01-09 11:17:48 +01:00
fetch.test.ts BackendSrv: include credentials when withCredentials option is set (#23380) 2020-04-07 16:09:02 +02:00
fetch.ts BackendSrv: include credentials when withCredentials option is set (#23380) 2020-04-07 16:09:02 +02:00
flatten.ts Chore: fixes few strict-null errors (#23775) 2020-05-07 13:53:05 +02:00
kbn.test.ts Utils: Use 's' as default for unit-less intervals (#23248) 2020-04-02 13:43:32 +02:00
kbn.ts Chore: Fix typescript strict null errors from 674 -> 565 (#26057) 2020-07-06 21:16:27 +02:00
model_utils.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
outline.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
promiseToDigest.test.ts Templating: Fixes digest issues in Template Variable Editor (#21079) 2019-12-13 09:47:53 +01:00
promiseToDigest.ts Templating: Fixes digest issues in Template Variable Editor (#21079) 2019-12-13 09:47:53 +01:00
query.test.ts Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
query.ts Chore: More typescript strict null fixes, going for sub 200 (#26134) 2020-07-09 15:16:35 +02:00
react2angular.ts Update types and themes usage in components 2019-02-05 17:04:48 +01:00
richHistory.test.ts Explore: Sort order of log results (#26669) 2020-08-06 18:35:49 +02:00
richHistory.ts Explore: Sort order of log results (#26669) 2020-08-06 18:35:49 +02:00
sort_by_keys.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
standardTransformers.ts Transform: adding missing "table"-transform and "series to rows"-transform to Grafana v7-transforms. (#26042) 2020-07-08 12:40:05 +02:00
ticks.ts DateTime: adding support to select preferred timezone for presentation of date and time values. (#23586) 2020-04-27 15:28:06 +02:00
timePicker.test.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
timePicker.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
UserProvider.tsx Chore: Removes some unneeded console logging and changes logs to errors (#26235) 2020-07-10 15:07:04 +01:00
version.ts Fix SemVersion.isGtOrEq 2019-02-06 19:59:28 +03:00