Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Filter for Subscriber Home #666

Merged
merged 6 commits into from
Apr 18, 2023
Merged

Date Filter for Subscriber Home #666

merged 6 commits into from
Apr 18, 2023

Conversation

jdtoombs
Copy link
Collaborator

@jdtoombs jdtoombs commented Apr 14, 2023

In this PR:

  • Home page now filters by date
  • searches between 12am-11:59pm of selected day
  • may use the arrows to navigate or click the calendar to bring up a visual overview

datefilter

@jdtoombs jdtoombs added enhancement New feature or request subscriber PR contains changes towards the subscriber application, labels Apr 14, 2023
@jdtoombs jdtoombs self-assigned this Apr 14, 2023
@jdtoombs jdtoombs requested a review from Fosol as a code owner April 14, 2023 23:41
@jdtoombs
Copy link
Collaborator Author

Also noticing the build errors are not displaying on the browser... going to look into that.

}

/** Custom datefilter for the subscriber home page. Control the calendar state with custom button, custom styling also applied. Also allows user to navigate a day at a time via arrow buttons. */
export const DateFilter: React.FC<IDateFilterProps> = ({ fetch }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I may be blind but I don't see you using this property in the component? Remove it if you aren't.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blind, you are correct

@@ -24,6 +25,7 @@ export interface IHomeFilterProps {
*/
export const HomeFilters: React.FC<IHomeFilterProps> = ({ fetch }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not appear that you are using this property in this component either. Please remove.

@@ -9,6 +9,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="icon" type="image/x-icon" href="%PUBLIC_URL%/favicon.ico">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like manifest.json only works for local..

@jdtoombs jdtoombs requested a review from Fosol April 17, 2023 22:40
@Fosol Fosol merged commit aad6049 into dev Apr 18, 2023
@Fosol Fosol deleted the subscriber-filters branch April 18, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request subscriber PR contains changes towards the subscriber application,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants