Repository navigation
feat: create config to display website icon only / name only / icon and name / none on feeds - #4969
Conversation
d28a53d to
162ab6d
Compare
|
I rebase on edge and add some translation. I want to add a The autoloader is weired, why you don't use namespaces ? and why you don't use composer for no-dev dependencies ? |
162ab6d to
0027160
Compare
|
The CSS in your screenshot doesn't seem to make much sense. Looks like it should just be removed completely? |
Please help me to understand you. Which CSS does not make sense? |
|
Given the context that was available at the time, the entire thing. |
|
I have an idea: @sad270 If you would allow I could support here with commits |
It's open source, and my PR is open source too 😁 feels free if you want to contribute. I already add a css class on the 'item website' element with the selected option value if it can help. |
|
I made a commit. Please check. |
|
@math-GH I'm sorry I think I didn't understand what you said. I understand that you want to remove the date on hover, so you need to add the config in a parent element to be able to apply css rules on other column. I don't understand your problem. Why don't you remove the CSS ? If I remove .flux:not(.current):hover .item.title {
background-color: inherit;
}Everything works good for me. And they seems to be useless ? Maybe legacy rules ? Note: I will update and force push my branch. I will rebase your commit and mine to have them after the commit from edge branch. And fix type in french translation ;) |
…nd name / none on feeds
The default display is single line. See #4969 (comment) I greatly prefer multiline but in any case it's not useless at this time. How much added value there is to showing a mere handful of extra chars is certainly debatable though, and I'd also rather just remove those lines. |
ee18531 to
bf1d5f1
Compare
You are right. I reverted it |
|
@Frenzie how do you do to have the view in your comment ? Do you add custom css ? I try différents config' with différents width of screen ? I didn't have your the same behavour you have in your screen. |
|
@Frenzie up ? |
|
@Frenzie I didn't have this behavour by default => #4969 (comment) How did you do (what is your settings) to have this ? If it is custom css, send the custom css you added to have this. I will try to reproduice this and help you to fix it. I didn't understand if my code isn't good or the custom CSS may be updated. |
|
The behavior in #4969 (comment) is the default, not custom. Perhaps you mean you don't have it due to the changes in this PR? |
|
I don't mind changing the behavior if it's a conscious decision. |
|
As far as I can oversee it is okay now |
Two narrow @media rules in base-theme/frss.css predate the configurable topline_website modes from #4969 and force icon-only behavior regardless of the user's Website setting; #8631 partially papered over this for grid-layout entries. Drop the unconditional span-hide and its grid-layout exception, and scope the 40px width cap to .websiteicon (with a comment explaining why it stays at narrow). Co-authored-by: Bjørn A. Andersen <[email protected]>





Closes #4838
Hello, I create this PR in draft, I'm open to review (codestyle, naming, other idea), it's my first real PR (with real code).
To be consistent with existing code for the
topline_thumbnail(I copy it). I didn't use constants forfull,none,nameandiconvalues, but IMHO we should use constant for both config. If you are ok with this I can use constant for website and do the refactor for the thumbnail.I want to create a enum for the values, but it's not available in PHP 7.
I don't know how translation works, I copy/past for all language (in no brain mode !). I see some po/pot files in project, maybe there is a translation tools ? if not I can add french translation in this PR directly.
I didn't run tests and quality tools, my dev env is not working, I will try again later.
Changes proposed in this pull request:
How to test the feature manually:
localhost:8080/i/and check that website icon and label are visible by default.Websitesettings is here.Screenshots
The settings view :
Feed in
fullview (default) :Feed in
noneview :Feed in
iconview :Feed in
nameview :Pull request checklist:
Additional information can be found in the documentation.