HugoGresse / open-feedback

Open Feedback is an opened SaaS platform destined to organisers to gather feedback from users. OpenFeedback
https://openfeedback.io
GNU Affero General Public License v3.0
99 stars 16 forks source link

Sessionize import #1564

Open martinbonnin opened 1 year ago

martinbonnin commented 1 year ago

Would be nice to have sessionize import. Example json: https://sessionize.com/api/v2/72i2tw4v/view/All

HugoGresse commented 1 year ago

It shouldn't be very hard:

  1. Add a new setup type here: https://github.com/HugoGresse/open-feedback/tree/master/src/core/setupType
  2. Update the UI in the admin to let the user pick sessionize and set the endpoint URL and as well as the setting in the event
anyulled commented 1 month ago

Please assign this issue to me. I already created an adapter here:

https://github.com/dev-bcn/open-feedback-adapter/blob/main/src/app/api/2024/schedule/open-feedback-adapter.ts

HugoGresse commented 1 month ago

Nice! The only input needed are a single sessionizeUrl then? If so, is there any quota or CORS related issue to check for?

anyulled commented 1 month ago

You're right, the only parameter needed is the sessionize URL that is generated for each event. We should include some instructions for proper configuration, i.e., JSON format, ungrouped results, etc.

Regarding the quota, we've been consuming the API from the www.devbcn.com website for fetching the talks, schedule, and speakers' info, and never received a 429 or similar status error.

No additional CORS configuration is required.

HugoGresse commented 1 month ago

Perfect! Do you think you can provide a sample on some GitHub Gist for testing purposes? Other than that, it should be pretty straightforward.

anyulled commented 1 month ago

Take a look at this one:

https://sessionize.com/api/v2/teq4asez/view/All

HugoGresse commented 1 month ago

I think I'll rather add a new mode here: image

Which should be clearer, even if it reuse the same stuff behind.

anyulled commented 4 weeks ago

I think I'll rather add a new mode here: image

Which should be clearer, even if it reuse the same stuff behind.

Yes, That's what I'm working on. a new import mode with its own configuration screen.