Coder Social home page Coder Social logo

standardnotes / desktop Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 118.0 16.81 MB

[Moved to https://github.com/standardnotes/app] A free, open-source, and end-to-end encrypted notes app. https://standardnotes.com

License: GNU Affero General Public License v3.0

HTML 4.20% JavaScript 9.28% CSS 0.93% TypeScript 85.33% NSIS 0.24% Shell 0.02%

desktop's People

Contributors

amanharwara avatar arielsvg avatar bryvin avatar cognition9144 avatar dagjaneiro avatar dependabot[bot] avatar gorjan5sk avatar jgierer12 avatar johnny243 avatar joshuarli avatar julianfairfax avatar maia-everett avatar moughxyz avatar pgrimaud avatar philweber avatar prestonhansen avatar radko93 avatar remidesgrange avatar rjocoleman avatar theodorechu avatar tjrana avatar vardan-arm 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  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

desktop's Issues

App loses network connectivity after multi-day idleness

This is a tough one to reproduce since the app has to be open for extended periods of time. When you leave the app open for multiple days (on Mac especially), the Electron part of the app loses network connectivity, and doesn't communicate it properly to the actual app.

screen_shot_2017-01-24_at_1 27 35_pm_1024

Windows shortcut disappears after update

Under Windows 7 I have a shortcut of Standard Notes pinned to my taskbar. Unfortunately upon every (automatic) update the shortcut gets deleted and I have to pin it again - a tiny thing but annoying after some updates ;)

Help/extensions windows go blank

I'm using windows version of standard notes.
When I click list of extensions or help, the new window just go blank.
The developer console shows it can load the remote site, but some js error.

Uncaught Error: Cannot find module 'lodash'Module._resolveFilename @ module.js:455
  Module._resolveFilename @ C:\Users\xxxxxxx\AppData\Local\Programs\standard-notes\resources\electron.asar\common\reset-search-p…:35
  Module._load @ module.js:403
  Module.require @ module.js:483
  require @ internal/module.js:20
  (anonymous function) @ compiled.min-05439d5….js:12
  (anonymous function) @ compiled.min-05439d5….js:12

Uncaught Error: [$injector:modulerr] Failed to instantiate module app.main due to:
Error: [$injector:nomod] Module 'app.main' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.6.1/$injector/nomod?p0=app.main
    at https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:377
    at https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:11180
    at n (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:10642)
    at https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:10954
    at https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:20734
    at r (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:809)
    at d (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:20582)
    at lt (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:22564)
    at a (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:8559)
    at ae (https://standardnotes.org/assets/compiled.min-05439d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js:1:8869)
http://errors.angularjs.org/1.6.1/$injector/modulerr?p0=app.main&p1=Error%3…9d58044b9301ec6498b45feaafb2cec12c10583c6455d45f6a04a522fd74.js%3A1%3A8869)

(user name removed in the log)

Structure of the repo

Hi!

I'm not familiar with Electron apps, and I'm confused as to where the "meat" of the app is: encryption, storage, etc.

Is it in the web repo?

I think it could make life easier for people to have some more information in the REDME in this regard. I'll make a PR as soon as I figure things out :)

Allow configuring the scale factor of the UI

I'm using Linux with a HiDPI display, and all electron apps I use detect this and scale themselves by the factor of 2x. This is too big for me, however, DPI of my display is closer to 144 rather than 192, and the perfect scale factor for me is 1.5. Electron apps usually support the chromium flag --force-device-scale-factor=1.5, and StandardNotes is not an exception, but it would be very nice if it was possible to configure this parameter through the UI in some kind of settings, like it is done in the Telegram Desktop application:
screenshot_2017-02-27_16 53 49

Alternatively, it would be equally good for me if StandardNotes was able to read some config file with command line options for chromium, like chromium itself does (it reads ~/.config/chromium-flags.conf, that's how I configure it for my display).

I'd like to note that I can create a script wrapper passing all these options to StandardNotes, but nothing beats configuration through the UI, of course.

Search/Highlight text within note

Is there a way we could add support to search or highlight text within a note? Right now searching will come up with a note that contains the text, but there is no cue within the GUI showing where the text is located.

Simplify deletion of existing tags from a note

When deleting an existing tag from a note, right now every single character of the tag must be deleted. It would be much faster if the whole tag could be deleted with a single keystroke, like Evernote has solved it.

Links open in new notes window

When you click a link from within a note it opens a new note window.

Expected behavior would be to open in default browser on the desktop.

Autocomplete for tags when pressing tab bar on desktop app

Adding a tag to a note is cumbersome because the full tag has to be typed out, otherwise the app immediately created a new tag. It should be possible to use the Tab-key to autocomplete an existing tag, and new tags should trigger a confirmation window to make sure not every type leads to a new tag.

Fast new note flow

What would be great is never needing to leave the keyboard to create a new note and tag it. For me, the flow would look like this:

  1. cmd-tab into standardnotes
  2. cmd-n for new note, type title
  3. tab to tags, type tags
  4. tab to content, type content

Ideally, tags would autocomplete (but that's not a priority). Also, shouldn't it be possible to delete notes and tags?

Offline database issue

Hi

I'm getting a message saying "Please enable permissions for Standard Notes to use IndexedDB for offline mode" when using the app in Linux Mint Sarah (based on 16.04 Ubuntu LTS). It looks like I'm getting the message when the app is trying to save the note I'm writing. Even with this popup, the notes look like they're properly synced.

Thanks!

Change drop-down menus to icons for better UX

The dropdown menus in the desktop app are awkward. How about using icons for deleting a note and toggling for full-screen? Using drop downs for tags is also a bit strange -- an icon to quickly delete a tag would be more intuitive.

Delete from right click menu

Notes and tags both have "Delete" in their right click menu but it doesn't appear to do anything. I would have expected this to delete the note/tag clicked on.

screen shot 2017-02-07 at 5 30 48 pm

How to manage tags for a note?

I'm probably just overlooking something, but I do not see where one can manage (such as adding or deleting) tags for individual notes. Thank you in advance!

breaks wingpanel of elementary os

I tried this app, and since then I can't use the wingpanel of elementary os with notifications anymore. Do you have an idea what the problem could be?

Closing the main window does not terminate the application on Linux

I've downloaded and run the appimage file:

% chmod +x Standard-Notes-Linux-0.1.1-x86_64.AppImage
% ./Standard-Notes-Linux-0.1.1-x86_64.AppImage

The program started normally (except a message about a coredump of zenity, but as far as I can see in the appimage launch script, it is nothing of importance), however, closing the main window did not stop the program: there is still quite a lot spawned processes. I have to press Ctrl+C in the terminal to kill them. This is not acceptable for me because I don't want to launch the app through the console, I want to do it from my window manager's launch prompt.

Also, as a side question, are there any plans to provide an alternative packaging variants for linux? Or at least an ability to assemble something else than appimage? I would prefer Standard Notes to be installed to my system directly and to be accessible in PATH, like all other programs. There seem to be no easy way to extract an appimage image and produce a package out of it, since it uses a very weird file layout. My system is Archlinux, by the way.

Going to markdown preview and back to editing mode doesn't place the text input back into original location.

Was expecting that I could be typing a note in markdown, use CMD + M to preview the note being rendered in markdown and then CMD + M again to continue typing, but the text cursor I think is reset to some other input.

This is very subjective, but It feels like this isn't the correct UX to have. I should be able to switch quickly and then just continue typing where I last left off.

Literally unusuable, just kidding, I just discovered you guys from HN and it's always amazing to find great simple tools like this with a public github repo. Thank you for such great work. 👏

Homebrew Cask

In case anyone involved is interested, I wrote a Homebrew formula for the Mac version of Standard Notes:

https://github.com/gwerbin/homebrew-tap/blob/master/Casks/standard-notes.rb

So the program is now installable on macOS with:

brew tap gwerbin/tap
brew cask install standard-notes

If you like the idea of having a Homebrew formula, I can submit this to the Homebrew project for inclusion in their core repository. However it's tough for me to keep up-to-date with releases on software like this that I don't necessarily use very often, so I'd encourage you to take ownership of the formula, since they do require manual version bumps and SHA hash updates.

Timestamp format configuration

It would be really nice if it were possible to configure the timestamp format, at least from a set of predefined variants. I personally find the AM/PM system and m/d/y date format very confusing and unnatural and I would like to have 24-hour time format and d/m/y date format. I would also wager that I'm not the only one with such preferences, especially from European countries.

Major security issue: index.html points at remote code

Excellent effort! However, it also introduces a major security hole:

The Electron Desktop App simply loads an index.html which points at remote JavaScript. That's crazy dangerous - if that endpoint gets compromised, nothing keeps the attacker from running rm -rf / on every user's machine.

I'm a member of the Electron maintainers group and fully realize that this is partly on us for not educating better. Remote code should never run with full privileges - consider using a webview instead, which can be sandboxed.

Clicking a link in the markdown preview traps user in web browser

When adding a link to my note via markdown and viewing the preview, clicking the link opens the webpage within the standard notes app and there isn't any clear/visible way for me to kill the markdown preview or navigate back to my notes without quitting the app.

(worth noting that cmd+clicking opens a separate window which avoids this issue, but it seems like having a way to go back 'home' via a menu option/hotkey is preferable here)

Desktop app cannot be used offline

Currently, the main window just stays blank if there is no internet connection.

The reason seems to be that the main index.html points to remote JavaScript and CSS code.
This implementation is also mentioned as problematic in that issue.

Awesome work BTW! Love the philosophy behind it. A minimalist encrypted cross-platform notes app like this one is long needed.

Will there ever be the ability to export as a txt file?

I'm glad there's a download data function; but it's saved as a json file. Which I tried opening but felt it was too hard to dig through.

I have no idea how difficult this would be considering the notes are encrypted and stored in the standard file format. I just wanted to say what would be ideal for newbie's like me.

Add Note Hierarchy

Please add note hierarchy support. This is literally the only thing that stops me from using this.
Look at the left side of the screenshot for an example of what I mean.

look at the left side for example

Sort notes by last updated timestamp

Hi,
I am using standardnotes a lot and want to propose a minor usability improvement:
How about sorting the notes by the last updated timestamp (it is saved in the database), so I can see the notes I last updated at the beginning of the list? Maybe it could be toggled from the UI if there are people used to the old style of sorting by creation date.
I can try to code a pull request if this sounds usable.
Greetings,

Stefan

Show version number

To check whether one has indeed the latest version, but also for bug reports, etc. it would be helpful if the version number were displayed somewhere in the UI (perhaps in the status bar).

Importing text files

Is this supported yet? I don't see any menu items, so I attempted drag/drop to import.

Drag/drop text file on to app.

What happens:
File is displayed in window (I'm guessing it's an Electron app)

What should happen:
File should be imported.

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.