andrew-bierman / PackRat

PackRat is a versatile adventure planner tailored for outdoor enthusiasts. It simplifies the process of organizing trips from a simple day hike to cross-country journeys.
https://packrat.world/
Other
23 stars 36 forks source link

Trip Score Field and Maps Empty #826

Closed EngrAJ8888 closed 5 months ago

EngrAJ8888 commented 5 months ago

Describe the bug Upon accessing saved trips, the trip score field and maps appear blank.

To Reproduce Steps to reproduce the behavior:

  1. Visit the URL: https://packrat-dev-qj5h.onrender.com/
  2. Log in to your account with the following credentials: Email: zoot3@email.com Password: 12345678
  3. Navigate to the menu and go to “Trips”.
  4. Open any saved trips.
  5. Scroll down to the Trip Score section and Maps section.

Expected behavior The trip scoring and map location should be visible and populated with relevant data.

Screenshots 30

Desktop (please complete the following information):

Smartphone (please complete the following information):

andrew-bierman commented 5 months ago

Map looks empty too we should resolve that

EngrAJ8888 commented 5 months ago

Hi @andrew-bierman got it, I'll make the necessary updates to the ticket and include this too.

JewelTee commented 5 months ago

@andrew-bierman Maps also looks empty when searching for new trail screenshot-1712671662932

Tadjaur commented 5 months ago

@EngrAJ8888 @jeweltee @andrew-bierman I linked a pr that partially fix this issue.

Tadjaur commented 5 months ago

I would like to know how the trip score is suppose to be calculated?

For the record, there is an endpoint for calculating the pack score, but no endpoint for the trip, and the hook that calculates the score throws an error when the item is not a pack.

Method preview: image

andrew-bierman commented 5 months ago

I would like to know how the trip score is suppose to be calculated?

For the record, there is an endpoint for calculating the pack score, but no endpoint for the trip, and the hook that calculates the score throws an error when the item is not a pack.

Method preview: image

Do not worry about trip score at the moment, that is upcoming feature we need to discuss more in depth

EngrAJ8888 commented 5 months ago

Just checked in the prod link and issues are now resolved.