Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUN-2094: UI:Next: Project list with lazy loading #8815

Merged
merged 23 commits into from Feb 9, 2024

Conversation

smartinellibenedetti
Copy link
Contributor

@smartinellibenedetti smartinellibenedetti commented Jan 13, 2024

Is this a bugfix, or an enhancement? Please describe.
Convert project view (menu/home) to vue, replacing the table pagination with infinite scroll.

Functionality implemented:

  • Add 'Enable next UI' checkbox on /menu/home (accessible via the theme selector);
  • Add new gsp view (home.next.gsp) for rendering only vue UI;
  • project search;
  • project actions based on metadata permissions;
  • combine table pagination with lazy loading;
  • small UI fixes (search results message, accessibility);
  • move logic to render firstRun and welcome message to vue (without ui-sockets);

TLDR (tech):

  • Add metadata response to /projects endpoint;
  • Add new project metadata component (for readme and motd);
  • Add unit tests for new vue components;
  • Add basic tests in selenium;
  • Add new test in project controller;
  • Adjust jest config to handle alias in the components;
  • Remove redundant ProjectListPage (same functionality as HomePage) from functional tests;

What is not implemented in this PR:

  • project activity column;
  • project reports (enterprise);
  • table view of only favorites (enterprise);

Describe the solution you've implemented

image

Additional context

Lighthouse report:
Before:
image

After:
image

Note: performance didn't have big gains as the main problem is some of the js files that haven't been deprecated yet.

@smartinellibenedetti smartinellibenedetti added this to the 5.2.0 milestone Jan 15, 2024
@smartinellibenedetti smartinellibenedetti force-pushed the RUN-2094-project-list-infinite-scroll branch 2 times, most recently from e7506a1 to 99cf6e4 Compare January 29, 2024 22:45
@smartinellibenedetti smartinellibenedetti changed the title RUN-2094: UI:Next: Project list with infinite scroll RUN-2094: UI:Next: Project list with lazy loading Jan 29, 2024
@smartinellibenedetti smartinellibenedetti force-pushed the RUN-2094-project-list-infinite-scroll branch from 99cf6e4 to 18c06cf Compare January 30, 2024 17:39
@smartinellibenedetti smartinellibenedetti force-pushed the RUN-2094-project-list-infinite-scroll branch 2 times, most recently from b095d07 to 4b25618 Compare February 6, 2024 15:27
@smartinellibenedetti smartinellibenedetti force-pushed the RUN-2094-project-list-infinite-scroll branch from d06ee8f to a4639ba Compare February 6, 2024 22:58
@smartinellibenedetti smartinellibenedetti merged commit 1c0a92a into main Feb 9, 2024
3 checks passed
@smartinellibenedetti smartinellibenedetti deleted the RUN-2094-project-list-infinite-scroll branch February 9, 2024 15:53
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.

None yet

2 participants