Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
16 Jun 2016 at 09:47 UTC
Updated:
28 Jun 2018 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pashupathi nath gajawada commentedOkay Ill update the README.txt shortly.
Comment #3
cilefen commentedComment #4
joginderpcComment #5
joelpittetCould you explain what you'd propose to add in bullet form and why it would help in the issue summary?
Comment #6
mcjim commentedWould make sense to closely follow https://www.drupal.org/node/2725039#comment-11395903.
Suggestions there closely follow READMEs in classy, stable and stark.
Comment #8
neerajpandey commentedCreated the patch for 8.3.x
Comment #10
neerajpandey commentedComment #11
denutkarsh commented@neerajpandey Thanks for picking this up. I would suggest your the following changes
There should be a blank line at the end.
Comment #12
MaskyS commented@denutkarsh Fixed.
Comment #13
MaskyS commentedComment #14
MaskyS commentedComment #15
denutkarsh commented@kifah-meeran Looks Good, but it's best practice to attach the interdiff with your new patch.
Comment #16
MaskyS commented@denutkarsh Yes, I agree, but I think it's pointless for this case. I only added an extra line :) Can we RTBTC this?
Comment #17
MaskyS commentedUnassigning this because of inactivity from the assigned user and also because this needs review.
Comment #18
utkarsh_malviya commentedGreat!
Comment #19
cilefen commentedREADME's and such must be wrapped to 80 columns.
Comment #20
denutkarsh commented@cilefen Fixed 80 cols violations in this patch and even removed some lines from README.txt.
Comment #21
utkarsh_malviya commented80 cols violation was Fixe by denutkarsh.
interdiff.txt is attached.
Comment #22
tstoecklerThat's not true ?!
Comment #23
MaskyS commentedWell, that surprisingly passed under my nose. Here we go, a new patch with the description of
SevenBartik...Comment #24
MaskyS commentedComment #25
denutkarsh commentedLooks good to me.
Comment #26
denutkarsh commentedComment #27
cilefen commentedLet us have the Bartik maintainer review it.
Comment #29
MaskyS commentedComment #30
denutkarsh commented@kifah-meeran There is something wrong with the patch you submitted.
Comment #31
MaskyS commentedAh yes, something went wrong when editing the patch. Here it is again with the interdiff (between 20 and 31, since 23 failed completely).
Comment #32
gvso80 cols violation
Comment #33
MaskyS commentedThanks for the review. There is no 80 cols violation or wrong theme description now :). Patch and interdiff attached.
Comment #34
gvsoI think 'content' should be indented at the same level as 'Check'
Comment #35
MaskyS commentedThanks @gvso, I have made the changes requested in #34
Comment #36
MaskyS commentedWhoops, forgot to attach patch.
Comment #37
MaskyS commentedComment #39
djouuuuh commentedPatch works as expected :-)
Comment #40
cilefen commentedWhat do these instructions have to do with Bartik? None of the other theme README's include this.
Comment #41
rakesh.gectcrI do agree with @cilefen. We should follow the Standard of how the other core themes have.
Comment #42
leslieg commentedReviewing this as part of SprintWeekend2017
Comment #43
leslieg commentedReviewed the README file in the patch and the extraneous information not found in the other theme's README files has been removed.
I will note that the Issue Summary on this ticket did ask to have that added = "Add a README.txt for the bartik theme that includes instructions on changing Admin theme and changing theme for add / edit node pages."
Comment #44
cilefen commented#5, "why are we doing this?" was never really answered. I guess there is a movement afoot to add READMEs to all the themes. I created a meta issue for that, since this seems a kind of standard that we add READMEs to themes in core now.
I removed from the issue summary the goals of documenting how to change the administration and add/edit theme because these notions are not specific to Bartik. So as per #5, what are the goals of this issue? The current patch does the following things:
If that is really the general idea, somebody please update the meta issue.
Comment #45
xjmNR for #44.
For what it's worth, I think the updated README documentation on this theme looks really great! Concise, clear, and informative. It even answers the question people always have about "what is a bartik". :)
Bartik and Seven are also the only themes that don't have a README:
This might partly be because the other themes are being used as base themes, whereas Bartik and Seven are not as intended to be extended. I think it might be worth adding a one-liner mentioning the base themes as a better starting point for new themes. What do you think?
Comment #47
joelpittetComment #48
kleog commentedCreated a patch.
Comment #50
kleog commentedThis is the patch.
Comment #51
gigiabba commentedSetting it to needs review to run the tests.
Comment #53
gigiabba commentedI've updated the issue as per #44.
@kleog, your patches failed because are a diff against a non existing README.txt file:
error: core/themes/bartik/README.txt: No such file or directory. See lines 3 and 4 of your patches:You made also other mistakes in your patch: no new line at the end of the file and a whitespace at the end of the line
ABOUT BARTIK.Please (re-)read the guide at https://www.drupal.org/node/1319154
By the way, the patch at #41 already fixes the issue.
If somebody else agrees, please update the issue status.
@xjm: maybe could be better to mention that on base themes! Isn't it? ;)
https://www.drupal.org/docs/8/theming-drupal-8/creating-a-drupal-8-sub-t...
Comment #54
kleog commentedHere is the patch with corrections
Comment #55
ivan berezhnov commentedComment #56
kleog commentedhere is the patch for the issue.
Comment #57
senthilmohith commentedComment #58
senthilmohith commentedHi Kleog,
I have reviewed the patch and it seems to be the statements are incorrect. "Bartik is the default administration theme in Drupal8 core. It is defaul theme for all admin Drupal pages.". Bartik is not an administration theme and theming guide URL refers Drupal 7 theming guide "https://www.drupal.org/docs/7/theming". I have created a new patch with the fixes.
Please let me know if there are any updates.
Comment #59
gigiabba commentedHi @kleog and @SenthilMohith,
as I've already stated in my previous comment #53, this issue was already fixed by this patch, posted by @rakesh.gectcr in comment #41.
Remember that every patch should be published alongside the interdiff file.
Comment #60
senthilmohith commentedHi Luigi Abbamonte (gi.ab),
Thanks for the updates. I agree with the patch #41.
Comment #61
dani3lr0se commentedSeems like the majority agree that patch #41 works best. I really like it as well. Also happy that I learned about why Bartik is called Bartik. For what it's worth, I'll also just note that patch #41 applies fine. :)
Comment #63
rakesh.gectcrComment #64
larowlanFrom #45
I don't think this was addressed?
I don't see that in the latest patch?
Comment #65
Revathi Manohar commentedComment #66
gigiabba commented@larowlan see patch #41!
Comment #67
MaskyS commentedHiding everything other than #41 to avoid confusion. @kleog, please don't provide patches when there is no work needed.
Comment #68
MaskyS commentedComment #69
Tanvish Jha commentedThe patch looks good to me.
Comment #70
larowlanfrom #45 still isn't addressed in the patch at #41
Comment #71
snehi commentedCreated a new patch on #41.
Added comment given by @larowlan.
Please review.
Comment #72
larowlanThe comment needs to indicate that bartik is not suitable as a base theme - see comment #45
Comment #74
rick hood commentedA problem with saying that Bartik should not be used as a base theme in the README is that it would conflict with the example of sub-theming here: https://www.drupal.org/docs/7/theming/creating-a-sub-theme ...where Bartik is used as an example. Change the 'Creating a sub-theme' doc page also?
Comment #75
harsha012 commentedplease review the patch
Comment #77
Revathi Manohar commentedHi I reviewed the patch #41.
Comment #78
mohit1604 commentedThanks for the patch. Providing interdiff of patch #75 and #71
Comment #79
shobhit_juyal commentedHello,
The patch needs little fixes. I have attached the snapshot of it and also the updated patch.
Thanks
Comment #80
imalabyaAs mentioned by @xjm, in #45 that Bartik theme is not intended to be used as a base theme. This needs to be mentioned in the README file somewhere.
`Bartik is a flexible, re-colorable theme with many regions and a responsive,
mobile-first layout and is the default theme for Drupal.` to
`Bartik is the default theme for Drupal. Bartik is a flexible, re-colorable theme with 16 regions layout which is responsive and
mobile-first.`
Comment #81
gawaksh commentedThis patch will solve the purpose
Comment #82
gawaksh commentedComment #83
wparkhurst commentedI'm working on this as part of the Nashville 2018 sprint.
Comment #84
thompsizzle commentedWe have re-rolled the patch with these changes.
Comment #85
ecrown commentedI applied this patch to a clean install of 8.6.x and it applied cleanly
also ran this through code sniffer against drupal standards and this passed also
Comment #86
mlsamuelson commentedI've also applied the patch in #84successfully and reviewed the wording. I see nothing amiss.
Comment #87
ecrown commentedattaching the innerdiff for patch #84
Comment #88
gábor hojtsyFirst of all, thanks all for working on this.
@ecrown: that's a full patch not an interdiff.
The current patch still does not mention that Bartik is not intended as a base theme (despite two core committers asking repeatedly, I am the third).
Apart of that this did not read as clean English to me:
1. It repeats Bartik twice very close (not nice, but not a grammar problem)
2. "with 16 regions layout" does not seem like correct English
3. "which is responsive and mobile-first layout" is missing a word
4. The combination of the prior two in the same sentence looks like words overran
5. It says in a sentence at the beiginning and then again at the end that it is the default theme
Packing the same info in much less words without repetition:
The info on themes at the end has this subtheming guide link without any apparent reason. Also the link to the theming guide is not the same URL as in all other 3 themes in core. Why?
Comment #89
priya.chat commentedHi, I have included everything according to review comments, adding a patch here with all possible and required changes. Please review and give your valuable feedback.
Comment #91
priya.chat commentedAgain adding new patch with correction. Please review this one.
Comment #93
priya.chat commentedAdding new patch with all changes. Please review it.
Comment #94
mukeysh commentedI have applied patch. After applying patch readme.txt file created.
Comment #95
mukeysh commentedComment #97
MixologicTestbot Snafu.
Comment #99
Mixologicshould finally be okay.
Comment #104
gábor hojtsyComment #107
gábor hojtsyThanks all, committed! Also marked #2968744: Add README to Bartik Theme a duplicate and credited its contributors.
Comment #108
gábor hojtsy