Open wellemut opened 1 year ago
@navid-kalaei today in a call with @flosse and @alex0107 we decided, that it would be the best, if all administrational tasks can be done in your frontend.
Do you mind to implement it after the other issues?
@navid-kalaei today in a call with @flosse and @alex0107 we decided, that it would be the best, if all administrational tasks can be done in your frontend.
not really. The only thing that has to be implemented by @navid-kalaei are the functionalities that are used by a user, such as register, login, subscribe, unsubscribe etc. All other administrative tasks may or may not be performed by the main frontend. It also could be a complete separate implementation.
Goal:
Implement whole administration of entries in Frontend, so that we can get rid of the backend html. like https://openfairdb.org/entries/9ba1a9e4138c4d2dbaa776fead85d098
Implementation
Use login-API to get user cockie: https://app.swaggerhub.com/apis/Kartevonmorgen/openfairdb/0.10.5#/Users/post_login
[ ] Setup register-formular on https://www.kartevonmorgen.org/register (equal to https://openfairdb.org/register)
[ ] Add Button to History and to Archive/reject operations in the footer of the entry. only for logged-in user Button-Names
[ ] If users are not logged in, show the "login-button" in the footer of each entry instead at the button right corner of the footer.
[ ] Add History view of the entry - open in new tab! Similar to https://openfairdb.org/places/de6ac9a92bde46d0b34bd5961196ec12/history See API: https://app.swaggerhub.com/apis/Kartevonmorgen/openfairdb/0.10.5#/Entries%2FPlaces/get_places__id__history__revision_
[ ] Add the Delete-Page for the entry
there is no need of the change-button, if the three options are three buttons and not a dropdown!
API for review: https://app.swaggerhub.com/apis/Kartevonmorgen/openfairdb/0.10.5#/Entries%2FPlaces/post_places__ids__review
[ ] Redirect Login/register Button in the Hamburger Menu to the frondend (currently backend)
(still not needed on landing-page (https://github.com/kartevonmorgen/kartevonmorgen.ts/issues/118)