rahuldave / appsem

js server and ui for semflow
4 stars 1 forks source link

Improved UI for saved searches/papers: deletion #6

Closed DougBurke closed 13 years ago

DougBurke commented 13 years ago

We need to allow users to delete searches, presumably using some sort of 'select the search(es) you want to delete and then this button' style interface.

DougBurke commented 13 years ago

I have an initial implementation in

https://github.com/DougBurke/appsem/commit/2176db86ab9a8c48dd5b5fa95f2d4dec0aa7f033

which adds a "delete" button to the paper display that gets displayed when a paper is saved. There's a placeholder for delete on the "Saved" tab (only for publications) since not clear how to add a link that does a post via mustache.

DougBurke commented 13 years ago

I have added 'delete' links for saved searches and publications on the 'saved search' page:

https://github.com/DougBurke/appsem/commit/26c458928724d17a566bbc2a1d1db9f10fe5aa40 https://github.com/DougBurke/appsem/commit/4e1d03c5cb1234871c06aae83396f566abc32ccb

DougBurke commented 13 years ago

I think that we will probably want to change this implementation to a more form/list-based one, where you have a checkbox for each search, with select/unselect all and then a 'delete search' button. This will allow multiple deletions/easy clear out.

DougBurke commented 13 years ago

I've now implemented a basic form style to allow a user to delete multiple items at once. There's a bunch of checkins, ending in

https://github.com/DougBurke/appsem/commit/a1cc839cb6e42fa6841437839c18b813700a1578

(at least for now).