Skip to content

Sort the Farm's sources on the Project Detail page#618

Merged
vincent-olivert-riera merged 1 commit intoline:masterfrom
hoangpn:feature/sort_farm_source
Jun 25, 2025
Merged

Sort the Farm's sources on the Project Detail page#618
vincent-olivert-riera merged 1 commit intoline:masterfrom
hoangpn:feature/sort_farm_source

Conversation

@hoangpn
Copy link
Contributor

@hoangpn hoangpn commented Jun 24, 2025

We sorted the Farm's sources to ensure that Local Farms always appear first, followed by Remote Farms on the UI when users choose a source to link a Farm to a Project.

Copy link
Contributor

@vincent-olivert-riera vincent-olivert-riera left a comment

Choose a reason for hiding this comment

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

Works fine, but the code is a little bit too magic and I think it requires explanation.

Copy link
Contributor

@vincent-olivert-riera vincent-olivert-riera left a comment

Choose a reason for hiding this comment

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

@hoangpn , excellent.

I made one request to fix a mistake made by me.

Please, address that, and the next time you push, please rebase on master and squash all the fixups.

It will be ready to approve and merge.

@hoangpn hoangpn force-pushed the feature/sort_farm_source branch from 2da5607 to 55c964b Compare June 25, 2025 10:27
We sorted the Farm's sources to ensure that Local Farms always appear first, followed
by Remote Farms on the UI when users choose a source to link a Farm to a Project.
@vincent-olivert-riera vincent-olivert-riera merged commit 0029377 into line:master Jun 25, 2025
5 checks passed
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.

2 participants