Coder Social home page Coder Social logo

Comments (5)

ristomatti avatar ristomatti commented on August 28, 2024

Update: the package got stuck in customs as expected. But it made this even more complicated. The package now shows:

  • "in transport" icon instead of customs icon
  • package details show it can already be picked up even though the latest status "Lähetys on rekisteröity" with the phase IN_TRANSPORT.

I'm out of ideas how to best solve this. This the first time the customs icon does not appear so this might be some special snowflake case. Any ideas @norkator?

from paketin-seuranta.

norkator avatar norkator commented on August 28, 2024

Update: the package got stuck in customs as expected. But it made this even more complicated. The package now shows:

  • "in transport" icon instead of customs icon
  • package details show it can already be picked up even though the latest status "Lähetys on rekisteröity" with the phase IN_TRANSPORT.

I'm out of ideas how to best solve this. This the first time the customs icon does not appear so this might be some special snowflake case. Any ideas @norkator?

Send me your tracking code IF possible at Trello, I want to see my own eyes what is going on.

from paketin-seuranta.

norkator avatar norkator commented on August 28, 2024

Okay my notes about this case are:

image
This is shown because API is providing this information already and we don't have handling with this banner + current phase, do we want that?

image
As said parcel is in customs with state IN_TRANSPORT

image
We use only newest status to determine does it need customs handling but:

image
now there is never status saying this.. I am out of ideas. Parsing every event line to determine customs handling is too dangerous.

from paketin-seuranta.

ristomatti avatar ristomatti commented on August 28, 2024

This seems like a mess. I agree it sounds too hacky to go through all the statutes for the customs status. It might be simpler to just put the feature behind a disabled feature flag for now until we get more examples?

from paketin-seuranta.

norkator avatar norkator commented on August 28, 2024

Closing for now. Open back if we see something happening to this.

from paketin-seuranta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.