Skip to content

Updata#51

Merged
ma-mirzaei merged 29 commits intovitruv-tools:Using-correct-api-to-fetch-user-information-#39from
TsotneMikadze:develop
Sep 30, 2025
Merged

Updata#51
ma-mirzaei merged 29 commits intovitruv-tools:Using-correct-api-to-fetch-user-information-#39from
TsotneMikadze:develop

Conversation

@TsotneMikadze
Copy link
Contributor

I refactored layout components to improve sidebar handling and styling by introducing leftSidebarInitialWidth for better width management, updating SidebarTabs and ToolsPanel to support both string and numeric widths, and enhancing styling consistency across components. I also standardized capitalization in error messages and UI labels related to Vsum references.

In addition, I enhanced error handling in CreateModelModal by integrating useToast for clearer user notifications, surfacing backend error messages directly in the UI, and improving error state management to deliver a smoother user experience.

I am waiting backend updates to update those issues:
Add meta model to vsum does not work
Vsum Edit page
Pagination da filters vsum

Also I can not test delete meta model and loading bar for building meta model, Mohammadali will send me the screen recording or will support me to test those issues.

TsotneMikadze and others added 28 commits September 10, 2025 21:40
- Added KeywordTagsInput component to CreateModelModal for improved keyword management.
- Implemented upload progress tracking for .ecore and .genmodel file uploads in CreateModelModal.
- Updated ToolsPanel to support GitHub-style search syntax, allowing advanced filtering of meta models.
- Enhanced styling for filter tags and search inputs in ToolsPanel for better user experience.
- Integrated HomePage and ProjectPage into the App component for improved navigation.
- Updated FlowCanvas to include interactive controls for zooming and panning, enhancing user experience.
- Enhanced Header component with navigation links for MML and Project pages, improving accessibility.
- Refactored MainLayout to support dynamic sidebar resizing and optional sidebar content, increasing layout flexibility.
- Updated ToolsPanel to include new props for better customization and API handling.
- Updated App component to lazily load MainLayout for improved performance.
- Modified AuthContext to handle sign-out events via window event listeners, enhancing user session management.
- Adjusted MainLayout styling for better layout consistency.
- Improved token refresh logic in AuthService to ensure more robust authentication flow.
…ity and performance

- Removed unused handleDiagramSelection function from MainLayout.
- Simplified the renderColoredText function in KeywordTagsInput by eliminating unnecessary variables and comments, enhancing readability.
…oved navigation and drag-and-drop functionality

- Added sonar.host.url configuration to sonar-project.properties for SonarCloud integration.
- Modified Header component links to prevent dragging, enhancing navigation stability.
- Updated useDragAndDrop hook to disallow dropping unknown payloads onto the canvas, improving user experience.
Enhance CreateModelModal and ToolsPanel components with new features
… and AuthService for improved functionality and user experience

- Enhanced Header component layout for better navigation.
- Updated error handling in AuthService to provide more informative messages.
- Modified CreateModelModal button text for clarity.
- Improved GitHub-style search syntax parsing in ToolsPanel for better filtering capabilities.
- Simplified HomePage greeting and updated ProjectPage to use VsumsPanel instead of ToolsPanel.
…ance performance

- Introduced useCallback for buildApiFiltersFromParsedFilters to memoize the function and improve performance.
- Updated useEffect dependencies to include the new memoized function, ensuring proper updates during state changes.
Refactor Header, CreateModelModal, ToolsPanel, HomePage, ProjectPage,…
…and user experience

- Integrated SidebarTabs into HomePage and ProjectPage for improved navigation.
- Removed lazy loading of MainLayout in App for consistent user experience across routes.
- Updated MainLayout props to include SidebarTabs and adjusted layout styles for better responsiveness.
…curity

- Wrapped HomePage, AppContent, and ProjectPage in ProtectedRoute to ensure proper access control.
- Removed commented-out code for cleaner implementation.
… ProjectPage, and ApiService for enhanced functionality and user experience

- Removed unnecessary elements from SignUp component for cleaner UI.
- Updated MainLayout to conditionally render workspace overlays and improve route handling.
- Enhanced MetaModelsPanel with props for active vSUM management.
- Optimized ToolsPanel filter logic and input handling.
- Expanded VsumsPanel to include CRUD operations and improved state management.
- Modified ProjectPage to integrate vSUM functionality and manage active vSUM states.
- Added new API methods in ApiService for vSUM operations and improved error handling.
- Updated type exports to include vSUM types for better type management.
- Removed loadingId state and associated logic for improved clarity.
- Eliminated derived states activeEdit and activeDetails as they are no longer needed, streamlining the component's functionality.
- Eliminated loadingId state and its associated logic to simplify the component's functionality.
- Streamlined error handling by removing unnecessary finalization steps.
Refactor SignUp, MainLayout, MetaModelsPanel, ToolsPanel, VsumsPanel,…
- Updated MainLayout and App components to use leftSidebarInitialWidth for better initial width management.
- Adjusted SidebarTabs and ToolsPanel to accept width as a string or number for flexibility.
- Enhanced styling in various components for consistency and improved user experience.
- Fixed capitalization in error messages and UI labels for Vsum references.
- Integrated useToast for user-friendly error notifications during file uploads.
- Updated error logging to display backend error messages directly to the user.
- Improved error state management for better user experience.
@TsotneMikadze TsotneMikadze changed the title Develop Updata Sep 26, 2025
… for cleaner code and improved maintainability.
@TsotneMikadze TsotneMikadze changed the base branch from develop to main September 26, 2025 08:53
@TsotneMikadze TsotneMikadze changed the base branch from main to develop September 26, 2025 08:53
@TsotneMikadze TsotneMikadze changed the base branch from develop to Using-correct-api-to-fetch-user-information-#39 September 26, 2025 08:57
@TsotneMikadze
Copy link
Contributor Author

here i also change some style

@ma-mirzaei ma-mirzaei merged commit e91dac4 into vitruv-tools:Using-correct-api-to-fetch-user-information-#39 Sep 30, 2025
1 of 2 checks passed
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.

Using correct api to fetch user information

2 participants