magopian Github contribution chart
magopian Github Stats
magopian Most Used Languages

Activity

04 Oct 2022

Magopian

Start adding a few food API endpoints

Pushed On 04 Oct 2022 at 08:45:55

Magopian

Recipe builder

Created On 03 Oct 2022 at 10:10:41

Magopian

Factor out the "stringifyForElm" helper

Pushed On 03 Oct 2022 at 10:09:50

Magopian

Implement the Recipe.compute method (and tests)

Pushed On 03 Oct 2022 at 10:09:50

Magopian

Test toQuery

Pushed On 03 Oct 2022 at 07:08:12

Magopian

Make Product.findProcessByName pipeable

Pushed On 30 Sep 2022 at 01:49:45

Magopian

Finalize Recipe.fromQuery and its tests

Pushed On 30 Sep 2022 at 01:49:45

Magopian

Load the food db in the tests (by exporting the json files to a TestDb.elm file)

Pushed On 30 Sep 2022 at 10:14:30

Magopian

First very basic recipe test: fromQuery

Pushed On 30 Sep 2022 at 10:14:30

Magopian

Add a new TEA-wired page for building recipes.
Merged On 28 Sep 2022 at 01:33:14

Magopian

Excellent! I like the two buttons that link from one page to the other, nice touch 👍

Commented On 28 Sep 2022 at 01:33:14
Issue Comment

Magopian

Fix final weight calculation (an original recipe's final weight is always 1kg)

An original recipe's final weight is always 1kg (eaten), so the impact "per kg" and "total" on an original recipe should always be the same.

When displaying an original recipe, don't display the "total impact" as it's redundant.

https://user-images.githubusercontent.com/167767/191928563-067427af-da2c-4fa8-b238-3f6fddeabd23.mov

Also display the final weight after the "at consumer" step

Forked On 26 Sep 2022 at 09:24:23

Magopian

Awesome, thanks for the reviews, and thanks for the modifications @n1k0 it looks good 🤩

Commented On 26 Sep 2022 at 09:24:23

Magopian

Make elm-review happy

Pushed On 23 Sep 2022 at 09:29:44
Issue Comment

Magopian

Fix final weight calculation (an original recipe's final weight is always 1kg)

An original recipe's final weight is always 1kg (eaten), so the impact "per kg" and "total" on an original recipe should always be the same.

When displaying an original recipe, don't display the "total impact" as it's redundant.

https://user-images.githubusercontent.com/167767/191928563-067427af-da2c-4fa8-b238-3f6fddeabd23.mov

Also display the final weight after the "at consumer" step

Forked On 23 Sep 2022 at 09:27:19

Magopian

The diff should be rather straightforward to review @n1k0, what do you think?

@paulboosz this is what you meant, right? Are the computations correct now?

Commented On 23 Sep 2022 at 09:27:19

Magopian

Only display the total impact on a modified recipe

Pushed On 23 Sep 2022 at 09:26:07

Magopian

Display the final weight as an outgoing arrow after the consumer step

Pushed On 23 Sep 2022 at 09:26:07

Magopian

Fix final weight calculation (an original recipe's final weight is always 1kg)

Created On 23 Sep 2022 at 09:04:48
Create Branch
Magopian In MTES-MCT/ecobalyse Create Branchfix-final-weight-calculation

Magopian

Accélerer la mise en place de l'affichage environnemental

On 23 Sep 2022 at 09:04:41

Magopian

Fix relative links in index.html

Pushed On 23 Sep 2022 at 08:32:45

Magopian

Ongoing

Pushed On 22 Sep 2022 at 12:17:37
Create Branch

Magopian

a spike. For ecobalyse.

On 22 Sep 2022 at 08:33:09
Create Branch

Magopian

a spike. For ecobalyse.

On 22 Sep 2022 at 08:32:47

Magopian

Test old server:build to see if it fixes the scalingo deploy

Pushed On 20 Sep 2022 at 02:55:56

Magopian

Max minification when building for "optimize"

Pushed On 20 Sep 2022 at 02:34:24

Magopian

[WIP] use elm-watch

This is a work in progress: trying to replace parcel with elm-watch

Merged On 20 Sep 2022 at 12:35:49

Magopian

Commented On 20 Sep 2022 at 12:35:49
Merge

Magopian

[WIP] use elm-watch

This is a work in progress: trying to replace parcel with elm-watch

Forked On 20 Sep 2022 at 12:35:49

Magopian

well spotted once again, my bad, i removed it 👍
On 20 Sep 2022 at 12:35:49
Merge

Magopian

[WIP] use elm-watch

This is a work in progress: trying to replace parcel with elm-watch

Forked On 20 Sep 2022 at 12:35:34

Magopian

yeah, well, oops 😬 my bad, thanks a lot for spotting it!
On 20 Sep 2022 at 12:35:34

Magopian

[WIP] use elm-watch

This is a work in progress: trying to replace parcel with elm-watch

Merged On 20 Sep 2022 at 12:35:34

Magopian

Commented On 20 Sep 2022 at 12:35:34

Magopian

Fix bloopers

Pushed On 20 Sep 2022 at 10:09:34

Magopian

[food] Render transport distances by mode between steps. (#161)

  • [food] Render transport distances by mode between steps.

  • Improve reponsive view.

  • Use float formatting fn.

  • Avoid repeating HTML semantics, improve a11y.

  • Use 'rail' instead of 'train' for rail transport.

  • Improve rendering of impact float values.

Pushed On 20 Sep 2022 at 09:58:58

Magopian

[food] Render transport distances by mode between steps.

Created On 20 Sep 2022 at 09:58:58

Magopian

[food] Render transport distances by mode between steps.

2022-09-19 at 16 56

Naive yet efficient approach. Also I think it would be good to start moving computations made in View land to Data land (I'm uncomfortable having a formatAmount fn along this new getStepTransport one, though using only one would be rather complicated here).

Merged On 20 Sep 2022 at 09:58:50

Magopian

Very good work, 👍 🚢

Commented On 20 Sep 2022 at 09:58:50

Magopian

Display the sum of impacts diff at a given step

Created On 19 Sep 2022 at 02:37:48
Create Branch
Magopian In MTES-MCT/ecobalyse-data Create Branchdisplay-impact-sum-diff-at-step

Magopian

Accélérer l'affichage environnemental

On 19 Sep 2022 at 02:37:39