Skip to content

Commit

Permalink
Merge branch 'platform/jamie/14601-authz-api' of github.com:CDCgov/pr…
Browse files Browse the repository at this point in the history
…ime-reportstream into platform/jamie/14601-authz-api
  • Loading branch information
jalbinson committed Dec 4, 2024
2 parents e5fa576 + 61b9a8f commit 494135e
Show file tree
Hide file tree
Showing 4 changed files with 900 additions and 1,335 deletions.
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/platform-epic-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@ assignees: ''
---

## Outcome/Objective
<!--- State the high-level business or product outcome you want to achieve.-->

## Description
<!---Links to product(s) brief or description of the work involved.-->

## Product Requirement(s)
<!---Outline the specific business tasks or changes needed to achieve the outcome. (can be a link)-->

## Use Case(s)
<!---Give specific use cases of what needs to be achieved or supported-->

## Dependencies
<!---Identify any systems, teams, or external factors that need to be in place-->

## Acceptance criteria
<!---List measurable criteria that will confirm when the technical /business requirements have been met-->

## Technical Requirement(s)
<!---
- Architecture: What existing patterns and frameworks will be used for this work? What new ones will be added? What additional libraries need to be used?
- Architecture: What existing patterns and frameworks will this work use? What new ones will be added? What additional libraries need to be used?
- Data model: What changes are there to the data model, and how will those changes be implemented (i.e. requires migration)?
- APIs: What existing services are involved? What new ones will be added?
- Technical Constraint(s)
- Integrations: What integrations are involved?
-->
-->
68 changes: 34 additions & 34 deletions frontend-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
"type": "module",
"npmClient": "yarn",
"dependencies": {
"@microsoft/applicationinsights-react-js": "^17.3.3",
"@microsoft/applicationinsights-web": "^3.3.3",
"@microsoft/applicationinsights-react-js": "^17.3.4",
"@microsoft/applicationinsights-web": "^3.3.4",
"@okta/okta-react": "^6.9.0",
"@okta/okta-signin-widget": "^7.24.2",
"@rest-hooks/rest": "^3.0.3",
"@tanstack/react-query": "^5.59.15",
"@tanstack/react-query-devtools": "^5.59.15",
"@tanstack/react-query": "^5.62.2",
"@tanstack/react-query-devtools": "^5.62.2",
"@trussworks/react-uswds": "^9.1.0",
"@uswds/uswds": "3.7.1",
"axios": "^1.7.7",
"axios": "^1.7.8",
"classnames": "^2.5.1",
"date-fns": "^3.6.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"dompurify": "^3.1.7",
"dompurify": "^3.2.2",
"export-to-csv-fix-source-map": "^0.2.1",
"focus-trap-react": "^10.3.0",
"history": "^5.3.0",
Expand All @@ -31,7 +31,7 @@
"react-idle-timer": "^5.7.2",
"react-loader-spinner": "^6.1.6",
"react-markdown": "^9.0.1",
"react-query-kit": "^3.3.0",
"react-query-kit": "^3.3.1",
"react-router": "^6.27.0",
"react-router-dom": "^6.27.0",
"react-scroll-sync": "^0.11.2",
Expand All @@ -40,9 +40,9 @@
"rehype-slug": "^5.1.0",
"rest-hooks": "^6.1.7",
"sanitize-html": "^2.13.1",
"tsx": "^4.19.1",
"tsx": "^4.19.2",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^10.0.0",
"uuid": "^11.0.3",
"web-vitals": "^3.4.0"
},
"scripts": {
Expand Down Expand Up @@ -113,31 +113,31 @@
"@eslint/js": "^9.13.0",
"@mdx-js/react": "^3.1.0",
"@mdx-js/rollup": "^3.1.0",
"@playwright/test": "^1.48.1",
"@playwright/test": "^1.49.0",
"@rest-hooks/test": "^7.3.1",
"@storybook/addon-a11y": "^8.3.6",
"@storybook/addon-actions": "^8.3.6",
"@storybook/addon-essentials": "^8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.3.6",
"@storybook/blocks": "^8.3.6",
"@storybook/components": "^8.3.6",
"@storybook/core-events": "^8.3.6",
"@storybook/addon-a11y": "^8.4.6",
"@storybook/addon-actions": "^8.4.6",
"@storybook/addon-essentials": "^8.4.6",
"@storybook/addon-interactions": "^8.4.6",
"@storybook/addon-links": "^8.4.6",
"@storybook/blocks": "^8.4.6",
"@storybook/components": "^8.4.6",
"@storybook/core-events": "^8.4.6",
"@storybook/mdx2-csf": "1.1.0",
"@storybook/react": "^8.3.6",
"@storybook/react-vite": "^8.3.6",
"@storybook/react": "^8.4.6",
"@storybook/react-vite": "^8.4.6",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.3.6",
"@storybook/theming": "^8.4.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/dompurify": "^3.0.5",
"@types/dompurify": "^3.2.0",
"@types/dotenv-flow": "^3.3.3",
"@types/eslint__js": "^8.42.3",
"@types/github-slugger": "^1.3.0",
"@types/html-to-text": "^9.0.4",
"@types/lodash": "^4.17.12",
"@types/lodash": "^4.17.13",
"@types/mdx": "^2.0.13",
"@types/node": "^20.12.5",
"@types/react": "18.3.11",
Expand All @@ -151,7 +151,7 @@
"autoprefixer": "^10.4.20",
"browserslist": "^4.24.2",
"browserslist-useragent-regexp": "^4.1.3",
"chromatic": "^11.12.6",
"chromatic": "^11.20.0",
"cross-env": "^7.0.3",
"dotenv-flow": "^4.1.0",
"eslint": "9.13.0",
Expand All @@ -160,11 +160,11 @@
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-storybook": "^0.10.1",
"eslint-plugin-storybook": "^0.11.1",
"eslint-plugin-testing-library": "^6.4.0",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^15.11.0",
Expand All @@ -175,21 +175,21 @@
"msw": "^2.4.11",
"msw-storybook-addon": "^2.0.3",
"npm-run-all": "^4.1.5",
"otpauth": "^9.3.4",
"otpauth": "^9.3.5",
"patch-package": "^8.0.0",
"postcss": "^8.4.47",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"react-error-boundary": "^4.1.2",
"remark-frontmatter": "^5.0.0",
"remark-mdx-frontmatter": "^5.0.0",
"remark-mdx-toc": "^0.3.1",
"sass": "^1.80.3",
"storybook": "^8.3.6",
"sass": "^1.81.0",
"storybook": "^8.4.6",
"storybook-addon-remix-react-router": "^3.0.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"undici": "^6.20.1",
"vite": "^5.4.10",
"vite-plugin-checker": "^0.8.0",
Expand Down
8 changes: 8 additions & 0 deletions frontend-react/src/components/Table/TableFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
RangeSettingsActionType,
} from "../../hooks/filters/UseDateRange/UseDateRange";
import { FilterManager } from "../../hooks/filters/UseFilterManager/UseFilterManager";
import { PageSettingsActionType } from "../../hooks/filters/UsePages/UsePages";
import { FeatureName } from "../../utils/FeatureName";
import { appInsights } from "../../utils/TelemetryService/TelemetryService";

Expand Down Expand Up @@ -101,6 +102,13 @@ function TableFilters({
type: RangeSettingsActionType.RESET,
payload: { from, to },
});

// Reset results to first page upon applying filters
filterManager.updatePage({
type: PageSettingsActionType.SET_PAGE,
payload: { page: 1 },
});

cursorManager?.update({
type: CursorActionType.RESET,
payload: filterManager.sortSettings.order === "DESC" ? to : from,
Expand Down
Loading

0 comments on commit 494135e

Please sign in to comment.