Skip to content

Commit

Permalink
working Complaint Detail view
Browse files Browse the repository at this point in the history
test update, restore detail slice temporary to test something

remove detail slice

working aggregations query

standardize fetch aggs into single hook

remove aggsslice

remove queryManager middleware

cleanup, remove more stuff

working map tab

logic to disable query hook

remove message middleware

list view working

cleanup, passing query params to api so we can extract to transformResponse

Save work

save work

move color map to api

remove query manager things

missing dep

more loogic to prevent query from firing when not initialized

working pagination, moved breakpoints to API, and passing them through pagination component

remove breakpoints from querySlice

cleanup
  • Loading branch information
flacoman91 committed Nov 1, 2024
1 parent 482a488 commit d2f14cc
Show file tree
Hide file tree
Showing 88 changed files with 1,108 additions and 3,297 deletions.
2 changes: 1 addition & 1 deletion src/App.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'regenerator-runtime/runtime';
import { MemoryRouter, Route, Routes } from 'react-router-dom';
import { render, screen } from '@testing-library/react';
import * as useUpdateLocationHook from './hooks/useUpdateLocation';
import store from './app/store';
import { store } from './app/store';
import { ComplaintDetail } from './components/ComplaintDetail/ComplaintDetail';
import { waitFor } from './testUtils/test-utils';
jest.mock('highcharts/modules/accessibility');
Expand Down
8 changes: 0 additions & 8 deletions src/actions/__fixtures__/emptyStore.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
import { aggsState as aggs } from '../../reducers/aggs/aggsSlice';
import { detailState as detail } from '../../reducers/detail/detailSlice';
import { filtersState as filters } from '../../reducers/filters/filtersSlice';
import { mapState as map } from '../../reducers/map/mapSlice';
import { queryState as query } from '../../reducers/query/querySlice';
import { resultsState as results } from '../../reducers/results/resultsSlice';
import { routesState as routes } from '../../reducers/routes/routesSlice';
import { trendsState as trends } from '../../reducers/trends/trendsSlice';
import { viewState as view } from '../../reducers/view/viewSlice';

export default Object.freeze({
aggs,
detail,
filters,
map,
query,
results,
routes,
trends,
view,
Expand Down
179 changes: 0 additions & 179 deletions src/actions/__tests__/complaints.spec.js

This file was deleted.

143 changes: 0 additions & 143 deletions src/actions/complaints.js

This file was deleted.

30 changes: 0 additions & 30 deletions src/actions/httpRequests/httpRequests.js

This file was deleted.

Loading

0 comments on commit d2f14cc

Please sign in to comment.