hdnpt / geartrack-website

Track Gearbest & Aliexpress packages using Spain Priority Line and other methods!
https://geartrack.pt
MIT License
82 stars 24 forks source link

When adding the first tracking ID, prompt for postal code, when needed #68

Closed jbvc97 closed 1 year ago

jbvc97 commented 2 years ago

Hi. First of all, great tool ❤

To track an GLS parcel, its necessary to provide an postal code, if not Geartrack can't provide information. I know i can add afterwards on the cog menu. image

But I would suggest that, when the first tracking ID is added, should prompt the user, when needed, about the postal code [or other relevant information, maybe varies carrier to carrier, i dont know 😕], to provide the best result.

carlosflorencio commented 2 years ago

Yo @jbvc97 thanks for reporting, I can't seem to replicate this issue, can you describe the steps taken?

On my end, after pasting an ID (on the dialog to add a new order) the input for the postal code appears if that ID matches the regex of the carriers that require a postal code (you can check the browser requests for the carrier list compatible with that id).

jbvc97 commented 2 years ago

Sure, i can describe the steps 😃

Steps as a gif: msedge_ouMp83nBo9

After adding the ID, the app can't retrieve the information, because for this carrier (GLS) is necessary to provide the postal code.

carlosflorencio commented 2 years ago

Ahh 😄 yeah the first track from the homepage, I almost never use it that's why I forgot about it (I always have some IDs so I don't see the homepage that often).

Thanks for the screencast, I'll look into requesting the postal code from that journey as well.

Thanks!

jbvc97 commented 1 year ago

@carlosflorencio i'll close this issues because I noticed that on the homepage it already asks for the postal code. 😄

carlosflorencio commented 1 year ago

Thanks @jbvc97 !