Skip to content

[FE] Fix import page tables responsiveness

What does this MR do and why?

  1. Imports projects (eg. GitHub, manifest import)

The import-projects-table was not previously mobile-responsive, however it was possible to scroll horizontally.

With the panel-based UI, the table needs to retain the scroll when the middle panel is constrained.

  1. Direct transfer table

As the sticky header top alignment problem was fixed by another MR !206978 (merged). So this MR now focuses on:

  • reducing the gap between the thead row [Source group | Path of new group | Status] and the top row with the import all with projects button
  • Also fixes the problem where (when an group has already been imported) two buttons are in the far right column but the Migration details is misaligned.

Instead of fiddling with the sticky header calculation in import.scss, I considered other high-traffic tables in the app (eg. MRs and Issues) and they do not use a sticky header. Thus, this MR removes the sticky style.

References

Screenshots or screen recordings

Before After

Import Projects Table

Screenshot 2025-09-26 at 7.00.21 PM.png

Screenshot 2025-09-26 at 11.17.12 PM.png

Import Table (used in direct transfer)

Screenshot 2025-10-01 at 3.17.50 PM.png

Screenshot 2025-10-01 at 3.27.02 PM.png

How to set up and validate locally

  1. Have the panel-based UI feature flags on and Duo chat enabled
  2. Navigate to projects/new
  3. You'll need a Github access token (to select GitHub). Or try the manifest import
  4. input the access token and view the table. Best if you have a lot of repos.
  5. For the direct transfer page, Try to import a group here http://127.0.0.1:3000/groups/new#import-group-pane
  6. View the table where you choose a source and destination group

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #572478 (closed)

Edited by Oiza Baiye

Merge request reports

Loading