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

Harvest config admin #1812

Merged
merged 3 commits into from Aug 1, 2018
Merged

Harvest config admin #1812

merged 3 commits into from Aug 1, 2018

Conversation

noirbizarre
Copy link
Contributor

This PR follows #1716 starts exposing the harvester configuration (only filtering right now) in the admin form.

Features

Only display filters if backend supports it

Without filtering support

screenshot-data xps-2018 08 01-15-45-12

With filtering support

screenshot-data xps-2018 08 01-15-45-42

Backends specific filters and localised wordings

Each backend has the responsibility to expose its handled filters and provide translated labels (See #1716)

screenshot-data xps-2018 08 01-15-44-07

screenshot-data xps-2018 08 01-15-44-37

Side-effects

This feature rely on fields change detection so form fields gain change detection in this PR

},
placeholder() {
if (!this.key || !this.choices) return;
return this.choices.find(c => c.key ==this.key).description;
Copy link
Contributor

Choose a reason for hiding this comment

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

missing space

@noirbizarre noirbizarre merged commit 0d93709 into opendatateam:master Aug 1, 2018
@noirbizarre noirbizarre deleted the harvest-config-admin branch August 1, 2018 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants