Skip to content
Snippets Groups Projects

Resolve "Microfrontend for dataset_viewer"

Merged Alejandro De Maria Antolinos requested to merge 834-microfrontend-for-dataset_viewer into main

Closes #834 (closed)

This MR proposes to use the data_viewer as standalone microfrontend with a welcome page that allows to have quick access to some investigation.

Install

Basically, this script will copy api.config.json.example which potentially can contain the credentials into the config folder api.config.json

pnpm configure:standalone

Welcome page

Added welcome page to select and ideally configure quick access to the dataset viewers

http://localhost:3000

image

Standalone

Example

http://localhost:3000/investigation/2010314049?filters=&groupBySample=true&search=

image

Configuration

  • DatasetViewer exports now the local components but the type of the configuration need to be changed
  {
    "beamline": "ID31",
    "render": {
      "details": {
        "type": "local",
        "remote": {
          "name": "remoteDatasetViewerApp",
          "component": "HTXRPDDataset"
        }
      }
    }
  },
Edited by Alejandro De Maria Antolinos

Merge request reports

Merge request pipeline #230021 passed

Merge request pipeline passed for 94cf39f9

Approved by

Merged by Alejandro De Maria AntolinosAlejandro De Maria Antolinos 2 weeks ago (Mar 12, 2025 9:28am UTC)

Merge details

  • Changes merged into main with 0a0791d0 (commits were squashed).
  • Deleted the source branch.

Pipeline #230022 waiting for manual action

Pipeline waiting for manual action for 0a0791d0 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading