Skip to content

✨ Notifications: Install, Save, Compile + Unify Install Logic - #406

Merged
MFA-X-AI merged 2 commits into
XpressAI:masterfrom
rabea-al:add-install-save-compile-notifications
Jun 4, 2025
Merged

MFA-X-AI merged 2 commits into
XpressAI:masterfrom
rabea-al:add-install-save-compile-notifications

Conversation

@rabea-al

Copy link
Copy Markdown
Contributor

Description

This PR introduces user notifications and unifies the component library installation into a single shared function

Added Notifications

  • Library installation: pending, success, and error states via Notification.promise.
  • Workflow compile: success & error notifications.
  • Workflow save: success notification.

Unified Install Logic

  • Replaced two separate install paths with a single handleInstall that uses requestAPI.
  • Sidebar and Launcher now call the same logic.
  • Added normalizeLibraryName() so library names are properly formatted for the backend.
  • Confirmation dialog now shows the friendly name “Flask” instead of the raw "xai_flask".

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Please Specify)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tested on? Specify Version.

  • Windows
  • Fedora
  • Mac
  • Others (State here -> xxx )

@github-actions

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch rabea-al/xircuits/add-install-save-compile-notifications

@MFA-X-AI
MFA-X-AI merged commit c5664b6 into XpressAI:master Jun 4, 2025
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.

2 participants