* Migrated loki syntax and labels logic to useLokiSyntax hook * Enable loki labels refresh after specified interval has passed * Enable periodic loki labels refresh when labels selector is opened * Fix prettier * Add react-hooks-testing-library and disable lib check on typecheck * Add tests for loki syntax/label hooks * Move tsc's skipLibCheck option to tsconfig for webpack to pick it up * Set log labels refresh marker variable when log labels fetch start * Fix prettier issues * Fix type on activeOption in useLokiLabel hook * Typo fixes and types in useLokiSyntax hook test fixes * Make sure effect's setState is not performed on unmounted component * Extract logic for checking if is component mounted to a separate hook
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
LokiCheatSheet.tsx | Loading commit data... | |
LokiQueryEditor.tsx | Loading commit data... | |
LokiQueryField.tsx | Loading commit data... | |
LokiQueryFieldForm.tsx | Loading commit data... | |
LokiStartPage.tsx | Loading commit data... | |
useLokiLabels.test.ts | Loading commit data... | |
useLokiLabels.ts | Loading commit data... | |
useLokiSyntax.test.ts | Loading commit data... | |
useLokiSyntax.ts | Loading commit data... |