-
Notifications
You must be signed in to change notification settings - Fork 1
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
Audience UI #36
Audience UI #36
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting failed (1 error).
I had mistakenly used a timestamp, while this was handled by memcached and the memcached dropin the redis cache only expects a TTL in seconds.
This prevents a rendering error if the API response is an error object Co-Authored-By: Ryan McCue <me@ryanmccue.info>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, the code looks good to me.
In the JS section, there's a lot bundled into one particular component (noted in comment) that could really use with splitting out into multiple instead; both for readability, and for potential reuse in the future.
IMO, the readability of a few of these would also be enhanced by switching them to class components with methods/etc rather than functional components.
Iterate on React for audience UI
Rather than removing and hacking back into the REST API, we can do the minimal changes needed to adjust the UI.
Also, switch from trigger_error to error_log
Fix up the last bits of audience UI feedback
Oh thank god for that. Alright, full steam ahead on XBs! |
Still plenty to do and questions to answer. Like should we grab the index mapping to access all the fields so we get their type, or just infer that given we know the data structure...
Fixes #19
TODO:
Potentially split these to separate PRs