Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Date picker and time picker color by theme #3558

Merged

Conversation

oguzsout
Copy link
Contributor

@oguzsout oguzsout commented Sep 23, 2024

Pull request (PR) checklist

Please check if your pull request fulfills the following requirements:

  • I've read the Contribution Guidelines and my PR doesn't break the rules.
  • I've read and understand the Developer Guidelines.
  • I confirm that I've run the code locally and everything works as expected.
  • My PR includes only the necessary changes to fix the issue (i.e., no unnecessary files or lines of code are changed).
  • 🎬 I've attached a screen recording of using the new code to the next paragraph (if applicable).

Description

  • Opened this pr on this issue, which is related to the theme problem of date and time pickers.

What's changed?

  • I've fixed colors of dialogs
  • I have wrapped it with the proper theme for these colours to work properly
Before After
Screenshot_20240923_154731 Screenshot_20240923_195129
Screenshot_20240923_154744 Screenshot_20240923_195147

Risk factors

...

Does this PR close any GitHub issues? (do not delete)

Troubleshooting GitHub Actions (CI) failures ❌

Pull request checks failing? Read our CI Troubleshooting guide.

@ILIYANGERMANOV ILIYANGERMANOV requested a review from a team September 23, 2024 19:05
Copy link
Collaborator

@ILIYANGERMANOV ILIYANGERMANOV left a comment

Choose a reason for hiding this comment

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

Fix the CI and I'll review, in the meantime let our contributors review 🙏

Copy link
Collaborator

@ILIYANGERMANOV ILIYANGERMANOV left a comment

Choose a reason for hiding this comment

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

Left some comments above

@ILIYANGERMANOV ILIYANGERMANOV added the requested changes Changes are needed. Please, apply them label Sep 23, 2024
@oguzsout
Copy link
Contributor Author

Fix the CI and I'll review, in the meantime let our contributors review 🙏

you want me to do a reformat for detekt? When I do this, more than 200 files appear :) Even if I edit where I made the changes it still gives error.

@ILIYANGERMANOV
Copy link
Collaborator

Fix the CI and I'll review, in the meantime let our contributors review 🙏

you want me to do a reformat for detekt? When I do this, more than 200 files appear :) Even if I edit where I made the changes it still gives error.

Read this https://github.com/Ivy-Apps/ivy-wallet/blob/main/docs/CI-Troubleshooting.md
It shouldn't be 200 errors, only errors in the files that you've changed. You can suppress them or if that's too hard add a baseline (the Gradle task might be broken)

@shamim-emon
Copy link
Member

Fix the CI and I'll review, in the meantime let our contributors review 🙏

you want me to do a reformat for detekt? When I do this, more than 200 files appear :) Even if I edit where I made the changes it still gives error.

@oguzsout I can fix the detekt issues if you want.

@oguzsout
Copy link
Contributor Author

Fix the CI and I'll review, in the meantime let our contributors review 🙏

you want me to do a reformat for detekt? When I do this, more than 200 files appear :) Even if I edit where I made the changes it still gives error.

Read this https://github.com/Ivy-Apps/ivy-wallet/blob/main/docs/CI-Troubleshooting.md It shouldn't be 200 errors, only errors in the files that you've changed. You can suppress them or if that's too hard add a baseline (the Gradle task might be broken)

Yes, I forgot to check here, I will review it again and make the change 🙏

@oguzsout
Copy link
Contributor Author

oguzsout commented Sep 24, 2024

Fix the CI and I'll review, in the meantime let our contributors review 🙏

you want me to do a reformat for detekt? When I do this, more than 200 files appear :) Even if I edit where I made the changes it still gives error.

@oguzsout I can fix the detekt issues if you want.

Thank you very much @shamim-emon , I'm on it now. I'll write to you if I get stuck 🙃

@ivywallet
Copy link
Collaborator

⚠️ Hey @oguzsout, this issue is not approved, yet.
@ILIYANGERMANOV must approve it first.

Also, make sure to read our Contribution Guidelines.

@oguzsout
Copy link
Contributor Author

Since the number of lines of the onCreate method exceeds the restriction specified in rule Detekt, I created the setupApp function. I opened and tested the App and it did not cause any problems. @ILIYANGERMANOV @shamim-emon

@ILIYANGERMANOV
Copy link
Collaborator

Since the number of lines of the onCreate method exceeds the restriction specified in rule Detekt, I created the setupApp function. I opened and tested the App and it did not cause any problems. @ILIYANGERMANOV @shamim-emon

Sounds good. If the Detekt error is in legacy code, feel free to suppres using an annotation

Copy link
Member

@shamim-emon shamim-emon left a comment

Choose a reason for hiding this comment

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

@oguzsout your PR description is missing the section where you have to mention which issue is this PR closing. For reference adding a screenshot below
1

@oguzsout
Copy link
Contributor Author

@oguzsout your PR description is missing the section where you have to mention which issue is this PR closing. For reference adding a screenshot below 1

Actually, I opened this pr for the following issue

@shamim-emon
Copy link
Member

@oguzsout your PR description is missing the section where you have to mention which issue is this PR closing. For reference adding a screenshot below 1

Actually, I opened this pr for the following issue

Yeah and you have to add the issue in PR description like how I had added in provided screenshot.

@ILIYANGERMANOV
Copy link
Collaborator

@oguzsout the issue that you're working on isn't assigned to you. Did you read the contributor guidelines? Lucky for you the assignee haven't completed it in 3 weeks

@ILIYANGERMANOV
Copy link
Collaborator

@oguzsout read the Contribution Guidelines and assign it to yourself

@ILIYANGERMANOV
Copy link
Collaborator

To fix the PR description check you need to push a commit unfortunately

Copy link
Collaborator

@ILIYANGERMANOV ILIYANGERMANOV left a comment

Choose a reason for hiding this comment

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

Found an issue with edge-to-edge

@oguzsout
Copy link
Contributor Author

@oguzsout the issue that you're working on isn't assigned to you. Did you read the contributor guidelines? Lucky for you the assignee haven't completed it in 3 weeks

Since that person didn't do it, I wanted to do it, but I couldn't take it upon myself.

@ILIYANGERMANOV
Copy link
Collaborator

@oguzsout the issue that you're working on isn't assigned to you. Did you read the contributor guidelines? Lucky for you the assignee haven't completed it in 3 weeks

Since that person didn't do it, I wanted to do it, but I couldn't take it upon myself.

In that case, you need to ping me to unassign and then you can take it. We should probably add CI automation for unassigning, as well

Copy link
Collaborator

@ILIYANGERMANOV ILIYANGERMANOV left a comment

Choose a reason for hiding this comment

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

LGTM! Ping me to merge it after the CI pass 🚀

@ILIYANGERMANOV ILIYANGERMANOV added ready to merge 🚀 PR can be merged after the CI pass and removed requested changes Changes are needed. Please, apply them labels Sep 25, 2024
@ILIYANGERMANOV ILIYANGERMANOV merged commit 4aec53f into Ivy-Apps:main Sep 25, 2024
9 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ready to merge 🚀 PR can be merged after the CI pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Date & Time are white in dark team
4 participants