#18768 closed defect (fixed)
[Patch] Windows menu needs an own help topic
Reported by: | Hb--- | Owned by: | team |
---|---|---|---|
Priority: | trivial | Milestone: | 20.03 |
Component: | Core | Version: | |
Keywords: | help | Cc: |
Description
Currently the Windows menu lacks of an own help topic. It shares one [1] with the Toggle/Sidebar actions [2] named /Help/ToggleDialogs [3].
Maintenance, context sensitivity and translation are lacking under this bad structure. Help pages with only one topic are best.
So MainMenu.java needs to be changed to create an own target topic [4].
Target should be /Help/Menu/Windows [5].
[1] https://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/gui/MainMenu.java#L405
[2] https://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java#L37
[3] https://josm.openstreetmap.de/wiki/Help/ToggleDialogs
[4] https://josm.openstreetmap.de/wiki/DevelopersGuide/HelpSystem/HelpTopicsList
Attachments (4)
Change History (19)
by , 5 years ago
Attachment: | 18768patch.diff added |
---|
comment:1 by , 5 years ago
Summary: | Windows menu needs an own help topic → [Patch] Windows menu needs an own help topic |
---|
by , 5 years ago
Attachment: | full-path-18768.patch added |
---|
Same patch, starting with directory structure here: https://josm.openstreetmap.de/browser/josm/trunk
comment:3 by , 5 years ago
Milestone: | → 20.03 |
---|
comment:4 by , 5 years ago
Priority: | normal → trivial |
---|
comment:6 by , 5 years ago
Thanks for submitting, but it turns out that my patch was crap. I missed the correct directory structure.
Currently the help topic is /Help/Windows
It needs to be /Help/Menu/Windows
The new patch is attached.
comment:7 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
follow-up: 13 comment:12 by , 5 years ago
Is there an impact for the translated pages? What happens to /ToggleDialogs pages?
Is it enough to add the translation macro to Help/Menu/Windows and create the xx:Help/Menu/Windows pages?
comment:13 by , 5 years ago
Replying to leni:
What happens to /ToggleDialogs pages?
That page remains and is now solely for the Editbar and the Sidebar.
Is it enough to add the translation macro to Help/Menu/Windows and create the xx:Help/Menu/Windows pages?
Yes. But the original page in English is currently incomplete and describes only two parts of the menu. Please see https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/gui/MainMenu.java?rev=16102#L399 for the third group.
Patch to replace /ToggleDialogs with /Help/Menu/Windows/