Optional widened main column #402
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#402
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "Riedler/akkoma-fe:wide-columns-for-upstream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this necessitated some major layouting changes, so please tell me if there's anything broken that I didn't catch 😅
part of DNS#1
also, default is for this setting to be on, since I've personally heard only positive feedback for this change, but I wouldn't mind turning it to off if necessary
I don’t know CSS and the frontend specifics well enough to be able to tell which subtle breakages this might or might not bring. But one comment re what’s visible in the screenshots:
This apparently extends the underlay to always cover the whole screen rather than just the area with columns. Personally i have the underlay disabled anyway, but i’ve always assumed it is to distinguish the content area and possibly add some additional damping to the background and make posts more readable with translucent text backgrounds while still showing the background image in its original vibrancy in the padding area. If the underlay just applies to the whole area this purpose gets lost and one might as well just set a pre-mixed background colour or image
I can change that somewhat easily I think, will do that in a bit
the underlay problems should be fixed now
Thanks!
Seems to work fine for me in testing, but as mentioned before i’m not familiar enough with the frontend’s (and in general) CSS to give this a more thorough review
@ -172,6 +172,10 @@ nav {
background-color: rgba(0, 0, 0, 0.15);
background-color: var(--underlay, rgba(0, 0, 0, 0.15));
unrelated to your changes, but do you happen to know why
background-color
is defined twice here? iiuc the second parameter invar
already is a fallback value. Is this for old browsers which don’ŧ supportvar
at all, or something else?I would assume it's for older browers that don't know the
var
syntax, since invalid values get discarded, in which case line 172 would be in effect. At this point though, do we still want to support that? That's basically just for IE11 and other really really ancient browsers.image source: https://caniuse.com/css-variables
I doubt akkoma works on these browsers at all tbh. If not for all of the grid and flex, definitely for our fairly modern javascript (though I'm less knowledgable there, so don't ask me for specifics xD).
Actually there’s one thing: with this patch and wide mode turned off, the TL is slightly narrow than without the patch on non-wide (but not yet mobile) screens, e.g. 5:4
The difference is minute however and i only noticed in direct comparison, so imho nothing to worry about but documenting it here just in case
hmm, the difference is probably due to the changes I made to padding, since the rest should be 1:1 the same as before in terms of width in non-wide mode.
ping - anything I should change to get this merged? Anything else I should do?
For both of your PRs: there are no more remarks/blockers from my side; it seemed fine to me in testing (assuming nothing broke after rebasing) but i’m also not an expert in JS and the frontend and couldn’t merge anyway `^^
well, then who can merge? seems to me that the akkoma team needs more people in the fe department if a PR can be good and still lie dormant for months :/
if only we had a team..
I mean we have like, what, 2 or 3 common contributors and exactly none of them specialise in frontend :(
so
yeah it's sorta hard to manage the fe if I'm honest
Oh, I didn't know the situation is that dire. How does one become the akkoma frontend person?
not sure if there's a formal process, but if someone did want to take on that sort of responsibility, naturally I would fully welcome it and appreciate it massively
I am... only semi-competent at frontend work. I can make a browser do what I want but not brilliantly - so do forgive me if my reviews on these aren't the best, but I'll go through them tomorrow and take a peek
it all works - one thing i did notice is that images are like, incomprehensively massive and take up a good 75% of the screen when this setting is applied, do you think it's worth scaling them down a little to make them a bit more balanced with the text?
pic related
image
@ -61,6 +61,7 @@ const defaultState = {
showNavShortcuts: true,
showWiderShortcuts: true,
sidebarRight: false,
widenTimeline: true,
this should prooooobably be false by default i think
widenTimeline
false by defaultI reduced the maximum image height to a third of what it was before. What do you think?
(random posts for demonstration purposes)
and the default for widenTimeline is false now 😔 no sneakily forcing my UI change onto everyone I guess /j