Feature summary: This is a proof of concept for editing statements in Paulina. In this initial test task, the idea is to place a pencil icon next to a data field on the author page user interface. When the user clicks on the pencil icon, the interface allows them to edit the field. The user can then edit the data and, when they finish, they click the check icon, which allows them to publish the information.
Here's a sketch of what the "Nationality" field should look like before the user clicks on the pencil:
And a second sketch of what the "Nationality" field should look after the user clicks on the pencil, with an editable text form:
Once the user clicks on the check (publish) icon, Paulina "saves" the edition and the user interface looks again as in the first sketch, but with the new text.
For now, there's no need for the user's input to persist across page reloads. Instead, the task is just focused on creating a user-friendly editing interface using JavaScript.
To work with icons, Paulina uses Bootstrap icons. They can be implemented in the html template using, for example: <i class="bi bi-pencil-fill"></i>
Benefits: This proof of concept will serve to test a user interface for data editing, which will later incorporate the ability to connect to Wikidata and edit statements in Wikidata items.












