vixalien / sticky

A simple sticky notes app for GNOME
https://flathub.org/apps/details/com.vixalien.sticky
MIT License
175 stars 27 forks source link

[Feature suggestion] Dedicated button to pin notes to top #39

Open kevonfernando opened 1 year ago

kevonfernando commented 1 year ago

I think it would be nice to have an extra button for pinning notes on top instead of having to right-click the headerbar.

vixalien commented 1 year ago

nice suggestion. will look into how clapper does this using D-Bus

JamesL813 commented 1 year ago

I was just about to make an issue about this exact feature.

Here's a mockup of how this could look using the pin-symbolic icon:

Screenshot from 2023-03-22 15-03-24

Screenshot from 2023-03-22 15-03-43

I would even prefer if the pin-note button replaced the new-note button on the top left. I feel like I instinctively go to the main note menu to add new notes. However, I know this might not be everyone's preference.

Screenshot from 2023-03-22 15-07-06

Let me know what you think!

vixalien commented 1 year ago

wow this actually looks nice!

I'm not sure if we should disable the new note button, as some people (me included) actually use it and it would be an inconvenience to open the all notes windows just to add a new note (I usually have it closed)

note to self

show the last recently edited note when all notes were closed (instead of showing the all notes window) when launching the apl

I might get a chance to work on this tmr

vixalien commented 1 year ago

with the latest updates, v0.1.8 - v0.1.6 (which have not yet landed to flathub) the "new note" button can not be removed from the note window, because the behavior of restoring notes has changed:

When the notes app is re-opened, the open notes are restored, and if there were no open notes, the last modified note is opened (before the updates, the all notes window would show instead). this means that users will see the "all notes window" much less, and will rely on the "new note" button to create notes.

and regarding to the elephant in the room, pinning notes to the top, I have not found a way to implement this. I think this is because there simply might be no API to do this functionality.

either way, if you know of an app which does this, or have links to the documentation of the API to pin apps to the top, please let me know (otherwise you can also land a PR)

I think the last resort would be to create a GNOME Shell extension that the main Sticky Notes app can connect to, and request it to pin the app.

let me know your thoughts (sorry for the long read)

TriVoxel commented 5 months ago

wow this actually looks nice!

I'm not sure if we should disable the new note button, as some people (me included) actually use it and it would be an inconvenience to open the all notes windows just to add a new note (I usually have it closed)

note to self I might get a chance to work on this tmr

I'd honestly rather not have the new note button, and instead just have a keyboard shortcut and "Main Menu" option in the hamburger menu. That would be pretty clean and intuitive. I've clicked it by mistake a couple times...