Skip to content

feat(lightspeed): adds loader for uploading resources in notebook#3290

Open
rohitratannagar wants to merge 2 commits into
redhat-developer:mainfrom
rohitratannagar:feat/lightspeed-loading-state-notebook
Open

feat(lightspeed): adds loader for uploading resources in notebook#3290
rohitratannagar wants to merge 2 commits into
redhat-developer:mainfrom
rohitratannagar:feat/lightspeed-loading-state-notebook

Conversation

@rohitratannagar
Copy link
Copy Markdown
Contributor

@rohitratannagar rohitratannagar commented Jun 4, 2026

summary

Jira: https://redhat.atlassian.net/browse/RHDHBUGS-3311

  • Adds a "Processing resources..." loading state screen when files are
    uploaded for the first time in a notebook and indexing is still in progress
  • Once all documents are deleted and chat is empty, the upload prompt screen
    is shown again
  • New ProcessingResourceScreen component with book icon, spinner, and
    descriptive text

Changes

  • ProcessingResourceScreen.tsx — New component displaying a book icon,
    spinner with "Processing resources..." heading, and a message about file
    indexing
  • NotebookView.tsx — Added rendering condition: when documents.length === 0,
    uploadingFileNames.length > 0, and no messages, show the processing screen
  • ref.ts — Added translation keys notebook.view.processing.heading and
    notebook.view.processing.description

demo

Screen.Recording.2026-06-04.at.6.06.02.PM.mov

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Signed-off-by: rohitratannagar <rohitratannagar2003@gmail.com>
@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented Jun 4, 2026

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-lightspeed workspaces/lightspeed/plugins/lightspeed patch v2.9.0

Signed-off-by: rohitratannagar <rohitratannagar2003@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

❌ Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.92%. Comparing base (201cdbe) to head (233e442).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3290      +/-   ##
==========================================
- Coverage   53.92%   53.92%   -0.01%     
==========================================
  Files        2379     2380       +1     
  Lines       86125    86137      +12     
  Branches    23913    23917       +4     
==========================================
+ Hits        46441    46447       +6     
- Misses      39383    39389       +6     
  Partials      301      301              
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from 201cdbe
ai-integrations 70.03% <ø> (ø) Carriedforward from 201cdbe
app-defaults 69.60% <ø> (ø) Carriedforward from 201cdbe
augment 46.39% <ø> (ø) Carriedforward from 201cdbe
bulk-import 72.86% <ø> (ø) Carriedforward from 201cdbe
cost-management 16.49% <ø> (ø) Carriedforward from 201cdbe
dcm 59.64% <ø> (ø) Carriedforward from 201cdbe
extensions 61.79% <ø> (ø) Carriedforward from 201cdbe
global-floating-action-button 74.30% <ø> (ø) Carriedforward from 201cdbe
global-header 61.63% <ø> (ø) Carriedforward from 201cdbe
homepage 51.52% <ø> (ø) Carriedforward from 201cdbe
konflux 91.01% <ø> (ø) Carriedforward from 201cdbe
lightspeed 68.46% <53.84%> (-0.04%) ⬇️
mcp-integrations 85.46% <ø> (ø) Carriedforward from 201cdbe
orchestrator 37.34% <ø> (ø) Carriedforward from 201cdbe
quickstart 62.09% <ø> (ø) Carriedforward from 201cdbe
sandbox 79.56% <ø> (ø) Carriedforward from 201cdbe
scorecard 83.84% <ø> (ø) Carriedforward from 201cdbe
theme 64.54% <ø> (ø) Carriedforward from 201cdbe
translations 8.49% <ø> (ø) Carriedforward from 201cdbe
x2a 78.79% <ø> (ø) Carriedforward from 201cdbe

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 201cdbe...233e442. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant