wikmd icon indicating copy to clipboard operation
wikmd copied to clipboard

Moved Edit/Delete/Save buttons to the navigation bar

Open reactorcoremeltdown opened this issue 2 years ago • 3 comments

Summary

Making editing buttons accessible when scrolling the contents. Also providing more space for filename + file path.

Details

I use wikmd a lot, also on the go, and I have noticed that on some long pages I have to scroll to top or to bottom to access Edit/Save buttons. This is somewhat inconvenient as I am losing the context as a result. This PR makes use of the fixed to top navigation bar and puts all important buttons there, making it possible to edit and save pages in the middle.

As usual, if the change does not fit into design language of the project, please feel free to reject the PR. I am also open to any suggestion.

image Screenshot 2023-03-27 at 20 47 27

Checks

  • [ ] In case of new feature, add short overview in docs/<corresponding file>
  • [x] Tested changes

reactorcoremeltdown avatar Mar 27 '23 19:03 reactorcoremeltdown

hi @reactorcoremeltdown, love to hear that. This a handy feature! Would it be possible to move the searchbar back to the left in desktop mode and the icons to the right? Maybe it's also more logical this order: new, edit, del. Having these buttons in the header is indeed way more logical. Thanks for implementing that!

Linbreux avatar Mar 28 '23 16:03 Linbreux

@Linbreux I tried to move things around as you have suggested. Looks better now? wiki

reactorcoremeltdown avatar Mar 30 '23 07:03 reactorcoremeltdown

I like it! Only the collapsed navbar looks a bit cluttered. I also tried to fix it for the pas 2 hours, bu can't seemed to get it right...

Linbreux avatar May 16 '23 20:05 Linbreux