-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Account manager home
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.
Filters on cases
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.
Consultants home
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.