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

[Feat] Daily table view #51

Merged
merged 6 commits into from
Nov 15, 2024
Merged

[Feat] Daily table view #51

merged 6 commits into from
Nov 15, 2024

Conversation

theBGuy
Copy link
Owner

@theBGuy theBGuy commented Oct 21, 2024

Description:

This pull request includes several updates to the project, focusing on configuration changes, dependency updates, and enhancements to the WorkTimeAccordion component.

Configuration Changes:

  • .vscode/settings.json: Updated editor settings to use biomejs.biome as the default formatter and added new editor configurations.
  • biome.jsonc: Added a new configuration file for Biome with settings for organizing imports, linting rules, and formatting options.
  • frontend/.prettierrc.json: Removed the Prettier configuration file as it is replaced by Biome.

Dependency Updates:

Component Enhancements:

  • frontend/src/components/WorkTimeAccordian.tsx:
    • Added new imports for DatePicker, LocalizationProvider, and dayjs related components. [1] [2]
    • Introduced new state variables and memoized values for handling date ranges and filtering work times. [1] [2]
    • Implemented new functions for handling tab changes, pagination, and row expansion.
    • Updated the UI to include tabs for "Month Breakdown" and "Daily View", and added functionality to filter and display work times based on selected dates.

📸 Screenshots (optional)

image

🏎 Quality check

  • Are there any erroneous console logs, debuggers or leftover code in your changes?

  • Walk away, take a break, re-read what you filled out above does it make sense if you were coming in cold? What extra context could you provide?

Sorry, something went wrong.

- Switched from eslint/prettier to using biome as linter/formatter
-Month breakdown remains as it was before showing the total time worked for each project in that month
- The daily view implements a paginated table that includes a date range filter to show the total time worked each day and sum the range
- add hover prop
@theBGuy theBGuy added enhancement New feature or request minor New features or significant improvements that are backward-compatible and do not introduce breaking labels Oct 21, 2024
@theBGuy theBGuy marked this pull request as ready for review November 15, 2024 07:10
@theBGuy theBGuy merged commit 3b7e56f into master Nov 15, 2024
1 check passed
@theBGuy theBGuy deleted the feat/daily-table-view branch November 15, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor New features or significant improvements that are backward-compatible and do not introduce breaking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant