Giter VIP home page Giter VIP logo

Comments (35)

penge avatar penge commented on May 24, 2024 2

Get Ready. Having some good news 😁

Click me :D! I tried Google Identity API 😲 and it works!! 😄
Click me too :DDDD! Version 3.0 is in the works now 💪 (Google Drive support)

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024 2

What happened to the comment on how it works 👀 haha

from my-notes.

penge avatar penge commented on May 24, 2024 2

I have to say. How painful it is to get the extension published:

  • published only during working hours in California 🐻

  • never published on weekends 😡

  • sometimes it takes days (Thursday, Friday, Saturday, Sunday, Monday) 💀

  • not in control how the required permissions are presented (like you want to open My Notes in a new tab, but the extension is presented like it can read browsing history) 😔

  • cannot publish new version if having a pending review (like you wait days for 2.3.1 to be published, and still need to wait for that first, but also, you need to quickly publish 2.3.2 which is long time ready) 😔


I've published 15 versions of My Notes already and what I described I experienced every single time.

My best intentions are just ruined by Google.


I will create the comment again 😁👍

⬇️ ⬇️ ⬇️

from my-notes.

penge avatar penge commented on May 24, 2024 2

My Notes 3 will bring Google Drive backup, here's how to enable it:


Step 1

Open Options


Step 2

Click on Backup My Notes to Google Drive


Step 3

Grant permissions if needed to start the backup



That's it! 🙂

For more details, read below.



Permissions:

  • My Notes will request a permission to use Identity API (https://developer.chrome.com/apps/identity) which is used to get the access token (access token is needed to authenticate against Google Drive)

  • My Notes will show a consent screen where it will require your approval to access Google Drive


Privacy concerns:

  • If you disable Google Drive backup, My Notes will remove Identity API permission, which will remove the ability to get the access token

  • Consent screen to access Google Drive will require only a limited permission to only view and manage the files My Notes created (in other words, My Notes doesn't see your Google Drive content, only the files it created as a part of backup)


Backup:

  • Backup will be located in Google Drive / My Notes folder

  • Backup will contain notes as text files

  • Backup will not be deleted after it is disabled




QA


Q: How do I enable Google Drive backup?
A: See Options and click on Backup My Notes to Google Drive. My Notes will request permission and if granted, backup to Google Drive will start.


Q: Why is backup to Google Drive a good thing?
A: By making a backup to Google Drive, your notes can be restored after My Notes is reinstalled, or installed to another computer of yours. Backup also gives you the option to see the notes in various points in history, called revisions. Backup also protects you in case something would happen to your computer.


Q: Is my backup deleted if I stop backup to Google Drive?
A: No, your backup continues to exist. The only way to delete your backup is if you do it by yourself in Google Drive.


Q: What happens if I delete My Notes folder from Google Drive while My Notes backup is still being enabled?
A: Because backup is still enabled, My Notes will create a new My Notes folder in Google Drive and continue the backup. If you'd like to disable the backup, visit Options.


Q: What happens if I enable backup to Google Drive and there is an existing backup from a previous installation already?
A: Existing backup will be downloaded and in case you had some local notes already, they will be added to the the backup.


Q: Can My Notes see my other files in Google Drive?
A: No. My Notes can only view and manage files it creates to make a backup.


Q: Is My Notes collecting any of my personal information, or information about my backup?
A: No. The only information My Notes will know about are metrics provided by Google Cloud Platform. Example: number of successful or non-successful connections for troubleshooting.

from my-notes.

penge avatar penge commented on May 24, 2024 2

I am excited to announce that My Notes 3 will be using JS modules (https://v8.dev/features/modules) under the hood, which is a native feature since Chrome 61.

This aims to provide better structured code, reusability if needed, separation of concerns.

I am against using Typescript or Webpack with Babel, if it's not really necessary, but more importantly, I'd like to distribute My Notes as is, in a readable form, further unprocessed, without any transpiling or minifying which would hinder the code.

At this moment, I have already made a successful transition to JS modules and from now on I am focused on implementing Google Drive.

Feel free to see the branch https://github.com/penge/my-notes/tree/next where you can at any point drop a comment if you'd like, if something is not understood well. As a part of My Notes 3, I am adding more comments to the codebase so you, or contributors, can get around easily.

🙂👍

from my-notes.

penge avatar penge commented on May 24, 2024 2
closed because will not be used
I am not even half way through the prototype and I have to say tiles are f$kncng incredible **:D**

Soon screenshot here.

from my-notes.

penge avatar penge commented on May 24, 2024 1

Hi,

No worries.

I think some kind of backup or export/import could be nice. Google Drive might be a bit out of reach at the moment but what can be done now is this:

  • Manual export that would save all the notes into a zip file
  • Manual import that would read a zip file and import the notes

This could be an intermediate step before having automated backups eventually (stored to Google Drive) but as it can be useful even after then, it could stay.

Edit: Glad you like it :)

from my-notes.

penge avatar penge commented on May 24, 2024 1

A free alternative would be if I pay B from my pocket 😬😄

from my-notes.

penge avatar penge commented on May 24, 2024 1

Unlimited free trial 🤣

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024 1

Oh man that's really great news! Can't wait to see it in action 🔥

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024 1

I have to say. How painful it is to get the extension published:

  • published only during working hours in California 🐻
  • never published on weekends 😡
  • sometimes it takes days (Thursday, Friday, Saturday, Sunday, Monday) 💀
  • not in control how the required permissions are presented (like you want to open My Notes in a new tab, but the extension is presented like it can read browsing history) 😔
  • cannot publish new version if having a pending review (like you wait days for 2.3.1 to be published, and still need to wait for that first, but also, you need to quickly publish 2.3.2 which is long time ready) 😔

I've published 15 versions of My Notes already and what I described I experienced every single time.

My best intentions are just ruined by Google.

I will create the comment again 😁👍

⬇️ ⬇️ ⬇️

Ooohh, that's annoying. Never thought publishing an extension would be that hell of a ride. I thought it was just a simple like publishing on NPM. Well, that's why you deserve a ⭐️ ! Great work! Really looking forward to the next versions.

I was actually happy this morning when I opened my browser, it shows my notes which are quotes to help myself get reminded 👌

from my-notes.

penge avatar penge commented on May 24, 2024 1

So happy to hear that mate !!!! 🙂👍


NPM is definitely better here. I would prefer to take the same kind of responsibility in Web Store, claim what the extension does, and publish it at any moment, and again, TAKE THE RESPONSIBILITY FOR IT.


Because Google:

  • when I provide a fix to something and it takes days to be published, it can look like I don't care 🤷‍♀️😴

  • when I say the extension is for taking notes, but it is claimed as it reads browsing history, it's just terrible to fight against...
    Edit: And I used new Developer Dashboard where I had to justify why I need "tabs" permission which I clearly explained



🕘

It is now 9 PM in California. And I know I have to wait another at least 15 hours to see My Notes 2.3.2 published or not. This Monday. Maybe Tuesday. I can do nothing about it 😔

I am shocked there's no 24/7 when it comes to Google. This is just ridiculous 😃

from my-notes.

penge avatar penge commented on May 24, 2024 1

Love it! Especially the effort! 🙂


closed section as it won't be used

Switch

I like this one the most so I will start with it.

It can look like this:

Type your notes here.




____________________________
Options                    1


1
- current page number, but can also be a name (if renamed)
- on click, My Notes area is replaced with pages to choose from

And after I would click on page 1:




                           1
                           2
                           3
____________________________
Options                    1


1, 2, 3
- displayed as a list, pages on top of each other
- if you click on page number (or name), it is open
- if you double click on page number (or name), you can rename the page
  - confirm its new name with either Enter or click outside
  - if you try to set an empty name, it will be changed back
  - whitespaces before or after the name removed "    Todos  " -> "Todos"
- keyboard shortcuts would open page by their order (1, 2, or 3)

I think this could be it. Simple and provides some new functionality:

  • renaming pages
  • jump to any page

Right now, changing page might be faster but not necessarily better. It comes with some flaws:
1 => 3 or 2 => 1 or 3 => 2 requires two clicks and if done as separate buttons, it is confusing and brings miss-clicks. Keyboard shortcuts would remain the fastest way.

This Switch, I like it.


Image copy

Here, I am not sure what it would be. So, I cover some cases:

  1. Copy image to My Notes text:
    As nice as it could be, it would bring too many changes to deal with, and complexity which I would prefer not do.

  2. Copy image to Google Drive:
    I don't see happening this often or to be user of it but for some it can be really great feature.
    If there would be particular interest in this, I can add it.

  3. Copy image to some folder in My Notes:
    This would be possible with a certain permission (to have storage more than 5 MB), still, I see a better option to just save the image to hard drive.


MD support

Not first time hearing about this. It could be in future.


Slack

https://bitly.com/hellopenge

Slack could be used for support, discussion on what to change, what features to have.

from my-notes.

penge avatar penge commented on May 24, 2024 1
closed because won't be used

Preview of Page switch and Page rename

todos

  • click on current page displays pages to choose from in bottom right, click on current page again closes the list
  • current page is underlined
  • click on page in the list opens the page
  • double click on current page or page in the list allows you to rename the page

Edit:

On the very left of each page, there could be the X button to delete the page.

When X is clicked, confirmation message would be displayed: Delete Todos? Yes, No.

To add a new page there could be silver color "New page" above all pages. If you click or double click that, you would have a new page created that you are just renaming. If you would like to have it name "New page" just by coincidence, you can.

from my-notes.

penge avatar penge commented on May 24, 2024 1

Preview of Google Drive option

options

  • option would be displayed so the user gets familiar with it and also knows what is on the way
  • option is disabled and cannot be clicked or enabled

This would arrive in 2.4 as well with improved contrast for the descriptions (as in picture).

from my-notes.

penge avatar penge commented on May 24, 2024 1

Roadmap


2.4 (Currently published version)


3.0 (Coming next)

  • Can Create, Rename, and Delete notes (before there was 1/3, 2/3, 3/3)

  • Can use Back/Forward buttons in browser to quickly navigate between last open notes (and can use browser's keyboard shortcuts to do so even faster)

  • Can see the name of active note in the Tab

  • Clipboard - a special new note (that can be edited as any other note) that is used to receive the text via My Notes Context menu

  • New Editor and Toolbar - My Notes editor is improved to support HTML and has a new Toolbar that supports: bold, italic, underline, strikethrough, Heading 2, Heading 3, paragraph, horizontal rule, unordered list, ordered list.

  • !!! Google Drive support !!!

    • If enabled, My Notes will create and maintain a backup of notes in your Google Drive

    • Backup can be used to restore the notes if My Notes is reinstalled or installed to another computer under the same Google account

    • Backup is synchronized

      • If you edit the files in Google Drive, My Notes will download them and update the notes

      • If you edit/create the notes between computers, My Notes will download and upload the differences to keep the computers in sync

from my-notes.

penge avatar penge commented on May 24, 2024 1

@jmaicaaan would you like to see optional feature (enabled in Options page with a checkbox) that would everytime you open My Notes, scroll down and put the cursor at the end, so you can start typing?

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024 1

Really excited about the upcoming ones! 🎉

from my-notes.

penge avatar penge commented on May 24, 2024 1
closed because will not be used

Tiles

tiles

😁👍

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024 1

Moving my tile comment on the linked issue!! 😁

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

Btw, love this tool!

from my-notes.

penge avatar penge commented on May 24, 2024

Hi there!

Did you uninstall the plugin and installed it again?
Or have you just received the update and it was gone?
Or have you open notes from other than main computer? (This behavior is changing now, read below)

This is how it works now: (since 2.2)

  • Notes are stored locally in the current computer only
  • To transfer some notes to other computer, a selection of text followed by using the context menu would work (the menu is called Save selection to other devices). There are some requirements:
    • logged into same Google Account (also required before)
    • the other machine is online and My Notes are open (this was not required before)

This is how it worked before: (before 2.2)

  • All notes are stored online
  • All notes can be viewed from other computer, even if turned on later

This sounds like a better experience was before 2.2. At a first sight, yes.

The change that 2.2 brings, is necessary. The reason is that the limit of online storage used before, called Chrome Sync, is only 8 KB per item, or 100 KB in total. This could cause problems in storing the notes once the limit is reached.

2.2 continues to use Chrome Sync only to send small pieces of information between computers, using the content menu as described.

All notes are stored locally now (even those received with content menu), in Chrome Storage Local. This storage has a limit of 5MB which should be more than enough. It is possible to change the limit to be unlimited (hard drive limit) if the extension would require that permission. At this point, I think 5MB is enough for text so the extension works in those limits.

You mentioned reinstalling the plugin. In such case the data would be wiped. This would apply to both local storage (Chrome Storage Local) and online storage (Chrome Storage Sync or just Chrome Sync).

An independent online storage like Google Drive could be best. I check this one.

I am really glad you like the extension. I will continue to make it better! Thanks for the feedback.

from my-notes.

penge avatar penge commented on May 24, 2024

I've done some research on this and the easiest although not available option (as it works for Chrome Apps only, not Chrome Extensions) is, using the Chrome Sync Filesystem API. As said, this option is not applicable to Chrome Extensions and besides that Chrome Apps are being discontinued anyway.

The other option would be to create a trusted server (if you're reading this now, found an other way using Identity API) that would be a part of OAuth 2.0 authentication/authorization sequence. After user would be authorized and permissions would be granted to create a backup in Google Drive, My Notes could manage the backups for itself.

The managing costs for the second option would not be for free, although not any high though as it could be done serverless.

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

Hi,

Apologize for the late reply.

I think Google Drive is probably OK but if the cost is not worth it and not free. I don't think it's good if only a single person is requesting for the feature. I think it's still better to stick within the Google infrastructure but I'm wondering what are the other options you've seen besides from it? Any outstanding? Thank you for the support on this one! I use it on my day to day :)

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

I just had a thought today. Do you think it is possible to prompt the user before uninstalling the plugin if they want to do a manual backup? In that way, users are notified/reminded that they will lost all their files but they can be backup. I hope that's not too much of a work to do. But anything can work for me. I'm down to have one instead of none 👌

from my-notes.

penge avatar penge commented on May 24, 2024

I'd like that. Unfortunately it is not possible due to security reasons. Uninstallation cannot be interrupted by prompt or call to action. It actually makes sence as this kind of control could potentially be misused to prevent the uninstallation.

There are the remaining options:

  1. Manual export/import
  2. Automated backups

As I see it, manual is not something that someone would like to do. Unless transferring data to another computer. There is also a con in not having the most recent backup, which is kind of against the purpose.

On the other hand, Automated backups would beat manual backups in every way. Reasons:

  1. It is up to date
  2. It is saved to Google Drive; can benefit from revisions (can see previous version if needed)

I will check Google Drive further although the running woudn't be for free. Something that could be justified if the extension is priced (with a free trial). But, I am not sure if anyone pays for a software nowdays. Except for Office and Spotify 😃

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

A manual backup is probably OK but not really ideal. I agree with what you said, users don't really like to backup something and that would let the user manage the backups also by themselves which most of the cases, they don't like.

I hope there are still some alternatives that are free. Still hoping! 😄

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

Haha, not really expecting that one 😄but yeah, if most people request it, then I think it's great to go with the priced extension (with a free trial). 😄

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

Yeah, I feel you but I think for now we can't do anything about it. The best thing we can do is just be transparent in the README section or description. I think that's the best thing for now.

Glad to hear on the next of My Notes! Actually last night I was thinking of something... Like we have this page and we can toggle it from the lower right to switch pages. I thought of something like instead of having 3 pages of notes. Can we switch it to multiple notes? See attached image for some of my late night thoughts yesterday 😅

image

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

@penge - Hi!

Regarding the new design for the switch. I was thinking of something like the Google Doc style that acts like cards. Not sure how hard that could it be. But I can offer help designing that in my spare time 😄 I like to try developing with some extensions as well!
image

For the option of Google Drive, I think we can just disable the checkbox if it's toggleable at the moment. Haha, but not really big deal! Wooo excited for that backup 😄

What does the optional feature mean? Not very sure I do understand how it works hehe

from my-notes.

penge avatar penge commented on May 24, 2024
closed because will not be used

haha 😄 nevermind, that feature doesn't make much sense to me as well, won't be used

I decided to use list because:

  • simple
  • minimize mouse movement (short distance)
  • preview text won't be necessary if page has a name

I hope that's fine 😁👍

I'll try again those tiles though, may be better! 😉

from my-notes.

jmaicaaan avatar jmaicaaan commented on May 24, 2024

Really! Love to hear you still did try it! Weee! 👍

from my-notes.

penge avatar penge commented on May 24, 2024

Read about the main posts in this thread below.

How to enable Google Drive

read here

What's new in My Notes 3

read here

from my-notes.

penge avatar penge commented on May 24, 2024

Implemented. Closing. Proceeding to testing.

from my-notes.

penge avatar penge commented on May 24, 2024

@jmaicaaan I think you were interested in Image copy. Check this: #74

Using the dropdown menu to Copy/Paste will work the same as keyboard shortcuts, like CTRL+C and CTRL+V.

from my-notes.

Related Issues (20)

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.