shell icon indicating copy to clipboard operation
shell copied to clipboard

Dashboard Shows Date twice [FEELS LIKE REPETITIVE]

Open Amstel-DEV opened this issue 1 year ago • 4 comments

The Dashboard shows the Day under the clock, but there's already a calender beside the clock, so I feel that there is no need for the clock to show the Day. so I made this tweak.

Image

I Removed the Date under the clock and made the clock to show 12hr time format instead of 24hr format.

Also patched the Calendar section to show the Month and Year.

Amstel-DEV avatar Jun 09 '25 05:06 Amstel-DEV

Inserted this lines before "DayOfWeekRow" in Calendar.qml

    StyledText {
        id: month

        anchors.left: parent.left
        anchors.right: parent.right
        anchors.top: mins.bottom
        anchors.topMargin: Appearance.spacing.normal

        horizontalAlignment: Text.AlignHCenter
        text: Time.format("MMMM, yyyy")
        color: Colours.palette.m3tertiary
        font.pointSize: Appearance.font.size.normal
        font.weight: 500
    }

DateTime.qml

changed this line from id=date section

text: Time.format("ddd, dd")

to:

text: Time.format("A")

Amstel-DEV avatar Jun 09 '25 05:06 Amstel-DEV

My only issue with the calendar tweak is that it makes the dash too vertically tall. Could you try put it to the side (which is what I was originally planning to do but got lazy)?

Thanks for the contributions btw!

soramanew avatar Jun 09 '25 06:06 soramanew

Inserted this lines before "DayOfWeekRow" in Calendar.qml

    StyledText {
        id: month

        anchors.left: parent.left
        anchors.right: parent.right
        anchors.top: mins.bottom
        anchors.topMargin: Appearance.spacing.normal

        horizontalAlignment: Text.AlignHCenter
        text: Time.format("MMMM, yyyy")
        color: Colours.palette.m3tertiary
        font.pointSize: Appearance.font.size.normal
        font.weight: 500
    }

DateTime.qml

changed this line from id=date section

text: Time.format("ddd, dd")

to:

text: Time.format("A")

@soramanew I really like how this looks! Actually tried just adding the month( only thing that was missing ) under the clock, but it really looks more cohesive like this. Date is in the calendar and time is in the clock.

carloslockward avatar Jun 11 '25 15:06 carloslockward

@carloslockward I have yet to push a PR for this as i'm still figuring out if its really good to have the Month & Year on top of calendar or put it in the side of calendar.

welp imma try to do variations of it, as of now i'm busy im proving other dashboard stuffs.

Amstel-DEV avatar Jun 11 '25 15:06 Amstel-DEV