Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: show histogram of captures of URI in the expanded banner when viewing a memento #839

Open
machawk1 opened this issue Jul 11, 2024 · 4 comments

Comments

@machawk1
Copy link
Member

machawk1 commented Jul 11, 2024

A la the Wayback Machine.

histogram

@machawk1
Copy link
Member Author

This could be implemented as a details-on-demand query for the TimeMap endpoint for the URI-R currently being visited. That endpoint should be encoded somewhere (banner metadata?) to act as a basis for the subsequent query for the TM.

@machawk1
Copy link
Member Author

Other Link header-based attributes are already exposed to Reconstructive, e.g.,
attrs

@machawk1
Copy link
Member Author

URI-T exposed to reconstructive component in e859277, now just need to setup the query on expanding the reconstructive view. Follow-on steps would be to output the raw data to the DOM, clean the state into a workable data structure (e.g., JSON if the CDXJ endpoint is used, else we might think to just access the JSON-based TimeMap), then ultimately visualize this data.

  • Identify an existing Wayback-style (or otherwise) histogram library that is lightweight -- d3 is a big hammer but might be useful later).

machawk1 added a commit that referenced this issue Oct 30, 2024
@machawk1
Copy link
Member Author

More done on echoing the contents of the TM per the Ajax request in issue-839 branch but sometimes the ServiceWorker intercepts the request for http://localhost:2016/timemap/cdxj/memento.us/ to http://localhost:2016/memento/20130202100000/memento.us/timemap/cdxj/memento.us/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant