Commit graph

19 commits

Author SHA1 Message Date
Paul
67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
Paul
1fcf4df1ed Fix: System messages would break replies.
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
Paul
57ef8408a6 Fix: Certain languages not loading due to bad map. 2021-07-06 08:56:30 +01:00
Paul
b5a11d5c8f Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul
7bd33d8d34 Run prettier on all files. 2021-07-05 11:23:23 +01:00
bree
3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul
1768264272 Add collapsible section component.
Can now collapse server categories.
Client remembers collapse state, incl. advanced appearance settings.
2021-07-04 15:53:06 +01:00
Paul
098e28113b Fix: Handle defaults before transforming languages.
Remove Hardcore Mode.
2021-07-04 13:02:32 +01:00
Paul
8e0e226ec6 Fix: Defaults / dayjs will not always be present. 2021-07-04 12:46:33 +01:00
bree
a4051330a3
remove most uses of as any in typescript
- replaced many uses of `as any` with another more specific cast `as T`
- filled in missing typed for items that needed to be typed
  - new runtime code was added where necessary to satisfy the new types with comments
- added missing theme variable "sidebar-active" to the Theme variables
- forms using `react-hook-form` are now typechecked
- changed some instances of `target` into `currentTarget` while removing `as any` assertions
2021-07-04 07:09:39 -04:00
Paul
a569f41d1c Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00
Paul
11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00
Paul
99572066c8 Show alternative languages in own list. 2021-06-22 16:37:06 +01:00
Paul
d0b9cf9090 Work on channels, render content of messages. 2021-06-20 17:31:53 +01:00
Paul
89f8ab2694 Use relative imports for dayjs. 2021-06-20 12:55:23 +01:00
Paul
e7d1ada13d Import assets and add PWA. 2021-06-18 19:25:33 +01:00
Paul
27eeb3acd2 Add Redux and reducers.
Load i18n files and add dayjs.
2021-06-18 17:57:08 +01:00
Paul
0cba2b362d Add prettier. 2021-06-18 15:57:08 +01:00
Paul
58821476e6 Add i18n, use default imports for UI. 2021-06-18 15:18:10 +01:00