Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify all posts page for a quick overview #130

Closed
stefanv opened this issue Aug 26, 2023 · 11 comments · Fixed by #137
Closed

Simplify all posts page for a quick overview #130

stefanv opened this issue Aug 26, 2023 · 11 comments · Fixed by #137
Assignees

Comments

@stefanv
Copy link
Member

stefanv commented Aug 26, 2023

It would be great to be able to get a "bird's eye view" of all the blog posts ever made. Instead of paginating to 5 or 10, we can paginate to a hundred, and make the post list much more condensed (e.g., by removing the abstracts).

https://blog.scientific-python.org/posts/

@alphapapa
Copy link
Contributor

alphapapa commented Sep 30, 2023

@jarrodmillman @stefanv

WIP screenshot

localhost_1313_posts_

@jarrodmillman
Copy link
Member

@tupui Thoughts?

@tupui
Copy link
Member

tupui commented Sep 30, 2023

That's nice! Now the design seems a bit empty/white with the sidebar (I am not a UI designer though), but that can be for a follow up.

@alphapapa
Copy link
Contributor

@tupui Agreed that the sidebar feels a bit empty. We're discussing some changes to the tag cloud in #156. Would welcome your feedback there.

@tupui
Copy link
Member

tupui commented Oct 1, 2023

What about using multiple columns?

@alphapapa
Copy link
Contributor

What about using multiple columns?

Good idea, I'll try that. Thanks.

alphapapa added a commit that referenced this issue Oct 6, 2023
@alphapapa
Copy link
Contributor

alphapapa commented Oct 6, 2023

Just pushed a commit that uses a two-column layout, narrowing to one column on narrower screens. Note that this iteration of it no longer paginates; that could be restored if desired, but we've mentioned disabling that anyway.

Screenshots

localhost_1313_posts_ (1)
localhost_1313_posts_ (2)
localhost_1313_posts_ (3)
localhost_1313_posts_

Let me know what you think. Thanks.

@tupui @jarrodmillman @stefanv

@tupui
Copy link
Member

tupui commented Oct 6, 2023

Looks nice to me 👍

@stefanv
Copy link
Member Author

stefanv commented Oct 6, 2023

I quite like the two column layout. The line separating groups of two is somewhat confusing, though, giving the impression that two blog posts are grouped, so I'd get rid of that.

alphapapa added a commit that referenced this issue Oct 10, 2023
alphapapa added a commit that referenced this issue Oct 10, 2023
@alphapapa
Copy link
Contributor

After further changes, here's what it looks like now:

Details

localhost_1313_posts_ (1)
localhost_1313_posts_

The post entries seemed a bit empty of text, which was especially jarring when adjacent posts shared the same image, so this returns the summaries, while using a smaller, yet still readable font. This also allows the reader more context to decide whether the article would be of interest. (Of course, the font is easily changed; there are numerous ones to choose from on https://fonts.google.com/ This seemed like a good balance of readability, aesthetics, and size.)

The individual article pages still need to be tidied slightly to correspond with the changes on the all-posts page. I'll work on that next.

Please let me know what you think of these most recent changes. Thanks.

@alphapapa alphapapa linked a pull request Oct 10, 2023 that will close this issue
alphapapa added a commit that referenced this issue Oct 13, 2023
alphapapa added a commit that referenced this issue Oct 13, 2023
alphapapa added a commit to scientific-python/scientific-python-hugo-theme that referenced this issue Oct 14, 2023
@alphapapa
Copy link
Contributor

After the latest changes (which includes scientific-python/scientific-python-hugo-theme#289, a change to the theme repo), it looks like this (also visible on the deploy preview):

Front page, "All posts" page, individual post's page

deploy-preview-137--blog-scientific-python-org netlify app_
deploy-preview-137--blog-scientific-python-org netlify app_posts_
deploy-preview-137--blog-scientific-python-org netlify app_scientific-python_dev-summit-1-development-guide_

Included is a minor refactoring of the post list and adjustment to a partial template to allow an argument to toggle the post summary.

Please let me know what you think. Thanks.

@jarrodmillman @stefanv @tupui

stefanv pushed a commit that referenced this issue Oct 14, 2023
* Change: Condense and simplify all-posts page

See <#130>.

* Change: Use two-column layout on /posts

See <#130 (comment)>.

Suggested-by: Pamphile Roy <[email protected]>

* Change: Remove border between rows of posts

* Change: Post summary text color and size

* Tidy: Remove obsoleet code

* Change: Return summaries, float image, etc.

* Change: (.post-summary) Use "Fira Sans" font

* [pre-commit.ci 🤖] Apply code format tools to PR

* Deduplicate summary, minor refactor

* Change: (.post-content) Use "Fira Sans" to match summary

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
jarrodmillman pushed a commit to scientific-python/scientific-python-hugo-theme that referenced this issue Oct 14, 2023
jarrodmillman pushed a commit to jarrodmillman/blog.scientific-python.org that referenced this issue Oct 14, 2023
* Change: Condense and simplify all-posts page

See <scientific-python#130>.

* Change: Use two-column layout on /posts

See <scientific-python#130 (comment)>.

Suggested-by: Pamphile Roy <[email protected]>

* Change: Remove border between rows of posts

* Change: Post summary text color and size

* Tidy: Remove obsoleet code

* Change: Return summaries, float image, etc.

* Change: (.post-summary) Use "Fira Sans" font

* [pre-commit.ci 🤖] Apply code format tools to PR

* Deduplicate summary, minor refactor

* Change: (.post-content) Use "Fira Sans" to match summary

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
alphapapa added a commit that referenced this issue Oct 14, 2023
* Change: Condense and simplify all-posts page (#137)

* Change: Condense and simplify all-posts page

See <#130>.

* Change: Use two-column layout on /posts

See <#130 (comment)>.

Suggested-by: Pamphile Roy <[email protected]>

* Change: Remove border between rows of posts

* Change: Post summary text color and size

* Tidy: Remove obsoleet code

* Change: Return summaries, float image, etc.

* Change: (.post-summary) Use "Fira Sans" font

* [pre-commit.ci 🤖] Apply code format tools to PR

* Deduplicate summary, minor refactor

* Change: (.post-content) Use "Fira Sans" to match summary

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update theme to use main branch

---------

Co-authored-by: Adam Porter <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants