Skip to content

feat: UX change in Author Page #9934

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

Conversation

h3ri0s
Copy link
Contributor

@h3ri0s h3ri0s commented Oct 3, 2024

Closes #9928

Design Changes on the UX Author Page. Changed the position of sort dropper

Technical

The sort drop has been moved down for better visibility.

Testing

Please visit the following page ex: /authors/OL18319A/Mark_Twain

Screenshot

image

Stakeholders

Comment on lines 132 to 133
<div style="display: flex; align-items: center;">
<div style="margin-right: 15px; margin-top:10px ">
Copy link
Member

Choose a reason for hiding this comment

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

Please avoid inline styles :)

@mekarpeles
Copy link
Member

Looks much better, now we just have to clean up our code a bit so we're not using inline styles.

@mekarpeles mekarpeles added the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label Oct 4, 2024
@h3ri0s
Copy link
Contributor Author

h3ri0s commented Oct 6, 2024

I will make the changes and update . Thanks : )

@h3ri0s
Copy link
Contributor Author

h3ri0s commented Oct 11, 2024

Looks much better, now we just have to clean up our code a bit so we're not using inline styles.

Hi, is legacy.less the file where I need to put the CSS?

@mekarpeles
Copy link
Member

https://github.com/internetarchive/openlibrary/blob/377be259788c040a32123ba084d70e20ce612a83/static/css/components/sort-dropper.less is probably a better place than legacy.css as sort-dropper at least deals with the sort dropper

@mekarpeles
Copy link
Member

mekarpeles commented Oct 29, 2024

We also likely want to keep a similar consistent style to book search where it tells us how many results are being returned
Books page
Screenshot 2024-10-28 at 6 13 11 PM

Proposed Author's Page
Screenshot 2024-10-28 at 6 16 07 PM

@mekarpeles
Copy link
Member

@h3ri0s, did you want to make the final css changes (to avoid inline) and we can help you get this one merged in before it goes stale? Good work again and thank you for the contributions!

@h3ri0s h3ri0s force-pushed the 9928/Design/design-change-in-author-page branch from 35a048a to c4846a0 Compare February 3, 2025 18:01
@github-actions github-actions bot removed the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label Feb 3, 2025
@h3ri0s
Copy link
Contributor Author

h3ri0s commented Feb 3, 2025

@h3ri0s, did you want to make the final css changes (to avoid inline) and we can help you get this one merged in before it goes stale? Good work again and thank you for the contributions!

Hi, I’ve updated the UI to place 'Sort by:' near the dropper. Thanks for the support!

@jimchamp jimchamp added the Needs: Response Issues which require feedback from lead label Feb 5, 2025
@mekarpeles mekarpeles merged commit 6897abc into internetarchive:master Apr 15, 2025
4 checks passed
@mekarpeles
Copy link
Member

Nicely done!

Amara777 pushed a commit to Amara777/openlibrary that referenced this pull request Apr 23, 2025
* fix: UX change in Author Page

---------

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

Successfully merging this pull request may close these issues.

Author Search Sort UX
3 participants