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

Cases table in the client profile (asked by Gustavo de Paula) #27

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

ElemarJR
Copy link
Contributor

@ElemarJR ElemarJR commented Nov 5, 2024

No description provided.

Replaced inline case details processing with a reusable function `build_case_dictionary` to improve code maintainability and readability. This change removes redundant code and centralizes case details logic in `cases.py`.
This commit introduces the CasesTable component to the client detail page to display case information based on filters. Updates include rendering case details with status badges, days since the last update, sponsor info, and associated tracking projects. Additionally, various formatting and query adjustments were made to support this new feature.
When the group_column is 'CaseTitle' and workers are present, the code now includes a list of unique workers associated with each case title in the summary. This improvement enhances the detail and usefulness of the timesheet summaries.
Refactor CasesTable component to display contract period, team members, and days remaining. Update sorting logic to order cases alphabetically by title, and add utility functions for date formatting and end date calculations. Modify GraphQL schema and queries to include workers field.
@ElemarJR ElemarJR merged commit f6c752e into eximiaco-labs:main Nov 5, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant