Giter VIP home page Giter VIP logo

Comments (17)

tibbi avatar tibbi commented on May 12, 2024

I actually plan moving the notes into a viewpager, so its possible to swipe between them.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

If you have a lot of notes, that sounds like it could get cumbersome to cycle through. A navigation drawer is another option, although I prefer the drop down menu in this situation.

from simple-notes.

tibbi avatar tibbi commented on May 12, 2024

updated the main view to a viewpager, the dialog is still there if somebody has many notes. Im leaving it like that for now.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

My main motivation for this is that most devices show 2 menu options as icons, and it's kind of awkward not having Rename as an icon. Using a spinner instead a menu item to change notes adds room for one more.

That said, I do like the viewpager quite a bit and will probably use it more often than the spinner, and they would look a bit odd together. So, I'm going to start by just implementing the spinner and see how I like it, but if it feels as weird as I'm anticipating, I'll have more work to do before it's merge-ready.
We'll just have to see.

from simple-notes.

tibbi avatar tibbi commented on May 12, 2024

well you can try it, but I dont guarantee I will like it ;)

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

Yeah, I'm not sure I will like it, either :P

I'll just try it and see how it goes. Worst case scenario I don't like it either and end up throwing it away, but I learned something about spinners.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

Unrelated: It seems like the kotlin android extensions are not null safe, so while I like avoiding findviewbyid, I'm not sure I like the extensions overall.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

Related: I have a working draft, master...smichel17:spinner

NB: This is a WIP. I still need to fix styling, make a couple small bugfixes, and stop abusing onPrepareOptionsMenu. I only committed so you can check it out; I am planning on rebasing.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

@tibbi I'm going to stop here until you get a chance to try it out and see if you'd be interested in merging.

The spinner and pager isn't actually that bad. I also tried removing the pager title strip (but kept swiping), but I didn't like the UX of scrolling in that case.

from simple-notes.

tibbi avatar tibbi commented on May 12, 2024

well I honestly dont like it, it doesnt feel like an android app at all

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

That's a good point, although I don't think it feels bad, either. I have an idea for a UI that will feel more like android. I'll make a quick mockup when I'm off mobile in a sec.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

@tibbi Thoughts on this?

mockup

I'll see if there's a way to hide the name of the active note in the pager title strip to avoid duplication.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

Note: I'm not attached to this particular design. I am just trying to find a way to move the note selection option out of the menu, with a secondary goal of providing a better experience for people who prefer list navigation to swiping.

from simple-notes.

tibbi avatar tibbi commented on May 12, 2024

I dont want any screens before the actual note. I like the current way, theres nothing simpler than a swipe. 99% of users have less than 3 notes, so it really doesnt make sense to complicate it and pretend its a huge app.

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

99% of users have less than 3 notes

If that's true, then I agree that menu navigation is not important. I have 7 notes, although I use only 3 regularly.

from simple-notes.

mueller-ma avatar mueller-ma commented on May 12, 2024

The current design looks good to me:

  1. For people with a few notes they can swipe (pretty fast)
  2. For people with many note they can use the folder icon

However there might be a better solution which fits all

from simple-notes.

smichel17 avatar smichel17 commented on May 12, 2024

@mueller-ma I linked a branch above that's got my first attempt at a solution. @tibbi doesn't like it and I'm not going to force the matter, but that's what I'd do if I had my choice. Note that it's not production ready (there's still a couple bugs and theming to do), but it's ready enough to play around with.

from simple-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.