Skip to content

Conversation

@sogalabhi
Copy link

No description provided.

faran4 and others added 30 commits May 20, 2025 13:37
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Used the core files to create the page ui. Simualted api responses by adding hardcoded values in useeffect
- Cleaned up the JSX structure in the `Window.jsx` component by removing unnecessary line breaks and ensuring consistent indentation.
- Organized the rendering of design type buttons and connection items for better clarity.
- Updated the `Start` button functionality to navigate correctly based on the selected design type.
…ng React Three Fiber

Integrated a 3D model (.glb file) using @react-three/fiber and GLTFLoader. Added hover interaction to detect and display individual morph target keys dynamically using Html from @react-three/drei, enhancing user feedback for morphable meshes.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Deleted DockTemplatePage, InputDockTemplate, InputField, MainNavBar, MiddleDockTemplate, OutputDockTemplate components.
- Removed core_styles.css as it contained styles for deleted components.
- Updated BeamBeamEndPlate to change design module name in createDesign function.
- Refactored LoginPage for improved readability and consistency.
- Enhanced ModuleReducer and ModuleState to prevent direct state mutations and improve data handling.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Used the core files to create the page ui. Simualted api responses by adding hardcoded values in useeffect
- Cleaned up the JSX structure in the `Window.jsx` component by removing unnecessary line breaks and ensuring consistent indentation.
- Organized the rendering of design type buttons and connection items for better clarity.
- Updated the `Start` button functionality to navigate correctly based on the selected design type.
- Removed duplicate route for BoltedToEndPage in App.jsx.
- Updated default selected profile in BoltedToEndPage from "Back to Back Angles" to "Angles".
- Changed member designation default value from "MB 300" to "All".
- Simplified parameter construction in BoltedToEndPage with hardcoded values for bolts and materials.
- Enhanced member designation selection logic to include "All" and dynamically populate based on selected profile.
- Added angleList and channelList to ModuleReducer and ModuleState for better state management.
- Introduced a new .osi file with predefined bolt and member parameters.
- Added debug print statements in Angle class for tracing database connection and attribute assignment.
- Updated CADGeneration view to include new session type for Tension Member Bolted Design.
- Enhanced CADDownload API to handle tension member session cookies.
- Integrated tension member bolted connection in design report CSV generation.
- Modified input data handling for tension member bolted design to return a formatted bolt list.
- Cleaned up output view for tension member bolted design by removing unnecessary print statements.
- Adjusted CAD model creation logic to accommodate new section types for tension members.
- Updated common logic for tension member design to reflect changes in module handling.
- Removed unused CSS styles from App.css to streamline the codebase.
- Introduced TensionDropdownMenu component for better dropdown management in the UI.
- Updated BoltedToEndPage to utilize the new TensionDropdownMenu and reflect changes in design preferences.
- Enhanced rendering logic in the Model component to include geometry for Member and Endplate sections.
- Fixed reducer logic to correctly set bolt diameter list from the action payload.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
sogalabhi added 10 commits June 25, 2025 19:28
- Updated CADGeneration view to include new session type for Tension Member Bolted Design.
- Enhanced CADDownload API to handle tension member session cookies.
- Integrated tension member bolted connection in design report CSV generation.
- Modified input data handling for tension member bolted design to return a formatted bolt list.
- Cleaned up output view for tension member bolted design by removing unnecessary print statements.
- Adjusted CAD model creation logic to accommodate new section types for tension members.
- Updated common logic for tension member design to reflect changes in module handling.
- Removed unused CSS styles from App.css to streamline the codebase.
- Introduced TensionDropdownMenu component for better dropdown management in the UI.
- Updated BoltedToEndPage to utilize the new TensionDropdownMenu and reflect changes in design preferences.
- Enhanced rendering logic in the Model component to include geometry for Member and Endplate sections.
- Fixed reducer logic to correctly set bolt diameter list from the action payload.
- Replaced BoltedToEndPage with a new BoltedToEnd component for improved structure.
- Updated routing to reflect the new component organization.
- Removed unused CSS styles and components related to the previous implementation.
- Enhanced input handling and state management for the Tension Member module.
- Introduced new configuration files for better modularity and maintainability.
- Updated camera settings for the Tension Member view.
- Cleaned up print statements and debug logs for a cleaner codebase.
- Introduced a new BoltedToEndPage component to improve structure and maintainability.
- Updated routing to reflect the new component organization.
- Enhanced input handling and state management for the Tension Member module.
- Added a new output dock component for displaying design results.
- Removed deprecated configuration files and cleaned up unused imports.
- Improved user interface for selecting section profiles and bolt parameters.
- Streamlined the design report generation process with updated data handling.
- Cleaned up codebase by removing unnecessary print statements and comments.
- Updated the generate_output function to include logging of output and return logs alongside output data.
- Refactored routing to utilize the new BoltedToEnd component for better organization.
- Introduced new configuration files for bolted tension member design, enhancing modularity.
- Added new output dock component for displaying design results.
- Implemented dynamic data fetching for angle and channel lists in the module state.
- Improved user interface for selecting section profiles and bolt parameters.
- Enhanced rendering logic to accommodate new geometries for tension members and endplates.
- Cleaned up codebase by removing unnecessary print statements and comments.
… support

- Removed session creation and deletion endpoints from the URL configuration.
- Updated various output view classes to eliminate session dependency and streamline input handling.
- Enhanced error handling and logging for module API interactions.
- Cleaned up code by removing unnecessary comments and print statements.
- Adjusted CAD generation logic to accommodate new stateless design approach.
- Improved overall structure for better maintainability and modularity.
- Updated import path for CoverPlateWelded to reflect new module structure.
- Removed unnecessary character from EngineeringModule component.
- Standardized quotation marks in InputSection component for consistency.
- Simplified JSX structure in InputSection for better readability.
…dling

- Updated CADGeneration API to accept GET requests and utilize session cookies for design session management.
- Enhanced error handling for session retrieval and module API interactions.
- Cleaned up print statements and improved logging for better debugging.
- Refactored common logic to streamline CAD model generation and output handling.
- Simplified component imports and removed unnecessary code in EngineeringModule for better readability.
- Updated module names in input handling to use hyphenated formats for consistency across various design modules.
- Improved logging in Tension_bolted class to provide clearer input value tracking.
- Refactored API endpoints to streamline input data processing and enhance error handling.
- Removed session management code from multiple components to support a stateless design approach.
- Cleaned up unnecessary print statements and comments for better code readability.
…Password Reset flows

- Improved validation for username, email, and password during signup and login processes.
- Added detailed error messages for various validation failures, including username length and email format.
- Implemented OTP generation and email verification for password reset functionality.
- Enhanced user feedback with success and error alerts in the UI.
- Refactored state management in UserContext to handle success and error types for better user experience.
- Cleaned up code for improved readability and maintainability.
…late connections

- Enhanced connection checks in CommonDesignLogic to support both KEY_DISP_FINPLATE and 'Fin-Plate-Connection'.
- Updated CAD generation API to replace 'EndPlate' with 'Plate' for consistency across modules.
- Refactored input validation in create_cad_model to align with new section naming conventions.
- Improved camera settings and view options for various design modules, ensuring better compatibility and user experience.
- Cleaned up code for better readability and maintainability, including removal of unnecessary comments and print statements.
@AjinkyaDahale
Copy link
Collaborator

@sogalabhi could you rebase on to winter24? There are a bunch of conflicts and the original contributors would be the best to resolve them. If not sure, use the "git blame" function to figure out who made the change.

@AjinkyaDahale
Copy link
Collaborator

@amaydixit11 @faran4 the conflicts are in some of your commits, so please advise Abhijit as needed.

faran4 and others added 12 commits July 14, 2025 10:08
- Updated import paths for FinPlate and CleatAngle components to reflect new module structure.
- Adjusted configuration imports in FinPlate and FinPlateOutputDock components for consistency.
- Cleaned up code for improved readability and maintainability.
- Updated connection checks in CommonDesignLogic to support both KEY_DISP_CLEATANGLE and 'Cleat-Angle-Connection'.
- Added detailed logging throughout the CleatAngle connection module for better debugging and tracking of input values.
- Refactored CleatAngle configuration to align with new naming conventions and improve input validation.
- Introduced a new CleatAngleOutputDock component for displaying design results.
- Cleaned up code for improved readability and maintainability, including removal of unnecessary comments and print statements.
- Updated reportGenerator_latex.py to support both old string format and new list format for logger messages, improving flexibility in logging.
- Enhanced connection checks in connection.py to accommodate additional module identifiers for Fin-Plate and End-Plate connections.
- Added default error handling in design_report_csv_view.py to ensure consistent behavior during report generation failures.
- Refactored App.jsx to streamline routing for various design modules, improving navigation and user experience.
- Updated ModuleState.jsx to pass additional parameters to createDesignReport, enhancing report generation capabilities.
- Improved ModulesCardLayout.jsx to handle module navigation more effectively, ensuring accurate routing based on user selections.
- Refactored SelectModulePage.jsx to utilize the updated TabbedModulePage component for better modularity and maintainability.
- Introduced the Simply Supported Beam design module, including input handling and output generation.
- Created API view for processing requests related to the Simply Supported Beam.
- Updated routing to include the new Simply Supported Beam component in the application.
- Added configuration files for input fields and output display specific to the Simply Supported Beam.
- Implemented a dedicated output dock component for rendering results.
- Enhanced the overall structure for better modularity and maintainability across the flexural member design modules.
- Cleaned up code and ensured consistency in naming conventions and file organization.
…ponents

- Added the Simply Supported Beam design module, including input handling and output generation.
- Created a dedicated API view for processing requests related to the Simply Supported Beam.
- Updated routing to integrate the new Simply Supported Beam component into the application.
- Developed configuration files for input fields and output display specific to the Simply Supported Beam.
- Implemented an output dock component for rendering results effectively.
- Enhanced modularity and maintainability across flexural member design modules.
- Cleaned up code for consistency in naming conventions and file organization.
…xpectations

- Changed output dictionary keys from "value" to "val" in various connection modules to ensure consistency with frontend requirements.
- Removed unnecessary print statements in the Tension_bolted class and other modules for cleaner code.
- Added debugging logs in the ModuleState and BaseOutputDock components to facilitate better tracking of output structures.
- Added project management capabilities in ModuleState and useEngineeringModule for creating and saving projects.
- Implemented a callback mechanism to save project data upon successful CAD generation.
- Introduced a ProjectNameModal for naming projects before creation.
- Updated Header and MainContent components to restrict access to certain features for guest users.
- Refactored ModuleProvider to handle CAD model creation with success callbacks.
- Improved input handling in InputSection to ensure safe access to inputs and context data.
- Added utility functions for checking guest user status and retrieving current user email.
- Cleaned up console logs and improved error handling across various components.
…rings

- Refactored Fin Plate connection configurations to utilize constants for module keys and display names.
- Introduced a new UIStrings.js file to centralize user-facing strings for better localization and maintainability.
- Updated various components to use the new UI strings, enhancing consistency across the application.
- Improved error handling and input validation in the Fin Plate module to ensure a smoother user experience.
- Cleaned up unnecessary console logs and streamlined code for better readability.
…ing improvements

- Added an alert in the EngineeringModule to notify users when input fields are loaded from a saved project.
- Refactored InputSection to streamline the handling of select inputs, including custom options for undefined values.
- Introduced helper functions in useEngineeringModule for mapping database input and output keys to internal keys, improving data management.
- Enhanced the loading logic to set default values for dropdowns when creating new projects, ensuring a smoother user experience.
- Cleaned up code for better readability and maintainability.
…roject loading

- Refactored RecentProjects to remove internal state and fetching logic, allowing it to receive projects and loading state as props.
- Updated MainContent to manage project fetching and state, ensuring guest users are handled appropriately.
- Introduced unique module filtering for recent projects to improve data presentation.
- Enhanced ProjectCard to support module navigation and project creation through a modal interface.
- Cleaned up code for better readability and maintainability.
…ling

- Updated RecentProjects to accept an onDeleteProject prop for handling project deletions externally.
- Simplified the delete project logic by removing internal fetch calls and integrating with MainContent's project management.
- Improved user feedback during project deletion with loading states in the UI.
- Ensured better separation of concerns by allowing MainContent to manage project state and refresh after deletions.
@AjinkyaDahale
Copy link
Collaborator

Currently merged into dev. Some commits may be moved to a different branch for parking.

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.

6 participants