Commit Graph

9 Commits

Author SHA1 Message Date
Arthur 4a9b31ed77 ENH: remove unnecessary translation labels
Principles of removal:
1. Don't translate common symbols such as mm/s, °C, etc.,
they are the same in most languages.
2. Don't translate professional terminology, such as CoreXY,
   I3, PLA, TPU, HMS, etc.
3. Don't use unicode codes, use symbols instead. Eg. \u2103 -> °C.
   Dont' worry, gettext and modern compilers can recognize them.
4. Fix some encoding warnings (don't use GB2312, use UTF-8 instead).

jira: none

Change-Id: Ifa847d4f32a6f8dcba660ae2026ad09fc914c7fb
2024-03-25 10:42:29 +08:00
liz.li 1cfdf4ae5f FIX: dailytips should not change content frequently when slicing all
jira: STUDIO-5234

Change-Id: Icb7e9c28404d9db8ebed58d937e13f89c5403b5c
2023-11-30 09:51:52 +08:00
liz.li 310e68c34c ENH: modify dailytips collapse & expand interaction
jira: STUDIO-5209、STUDIO-5210

Change-Id: Ifb0b998e5004d4b49390ba5a250eaf4743bf3471
2023-11-22 08:23:38 +08:00
liz.li e46f0cace5 FIX: dailytips window and gcodeviwer legend window size issue
reset to original logic of dailytips and legend window size

jira: new

Change-Id: Iacb016bb222ba3f87317cfbe1f2b003802d773a5
2023-11-09 10:09:10 +08:00
liz.li 05d714814f ENH: dailytips modification
1. modify closing behavior
2. dailytips can adjust self size according to the canvas size. And also adjust
   GodeViewer legend window size
3. fix a button text encoding bug
4. support vertical/horizontal layout(horizontal layout currently not used)

jira: new

Change-Id: I8e0b6e85c455d0608d7388fb441829c1991ad01f
2023-11-09 10:09:10 +08:00
liz.li 0c7f991e5f FIX: dailytips adapts screen scale
jira: STUDIO-5019 STUDIO-5026 STUDIO-5027 STUDIO-5028 STUDIO-5025

Change-Id: I63d3af1870218ba8e0f048a6ef03fb29fabe27cb
2023-11-09 10:09:10 +08:00
liz.li c076fb347e FIX: dailytips display issue
jira: STUDIO-4980、STUDIO-4981

1. STUDIO-4980 fix that there is a incorrect image display in first page of dailytips
2. STUDIO-4981 fix some UI element display issue in dark mode: expand
   button color、image tint color
3. modify some tips content provided by salt.wei

Change-Id: Ie85da2f049b89f0358b19f587ce7aa7cce0164c7
2023-11-09 10:09:10 +08:00
liz.li 5477495d49 ENH: add a duration before slicing complete for showing dailytips
jira: new

Change-Id: I3c30eb45fa99f6c973bac6621f5ddf1de3eb2bfe
2023-11-09 10:09:10 +08:00
liz.li dd666a6313 ENH: refactor DailyTips
jira: new

1. Refactor the UI:
	put dailytips into slicing notification
	add image for dailytips
	adjust Layout and UI control
	adapts retina scale, adapts dark mode color
2. New Features
	ability to expand/collapse the dailytips
	ability to freely go to next/prev page of dailytips
	show a random dailytip each time when begin to slice
	ability to remember the default statet add .
	of whether expand the dailytips
3. Remove original hintNotification related logic

Change-Id: I99bfa8c19c9417d25cb2f6e205f5e66b7680b189
2023-11-09 10:09:10 +08:00