David Sevilla Martin
4c8af1cdf8
common: use AlertState for Alert component data - pass this to AlertManager
...
app.alerts.show() now can take plain object OR AlertState instance - will return AlertState.prototype.key
app.alerts.dismiss() takes AlertState or state key (returned by show())
2020-05-03 17:45:55 -04:00
David Sevilla Martin
4a5a5a9ef0
forum: uncomment discussion list pane methods
2020-05-03 16:41:38 -04:00
David Sevilla Martin
1d83b740d2
forum: pass key to home route with current time to recreate components
2020-05-03 16:05:22 -04:00
David Sevilla Martin
b180cd9daf
common: change mapRoutes from using resolver, and pass vnode attrs
2020-05-03 16:04:38 -04:00
David Sevilla Martin
0302a2c5a7
forum: move DiscussionList component logic into a custom state class
...
Only the state has to be saved to app.cache.discussionList
Cleans up the component class
2020-05-03 16:03:27 -04:00
David Sevilla Martin
bd2850d5ea
common: merge admin & forum Page components
...
Now both extend src/common/components/Page.tsx
Admin component is the exact same as common
Forum component extends common & adds one line
2020-05-03 16:00:00 -04:00
David Sevilla Martin
c5f1e30855
admin: export AdminLinkButtonProps interface
2020-05-03 14:48:21 -04:00
David Sevilla Martin
b00eae1ce9
common: add routeName to component props in mapRoutes
2020-05-03 10:48:33 -04:00
David Sevilla Martin
717e8aa27e
common: fix Button children issue introduced in admin PR
2020-05-03 10:42:25 -04:00
David Sevilla Martin
8b4046fdd4
Update JS dependencies & fix default route if URL has doesn't exist
2020-05-03 09:29:28 -04:00
Alexander Skvortsov
8437e44112
Admin link button typing minor cleanup
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
df08d174ff
Compile dist
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
ef9612f55e
Removed accidential comment
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
14ea7101fc
Prettifier
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
5e6251204b
Added all admin exports to compat
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
c1c2a15b96
Add extensions page
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
6823cdc3b8
Added extension typing to admindata interface
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
8980189917
Removed more outdated license docblocks
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
ea880632e1
Added Appearance page
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
e9ad848530
Fixed settings modal form method typing
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
9a3aec6079
Added permissions page
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
77eefc85c6
Add mail settings page
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
8e9f006c3a
Updated saveSettings to actually save settings
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
b7af59fe43
Fixed select onchange not working
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
b952f6a2bc
Added Basics page
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
2bf190ffab
Mithril/typing redo for upload image button and settings modal
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
5a8eb2f978
Add settings to AdminDate type
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
7756c78805
Explicitly import app in SettingDropdown
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
a344319dde
Update admin's page.tsx
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
c6062019c5
Removed outdated config method from primary and secondary header
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
532e866760
Fixed typing of app data in status widget
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
28f2341430
Typing fix for status widget
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
bfc6ed2e99
LoadingModal typing fix
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
968ece2c61
Widget Cleanup
...
Removed unused Widget (which is duplicate of DashboardWidget), made DashboardWidget abstract
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
d83d082c4a
Removed license docblock that we don't use anywhere else in the frontend
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
8b6f9ddbfe
Change admin route prefix to #, not #!
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
990cdbc571
Ultra-basic admin site (dashboard page only)
2020-05-03 09:26:21 -04:00
Alexander Skvortsov
a7937edac7
common: button typings improvements ( #2139 )
2020-04-30 17:09:43 -04:00
David Sevilla Martin
91522f84c5
lint code
2020-04-20 16:51:44 -04:00
David Sevilla Martin
2c2f6fd4ed
Add less changes from #1950
...
They got lost when I dropped the commits
2020-04-20 15:44:53 -04:00
David Sevilla Martin
81b2f4a74e
Build JS
2020-04-18 09:18:59 -04:00
David Sevilla Martin
11e373f299
Modify JSON prettier configuration, make commands use it, add husky from master branch
2020-04-18 09:12:55 -04:00
Alexander Skvortsov
c1a4f19399
common: add Select component ( #2125 )
2020-04-18 09:07:30 -04:00
David Sevilla Martin
d644b490cd
forum: add Pane util
2020-04-18 09:07:30 -04:00
David Sevilla Martin
5e853aa52d
common: add Navigation component
2020-04-18 09:07:29 -04:00
David Sevilla Martin
84d977f819
forum: add notifications page (used in mobile)
2020-04-18 09:07:29 -04:00
David Sevilla Martin
58164b680a
forum: add EditUserModal component
2020-04-18 09:07:29 -04:00
Alexander Skvortsov
860e91f317
Fix typo in classnames expose-loader import ( #2122 )
2020-04-18 09:07:29 -04:00
David Sevilla Martin
be844519f2
update prettier to v2 & format files
2020-04-18 09:07:29 -04:00
David Sevilla Martin
458045ad33
common: update micromodal
2020-04-18 09:07:28 -04:00