mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 196 forks source link

Allow Pro Users to Create Projects #8250

Closed garethrees closed 2 months ago

garethrees commented 4 months ago

At present Project creation requires developer intervention. Here we’ll get the parts in place so that projects can be created entirely through the user interface.

We’ll rely entirely on edit actions, with links close to the content that they apply to. An empty Project will be a blank slate where the interface implicitly guides you towards things you need to do to set it up.

Title & Briefing

The Title and Briefing can be a simple edit form. Briefing should be rich text.

Adding Requests

Adding requests has the potential to get complicated, so we’ll need to be careful of scope creep here. For now, let’s only allow requests made by the Project owner to be added through the UI.

We could try to repurpose the batch authority picker search/browse interface, or do something else. The main thing is a user being able to populate the Project with requests and batches.

While it’s out of scope for now, keep in mind that at some point in the future we might want to add a “Create Project from Batch” button on a Batch, which may or may not influence the mechanics here.

Adding a Dataset

We’ve got a prototype form builder. Now we just need to hook it up.

Key to this is the preview, as our experience so far has been that early users haven’t quite understood how to formulate their questions without seeing the options available to them.

Invite Contributors

We’ll add a simple view to see (and ideally regenerate) the invite code and view who’s on the Project.

It would be nice to allow owners to remove contributors, but it’s scope we can cut if we’re running short.

Screenshot 2024-05-10 at 17 49 45