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

Provide Submission.created in API #682

Closed
glasnt opened this issue Apr 28, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@glasnt
Copy link
Contributor

commented Apr 28, 2019

Problem you are facing

I want to be able to see a graph of submissions over time, but in an exportable way

Possible Solution

Pulling thesubmission-timeline-data div from https://pretalx.com/orga/event/eventID/submissions/statistics/ gives all submissions, but includes withdrawn talks.

Context

It doesn't look like submissions have timestamps on the objects, so we need to work from Activity. Being able to use whatever data is stored there and manipulate it would be useful.

@rixx

This comment has been minimized.

Copy link
Member

commented Apr 28, 2019

Would it be sufficient (at least for now) to include a 'created' timestamp in the API?

Regarding the submission stats page – do you think it would make sense to make it more filterable? It like a clumsy UI addition to me, so I removed it when I played around with it, and left only the submissions vs talks filter.

@glasnt

This comment has been minimized.

Copy link
Contributor Author

commented Apr 28, 2019

My use case is being able to compare our submission stats across years.

If you can incorporate the 'created' timestamp in the API against a submission, that'd be cool. (Noting that it'd have to be a calculated field (whatever that's called in django), since I'm using existing data. Unless migrations can handle that. That'd be cool, too)

As for the UI; that section is extremely subjective, and personally I'd prefer to export the data to do it myself rather than having a muted calculated view (hence, this feature request)

@rixx

This comment has been minimized.

Copy link
Member

commented Apr 28, 2019

I think introducing a created timestamp is the way to go here.

@rixx rixx changed the title Expose Activity API Provide Submission.created in API May 1, 2019

@rixx rixx closed this in d9e1c9b May 1, 2019

@rixx

This comment has been minimized.

Copy link
Member

commented May 1, 2019

For authenticated users with organiser permissions, the submissions endpoint now includes a created field with an ISO8601 compliant string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.