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

Redesign User Diary Page Grid Using Bootstrap Grid and Cards #5125

Open
kcne opened this issue Aug 28, 2024 · 3 comments
Open

Redesign User Diary Page Grid Using Bootstrap Grid and Cards #5125

kcne opened this issue Aug 28, 2024 · 3 comments

Comments

@kcne
Copy link
Contributor

kcne commented Aug 28, 2024

Problem

The current user diary page could benefit from a more organized and user-friendly layout. Navigation through diary entries can be cumbersome, and readability might be improved with a different structure.

Description

Description: I propose redesigning the user diary page by using Bootstrap's grid and card components, which are already part of our existing CSS framework. The main idea is to:

  • Organize diary entries using a grid layout, allowing users to view more entries at once.
  • Display each entry within a Bootstrap card, providing a cleaner and more consistent look.
  • Improve overall readability and navigation.

This idea could also work alongside PR #5121, which addresses text truncation for long diary entries. The redesign would focus on the overall user interface and user experience.

Would love to hear what others think about this approach.

Screenshots

user diaries

Note: This is just initial idea, so I can get feedback what others think about this. If there be some interest i can do mobile view too and enchance this further. Thank you.

@kcne kcne changed the title Redesign User Diary Page Using Bootstrap Grid and Cards Redesign User Diary Page Grid Using Bootstrap Grid and Cards Aug 28, 2024
@AntonKhorev
Copy link
Collaborator

Do you want the entries to look like Open Graph previews, using the same preview images and descriptions?

@kcne
Copy link
Contributor Author

kcne commented Aug 28, 2024

Thanks for the question, @AntonKhorev

The primary goal is to use Bootstrap grid and cards for better organization and readability. I hadn't considered making entries resemble Open Graph previews, but it's an interesting idea.

Currently, the user diary form includes a subject, markdown body, language, and optional lat/long parameters. Implementing Open Graph style previews would require custom code to either extract images from markdown, or introducing some kind of image link input when creating entries. This would certainly add some complexity but could enhance organization and address some of the Open Graph issues.

@AntonKhorev
Copy link
Collaborator

Implementing Open Graph style previews would require custom code to either extract images from markdown

That's what already happening. <meta property="og:image" ...> already has either the first image or the logo if there's none.

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

No branches or pull requests

2 participants