Closed (outdated)
Project:
Drupal core
Version:
9.5.x-dev
Component:
help.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Oct 2009 at 03:07 UTC
Updated:
7 Sep 2022 at 15:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachRoom for improvement:
A good test case is on admin/config/modules.
Comment #2
sunSubscribing for now.
Mentioned a solution in IRC, help_dialog_page($href), circumventing the regular page output + template and just getting the target page callback handler's output into a dialog, and yes, AJAX! :P
Comment #3
robloachGot it through the binded events.....
Comment #5
Bojhan commentedCan anyone tell me what the superior UX is over the current situation - just wondering since its a big change for the help system? also drupal_add_ui sounds terrible.
Comment #6
robloachHi Bojhan. With the current situation, when you click any "More info" link, you're taken to an entirely different page and loose the context of what you're doing. Using a popup window means that you can read the help, while still being on the same page. Jody in #87994: Quit clobbering people's work when they click the filter tips link added draggable and droppable to the dialog box, so even when the window is there, you can move it to the side of the screen so you can read it when you will out the rest of the form.
drupal_add_ui()is just the API's name to add dynamic JavaScript events to the page. It was "drupal_add_jqueryui" before, but tha_sun thought a shorter name for the function might be more appropriate. If you think of something better, it would be great to suggest it in #87994: Quit clobbering people's work when they click the filter tips link. This patch just uses the API to apply the dynamic behaviors to the More Info links.Some room for improvement:
Comment #7
Bojhan commentedAlright, wanted to make sure we where all on the same line. It makes sense, although I believe the experience could be better. For example making it somewhat larger and adding more visual style closer to Overlay.
Comment #8
robloachUpdates to the latest patch in #87994: Quit clobbering people's work when they click the filter tips link.
Comment #10
yoroy commentedAre you sure, bot?
Comment #11
MichaelCole commented#8: 609094.patch queued for re-testing.
Comment #13
robloachThis would not work without drupal_add_action from #87994: Quit clobbering people's work when they click the filter tips link. #647228: Links are needlessly unable to fully participate in D7 AJAX framework features might be a better way around it through through #ajax.
Comment #14
robloachComment #15
nod_Dialog API landing soon #1667742: Add abstracted dialog to core (resolves accessibility bug)
Comment #16
realityloop commentedpossibly related https://drupal.org/node/401460
Comment #17
jhodgdonFeature requests are at this point frozen until 8.1.x.
Comment #31
smustgrave commentedClosing as outdated as the code this issue was solving has gone away/been refactored.
If still an issue please reopen wtih an updated issue summary.
Thanks!