nimbus-gui/src/redux/store.ts
Hristo Nedelkov 22534f6504 feat(log screen): Improvements of the logs
fix(LogsPage): improve code in Logs Page

fix(header buttons): search field fix

fix(yarn): remove useless packages!

fix(logs cads): icons problem

fix(Terminal Row): update terminal row with new data format

fix(logs terminal): create custom component and remove useless packages

update data

feat(terminal row): create custom logic to load logs

feat(logs terminal): import logs as json

refactor(logs page): clear code

feat(terminal row): style text getColorForKey

feat(constants): add real terminal logs

fix(logs terminal): fix style of window

feat(terminal row): add correct colors from image

feat(terminal row): create format log function

fix(terminal row): fix row highlight

fix(terminal row): fix style of log row

Update TerminalRow.tsx

Update TerminalRow.tsx

fix(terminal row): allow side scrolling and improve code

Update constants.ts

fix(logs terminal): fix warnings of using Property 'scrollIntoView' type 'never'

fix(logs terminal): fix logs end ref

feat:(terminal row): implement search in logs values

fix warning

style(switch component): style thumb on switch

feat:(terminal row): add timestamps if active

fix warning

fix(search field): case insensitive

Update constants.ts

add LogsTypes

feat(Header buttons): map dropdown options

feat(logs terminal): filter logs by lvl

fix(terminal row): improve search functionality

Update LogsTerminal.tsx

Create logsTerminal slice

Update store.ts

feat: use current count of each log type

feat(logsTerminal): create func to calculate logs

format

add yarn package

yarn add react window

feat(logs terminal): implement react window into current log terminal

feat(log constants): export Log Type and level

Update LogsTerminal.tsx

fix(logs terminal):fix type warnings

fix(logs page): fix default menu item

feat(logs sum car): calculate logs per minute

add comment

fix (terminal row): render all types of data from log

fix(terminal row): fix type error

feat(terminal row): make index unable to be copied

format

fix(terminal row): show raw JSON logs

feat(switch component): make switch reusable

feat(switch component): use updated switch

feat(terminal row): optional showing indexes

format

Create LogsTerminal.stories.ts

Create LogsPage.stories.ts

Create LogsSumCard.stories.ts

Create HeaderBtns.stories.ts

Create TitleLogo.stories.ts
2024-02-26 12:57:25 +02:00

40 lines
1.6 KiB
TypeScript

import { configureStore } from '@reduxjs/toolkit'
import themeReducer from './theme/slice'
import deviceHealthReducer from './deviceHealthCheck/slice'
import pinnedMessageReducer from './PinnedMessage/slice'
import execClientReducer from './ValidatorOnboarding/ClientSetup/slice'
import keyGenerationReducer from './ValidatorOnboarding/KeyGeneration/slice'
import depositReducer from './ValidatorOnboarding/Deposit/slice'
import leftSidebarReducer from './LeftSidebar/slice'
import rightSidebarReducer from './RightSidebar/slice'
import validatorOnboardingReducer from './ValidatorOnboarding/slice'
import advisoriesReducer from './ValidatorOnboarding/Advisories/slice'
import validatorSetupReducer from './ValidatorOnboarding/ValidatorSetup/slice'
import pairDeviceReducer from './PairDevice/slice'
import manageValidatorTabReducer from './ManageValidatorTab/slice'
import logsTerminalReducer from './LogsTerminal/slice'
const store = configureStore({
reducer: {
deviceHealth: deviceHealthReducer,
pinnedMessage: pinnedMessageReducer,
execClient: execClientReducer,
theme: themeReducer,
keyGeneration: keyGenerationReducer,
deposit: depositReducer,
leftSidebar: leftSidebarReducer,
rightSidebar: rightSidebarReducer,
validatorOnboarding: validatorOnboardingReducer,
advisories: advisoriesReducer,
validatorSetup: validatorSetupReducer,
pairDevice: pairDeviceReducer,
manageValidatorTab: manageValidatorTabReducer,
logsTerminal: logsTerminalReducer,
},
})
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
export default store