-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/web/dashboard #86
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
…2024/occupi into feature/web/dashboard
…ponent and TopNav
…2024/occupi into feature/web/dashboard
…2024/occupi into feature/web/dashboard
…tion Add @react-pdf/renderer package and its related dependencies, including canvas, dom-to-image, html-to-image, html2canvas, jspdf, npm, react-pdf-charts, and react-to-print. These packages are required for generating PDFs in the application. This change enhances the functionality of the application by enabling PDF generation capabilities.
Add a new component, PDFReport, to the reports directory. This component utilizes the @react-pdf/renderer library to generate PDF reports. It includes styles for the page layout, header, sections, tables, and paragraphs. The component also uses SVG and Rect components to create a bar chart visualization of monthly office occupancy data. This addition enhances the application's functionality by allowing users to generate PDF reports of office occupancy data.
Add lazy loading functionality to the Line_Chart component in order to improve page load performance. This change includes importing the useRef hook from React and the html2canvas library. It also adds a new handleDownload function that uses html2canvas to generate a chart image and allows users to download it. The chartRef is used to reference the chart container element. This enhancement improves the user experience by reducing the initial load time and providing a convenient way to download the chart image.
…2024/occupi into feature/web/dashboard
This reverts commit 84d4f28.
…tainer details Update the names and file paths in the deployment workflows to reflect the changes made in the codebase. This includes renaming the workflow for deploying to the live site from "Deploy Web site to Live site" to "Deploy Prod Dashboard" and updating the file path for the docker-compose file in the development workflow from "frontend/occupi-web-dev/docker-compose.yml" to "frontend/occupi-web-dev/docker-compose.dev.yml". These changes ensure that the deployment workflows accurately reflect the current state of the codebase and improve clarity for future development and deployment processes.
feat: Add route for reports page and update PDFReport component Add a new route for the reports page and update the PDFReport component to be located in the "pages/reports" directory. This change ensures that the reports functionality is properly integrated into the application and follows the established file structure.
Update the workflow file to include a new step for installing dependencies with Bun. This ensures that the project's dependencies are properly installed and managed using the latest version of Bun. This change improves the development and build process by ensuring that the correct dependencies are available for the project.
Install project dependencies with Bun during the workflow execution. This ensures that the correct dependencies are installed and managed using the latest version of Bun. The addition of this step improves the development and build process by ensuring the availability of the required dependencies.
…2024/occupi into feature/web/dashboard
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.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: