Skip to content

GTFS diff : affichage tabulaire des changements #4500

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

Merged
merged 4 commits into from
Apr 1, 2025

Conversation

ptitfred
Copy link
Contributor

@ptitfred ptitfred commented Mar 31, 2025

Spinoff de #4493 se concentrant sur la mise en page des différences détaillées. Pas de nouveauté métier.

Voir #4460.

@ptitfred ptitfred requested a review from a team as a code owner March 31, 2025 15:43
@ptitfred ptitfred enabled auto-merge March 31, 2025 15:43
@thbar thbar self-assigned this Apr 1, 2025
Copy link
Contributor

@thbar thbar left a comment

Choose a reason for hiding this comment

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

J'ai pu tester sur prochainement (après un premier test en local qui a posé problème, sujet que je creuserai peut-être plus tard), tout me semble bon !

Une suggestion mineure (et vu que c'est en auto-merge ça va partir en prod avant).

GG

|> Enum.filter(fn %{file: file} -> file == @selected_file end)
|> Enum.group_by(fn %{type: type} -> type end)
|> Map.to_list()
|> Enum.filter(fn {_, explanations} -> not Enum.empty?(explanations) > 0 end) %>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion éventuelle : avec le temps je trouve ça plus facile à suivre que les appels de fonctions cumulés comme ça soient fait en dehors du template (ex: une fonction à part, ou juste au dessus du template).

Pas bloquant pour autant ici.

@ptitfred ptitfred added this pull request to the merge queue Apr 1, 2025
Merged via the queue into master with commit 3292cce Apr 1, 2025
5 checks passed
@ptitfred ptitfred deleted the gtfs-diff/tabular-results branch April 1, 2025 07:04
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