ui icon indicating copy to clipboard operation
ui copied to clipboard

Final upgrades to editing UI

Open perry-mitchell opened this issue 5 years ago • 10 comments

  • [x] New group
  • [x] Delete group
  • [x] Rename group
  • [x] Move group
  • [ ] Empty trash
  • [ ] Fix trash count (all entries and groups)
  • [ ] Show groups in trash

perry-mitchell avatar Apr 28 '19 13:04 perry-mitchell

@sallar @perry-mitchell Can I work on remaining list of this issue ?

zoheirkhonyagar avatar Dec 27 '19 00:12 zoheirkhonyagar

@zoheirkhonyagar Sure, why not? :)

sallar avatar Dec 27 '19 11:12 sallar

@sallar Thank you :)

zoheirkhonyagar avatar Dec 28 '19 10:12 zoheirkhonyagar

I've picked up the Rename-group feature myself, FYI.

perry-mitchell avatar Jan 12 '20 19:01 perry-mitchell

@sallar @perry-mitchell Where is the empty trash button position in the component ? I suggest when user right click on Trash button, open a menu and show "Empty Trash" option something like this image that I've attached.

Screenshot from 2020-01-16 01-12-11

zoheirkhonyagar avatar Jan 15 '20 21:01 zoheirkhonyagar

I see it now that @perry-mitchell is working on this issue in groups_menu branch . if there are tasks that you didn't start working on, I can do them :)

zoheirkhonyagar avatar Jan 15 '20 21:01 zoheirkhonyagar

@zoheirkhonyagar Ive decided that I won’t attempt to do the empty trash etc in this branch as that’s big enough on its own.

We need to display a tree of contents for the trash as it also holds groups, not just entries. Maybe, as @sallar suggested to me, it could be clicked which would slide up and reveal the trash tree instead of the regular one. There’s a helper function called emptyTrash in the useGroups hook.

perry-mitchell avatar Jan 16 '20 05:01 perry-mitchell

@perry-mitchell Thank you for your explanation,I got that . so can I work on empty trash now ?

zoheirkhonyagar avatar Jan 16 '20 19:01 zoheirkhonyagar

so I've picked up the Empty trash feature, FYI.

zoheirkhonyagar avatar Jan 19 '20 07:01 zoheirkhonyagar

@perry-mitchell Hey, I tried to understand project structure but it's hard for me because I'm new in React, I define onEmptyTrash function in EntriesList.js and then add onClick event to PaneContent, In onEmptyTrash I call emptyTrash helper that you mentioned. but when it calls pane title changes to Document. I'm confused :smile:

zoheirkhonyagar avatar Jan 25 '20 22:01 zoheirkhonyagar