penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.
https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop
MIT License
242 stars 34 forks source link

Feature Request: Add sort order for created at #401

Closed dagumak closed 2 years ago

dagumak commented 2 years ago

Current sort order says "Newest first", but it's actually the order for last updated. This becomes an issue when I want my note entries in chronological order. If I need to fix a typo in an old entry then it gets resorted to the top which is unexpected since it's not the newest note.

Ideally, it would be nice to have a sort order for creation date and last updated date (ex, created_at, updated_at)

penge commented 2 years ago

Hi @dagumak

I understand. The hardest part will be to name the options well. Let's fix this.

So, now we have:

order-1

Here's what it could look like (Let's call it Suggestion 1):

order-2

Here's what these options mean:

Name          =>  Name asc
Created time  =>  Created at desc
Updated time  =>  Updated at desc
Custom

And here's what it would look like if we use the more descriptive options (Suggestion 2):

order-3

What would you prefer? Suggestions?

dagumak commented 2 years ago

In terms of descriptive naming, I would suggest the following:

Name          =>  Name
Created time  =>  Date Created
Updated time  =>  Date Modified
Custom

As for ASC and DESC, I think that should be a separate dropdown.

penge commented 2 years ago

I curated the options because I didn't find following to be much of use ([1]):

In other words, I found useful to have:

There was no need for asc/desc options basically. Maybe I am wrong and these options are needed. Would you use some of the options from [1]?

dagumak commented 2 years ago

I curated the options because I didn't find following to be much of use ([1]):

  • name desc
  • latest created at the bottom
  • latest modified at the bottom

In other words, I found useful to have:

  • name always asc
  • created always latest first
  • modified always latest first

There was no need for asc/desc options basically. Maybe I am wrong and these options are needed. Would you use some of the options from [1]?

I hear you. When it comes to productivity software, it always boils down to individual user preferences. I agree that latest makes more sense for most cases, but there are always reasons for it to be otherwise.

Here is a suggestion if you want the ascending order curated:

Name          =>  Name
Created time  =>  Recently Created
Updated time  =>  Recently Modified # or "Updated"
Custom
penge commented 2 years ago

Maybe even this simplified version would work:

order-4
dagumak commented 2 years ago

Maybe even this simplified version would work:

order-4

It would work, but it wouldn't indicate the ascending order like you wanted.

penge commented 2 years ago

How about this version?

order-5
dagumak commented 2 years ago

How about this version?

order-5

You can use "Latest Created" or "Created first", but it's a bit redundant to use both in the same sentence. If I read it as: Order by ___ then I think my previous suggestions read better. Ex, Order by Recently Created

penge commented 2 years ago

What would you use with Current order ___? I tried to match that with Current font ___ which is at the top.

penge commented 2 years ago

Hi @dagumak,

just to let you know, this feature is about to be released today. I've opted for "Latest Created" as you suggested, and renamed modified option to "Latest Modified". Thank you the suggestions! Note: English is not my first language so I bit struggle here between: Order/Sort, Order by, Current order, etc, but I believe, if needed, this can be revisited in future. As of now, this feature is ready to be released and labels are simple w/o redundancy.

dagumak commented 2 years ago

Hi @dagumak,

just to let you know, this feature is about to be released today. I've opted for "Latest Created" as you suggested, and renamed modified option to "Latest Modified". Thank you the suggestions! Note: English is not my first language so I bit struggle here between: Order/Sort, Order by, Current order, etc, but I believe, if needed, this can be revisited in future. As of now, this feature is ready to be released and labels are simple w/o redundancy.

@penge Sorry, I missed the last message and didn't respond! Thank you for implementing this, and no problems on the English back and forth.