Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate presets with ↓↑ #4324

Closed
ghost opened this issue Sep 8, 2017 · 20 comments · Fixed by #5304
Closed

Navigate presets with ↓↑ #4324

ghost opened this issue Sep 8, 2017 · 20 comments · Fixed by #5304
Labels
help wanted For intermediate contributors, requires investigation or knowledge of iD code usability An issue with ease-of-use or design

Comments

@ghost
Copy link

ghost commented Sep 8, 2017

When typing a preset name, you can press Enter to accept the top one. It would be convenient to be able to select a different one with the arrow keys.

screenshot_2017-09-08_18-16-16

Pressing ↓ in this case should highlight Huishoudelijkeapparatuurwinkel, pressing again should go to the one below...

@bhousel
Copy link
Member

bhousel commented Sep 8, 2017

Yeah this and also #3047 kind of go together - would be great to fix this 👍

@bhousel bhousel added the usability An issue with ease-of-use or design label Sep 8, 2017
@internetlee
Copy link

Happy to take this one [and related] on. Not sure I completely understand the related referenced issue though.

@internetlee
Copy link

Also, should the arrow key navigation replace the tab and shift+tab navigation through the results, or complement it?

@bhousel
Copy link
Member

bhousel commented Sep 13, 2017

Happy to take this one [and related] on. Not sure I completely understand the related referenced issue though.
Also, should the arrow key navigation replace the tab and shift+tab navigation through the results, or complement it?

I think when the preset list is visible, ideally it should work like:

  • and should navigate through the presets
  • enter and return should select that preset
  • esc should return to the previous screen without changing the preset

screenshot 2017-09-13 09 35 18

@bhousel
Copy link
Member

bhousel commented Oct 1, 2017

Hey @leegenes just checking in - are you working on this issue?

@bhousel bhousel added new contributor opportunity Best for first-time contributors without prior experience. You won’t be assigned; PRs welcome! Hacktoberfest labels Oct 1, 2017
@shadeofgreene
Copy link

I will work on this if no one else does.

@bhousel
Copy link
Member

bhousel commented Oct 5, 2017

Sure @shadeofgreene, go for it!

@internetlee
Copy link

Sorry about that. Been away from the computer for a few weeks unexpectedly. Thanks, for taking it, @shadeofgreene

@bhousel bhousel added help wanted For intermediate contributors, requires investigation or knowledge of iD code and removed new contributor opportunity Best for first-time contributors without prior experience. You won’t be assigned; PRs welcome! labels Oct 12, 2017
@shadeofgreene
Copy link

No problem, let me take a look at it.

@MaciejWWojcik
Copy link
Contributor

What's the progress for this issue? Is there something to do?

@bhousel
Copy link
Member

bhousel commented Feb 28, 2018

What's the progress for this issue? Is there something to do?

Looks like nobody is working on it currently, you can give it a shot @MaciejWWojcik

@MaciejWWojcik
Copy link
Contributor

ok, so I can start coding from master branch?

@bhousel
Copy link
Member

bhousel commented Feb 28, 2018

ok, so I can start coding from master branch?

A good way to stay organized is to do this (you might have done some of these steps already?):

Setup:

Fork your own iD, and make it easy to keep it in sync with ours..

  1. Fork the repo into your personal GitHub account. Now you have your own iD 🎊
  2. Clone your iD to your local machine:
    git clone git@github.com:MaciejWWojcik/iD.git
  3. You'll have a "remote" called origin. You can also add our repo as an "upstream" remote:
    git remote add upstream git@github.com:openstreetmap/iD.git
  4. Never do anything in master. This will be a branch that you just keep in sync with the main iD repo.

Keeping updated

Do these steps sometimes, before you want to work on stuff..

  1. Make sure you are on your master branch:
    git checkout master
  2. Replace your master with whatever is in our master:
    git fetch --all && git reset --hard upstream/master

Working on stuff

Changes go into your own iD, but pull requests go back to ours.

  1. First make sure you are on your master branch:
    git checkout master
  2. Create a working branch (choose a descriptive name) and switch to it :
    git checkout -b <branch-name>
  3. Do some stuff, then commit it:
    edit, git add <files> , git commit .. repeat 🔁as needed..
  4. Push your changes to your own iD:
    git push origin
  5. Go to GitHub for your iD: https://github.com/MaciejWWojcik/iD
  6. GitHub will already know about your recently pushed branch, and ask if you want to create a Pull Request for it. You can have the Pull Request point back to the main upstream iD.

I think that's it! Ping me on Slack if you want to chat about any of this....

@internetlee
Copy link

Also happy to help with questions, too, if bhousel is busy. Just didn't have the time to work on it a while back.

@MaciejWWojcik
Copy link
Contributor

Thanks so much for the answer :) It's very clear for me what to do now. So I'm getting to work

@manfredbrandl
Copy link
Contributor

@bhousel You wrote a great introduction to use git to create a pull request for iD. I would like to see this in CONTRIBUTING.md in the last section "Submitting Changes" (I have to find a better name).
Instructions to delete your branch after the merge should also be available:
$ git push --delete origin <branch_name>
$ git branch -d <branch_name>
Do you want me to create a PR?

@bhousel
Copy link
Member

bhousel commented Aug 18, 2018

Do you want me to create a PR?

Yes please! I'm always happy to merge in improvements to the documentation 😄

@manfredbrandl
Copy link
Contributor

@bhousel PR #5241 added.

@manfredbrandl
Copy link
Contributor

@MaciejWWojcik Do you still plan to work on that issue?

@MaciejWWojcik
Copy link
Contributor

@manfredbrandl not really at this moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted For intermediate contributors, requires investigation or knowledge of iD code usability An issue with ease-of-use or design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants