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

Port Personality Provider from Lawnchair Legacy #4848

Open
wants to merge 9 commits into
base: 14-dev
Choose a base branch
from

Conversation

validcube
Copy link
Contributor

I ported three, tested one, was planning to do it during hacktoberfest, but nevermind, i'm too excited.

Description

I know, my priority suck, I'm finishing #4500 after this

Type of change

❌ General change (non-breaking change that doesn't fit the below categories like copyediting)
❌ Bug fix (non-breaking change which fixes an issue)
✅ New feature (non-breaking change which adds functionality)
❌ Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link
Contributor Author

@validcube validcube left a comment

Choose a reason for hiding this comment

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

Batch

lawnchair/res/values/strings.xml Outdated Show resolved Hide resolved
lawnchair/res/values/strings.xml Outdated Show resolved Hide resolved
lawnchair/res/values/strings.xml Outdated Show resolved Hide resolved
Copy link
Contributor Author

@validcube validcube left a comment

Choose a reason for hiding this comment

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

Extended

Comment on lines +346 to +394
<!-- Personality provider -->
<string name="personality_provider">Contextual messages</string>
<string-array name="smartspace_personality_greetings_morning">
<item>Good morning!</item>
<item>Have a great day!</item>
<item>It’s a beautiful day outside!</item>
<item>Rise and shine!</item>
<item>Top of the morning to you!</item>
<item>Ready to start the day?</item>
</string-array>
<string-array name="smartspace_personality_greetings_morning_subtitles">
<item>Wishing you a pleasant start to your day.</item>
<item>May your day be filled with joy and success.</item>
<item>Don\'t forget to enjoy the sunshine and fresh air.</item>
<item>Time to wake up and make things happen!</item>
<item>A cheerful greeting for a cheerful morning.</item>
<item>Let\'s make today amazing!</item>
</string-array>
<string-array name="smartspace_personality_greetings_evening">
<item>What’s up?</item>
<item>Good evening!</item>
<item>How did your day go?</item>
<item>How was your day?</item>
<item>Evening! How are you?</item>
<item>Hope you had a good day!</item>
</string-array>
<string-array name="smartspace_personality_greetings_evening_subtitles">
<item>Just checking in to see how your evening is going.</item>
<item>Curious to hear about your day\'s adventures.</item>
<item>Hoping your day was productive and fulfilling.</item>
<item>A friendly greeting for a wonderful evening.</item>
<item>Time to unwind and enjoy the rest of your day.</item>
</string-array>
<string-array name="smartspace_personality_greetings_night">
<item>Sleep well!</item>
<item>See you tomorrow!</item>
<item>Good night!</item>
<item>Don’t stay up too late!</item>
<item>Night night!</item>
<item>Sweet dreams!</item>
</string-array>
<string-array name="smartspace_personality_greetings_night_subtitles">
<item>May you have a restful sleep.</item>
<item>Looking forward to seeing you again tomorrow.</item>
<item>Wishing you a peaceful and pleasant night.</item>
<item>Remember to sleep for your health.</item>
<item>A cozy goodnight message for a sweet slumber.</item>
<item>May your dreams be filled with wonder and joy.</item>
</string-array>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please help this is so robotic

Copy link

Choose a reason for hiding this comment

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

I haven't used old lawnchair, but this just shows greetings, right?
In my app I use ones from crdroid: https://raw.githubusercontent.com/crdroidandroid/android_packages_apps_Launcher3/14.0/res/values/cr_strings.xml (those starting with quickspace_grt_). I think bananadroid had some nice ones too.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, will look into it.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe a bad idea, but how about a small ML model to provide greetings?

@validcube validcube marked this pull request as ready for review September 21, 2024 18:44
@validcube validcube changed the title Port PersonalityProvider from Lawnchair Legacy Port Personality Provider from Lawnchair Legacy Sep 21, 2024
@Unofficial-Life
Copy link
Contributor

Unofficial-Life commented Sep 22, 2024

Damn thanks for such a pr I wanted this so bad, but is it working ? I imported the changes on my fork but it doesn't seem to work

Edit : it seems to have bugged the at a glance now it isnt visible

@Unofficial-Life
Copy link
Contributor

image
image
this is what it looks like on other roms launchers based on launcher3

@MrSluffy
Copy link
Member

Thanks for this PR, will review this after launcher3 A15 successfully buildable

@validcube
Copy link
Contributor Author

validcube commented Sep 23, 2024

Damn thanks for such a pr I wanted this so bad, but is it working ? I imported the changes on my fork but it doesn't seem to work

Edit : it seems to have bugged the at a glance now it isnt visible

👋 Thanks for the feedback, I can reproduce this on my end, I'll try to find out what happened. Will draft the PR for now.

The At a Glance widget supposed to be like this

I can't upload the image on GitHub mobile so right now, you can have the “Error while uploading Screenshot_20240924_035703_Lawnchair (Debug).png”

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.

5 participants