Skip to content

Feature: file type grouping for NISAR scene files list#2666

Open
SpicyGarlicAlbacoreRoll wants to merge 12 commits into
testfrom
kim/topic-files-list-grouping
Open

Feature: file type grouping for NISAR scene files list#2666
SpicyGarlicAlbacoreRoll wants to merge 12 commits into
testfrom
kim/topic-files-list-grouping

Conversation

@SpicyGarlicAlbacoreRoll

@SpicyGarlicAlbacoreRoll SpicyGarlicAlbacoreRoll commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
  • Groups NISAR scene files in files list

TODO

  • fix grouping for additional in-coming nisar file types
  • make (non-QA) hdf5 default ungrouped at top
  • refine UI to closer resemble mock-ups

SpicyGarlicAlbacoreRoll and others added 5 commits July 1, 2026 12:10
…anels

- Render NISAR scene files grouped by product type using the existing
  grouping from product.service, with ungrouped files (main science
  HDF5, Bin File) listed at the top
- Map ISO Metadata XML to Metadata; QA Summary CSV, QA Report PDF and
  QA Statistics HDF5 to Documentation; remove the Data group so the
  main HDF5 stays ungrouped
- Guard against empty product lists and missing selected scene when
  rendering the files list
- Fix null scene crash in nisarSubqueryCriteria
- Keep the flat file list for non-NISAR datasets
Group NISAR scene files into collapsible panels by product type. The main
science HDF5 stays ungrouped at the top of the list. Empty groups are not
rendered. Non-NISAR datasets keep the existing flat list.

Co-authored-by: Kim Fairbanks <SpicyGarlicAlbacoreRoll@users.noreply.github.com>
yoreley7 and others added 5 commits July 12, 2026 22:25
- Remove stale hardcoded white expansion panel header background that
  rendered as unreadable white blocks in dark mode
- Let file group panel headers use the globally themed expansion panel
  styles and blend the panel body into the file list
- Use singular/plural file count label in group headers
- Fixed header height so panels do not grow when expanded, following
  the filters accordion pattern
- Remove expansion panel body padding and expanded spacing so grouped
  files align and stay compact with the ungrouped list
- Transparent themed headers readable in both light and dark modes
Expanded group headers pick up the themed panel background so open
groups keep their title visible; collapsed headers stay transparent
… into yoreley/finish-kim-2666

# Conflicts:
#	src/app/components/results-menu/scene-files/scene-files.component.html
#	src/app/components/results-menu/scene-files/scene-files.component.ts
@yoreley777
yoreley777 marked this pull request as ready for review July 16, 2026 19:04
@yoreley777
yoreley777 requested a review from a team as a code owner July 16, 2026 19:04
@lllarsen

Copy link
Copy Markdown
Contributor

No grouping functionality is provided in the add file by type menu above the scene list view. This doesn't have to be addressed in this PR, but it did seem that tyler was super dissapointed by the current state of it with NISAR.
image

Also, is there a reason for having the related data section external to the accordion menu? Not being able to collapse it creates an inconsistent UX.
image

Similarly, the HDF5 file being listed at the top is also slightly inconsistent because there isn't much to immediately indicate to the viewer that it is a file and not a section until the viewer glances over the icons on the right side. I might instead put it in an accordion menu that is open by default.
image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to accomplish these changes to theming utilizing style tokens?

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.

4 participants