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

profile actions bar reworked into dropdown for mobile only #14205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

awestm
Copy link
Contributor

@awestm awestm commented Dec 10, 2023

No description provided.

@awestm
Copy link
Contributor Author

awestm commented Dec 10, 2023

What the proposed change would look like (also mentioned in #13991):

NewListDesktop
NewListMobile

@awestm
Copy link
Contributor Author

awestm commented Dec 21, 2023

Removed list on desktop as requested.

desktop-list.mp4
mobile-list.mp4

@awestm awestm marked this pull request as ready for review December 21, 2023 19:50
@awestm awestm changed the title profile actions bar reworked into dropdown for mobile and desktop. profile actions bar reworked into dropdown for mobile only Dec 21, 2023
@ornicar ornicar self-assigned this Dec 23, 2023
trans.reportXToModerators.txt(u.username)
)
)
),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like the feature idea, but I hate that all this code is duplicated!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I totally agree, I couldn't find a way to make it more concise since the class names and text content had to be different for each link element. Maybe someone more experienced can help me out.

Alternatively, adding text to each link for desktop and mobile might help solve the issue as originally suggested by @kuba-orlik

@schlawg
Copy link
Collaborator

schlawg commented Feb 4, 2024

@awestm

This is a great change. If you can't spare the bandwidth to see it through let us know and maybe someone else can pick it up.

@awestm
Copy link
Contributor Author

awestm commented Feb 4, 2024

@awestm

This is a great change. If you can't spare the bandwidth to see it through let us know and maybe someone else can pick it up.

Thanks, I just made an attempt at refactoring this. Not sure if there's a nicer way to do this, I'm still new to Scala.

Please let me know what you think, if this is a change that is needed I am very happy to continue to work on it.

@Carbrex
Copy link
Contributor

Carbrex commented Feb 20, 2024

I have made some attempts to fix your pr @awestm . Linking a pr to your fork you might still need to make some changes to _show.scss

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 this pull request may close these issues.

None yet

4 participants