Giter Site home page Giter Site logo

vixalien / sticky Goto Github PK

View Code? Open in Web Editor NEW
164.0 5.0 22.0 680 KB

A simple sticky notes app for GNOME

Home Page: https://flathub.org/apps/details/com.vixalien.sticky

License: MIT License

Stylus 8.39% Meson 8.54% JavaScript 3.32% TypeScript 79.75%
gnome gtk linux notes sticky gjs gtk4

sticky's Introduction

Sticky Notes

Please do not theme this app

Sticky Notes is a simple note taking application for the GNOME desktop. It is written in GJS and uses GTK4.

All notes Note

Installation

From Flathub

Sticky Notes is available to download on Flathub.

Download Sticky Notes on Flathub

From source

To install from source, you need nodejs and yarn installed. Then, you need to clone the repository by being careful to also pull in the submodules:

git clone https://github.com/vixalien/sticky.git --recurse-submodules

Open the project in GNOME Builder and click "Run Project".

Note: Other non-Flatpak environments are no longer supported. This is because Sticky Notes uses an upcoming version of libadwaita.

sticky's People

Contributors

albanobattistella avatar amereyeu avatar brainblasted avatar daudix avatar ensag-dev avatar gabsedits avatar gforcada avatar haggen88 avatar jamesl813 avatar kbdharun avatar mejans avatar nokse22 avatar pelach avatar penfore avatar phaerrax avatar rene-coty avatar rffontenelle avatar vistaus avatar vixalien avatar vorons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sticky's Issues

Formatting buttons not showing

The font formatting is showing only a "!" icon.
Pop_OS 22.04
Sticky Notes 0.2.0 (Flatpak)
Tested installation on 2 systems.
Screenshot from 2023-06-13 17-48-06

Support monospaced font

Alongside the existing bold, italic, underline and strikethrough.

Monospaced is useful for code snippets for example.

Thanks!

[Feature suggestion] More font sizes

I love Sticky Notes, but the text looks too small to me. It would be great if we could alter the font size for the app itself or at least for the notes. It would make the experience of using it a lot more comfortable. :)

Copy&Paste Screenshots

Hi all,

today I ran into the issue, that I can't paste screen shots into Sticky Notes. The use case is quite clear: I need to create a help desk ticket, so I create a Sticky Note to note down informations on the fly. Sometimes it's convenient to quickly take a screen shot instead of writing down stuff immediately. So it would be nice, if I could paste a (GNOME) screen shot into sticky notes.

It doesn't need to be fancy with preview or so, it would be okay, if it's just a link, that I can click on and the relevant screen shot opens in Loupe.

Bonus point: I open a screen shot link from Sticky Note, opening in Loupe, and Loupe just circles through the screen shots related to that note.

Couldn't find a package.json file

When building from source, Yarn is not able to find files while in the Meson build directory.

+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true sticky build
The Meson build system
Version: 1.0.1
Source dir: /build/sticky-notes/src/sticky
Build dir: /build/sticky-notes/src/build
Build type: native build
Project name: sticky-notes
Project version: 0.1.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gjs-1.0 found: YES 1.74.2
Program yarn found: YES (/usr/bin/yarn)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring com.vixalien.sticky using configuration
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Build-time dependency gio-2.0 found: YES 2.74.6
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Build targets in project: 12
NOTICE: Future-deprecated features used:
 * 0.64.0: {'copy arg in configure_file'}

sticky-notes 0.1.0

  User defined options
    auto_features: enabled
    buildtype    : plain
    libexecdir   : lib
    prefix       : /usr
    sbindir      : bin
    wrap_mode    : nodownload
    b_lto        : true
    b_pie        : true

Found ninja-1.11.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /build/sticky-notes/src/build
ninja: Entering directory `/build/sticky-notes/src/build'
[3/7] Generating node-package-manager-deps with a custom command
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 0.03s.
[4/7] Generating data/stylus-compile with a custom command
FAILED: data/style.css data/style-selector.css data/style-dark.css 
/usr/bin/yarn --cwd /build/sticky-notes/src/build run css --out /build/sticky-notes/src/build/data --cwd /build/sticky-notes/src/sticky/data ../sticky/data/style.styl ../sticky/data/style-selector.styl ../sticky/data/style-dark.styl
yarn run v1.22.19
error Couldn't find a package.json file in "/build/sticky-notes/src/build"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[5/7] Generating src/typescript-compile with a custom command
FAILED: src/application.js src/card.js src/main.js src/notes.js src/styleselector.js src/view.js src/window.js src/util.js 
/usr/bin/yarn --cwd /build/sticky-notes/src/build run build --out /build/sticky-notes/src/build/src --cwd /build/sticky-notes/src/sticky/src ../sticky/src/application.ts ../sticky/src/card.ts ../sticky/src/main.ts ../sticky/src/notes.ts ../sticky/src/styleselector.ts ../sticky/src/view.ts ../sticky/src/window.ts ../sticky/src/util.ts
yarn run v1.22.19
error Couldn't find a package.json file in "/build/sticky-notes/src/build"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ninja: build stopped: subcommand failed.

Editing a note isn't intuitive

Affected version

0.1.1

Description

Editing a note requires a double click, but this isn't intuitive or mentioned explicitly in the UI. I think an edit button (icon-only) would be better.

Streamline the usage of `Ctrl+W`

Hi all,

I was trying out Sticky Notes today for the first time: great little app for taking notes on the fly!

It seems suboptimal, that when taking a note, then Ctrl+W is showing a Discard|Cance|Save type dialog, instead of just saving the note and closing that window.

I think the workflow would be better, if

  • for the note taking window Ctrl+W would just save the notes and close the window without any confirmation, while Ctrl+Q should be ineffective. In this way we save a click event and the rist of losing data is diminuished.
  • for the main window Ctrl+Q (and Ctrl+W perhaps too, if not ineffective) should ask for a confirmation dialog, kind of |Discard Open Notes and Quit|Cancel|Save Open Notes and Quit|

Safer backend

Congrats on the app – it looks and feels great.

I have concerns about how the app persists data.

The app saves data on quit. This is problematic because if it crashes or if it is terminated unexpected (by user or system) - notes/changes won't be saved. My suggestion is to save changes as they happen.

The app saves all notes in a single JSON file. If something goes wrong during writing, the file will not be parsable and all notes will essentially be lost to users. My suggestion is to use one file per note.

Incorrect menu tooltips

The menu tooltips of the 'all notes' window and the notes windows will always display "main menu"
See screenshots below (here in French): all the tooltips are "menu principal" (=main menu) when it should instead display the hovered menu option ('Keyboard shortcuts', 'Quit', 'All notes window'...)
Capture d’écran du 2023-08-18 11-33-13
Capture d’écran du 2023-08-18 11-33-24
Capture d’écran du 2023-08-18 11-33-37

PS: this doesn't seem to be caused by the translation, it is the same tooltip that has been applied to all the menu options

When a text is selected and right clicked it is cut

Screencast.from.2023-03-22.11-41-14.webm

The only way to not cut it is to keep the right mouse button pressed and move away from the menu.
If it is not selected it will not cut is because there is nothing selected to cut

Notes dont safe

After i create a new sticky note and close it again it is not saved and i don't see any option to save it either.
I use the latest release Version 0.2.1

[Feature Request] Minimalist view

I would like to keep the sticky notes on a very small window, and together with the feature of changing the font size #17, this minized view would remove the buttons and spacing for the headers, with only a arrow to move it around and unminimize-it, I don't know the stack for developing gtk+3 apps but I'm a developer and I can help!

Tooltip isn't visible

The tooltip of the '+' button on the main interface isn't readable when the button is hovered, see screenshot below:
Capture d’écran du 2023-05-25 09-18-42

[Feature suggestion] Make the toolbar and the header bar vanish when unfocused (and maybe sometimes when focused).

Something I've noticed when writing longer notes is that even when the note is unfocused and the toolbar and header bar are invisible, there is still a block covering the text (left). They're also noticeable on longer notes, even when they're focused:

Toolbar_Unfocused Toolbar_Focused

I think both of these could look better:

Vanishing_Toolbar Vanishing_Toolbar_Focused

The focused window could also have the toolbar appear on hovering and the same could go for the headerbar:

Vanishing_Toolbar_Focused_bot_van Vanishing_Toolbar

This would be similar to what foliate does:

Screencast.20from.202023-03-29.2016-01-38.mp4

Let me know what you think!

[Feature suggestion] Make URLs clickable

At first: many thanks for this application, :-) Really missed a usable sticky notes app on Gnome!

As a user, I want to click a URL which is in a note, so that the default browser opens immediately and displays the website of the URL.

Switch between light and dark versions manually

I have dark theme by default, Is there a way to switch to light version manually?
I think this should be an option along with font selection.

I've been using xpad for years now, like how I can configure it to show on desktop without window decorations and options to custom select fonts and colors. Is this something you're planning?

Tray option

Hi Angelo. Thank you to this beautiful and useful app which I didn't of know of any alternative at all for the Linux desktop.

I wanted to ask: how about if the app stays in the tray when the main window is closed and only the sticky notes are on the desktop?

That way, the icon will not take up space in the dock when the main window has been closed.

Dark mode looks a bit broken

Hi, first of all i want to say great app and in light mode it is awesome!

But in my opinion dark mode looks a bit broken. Are there any plans to revamp it?

Otherwise a manual light - dark toggle as suggested in #15 would be nice to have... maybe in the global menu of the main window where it doesn't conflict with the color chooser?

Anyway other than that thanks for your great work with this app!

Metainfo file validation failing

Spotted with meson test

data/com.vixalien.sticky.appdata.xml: FAILED:
• attribute-invalid     : <screenshot> width (422) too small [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png] minimum is 624px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png]
• attribute-invalid     : <screenshot> width (422) too small [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png] minimum is 624px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png]
• style-invalid         : <ul> cannot start a description [(null)]
• style-invalid         : Not enough <p> tags for a good description [0/1]
stderr:
Validation of files failed

Colors aren't correct

Colors do not match with ones in example:
image
Colors are darker.

Uname -a output:
Linux lenovo 6.4.6-76060406-generic #202307241739~1692717645~22.04~5597803 SMP PREEMPT_DYNAMIC Tue A x86_64 x86_64 x86_64 GNU/Linux
Pop_OS! - I'm will provide more information if needed.

Is this a bug?
Many thanks for this project ❤️

[Feature request] Remember window size

It would be great if the app could save its latest window size. When opened for the first time, the size of the 'all notes' window is too small to display the entire name in French (it is translated) → when the app is closed and reopened, the size of this window is reset which is frustrating 😅
Another solution would be to ensure that the translated title of the main window is not truncated, when it is longer than the original one…

Potential integration with Nextcloud Notes folder?

Hi! The App looks amazing!
I was wondering if there would be a simple way to integrate the Notes that exist as .txt files in a folder with the ones from the App.
This would allow a flawless interaction with Nextcloud Notes.
Thanks!

Issue with Dark mode!

sticky-issuewithdarkmode1
sticky-issuewithdarkmode

When using the dark mode in Gnome 43, The background of the sticky notes becomes black. In the Light mode it works fine. Screenshots attached.

I've been had sometrouble, can the developers help me?

Hello, I loved the app, but I've been had some problems that it will be listed:

  • The icons don't work properly
  • The autosave or the actual save isn't working too, the note disappears after close.
  • The main icon of menu

Captura de tela de 2023-03-06 11-06-29

Captura de tela de 2023-03-06 11-08-00

[Feature suggestion] Checkboxes

Hello there, first of all, great job with this one, thank you for your effort.

It would be awesome to have Checkboxes, ideal for when you have a list of tasks, or #TODO's and you can check them while you are doing.

Best regards.

it does not open

Hello

Thanks for your great project .

i really don't know why it stops working for me since last days.

How can i see the logs or anything useful to solve this problem

Add a title to a sticky note

The top left of the note when closed fells a little empty.
I would suggest adding the possibility to add a title to every note. Maybe with a dedicated text box when a note is opened or using markdown, like if there is a # in the first line the text after it becomes the title

Screenshot from 2023-03-22 11-36-56
This above is a concept

Add translation support

It would be nice to be able to translate this app (with a .pot file in the /po directory, or a Weblate page..)

GitHub Actions CI/CD workflow

Interested in having GHA workflow for building / testing this repo? I could help setting up something and we go improving it.

[Feature suggestion] Sync with google keep?

Hello!

I'm curious if it would be possible to make this app sync with google keep? Keep is what I usually use on my phone for a lot of my notes, and having this app be able to sync with my computer would be a very welcome addition.

However, I don't know how hard it'd be. I haven't found any app so far with the ability, so I suspect it's not easy. There is an API document available here: https://developers.google.com/keep/api/reference/rest for retrieving and sending notes it seems, but I have no idea if it works in practice.

I'm also not sure how feasible it is, since keep also allows notes to have pictures attached, and checkboxes, and these might be out of scope for the project. But I figure it's something worth asking either way. :)

[Feature Suggestion] Option to make lists

It would be really great in the "make a list" option
You could put it and innovate doing that, some examples:

BULLET LIST

  • example 1 ;
  • example 2;
  • example 3;

NUMBERED LIST

  1. example
  2. example
  3. example

CHECKBOX
→ actually, there's no Sticky notes with that option, except google keep.

  • example;
  • example;
  • example;

[FR] Store the notes in a user visible folder, so they can be synced

I use dropbox to sync many things, but the service I use is irrelevant.
If sticky notes allowed me to point at a folder in which the notes are stores as .txt or .md files, I could store this folder in my dropbox and access the notes everywhere.
It would also allow me to open the same folder in another app, like Paper or Inkdrop, to achieve total data portability!

[Feature suggestion] command line argument to make and open a new note

I think it could be useful for some if there was a command line argument to open a new note (essentially just functioning as the '+' button). It could be good to map to a keyboard shortcut line Super + n to quickly jot something down.

$ sticky-notes --new-note
or
$ sticky-notes -n

Store Notes as Markdown files

It would be nice that each note could be stored as a markdown file.
The directory containing the files could be set with preferences.
That could help Image support into notes too.
Markdown is a powerful formated text format.

Thanks for all what has already be done.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.