Commit Graph

26 Commits

Author SHA1 Message Date
miruka
240885c32a Fix bad icon_names → icon-names 2019-07-18 04:23:23 -04:00
miruka
ea02ce2316 ES5 → 7: Use enhanced object properties
http://es6-features.org/#PropertyShorthand

Instead of doing {"foo": foo, "bar": bar, ...}, we can just do
{foo, bar} now.

The function parameters of EventHandlers have all been renamed to
camelCase to make use of this, as the JS style conventions intend.
Other functions will follow in a later commit.
2019-07-18 04:17:35 -04:00
miruka
8f53d2e018 Qt 5.12 ES5 → 7: Use "() =>" and array.includes 2019-07-18 03:13:34 -04:00
miruka
902ac250b0 Fix file names to respect conventions
Important markdown/text files: UPPERCASE.ext
QML module dirs, qml files: PascalCase
Python module dirs, py files, js files: snake_case
Everything else (including icons): hyphen-case
2019-07-17 13:40:28 -04:00
miruka
5cc701113e Fix banners, adapt to app width 2019-07-16 08:10:37 -04:00
miruka
d2dfafb4e7 Standardize spacings 2019-07-16 05:29:47 -04:00
miruka
d302a5cf5f Rename bottomElementsHeight to baseElementsHeight 2019-07-16 05:13:19 -04:00
miruka
d5dd1292ff wrap/elide: use Layout.fillWidth when possible 2019-07-16 05:08:27 -04:00
miruka
4b2cbffc83 Auto-set maximumLineCount for elide in HLabel 2019-07-16 04:47:56 -04:00
miruka
751a27157c Add account settings page
Display name change working
2019-07-13 20:15:20 -04:00
miruka
eeea0af4cd Change every QtQuick import versions to 2.12 2019-07-13 05:39:01 -04:00
miruka
a2136dfe3c Rename HButton to HUIButton 2019-07-10 15:03:05 -04:00
miruka
eb9f02df31 Fix text overflowing from compacted HButton 2019-07-10 15:00:34 -04:00
miruka
2ced310ce1 Add initial support for user avatar thumbnails 2019-07-09 21:46:21 -04:00
miruka
0f6474532b Add LGPL license headers 2019-07-07 23:53:08 -04:00
miruka
8dccfffc8b Drop kwargs support for callCoro/callClientCoro 2019-07-07 23:38:37 -04:00
miruka
d26f087df9 More checks to avoid errors on forgetting room 2019-07-07 22:49:28 -04:00
miruka
2170b16175 Rename users.getUser to users.find 2019-07-07 22:41:32 -04:00
miruka
b02fc11903 Remove forgotten rooms from the view 2019-07-07 22:19:45 -04:00
miruka
683ee3e1cf Add HUserAvatar and HRoomAvatar components 2019-07-07 00:24:23 -04:00
miruka
03d9079d63 Show LeftBanner with a generic left text 2019-07-06 23:43:51 -04:00
miruka
d83508742c Replace HStyle singleton by global Theme in Window 2019-07-06 17:50:55 -04:00
miruka
ee4e6470a9 Invite banner (callbacks not implemented yet) 2019-07-05 16:48:30 -04:00
miruka
fde7f4aee6 Move models to their own files 2019-07-04 16:01:44 -04:00
miruka
06c823aa67 Build system, messages support and more 2019-07-02 13:59:52 -04:00
miruka
3344debbbf Start rewriting backend with pyotherside+asyncio 2019-06-27 02:31:03 -04:00