sourcecred/src
Dandelion Mané e01247a642
Expose `createdAt` in `AnalysisAdapter` (#1157)
* Refactor Loader from AnalysisAdapter

At present, the only data the AnalysisAdapter provides is the Graph, so
the AnalysisAdapter has a `load` method which directly returns the
graph. I'm planning to add a `createdAt` getter to the adapter as well,
which also will depend on loading the data. To make this change
convenient, I'm starting by refactoring an AdapterLoader out, which
manages loading data from disk, so that once we have an AnalysisAdapter,
it already has all relevant data loaded. Then, it will be much easier to
add a `createdAt` method.

Test plan: Tests updated, flow passes.

* Add `createdAt` to the analysis adapter

A big step forward for time-varying cred. This will make `createdAt`
timestamps available for PageRank analysis.

Test plan: Added new unit tests. Inspect the snapshots. Run `yarn test`.
2019-05-28 18:03:44 +03:00
..
analysis Expose `createdAt` in `AnalysisAdapter` (#1157) 2019-05-28 18:03:44 +03:00
assets/logo Add logo variants for CredBot and Discourse (#717) 2018-08-29 15:15:10 -07:00
cli Expose `createdAt` in `AnalysisAdapter` (#1157) 2019-05-28 18:03:44 +03:00
core Remove the fallback adapter (#1145) 2019-05-19 15:49:24 +03:00
explorer Add a WeightsFileManager (#1150) 2019-05-21 04:41:00 +03:00
graphql Update reaction types (#1068) 2019-01-24 06:24:22 -05:00
homepage Add a FileUploader component, with inspection test (#1149) 2019-05-20 17:12:57 +03:00
plugins Expose `createdAt` in `AnalysisAdapter` (#1157) 2019-05-28 18:03:44 +03:00
tools Make `yarn test` more quiet (#1037) 2019-01-05 18:16:29 -08:00
util Add a WeightsFileManager (#1150) 2019-05-21 04:41:00 +03:00
webutil link: verify that routes have trailing slash (#1001) 2018-11-08 20:53:30 -08:00