Skip to content

Conversation

@hamir-suspect
Copy link
Contributor

@hamir-suspect hamir-suspect commented Oct 28, 2025

πŸ“ Description

image

βœ… Checklist

  • I have tested this change
  • This change requires documentation update

@github-project-automation github-project-automation bot moved this to Backlog in Roadmap Oct 28, 2025
@hamir-suspect hamir-suspect marked this pull request as ready for review October 28, 2025 10:27
@hamir-suspect hamir-suspect requested a review from skipi as a code owner October 28, 2025 10:27
Copilot AI review requested due to automatic review settings October 28, 2025 10:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new "listing mode" feature to the workflow queries and UI, allowing users to switch between different workflow display modes: all pipelines, all by me, and latest per branch. The feature is controlled by a feature flag (project_page_all_pipelines) and updates both the backend query logic and frontend UI components.

Key Changes:

  • Added list_mode parameter to workflow queries with support for "all_pipelines" and "latest" modes
  • Introduced new UI dropdown to select between workflow listing modes
  • Updated cache keys to include the list_mode parameter

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
front/lib/front/project_page/model.ex Core logic for list_mode support, including new keyset-based workflow listing and cache key updates
front/lib/front_web/controllers/project_controller.ex Controller changes to handle list_mode parameter and feature flag checks
front/lib/front_web/templates/project/_tabs.html.eex Added listing_requester dropdown UI for private project view
front/lib/front_web/templates/project/public/_tabs.html.eex Added listing_requester dropdown UI for public project view
front/lib/front_web/templates/project/private.html.eex Updated template rendering to pass new listing parameters
front/lib/front_web/templates/project/public.html.eex Updated template rendering to pass new listing parameters
front/lib/front/memory_cookie.ex Added projectListing cookie default value
front/assets/js/memory_cookie.js Updated cookie defaults for projectListing and projectRequester
front/assets/js/project/components/choose_select.js Added JavaScript logic to handle listing_requester selection changes
front/assets/js/workflow_list.js Added listing and requester to query parameters
front/test/front/project_page/model_test.exs Updated test to include list_mode in cache key assertion
front/test/front/project_page/cache_invalidator_test.exs Updated cache key assertions to include list_mode parameter

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings October 31, 2025 15:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@skipi skipi force-pushed the dk/front/new_project_page_listing branch from f3bf88b to 10bab0a Compare November 4, 2025 07:59
Copilot AI review requested due to automatic review settings November 13, 2025 12:58
@skipi skipi force-pushed the dk/front/new_project_page_listing branch from 10bab0a to 296e7e2 Compare November 13, 2025 12:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@skipi skipi merged commit 7f6cf6e into main Nov 13, 2025
2 checks passed
@skipi skipi deleted the dk/front/new_project_page_listing branch November 13, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants