Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Refactor widget queries to live closer to widgets #57

Merged
merged 8 commits into from
Aug 15, 2017
Merged

Conversation

maniax89
Copy link
Contributor

The widget queries were awfully far away from their actual use, so I moved them closer to each widget.

However, these files do not seem to be auto-reloaded when updated since they are loaded via node instead of webpack during development.

});
return Object.assign({}, timesliceResult, { aggregations });
});
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wew this isn't fun.

`term(${fields.title_entity_text})`,
`timeslice(${fields.publication_date},1day)`,
`term(${fields.text_document_sentiment_type})`,
].join('.');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like that you did this. Much more readable.

@maniax89 maniax89 merged commit 95f15d7 into master Aug 15, 2017
@maniax89 maniax89 deleted the query_cleanup branch August 15, 2017 20:57
@watson-github-bot
Copy link
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants