Closed Barbarrosa closed 8 years ago
I guess I just moved your existing test script into the block I had created :-P
Anyways, I avoided adding types to the events for now b/c it's a lot of overhead to take on in the short term. I'm considering adding them later to provide better guarantees of what properties will be available on various events.
@leebradley This merge request includes some of the dashboard changes, but it mostly switches to an event-based architecture so that we can trigger whatever we want based on responses we get from Wikipedia, socket data, errors, etc. without excessive code coupling.
I also added the "test" script so that "npm test" works.
The console output is now restricted to just the "interesting" records, e.g. rejected revision requests from Wikipedia and deleted articles instead of every edit. Here's an example: