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

Widgets overhaul #937

Open
papjul opened this issue Apr 14, 2024 · 9 comments
Open

Widgets overhaul #937

papjul opened this issue Apr 14, 2024 · 9 comments
Labels
High effort Issue that requires a lot of effort to be completed Idea Ideas can become new feature or improvement Priority: medium Issues that are specific to some features/users Widgets Anything related. Currently on hold as we work on a global strategy for better widgets
Milestone

Comments

@papjul
Copy link
Collaborator

papjul commented Apr 14, 2024

Please don't report new ideas in comment of this issue, open your own issue!

This is a draft of current ideas for the widgets overhaul, and should give a general idea, but not necessarily our final idea.

Widgets

The number of widgets will be reduced to remove redundancy. Each widget will have a dedicated goal so it will be easier for users to find the widget they need.

  1. All in one: summary/compact widget with all infos (1x2 to 4x5, default layout: 3x5), based on current "Material You - Forecast"

    • First row: weather icon on the left, location name/weather text aligned right.
    • Second row: current temperature with daytime/nighttime temperature smaller below aligned left, hourly forecast on the right
    • Third row: daily forecast in a new card with week day aligned left, and weather icon, daytime/nighttime temperature aligned right. Two lines.
    • Fourth row: two more days in the daily forecast
  2. Short term: Next 24 hour window-fitting chart Have next 24-hours window-fitting graphs widgets #252, depends on Next 24-hour charts for each weather data on homescreen and daily details #13 (default layout: 2x5)

  3. Long term: Daily forecast (default layout: 2x5)

  4. Current conditions: current conditions (1x1 to 2x5, default layout: 1x5): shows something similar to current details in header from main screen in app, based on the same config. Put as many details as can fit in the widget (up to 10 on a 2x5 widget).

  5. Custom: custom text widget, based on current “Text widget” (1x1 to max, no different layout)

  6. Multi: multi locations, maybe in row rather than in column like current multi cities widget, see also discussion in [Widgets] Multicities - Add local time #896 (default layout: 2x5)

  7. Basic: based on current “Material You - Current”, with improvements tracked in Make 'Material You - Current' widget look alike Google's one #316 (default layout: square)

Implementation

  • All widgets can have multiple instances of the same widget to have different config/locations.
  • Uses the Material You theme Allow to use Material you accent color as background in widgets #525
  • Overall, the text size should be higher and easier to read than current widgets where it's rather small
  • It will make use of dynamic layouts from Android >= 12. Below Android versions will default to a "fit-most" layout.

Configuration options

Ideas to keep in mind

Undecided ideas

@papjul papjul added Idea Ideas can become new feature or improvement High effort Issue that requires a lot of effort to be completed Priority: medium Issues that are specific to some features/users labels Apr 14, 2024
@papjul papjul added this to the V7.0.0 milestone Apr 14, 2024
@papjul
Copy link
Collaborator Author

papjul commented Apr 14, 2024

Reserved

@papjul papjul added the Widgets Anything related. Currently on hold as we work on a global strategy for better widgets label Apr 14, 2024
@Cszyn
Copy link

Cszyn commented Jun 8, 2024

image
Please also consider adding a 5x1 option for the clock + daily

@papjul
Copy link
Collaborator Author

papjul commented Jun 8, 2024

It's not yet decided if we will keep clock widgets, I believe it's best to use widgets from your clock app.

I would suggest using a 1x2 clock widget along side widget 1 or 4 as 1x3. What you show in your screenshot is not daily forecast.

@Cszyn
Copy link

Cszyn commented Jun 8, 2024

I and probably some other ppl should appreciate it if it was kept, as the native clock for HyperOS/MIUI does not support smaller ones. Also, the ones with clocks work really well as it is.

Screenshot_2024-06-08-21-55-04-634_com miui home

Edit: wrong image

@papjul
Copy link
Collaborator Author

papjul commented Jun 8, 2024

I believe you should report that you don't find an appropriate clock widget to your clock app maintainers, not to weather app maintainers. An alternative could be to use a better clock app; I'm sure many have widgets that would fit you.

@papjul
Copy link
Collaborator Author

papjul commented Jun 9, 2024

HyperOS/MIUI does not support smaller ones

I'm able to confirm on a HyperOS phone that the default clock apps fit in a 2x1 format

@Cszyn
Copy link

Cszyn commented Jun 10, 2024

I'm running hyperos 1.0.20 EEA rom and I don't see such an option

@papjul
Copy link
Collaborator Author

papjul commented Jun 10, 2024

It's the last widget on the second row of your screenshot. You can resize it to 2x1 as there is a lot of empty space in the default 5x2

@Cszyn
Copy link

Cszyn commented Jun 10, 2024

Is that possible? This is my first MiUI/Hyperos experience and my previous phone was stuck on 10
Screenshot_2024-06-10-07-30-39-893_com.miui.home.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High effort Issue that requires a lot of effort to be completed Idea Ideas can become new feature or improvement Priority: medium Issues that are specific to some features/users Widgets Anything related. Currently on hold as we work on a global strategy for better widgets
Projects
None yet
Development

No branches or pull requests

2 participants