zznicole / shopping-list

Ourshoppinglist is a Mobile-first Web application project. It was created by a team of two developers, using modern Javascript, ES6, React.js,Node.js DBOO database, Material UI, Arios......
0 stars 0 forks source link

Ability to change the title/name of a shopping list #11

Closed kft-a closed 3 years ago

kft-a commented 3 years ago

Currently it is not possible for the user to name a shopping list. There should be an input field to set the name.

Either allow for inline editing in ListsScreen (but that will likely interfere with a click to go to the TobuyListScreen), or on the top of TobuyListScreen.

kft-a commented 3 years ago

Use API call POST editlist with request data = {summary: , description: <description, leave as "" for now>, done: <true or false>}</p> <p>See function createList(title) in ListsScreen.js for how to make the call.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/zznicole"><img src="https://avatars.githubusercontent.com/u/60900812?v=4" />zznicole</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>thanks, I have made the title in toBuyListScreen updatable. Now will work on listsScreen.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/kft-a"><img src="https://avatars.githubusercontent.com/u/20369983?v=4" />kft-a</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Fixed backend part of this so now it works. Commit #fd97c0711547ec on master.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>