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

Update Deployment Branch #10

Merged
merged 29 commits into from
Oct 23, 2024
Merged

Update Deployment Branch #10

merged 29 commits into from
Oct 23, 2024

Conversation

dopic
Copy link
Contributor

@dopic dopic commented Oct 23, 2024

No description provided.

Separated logic for displaying top clients, sponsors, and workers into dedicated components. Updated AccountManagerHomeQueries.ts to centralize the GraphQL query definitions. Enhanced UI with animation effects for better user experience.
Integrated react-responsive-masonry to improve component layout responsiveness. Enhanced TopClients, TopWorkers, and TopSponsors with expand/collapse functionality, allowing users to toggle between top 3 and top 10 views.
Updated schema to rename TitledSummary to CaseSummary and added a new field caseDetails to it. Implemented logic in timesheets.py to populate caseDetails based on case title. Added get_by_title method to the cases domain model for fetching case details by title.
Introduced a new `CasesByContractEnd` component to show cases nearing contract end in the `AccountManagerHome` view. Updated the query to fetch cases by their details and included necessary helper functions for formatting and sorting case data. Fixed text inconsistencies in `TopWorkers` filter criteria.
Refactor the code to access the client name through caseDetails property. This enhances code readability and adheres to the updated data structure.
Implemented logic to filter and display cases based on the selectedStat property. Updated GraphQL query to fetch relevant hour data and modified component rendering accordingly.
Introduce a new CasesUpdates component in the frontend to display case updates with animation. Enhance backend timesheet API to include all properties of case details dynamically.
Updated next.config.mjs to include a permanent redirect from the root URL (" / ") to the "/home" page. This change ensures users visiting the root URL are automatically redirected to the home page.
The new field 'isRecognized' has been added to the Account Managers GraphQL query to pull recognition status data. This will help in displaying recognition details for each account manager on the frontend.
Introduced ExecutionStatsExtension to measure and log the execution time of GraphQL requests in milliseconds. This will help in monitoring performance and identifying potential bottlenecks.
Refactor timesheet summarization to use a generic groupby operation, reducing redundancy. Add support for dynamic field mapping in GraphQL resolver, ensuring more flexible query handling. Include extra data in execution stats if available.
Rename project inconsistency titles to use consistent case. Also, update the href in account-managers/page.tsx to use a more relevant link structure.
Added a new Home link to the sidebar for easier navigation. Wrapped the logo in a Link component to direct users to the homepage when clicked, enhancing user experience.
Moved `FilterFieldsSelect` to a shared component directory and refactored its implementation to support dynamic filtering in case queries. Updated `CaseCard` to highlight updates older than 30 days and modified the `cases` page to use the new filtering logic.
Introduce the ConsultantOrEngineerHome component for consultants and engineers, with associated queries for fetching client statistics. Also, update ClientStatsSection to dynamically render statistics and adjust related imports and links to reflect the new structure.
Integrate token verification and authentication middleware in the backend. Modify frontend to utilize the Google ID token and update Apollo Client instance creation based on the session. Add necessary settings and packages for Google authentication in both backend and frontend.
Deleted obsolete dashboard decorators and helper files, including component.py, key.py, kpi.py, and x9.py. Streamlined timesheet_dataset.py, semanticmodel.py, and tasksmanager.py by removing unnecessary methods and imports. Updated frontend/package.json to simplify the dev script.
Reorganized the backend by moving files into a 'src' directory for improved structure and readability. Introduced a new sales funnel model named SalesFunnelB2B, including stages, deals, and activities handling via Pipedrive integration. Additionally, made minor code enhancements and addressed cache handling to improve performance.
This commit deletes the existing `backend/models/semantic/salesfunnel.py` file and introduces an identical `backend/src/models/semantic/salesfunnel.py` file. This restructuring improves code organization by placing the model script into the 'src' directory.
This commit introduces comprehensive unit tests for various helper functions across different modules, including `beauty`, `dict`, `list`, `numbers`, `slug`, and `weeks`. Additionally, necessary test dependencies such as `pytest` and its extensions were added to `requirements.txt`.
Formatted the GraphQL query strings for better readability by adjusting indentation and removing redundant spaces. Also, updated the frontend component to safely reference nullable `data.weekReview` to avoid potential runtime errors. Additionally, removed unused imports and modified dataframe handling in the backend.
Adding tests and improving the backend folder structure
@dopic dopic merged commit 98684d9 into feature/deploy-new-version Oct 23, 2024
1 of 2 checks passed
@dopic dopic changed the title Update Deployment BRanch Update Deployment Branch Oct 23, 2024
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.

2 participants