miruka
1c23450805
Make events, checkbox, avatars respect radius
2020-03-15 19:08:12 -04:00
miruka
3922903d38
Reduce text colors intensity
2020-03-13 12:11:02 -04:00
miruka
3a2771d138
Change main pane top bar buttons and layout
2020-03-13 01:41:38 -04:00
miruka
5cee0f6c8a
Improve overall theme and pane colors
2020-03-13 01:09:04 -04:00
miruka
05ebe955d0
Fix accentBackground/Element colors
2020-03-12 23:30:58 -04:00
miruka
02d09f405a
Improve MainPane when reduced to minimumSize
2020-03-12 23:17:23 -04:00
miruka
ca53e18e24
Add main pane top bar, improve readability
2020-03-12 22:16:33 -04:00
miruka
1c9604c31a
Add comment about file:// for theme image property
2020-03-10 12:28:22 -04:00
miruka
612c18ac28
Increase display names lightness
2020-03-10 10:04:30 -04:00
miruka
ecfdd8ff23
Glass.qpl: increase bgSaturation
2020-03-10 09:54:01 -04:00
miruka
264c2ab16b
Rename themes
2020-03-10 09:48:51 -04:00
miruka
7c83041f6c
Add new theme
2020-03-10 09:33:02 -04:00
miruka
baac01d1ad
Revise default theme
2020-03-10 08:58:14 -04:00
miruka
77f851c319
Respect uiScale to decide how to align our msgs
2019-12-26 11:12:33 -04:00
miruka
5e26188dfe
Fix & improve EventImage thumbnail sizes
2019-12-20 09:12:16 -04:00
miruka
535e380f40
Remove unused theme supported*PlusSpacing
2019-12-19 19:04:07 -04:00
miruka
b0cf708246
Differentiate invited members in room pane
2019-12-17 09:46:18 -04:00
miruka
88df501f13
Remove now unused pane properties in theme
2019-12-15 15:11:51 -04:00
miruka
4cd4386abe
Improve HScrollableTextArea disabled handling
...
Don't hide text if no disabledText is explicitely set, set opacity
using theme.disableElementsOpacity
2019-12-13 06:24:58 -04:00
miruka
c4ee77ca15
Disable composer/upload button when no permission
2019-12-11 13:54:18 -04:00
miruka
888df282a8
Rename side pane stuff to main pane
2019-12-10 15:17:41 -04:00
miruka
3a3e0e9dbb
Rename some chat components
2019-12-10 15:03:05 -04:00
miruka
66e3a07401
RoomSidePane header buttons background
2019-12-09 12:03:35 -04:00
miruka
06a6a4c08d
Rewrite SidePane using QQC Drawer
...
Cleaner approach, gets rid of the HPage swipe view hack, better
performances, a lot less complex
2019-12-08 14:43:41 -04:00
miruka
956dc52174
Simplify box, tabs and popups size handling
2019-12-07 10:59:43 -04:00
miruka
7235611d54
Refactor SignIn, adjustments to HCheckBox & HBox
2019-12-07 09:38:36 -04:00
miruka
54df551b08
Rename theme "uploadsBar" to "fileTransfer"
2019-12-06 09:22:38 -04:00
miruka
97cf7b6dcd
EventImage: respect uiScale
2019-12-05 10:51:57 -04:00
miruka
34e0ec7c7d
Implement UI zooming
2019-12-04 09:08:38 -04:00
miruka
e4aa3b6572
Handle upload errors
2019-12-02 02:57:47 -04:00
miruka
2fd2806514
Support RoomMessageNotice events
2019-11-30 07:10:48 -04:00
miruka
a01de1f3d6
Add power icons for room members
2019-11-30 05:55:23 -04:00
miruka
dbdb7b9bb0
Make thumbnail min/max size configurable via theme
2019-11-11 05:43:17 -04:00
miruka
8742b7803c
Tabs theme, even/odd color, no gaps between tabs
2019-11-08 10:17:23 -04:00
miruka
7bed1eca30
AddChat page
2019-11-08 10:17:23 -04:00
miruka
c6bb41573f
Add uploadsBar section to theme
2019-11-06 16:14:48 -04:00
miruka
8eca875499
Use new HCircleProgressBar for HBusyIndicator
2019-11-06 14:30:31 -04:00
miruka
f9fd8055f2
Add HCircleProgressBar
2019-11-06 13:49:48 -04:00
miruka
a67d611958
Composer: add an upload button + file dialog
...
Upload not working yet
2019-10-27 15:12:57 -04:00
miruka
d20ab5a348
Refactor EventContent
...
Use proper layouts and get rid of multiple annoyances/bugs like
text-wrapping randomly happening in the middle of words, background
rectangles being too large, a certain binding loop, etc
2019-09-19 15:49:29 -04:00
miruka
4c4d747ecf
Add AudioPlayer & EventAudio
2019-09-17 23:23:47 -04:00
miruka
f19d337817
Move hover preview height from settings to theme
2019-09-17 16:39:45 -04:00
miruka
692749e72f
Support video events, new media player
2019-09-17 16:30:04 -04:00
miruka
ebf6d36c01
Transparent black for hovered avatar background
...
Also add theme property to change it.
2019-09-12 20:04:46 -04:00
miruka
1f58cfeae8
Add GIF pause overlay
2019-09-12 17:27:26 -04:00
miruka
15add6d91c
Confirm account logout and propose exporting keys
...
Key export button callback not implemented yet.
2019-09-09 12:58:13 -04:00
miruka
2f7fbd2621
Profile: fix eliding, increase wide width needed
2019-09-09 11:35:46 -04:00
miruka
31e1daa046
Set placeholder text color for text field and area
2019-09-07 17:00:12 -04:00
miruka
c5bd5a1eb1
Add transparency to typing members bar
2019-09-07 16:55:07 -04:00
miruka
78119d1ef0
Wrap text in <pre>
2019-09-07 14:34:14 -04:00
miruka
6e40f29ebe
Consider preview thumbnails to calculate msg width
...
Also move thumbnails width setting from settings.json to the theme
2019-09-06 23:36:37 -04:00
miruka
164f09c939
Add theme property to control hovered avatar size
2019-09-06 16:14:39 -04:00
miruka
812fc3aff7
Background color for HMenu instead of transparent
2019-09-06 16:11:25 -04:00
miruka
87ff343cc3
Reduce quotes brightness in room subtitles
2019-09-06 14:12:32 -04:00
miruka
9aff5450db
Reduce icons brightness
2019-08-30 20:30:39 -04:00
miruka
92f6274458
Use QtGraphicalEffects.LinearGradient
...
Instead of using a Rectangle and its gradient prop, since there's no
need for the rotation/scale hack and it gives better quality.
2019-08-30 19:21:51 -04:00
miruka
927323909d
Rename "greentext" to "quote"
2019-08-30 12:29:01 -04:00
miruka
3a6ecce4f7
Improve background gradient
2019-08-29 21:06:24 -04:00
miruka
665211a8d3
Increase inputs color saturation
2019-08-28 19:47:28 -04:00
miruka
73af3bd2c5
Reduce button hover/highlight overlay opacity
2019-08-28 19:44:52 -04:00
miruka
ff9f8127d7
UI gradient background, adjust some colors
2019-08-28 19:34:50 -04:00
miruka
e1da7be253
Gray out disabled button icons
2019-08-28 18:32:16 -04:00
miruka
6cda69ad67
Restore icon colors
2019-08-28 18:21:13 -04:00
miruka
4bee87ed5d
Add positive/negativeBackground to theme
2019-08-28 16:41:58 -04:00
miruka
37e762d241
Remove hard-coded colors and cleanup SVG icons
...
Also remove old filled icons pack, and rename the "light-thin" pack to just
"thin".
2019-08-28 16:30:48 -04:00
miruka
18120f5216
Add HProgressBar component
2019-08-28 14:28:20 -04:00
miruka
399a35dacb
Rename SendBox to Composer
2019-08-27 23:03:52 -04:00
miruka
77dbc3a502
Fix accent and input colors
2019-08-27 22:44:41 -04:00
miruka
ebfebbeae1
Improve import keys password popup
2019-08-27 22:43:57 -04:00
miruka
0a0e11e1f4
Rework the LoadingScreen and HBusyIndicator
2019-08-27 19:47:58 -04:00
miruka
0c0ede8b40
Disable buttons when they're loading
2019-08-27 14:21:10 -04:00
miruka
627a186700
Add tooltips to buttons and room invite button
2019-08-22 09:27:41 -04:00
miruka
3082c64666
Show user ID as member tile subtitle
...
Also move member styling in theme to the right place
2019-08-22 05:42:48 -04:00
miruka
437324bd64
Improve HMenu/HMenuItem style
2019-08-21 16:23:22 -04:00
miruka
ed96409645
Split HButton components, add HMenu/HMenuItem
2019-08-21 15:45:13 -04:00
miruka
206f5494c8
Use hsluv for display names & remove hsl funcs
2019-08-21 12:43:07 -04:00
miruka
9332eadbbf
Use hsluv instead of hsla for avatar colors
2019-08-21 12:35:55 -04:00
miruka
6e3924ca4e
Add ListView highlight color to theme
2019-08-21 04:58:53 -04:00
miruka
46e685847f
Replace HInteractiveRectangle by HTiledelegate
2019-08-21 04:39:07 -04:00
miruka
4abf57c8d4
Make HCheckBox themable
2019-08-20 18:31:20 -04:00
miruka
ce128d5ab5
Refactor HButton
2019-08-20 17:41:24 -04:00
miruka
2865d86d19
Refactor SidePane ListView in a flat way
...
Also adjust some colors (accentBackground)
TODO: Repair Filter rooms field
2019-08-18 03:35:28 -04:00
miruka
1663b166c7
HInteractiveRectangle: add missing pressed effect
2019-08-17 17:05:52 -04:00
miruka
7319c8d7b4
Highlight currently select account/room delegate
2019-08-17 16:59:13 -04:00
miruka
5e63331f8b
Increase h6 titles font size
2019-08-17 14:54:34 -04:00
miruka
c7adb5b02f
Show error messages on login screen
2019-08-16 16:30:18 -04:00
miruka
186d42a45e
Change accentText hue
2019-08-16 13:24:48 -04:00
miruka
7d4da8952f
Reduce RoomDelegate opacity for left rooms
2019-08-16 13:04:54 -04:00
miruka
2bb3952225
Show last event time in RoomDelegate
...
Also respect locale for message times
2019-08-16 12:07:22 -04:00
miruka
ea4ba38056
Give pane toolbar a stronger background
2019-08-15 12:06:51 -04:00
miruka
67dde68126
Big performance refactoring & various improvements
...
Instead of passing all sorts of events for the JS to handle and manually
add to different data models, we now handle everything we can in Python.
For any change, the python models send a sync event with their
contents (no more than 4 times per second) to JS, and the QSyncable
library's JsonListModel takes care of converting it to a QML ListModel
and sending the appropriate signals.
The SortFilterProxyModel library is not used anymore, the only case
where we need to filter/sort something now is when the user interacts
with the "Filter rooms" or "Filter members" fields. These cases are
handled by a simple JS function.
We now keep separated room and timeline models for different accounts,
the previous approach of sharing all the data we could between accounts
created a lot of complications (local echoes, decrypted messages
replacing others, etc).
The users's own account profile changes are now hidden in the timeline.
On startup, if all events for a room were only own profile changes, more
events will be loaded.
Any kind of image format supported by Qt is now handled by the
pyotherside image provider, instead of just PNG/JPG.
SVGs which previously caused errors are supported as well.
The typing members bar paddings/margins are fixed.
The behavior of the avatar/"upload a profile picture" overlay is fixed.
Config files read from disk are now cached (TODO: make them reloadable
again).
Pylint is not used anymore because of all its annoying false warnings
and lack of understanding for dataclasses, it is replaced by flake8 with
a custom config and various plugins.
Debug mode is now considered on if the program was compiled with
the right option, instead of taking an argument from CLI.
When on, C++ will set a flag in the Window QML component.
The loading screen is now unloaded after the UI is ready, where
previously it just stayed in the background invisible and wasted CPU.
The overall refactoring and improvements make us now able to handle
rooms with thousand of members and no lazy-loading, where previously
everything would freeze and simply scrolling up to load past events
in any room would block the UI for a few seconds.
2019-08-11 08:27:53 -04:00
miruka
858c9f337d
Add decryption keys import in account settings
2019-07-25 02:43:52 -04:00
miruka
93a6867735
Set own messages color
2019-07-25 00:10:07 -04:00
miruka
b6290ad3c9
Fix SignIn circle buttons colors
2019-07-24 18:41:40 -04:00
miruka
607d1d8f5a
Remove license header from theme file
2019-07-24 18:27:26 -04:00
miruka
de11b53c4e
Copy default theme to user data dir if not exist
2019-07-24 18:14:43 -04:00
miruka
2be23128b1
Fix button hover overlay colors
2019-07-24 16:44:35 -04:00
miruka
c3746fa106
Set display name saturation to match base colors
2019-07-24 16:28:56 -04:00
miruka
9c7a7e256d
Fix green text color
2019-07-24 16:24:46 -04:00
miruka
72eff47012
Adjust/fix header, fields and buttons colors
2019-07-24 16:21:34 -04:00