Skip to content

Improve the styling of quick tutorial and install keyboard buttons#336

Merged
andrewtavis merged 2 commits intoscribe-org:mainfrom
Femimat:Issue-327
Mar 19, 2025
Merged

Improve the styling of quick tutorial and install keyboard buttons#336
andrewtavis merged 2 commits intoscribe-org:mainfrom
Femimat:Issue-327

Conversation

@Femimat
Copy link
Contributor

@Femimat Femimat commented Mar 18, 2025

Contributor checklist


Description

This fix improves the styling of quick tutorial and install keyboard buttons. These button have been styled to look more like the design graphic shown in the linked issue.

Screenshots

Before After
WhatsApp Image 2025-03-18 at 19 00 37 (1) WhatsApp Image 2025-03-18 at 19 00 36 (2)
WhatsApp Image 2025-03-18 at 19 00 37 (2) WhatsApp Image 2025-03-18 at 19 00 36 (1)
WhatsApp Image 2025-03-18 at 19 00 37 (3) WhatsApp Image 2025-03-18 at 19 00 36
WhatsApp Image 2025-03-18 at 19 00 37 WhatsApp Image 2025-03-18 at 19 00 36 (3)

Related issue

@github-actions
Copy link

Thank you for the pull request! ❤️

The Scribe-Android team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Android rooms once you're in. Also consider attending our bi-weekly Saturday dev syncs. It'd be great to meet you 😊

@github-actions
Copy link

github-actions bot commented Mar 18, 2025

Maintainer Checklist

The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)

  • The linting and formatting workflows within the PR checks do not indicate new errors in the files changed

  • The CHANGELOG has been updated with a description of the changes for the upcoming release and the corresponding issue (if necessary)

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

First PR Commit Check

  • The commit messages for the remote branch should be checked to make sure the contributor's email is set up correctly so that they receive credit for their contribution
    - The contributor's name and icon in remote commits should be the same as what appears in the PR
    - If there's a mismatch, the contributor needs to make sure that the email they use for GitHub matches what they have for git config user.email in their local Scribe-Android repo (can be set with git config --global user.email "GITHUB_EMAIL")

horizontal = 12.dp,
vertical = 10.dp,
).clip(RoundedCornerShape(12.dp))
).clip(RoundedCornerShape(8.dp))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This reduces the shape of the rounded corner making the description show fully. The previous padding of 12 clips the description.

Modifier
.width(51.dp)
.height(31.dp),
.height(17.dp),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Setting the height of the icon to 31 shifts the description of the card a little lower than that of Clickable Item card, making the view inconsistent.

Reducing the height fixes this.

.fillMaxWidth()
.padding(vertical = Dimensions.PaddingLarge),
.padding(vertical = Dimensions.PaddingLarge)
.shadow(Dimensions.ElevationSmall, RoundedCornerShape(Dimensions.PaddingLarge)),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added shadow to the button

@andrewtavis
Copy link
Member

Thanks for the PR, @Femimat! We'll get to the review soon. Looks ready to me :)

@andrewtavis andrewtavis marked this pull request as ready for review March 19, 2025 08:27
@andrewtavis andrewtavis self-requested a review March 19, 2025 08:27
Copy link
Member

@andrewtavis andrewtavis left a comment

Choose a reason for hiding this comment

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

Really great work here, @Femimat! Hope to work with you on another issue soon! Please let us know if another one would be of interest to you 😊

@andrewtavis
Copy link
Member

Change on my end was just a minor reduction of the text size :)

@andrewtavis andrewtavis merged commit 90799c1 into scribe-org:main Mar 19, 2025
5 checks passed
@Femimat
Copy link
Contributor Author

Femimat commented Mar 19, 2025

Really great work here, @Femimat! Hope to work with you on another issue soon! Please let us know if another one would be of interest to you 😊

Sure, I will. Thanks, @andrewtavis!

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.

2 participants