Skip to content

Conversation

@mhsuhail00
Copy link

@mhsuhail00 mhsuhail00 commented Aug 12, 2025


Refactoring Osdag to: osdag_gui and osdag_core

This branch is dedicated to separating the existing 'osdag' repository into two distinct components: osdag_gui and osdag_core.

Repository Breakdown:

  • osdag_gui: This repository will house the implementation of the new version of Osdag, v2025.01.a.2. It will later be transferred to a completely new, dedicated repository.
  • osdag_core: The current osdag-admin/osdag repository will be renamed to osdag_core. This will contain all the backend calculations and functionalities that are common to both the desktop application (osdag_gui) and the web application (`osdag-web) of Osdag.
  • This restructuring aims to create a clearer separation of graphical user interface and the core calculation.

Instructions to Clone and Run the Repository

Clone the repository:

git clone https://github.com/mhsuhail00/Osdag.git
cd Osdag
git remote add upstream https://github.com/osdag-admin/Osdag.git

Check and confirm your upstream

git remote -v
git fetch origin
git checkout -b main origin/osdag-refactored-v2025.01.a.2

To confirm, look for the latest commits from July 2025 and later by <[email protected]>.

git log

To execute the new UI:

The new gui (osdag_gui) can be tested using python -m osdag_gui from the \path\src directory.

cd src
python -m osdag_gui

It will target to achive a new ui for osdag and a separate repository for osdag_gui & osdag_core
To execute new ui use 'python -m osdag_gui' from src directory
Green separator is added between vertical navbar and right content area
Resource button will remain extended until the submenu is open and contracts once the submenu disappears
…_gui.ui.windows.template_page.py

This template page imports floating_nav_bar.py which is widget for floating navbar
…e Bar

It can be tested by 'python -m osdag_gui.ui.windows.template_page
Dock state for each tab are separated and updated each time tab is changed
…te page with some hard coded message for now.

Test page by 'python -m osdag_gui.ui.windows.template_page' from 'src' folder
2. Converted Design button to Custom Button class instead of SvgWidget.

3. Fixed Light and Dark Mode in home page.
2. Options for comboBoxes are imported from sqlite file in osdag_core
…ge in the same Window instance.

Now the Home Page is connected to the Template page, and the Menu is triggered to open the Fin Plate Template page.

2. Tabs are fixed to avoid interference with other tabs, and docking icons are corrected.

3. Splash screen is set to start the Osdag Home page in Tabs layout.

Use the command 'python -m osdag_gui' from the 'path\src\' folder to execute and test the new UI.
… of docks, and also fixed input/output_label wrt the resizing input/output dock
2. Updated Inputs & Outputs label and other suggested changes
2. Updated Inputs & Outputs label and other suggested changes
@mhsuhail00 mhsuhail00 force-pushed the osdag-refactored-v2025.01.a.2 branch from 6ff89dd to 1a3147d Compare August 28, 2025 02:51
2. Added double click to maximize
…ctions, commoncadlogic

2. Succesfully loaded cad model and integrated view buttons

3. Integrated logs widget and connected with logger

4. Some changes in ui.
@mhsuhail00 mhsuhail00 force-pushed the osdag-refactored-v2025.01.a.2 branch from 6f23940 to 6be0587 Compare September 8, 2025 17:02
1. Created a CustomLogger class to reduce the code such that logs can work for both web and desktop.
2. Created and used CustomTitleBar to give a look of osdag to dialogs,
   implemented in design report popups and CustomMessageBox.
3. CustomMessageBox is created to use in place of QMessageBox,
   implemented in design report QMessageBoxes.
4. Updated cad background to Dark_Charcoal.
5. Working of report generation is fixed with integration of
   CustomizedReport osdag-admin#393
6. ModernLoadingDialog popup is created and is used in place of
   LinearLoading popup.
7. Included more vectors to be used in CustomMessageBox.
8. Created and integrated 9 view buttons on cad_widget.
…/design_type/main.py which is top level parent.
   majorly.
2. Updated the top right button bar ui and function triggers.
3. Updated Colors of Cad model components.
4. Fixed error of loading popup not closing when error while designing.
5 Osdag logo was updated to copyrighted svg.
Most Stable Fix version for Tab Issues.
@Zehen-249 Zehen-249 force-pushed the osdag-refactored-v2025.01.a.2 branch from 58241b3 to 0a1ab18 Compare November 20, 2025 17:17
@Zehen-249 Zehen-249 force-pushed the osdag-refactored-v2025.01.a.2 branch from 0a1ab18 to 6508cbe Compare November 23, 2025 16:07
@mhsuhail00 mhsuhail00 force-pushed the osdag-refactored-v2025.01.a.2 branch from 2e4e8c9 to afbe478 Compare December 8, 2025 12:54
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.

10 participants