Code Monkey home page Code Monkey logo

Comments (5)

poltak avatar poltak commented on May 17, 2024 1

Not in the case of page visits. From what I understand it's a bit tricky to get accurate trails between the visits from the info we can get from the browser. The browser history API keeps some form of trails between VisitItems, via their referringVisitId key, but in the case of page visits in our extension, we are creating our own history of user activity that is not related to the browser's history.

In the case of imports, we are essentially converting from the existing browser history state to our model, and here we have access to whatever trails the browser stored. So they are brought over and the trails can be derived from referringVisitId and the browser VisitItem ID which makes up part of the ID of a visit doc in our model (our doc ID looks like visit/:timestamp/:nonce and, in imports, :nonce is set to the corresponding browser VisitItem ID, if that makes sense). However, this trail data isn't being used in anyway in the extension/s, yet.

from memex.

poltak avatar poltak commented on May 17, 2024

Trails between visit docs aren't currently recorded when user visits a page.

from memex.

blackforestboi avatar blackforestboi commented on May 17, 2024

I thought a visit item carries the ID of the last visit item? @Treora?

from memex.

Treora avatar Treora commented on May 17, 2024

from memex.

blackforestboi avatar blackforestboi commented on May 17, 2024

Closing this until we start with the feature around capturing trails.

from memex.

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.