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

Add shadows to menu options for the Settings and About screens #394

Closed
2 tasks done
andrewtavis opened this issue Jan 13, 2024 · 13 comments
Closed
2 tasks done

Add shadows to menu options for the Settings and About screens #394

andrewtavis opened this issue Jan 13, 2024 · 13 comments
Assignees
Labels
design Relates to UX/UI designs feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@andrewtavis
Copy link
Member

Terms

Description

Post #384 we now have all needed elements for the new Scribe menu 🥳 One minor change that's needed is that we need to put a slight shadow under the menu options on the settings screen and the about screen as is present in the installation screen.

Contribution

Happy to work on this myself or support someone who has interest in working on it!

@andrewtavis andrewtavis added feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed design Relates to UX/UI designs labels Jan 13, 2024
@ahdernasr
Copy link

Hi @andrewtavis, I'm interested in working on this if possible.

@andrewtavis
Copy link
Member Author

Would be grateful for the help, @ahdernasr! Let me know if there's anything we can do to support!

@henrikth93
Copy link
Member

I can also help out! @ahdernasr How is it going for you?

@andrewtavis
Copy link
Member Author

Do you have any ideas on this from looking into it, @henrikth93? :)

@henrikth93
Copy link
Member

Do you have any ideas on this from looking into it, @henrikth93? :)

Yes, I think I have found it! I will send you a message on the chat

@henrikth93
Copy link
Member

@ahdernasr I think I have a solution, do you want me to share it with you and you can continue to implement it?

@andrewtavis
Copy link
Member Author

andrewtavis commented Feb 26, 2024

@henrikth93, @SaurabhJamadagni: any ideas on the last bits to be done for this to add shadows under the table views? Would be good to document it if we have a plan :)

@SaurabhJamadagni
Copy link
Collaborator

Pulling the latest changes right now @andrewtavis. Will update soon.

@SaurabhJamadagni
Copy link
Collaborator

I am linking a potentially useful SO post.

One of the suggestions is adding a separate background view to the cell on which we apply the shadow effect. One observation I have from GSoC is that the table view size is dictated by its content. So when we apply a shadow with a y offset, even if it gets applied it could also be getting clipped. Thus, it is not visible.

I am trying to figure out a way to apply the shadow to the table itself instead of the cells. Maybe adding a separate background view to the table could be a solution. But due to the reformatting, I am trying to figure out where that change would go. It's a lot of new code 😅

What do you think @andrewtavis and @henrikth93?

@andrewtavis
Copy link
Member Author

Applying the shadow to the table itself I guess would be the ideally, @SaurabhJamadagni. Thanks for the research and working through all this!

@henrikth93
Copy link
Member

I also believe that adding the shadow to the table itself would be the best. I will try to investigate this as well.

@andrewtavis
Copy link
Member Author

Thanks for looking into this, @henrikth93!

@henrikth93 henrikth93 self-assigned this Mar 23, 2024
@andrewtavis
Copy link
Member Author

Closed by #409 🥳 After extensive discussions on this, we made the decision to remove the menu shadows from the designs and the application. There still will be shadows for all buttons within the app, but table views and views are now flat. This also allows us to resemble a normal Apple application as shadows are uncommon system application menu interfaces.

So many thanks needed here 😊 Thanks @damien-rivet for the thorough explanation and exploration to show us how hard sticking with shadows would be and direct us on a more sustainable path. And thanks @SaurabhJamadagni and @henrikth93 for the deep dives into the code to try to find solutions and the eventual implementation!

We're one step closer to 3.0! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Relates to UX/UI designs feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Archived in project
Development

No branches or pull requests

4 participants