Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@foxbunny
Copy link
Collaborator

  • Change the order of the sections in markup
  • Use grid to control the layout
  • Improve responsiveness of the main layout
  • Add bypass block link to skip to sidebar (for news, etc.)

@foxbunny foxbunny requested a review from ThiefMaster February 26, 2025 04:26
@foxbunny foxbunny force-pushed the category-kbd-nav-order branch from f0e1f70 to 64fcbed Compare February 26, 2025 04:27
@tomasr8
Copy link
Member

tomasr8 commented Feb 26, 2025

Do you have some before/after screenshots for the main visual changes? Otherwise it's like playing spot 5 differences 😅

One thing I notice is that category title is no longer left-aligned, which is fine, but then I'd align it with the main content

}

.category-container {
font-family: 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this nonsense setting a font not used anywhere else was there for 11 years and nobody noticed... thanks for removing it! :D (it also made me spot some more legacy CSS in this file, such as the li h3 which has been completely unused for 11 years as well)

@foxbunny
Copy link
Collaborator Author

foxbunny commented Feb 28, 2025

Do you have some before/after screenshots for the main visual changes? Otherwise it's like playing spot 5 differences

It shouldn't have any visual changes by default (except maybe accidental). You should see that the category page layout is now responsive compared to before (chops down when screen becomes narrow). The key change is that the focus order is left-to-right as on the screen rather than right-to-left as it was before.

One thing I notice is that category title is no longer left-aligned, which is fine, but then I'd align it with the main content

Oh yeah, I did tuck that in.

@ThiefMaster
Copy link
Member

Could you look into aligning the title more nicely? That's the only thing missing for merging this PR.

@ThiefMaster ThiefMaster force-pushed the category-kbd-nav-order branch from 64fcbed to f6873dc Compare February 28, 2025 14:35
@tomasr8
Copy link
Member

tomasr8 commented Mar 4, 2025

There are some minor margin/padding changes which is fine, but the category list is a bit off-center now which looks a bit off IMO. Can we keep it centered?

@foxbunny
Copy link
Collaborator Author

foxbunny commented Mar 5, 2025

There are some minor margin/padding changes which is fine, but the category list is a bit off-center now which looks a bit off IMO. Can we keep it centered?

Can you point me to the list you're referring to? Also the display size you're testing at. Maybe that's got something to do with it.

@tomasr8
Copy link
Member

tomasr8 commented Mar 5, 2025

This is on master:
image
And this is your branch:
image

Notice that the main content (the category list) has moved to the left. There are also some padding changes. This is on a 2560x1440 screen

@foxbunny
Copy link
Collaborator Author

foxbunny commented Mar 6, 2025

I forgot that sidebar is not there by default, thanks for catching that. I've added the fix for that.

foxbunny and others added 5 commits March 10, 2025 17:28
- Change the order of the sections in markup
- Use grid to control the layout
- Improve responsiveness of the main layout
- Add bypass block link to skip to sidebar (for news, etc.)
This resulted in the sidebar element being rendered, which was ugly
before (but barely visible unless you knew it was there), but now
with this PR it became much more visible
@ThiefMaster ThiefMaster force-pushed the category-kbd-nav-order branch from 6599a92 to b94831b Compare March 10, 2025 16:33
@ThiefMaster ThiefMaster enabled auto-merge (squash) March 10, 2025 16:34
@ThiefMaster ThiefMaster added this to the v3.3 milestone Mar 10, 2025
@ThiefMaster ThiefMaster merged commit 96c8f48 into indico:master Mar 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.