massenergize / frontend-portal

Front End Code for the MassEnergize Community Portal. The community portal is customized for each participating community, and has the canonical URL https://community.massenergize.org/<community-name>/. For example, https://community.massenergize.org/wayland/.
MIT License
5 stars 2 forks source link

Impact boxes and other values on community portal should use the carbon equivalence which I chose. #1393

Open BradHN1 opened 1 month ago

BradHN1 commented 1 month ago

Describe the bug

When I arrive at the All Actions page for Cooler Concord, it shows me impact in "Number of Trees". But I have previously chosen to show the impact in "Metric Tons of CO2". I can see that in my profile page which I can reach either from the "My Profile" menu option or clicking the "Full List" in the impact box. Then if

Also - we should eliminate the "Full List" option in the impact box, since "More Equivalences" does the same thing, and the Profile page has many other things in it besides carbon equivalencies.

To Reproduce

Steps to reproduce the behavior:

  1. Go to All Actions Page
  2. See that impact boxes show # of trees (first screenshot below)
  3. Click on "Full List" in the box to get to the Profile page, and see that Metric Tons CO2 is the default choice.
  4. Go back to All Actions page and see that Metric Tons is shown.

Expected behavior

If I select my preferred carbon equivalency, it should be remembered and shown.

Screenshots or video

These screenshots show what I see when I do the steps to reproduce above.

Screenshot 2024-07-10 at 12 01 12 PM

Screenshot 2024-07-10 at 12 01 23 PM Screenshot 2024-07-10 at 12 01 40 PM