Problem/Motivation
The help text of the Place block module does not follow the Help text standards as described in https://www.drupal.org/help-text-standards.
Also the description on the Extend page, does not follow the standard and it should not contain the word "Drupal"
The use of Drupal::url()
has been deprecated and needs to be replaced as well.
See #2868989: Replace calls of the deprecated Drupal::url() from update.module for details.
Proposed resolution
Editing the text according to the standard.
Remaining tasks
- Edit the headers in the Uses section
- Edit the Uses descriptions
Add the relevant links is the Uses descriptions- Edit the module description used on the Extend page.
Replace Drupal::url()
User interface changes
This is a UI text change
Comment | File | Size | Author |
---|---|---|---|
#34 | interdiff-29-34.txt | 2.4 KB | gaurav.kapoor |
#34 | 2830833-edit_hook_help_text_for-34.patch | 2.71 KB | gaurav.kapoor |
#29 | interdiff_2830833_23-29.txt | 2.31 KB | JacobSanford |
#29 | 2830833-edit_hook_help_text_for-29.patch | 2.34 KB | JacobSanford |
#23 | interdiff_2830833_18-23.txt | 2.42 KB | JacobSanford |
Comments
Comment #2
ifrikComment #3
FeuerwagenComment #4
FeuerwagenComment #5
shailesh.bhosaleComment #6
shailesh.bhosaleHi @ifrik,
I have updated the help text. Please review the patch.
Thanks.
Comment #8
shailesh.bhosaleComment #10
prash_98 CreditAttribution: prash_98 commentedUploading the patch for review.
Comment #11
prash_98 CreditAttribution: prash_98 commentedAny updates on this issue ?
Comment #12
ifrikComment #13
ifrikPrash_98,
please provide an interdiff for review: https://www.drupal.org/documentation/git/interdiff
And please stop renaming patches. If your work is based on somebody elses initial patch, then please keep the patch name so that others know what's going on. Otherwise it looks like you are discarding the work previously done.
Comment #14
prash_98 CreditAttribution: prash_98 commented@ifrik
Will keep that in mind and like should I provide the interdiff for this one or is there some more work needed on it?
Comment #15
DuaelFrFixing event tag :)
Comment #16
pepegarciag CreditAttribution: pepegarciag at La Drupalera by Emergya commentedThere is something to work here? Or are we just waiting to the interdiff to review it?
Comment #17
pepegarciag CreditAttribution: pepegarciag at La Drupalera by Emergya commentedRework the Uses section with a description list.
Also I have removed some phrase used twice, and leave it only in the description section because it seems to fit there.
Comment #18
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda for OpenSense Labs commentedWHile applying the last patch its was giving a whitespace warning, so removed the whitespace. Also changed '>>' to '>' in the path. Interdiff added.
Comment #19
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commentedHi @dhruveshdtripathi, Thanks for the patch but still some changes were needed for this file
1) Change "To add a block : Administer > Structure > Blocks > Add."
to Administration > Structure > Blocks > Add
2) link of " online documentation for the Place Blocks module." is not working i think it should redirect us on https://www.drupal.org/docs/8/core/modules/block-place/overview
Comment #20
ifrikI think you are looking at the wrong module here. This is should be the help text for the Place Block module, not the Block module.
Comment #21
prash_98 CreditAttribution: prash_98 at Google Summer of Code commentedSo does the above patch require any work?
Comment #22
ifrikYes, it needs work because the text is for the wrong module.
Comment #23
JacobSanfordUpdated text and removed any description and references that describe block module instead of block_place.
Comment #24
JacobSanfordComment #26
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@JacobSanford, Thanks for the patch it works well for me, the link & content change were displayed correctly.
Comment #27
ifrikSorry, but this text does not follow the help text standards as outlined, and the other remaining tasks as described in the issue summary are also still open.
dhwani.addweb, before you RTBC any issue please check the issue summary. This is not only about whether a patch works but whether it does what has been outlined as needs doing.
Comment #28
JacobSanfordApologies for the drive-by patch help. I had a few moments of free time last night and made an incorrect assumption that the review changes in #19 were all that was needed. I will resubmit.
Comment #29
JacobSanfordThe enclosed addresses the "Remaining tasks" items, aside from:
As there are IMHO no relevant links - the single case I created in the 'Uses' section only references the administration toolbar and contextual placement of the 'plus symbol', not routes or external links.
I've rewritten quite a bit of the help text to align with brevity and standards.
Comment #30
ifrikThe use of
Drupal::url()
has been deprecated and needs to be replaced as well.See #2868989: Replace calls of the deprecated Drupal::url() from update.module for details.
Comment #31
ifrikComment #32
ifrikComment #33
ifrikThanks JacobSandford,
this looks pretty good.
(a) The "from" can be a bit misleading, because you can also access the Block Layout page from any page.
(b) The note that you can't place a block on an admin page is good, but it should be plural. Maybe
The Place Blocks module allows you to insert blocks directly on any page, except on administration pages.
In this case, the description in the info file needs to be changed as well.
(c) A nitpick: "by clicking the Place Block link": Labels should always be exactly as the user sees them so block should be with a small "b"
(d) We can tighten up the text a bit by leaving out the "will": "All theme regions then show..." and "Clicking a plus sign button in a region opens..."
(e) I think we need another Use about rearranging the order of blocks. I'm not sure whether it is the desired behaviour that after adding a block the user then is send to the Block layout page, where they can arrange the order of blocks before returning to the page. Something like
Arranging the order: After adding a block, you see the Block layout page, where -if required - you can reorder the blocks in a region and save this new order. You can return to your original page by clicking on the "Back to site" link in the admin tool bar.
In this case, the Block layout page would need a link.
Comment #34
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedComment #35
prash_98 CreditAttribution: prash_98 at Google Summer of Code commentedThis patch applies well and also I guess it is apt now. So changing to RTBC.
Comment #36
ifrikSorry, this patch is not yet ready for RTBC.
@guarav.kapoor: if you only address some of the points raised in a comment please say so when you post a patch, because it clearly needed more work.
@prash_98: The issue summary clearly lists the remaining tasks which are still open. RTBC is not about whether a patch applies - that's already covered by the automated tests. It is about whether the issue raised in the issue summary is actually fixed.
@jacobSandford: If you want to continue working on this issue, then taking it from the patch in #29, would be fine.
Comment #37
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedMy bad , should have mentioned what i have fixed. It's a 3 months old patch , I'll check again and upload a new patch.
@ifrik What do you think is still left in it.
Comment #38
prash_98 CreditAttribution: prash_98 at Google Summer of Code commented@ifrik I thought all the things were fixed. Sorry and Will keep it in mind :)
Comment #40
ifrikThe Place Block module got depreciated so therefore we don't need a help text.