Alexander Skvortsov
|
398951f282
|
Fix SubtreeRetainer docblock
|
2020-09-18 22:26:42 +02:00 |
|
Alexander Skvortsov
|
07f04c7ba7
|
Use some for needsRebuild in SubtreeRetainer
|
2020-09-18 22:26:42 +02:00 |
|
Alexander Skvortsov
|
c8d5ca51bb
|
Document AdminApplication location fix
|
2020-09-18 22:26:41 +02:00 |
|
Alexander Skvortsov
|
60dbd3f26c
|
Significantly increase documentation for Component and Fragment
|
2020-09-18 22:26:41 +02:00 |
|
Alexander Skvortsov
|
e7f6e37799
|
Store $scrollParent and $notifications in the component state so we don't need to reobtain them 3 separate times
|
2020-09-18 22:26:41 +02:00 |
|
Alexander Skvortsov
|
27ffeb204e
|
Add AffixedSidebar to compat
|
2020-09-18 22:26:40 +02:00 |
|
Alexander Skvortsov
|
884a5cf3b9
|
Run npm audit fix
|
2020-09-18 22:26:40 +02:00 |
|
Alexander Skvortsov
|
e895ca738d
|
Move setRouteWithForcedRefresh util to common, add it to compat
|
2020-09-18 22:26:40 +02:00 |
|
Alexander Skvortsov
|
f41aec1043
|
Replace stray m.lazyRedraw and m.deferred on Model.js
|
2020-09-18 22:26:09 +02:00 |
|
Alexander Skvortsov
|
4c73d76668
|
Fix SuperTextarea instantiation: provide a DOM element, not a jquery collection
|
2020-09-18 22:26:09 +02:00 |
|
Alexander Skvortsov
|
f67194484b
|
Fix going from one user page directly to another
|
2020-09-18 22:26:08 +02:00 |
|
Alexander Skvortsov
|
c8f47d519d
|
Use the current route when when applying changeSort instead of always going to index
|
2020-09-18 22:26:08 +02:00 |
|
Alexander Skvortsov
|
e9b267a33a
|
Call onRoute before refreshParams, so we can use app.current.get('routeName') in discussion params
|
2020-09-18 22:26:08 +02:00 |
|
Alexander Skvortsov
|
554c72c6db
|
IndexPage: change routeName on app.current
|
2020-09-18 22:26:07 +02:00 |
|
Alexander Skvortsov
|
fb2b0a1d3e
|
Replace leftover m.redraw(true) with m.redraw.sync()
|
2020-09-18 22:26:07 +02:00 |
|
Alexander Skvortsov
|
2ac18a39ed
|
Make routeName available to pages again
|
2020-09-18 22:26:07 +02:00 |
|
Alexander Skvortsov
|
6ed3cb56d4
|
Fix ellipses button on comment post
The subtree retainer should take revealContent into account, so that when revealContent is toggled, it redraws the post
|
2020-09-18 22:26:06 +02:00 |
|
Alexander Skvortsov
|
038744f092
|
Introduce setRouteWithForcedRefresh util
|
2020-09-18 22:26:06 +02:00 |
|
Alexander Skvortsov
|
2edbd4508a
|
Remove unnecessary vnode argument
|
2020-09-18 22:26:06 +02:00 |
|
Alexander Skvortsov
|
a6d4658dff
|
Simplify TextEditor by moving oncreate from the textarea vnode in view to the component itself, and removing the redundant vnode lifecycle hooks (since those can be applied on the component as well)
|
2020-09-18 22:26:05 +02:00 |
|
Alexander Skvortsov
|
955c8121d3
|
Resolve import typo
|
2020-09-18 22:26:05 +02:00 |
|
Alexander Skvortsov
|
fd2dcd38d6
|
format
|
2020-09-18 22:26:05 +02:00 |
|
Alexander Skvortsov
|
520c7e7d0f
|
Made texteditor actual textarea lifecycle methods extensible
|
2020-09-18 22:26:05 +02:00 |
|
Alexander Skvortsov
|
5ec9c52b04
|
formatting fix
|
2020-09-18 22:26:04 +02:00 |
|
Alexander Skvortsov
|
0341e64057
|
Make app.composer.show redraw synchronous, implement promises in reply, edit, and new discussion actions properly
|
2020-09-18 22:26:04 +02:00 |
|
Alexander Skvortsov
|
f1a480d3d7
|
Rename leftover props to attrs. ALthough this piece of code will probably be removed soon as per https://github.com/flarum/core/pull/2263
|
2020-09-18 22:25:42 +02:00 |
|
Alexander Skvortsov
|
aceac88013
|
Store bound handlers in this
|
2020-09-18 22:25:42 +02:00 |
|
Alexander Skvortsov
|
8cc9e18990
|
Fix undefined $scrollParent
|
2020-09-18 22:25:42 +02:00 |
|
Alexander Skvortsov
|
94d3bea53e
|
Fix initAttrs being made static
|
2020-09-18 22:25:41 +02:00 |
|
Alexander Skvortsov
|
9e6cfcf05a
|
Revert fix for opening modal from modal. Will be split to separate PR.
|
2020-09-18 22:25:41 +02:00 |
|
Alexander Skvortsov
|
b8abd2522e
|
Add documentation for withAttr util
|
2020-09-18 22:25:41 +02:00 |
|
Alexander Skvortsov
|
376a00f24f
|
make initAttrs static again
|
2020-09-18 22:25:40 +02:00 |
|
Alexander Skvortsov
|
43bfaa7400
|
Update SubtreeRetainer docblock
|
2020-09-18 22:25:40 +02:00 |
|
Alexander Skvortsov
|
7ba8a7122b
|
Don't pass attrs to this.isProvided unnecessarily
|
2020-09-18 22:25:40 +02:00 |
|
Alexander Skvortsov
|
88bc291c86
|
Don't accept unnecessary vnode arguments in view
|
2020-09-18 22:25:39 +02:00 |
|
Alexander Skvortsov
|
e699ada1cc
|
Don't pass attrs to Modal.content (we forgot to remove it, were experimenting with something else previously)
|
2020-09-18 22:25:39 +02:00 |
|
Alexander Skvortsov
|
2186584878
|
Fix m.route that should be m.route.set
|
2020-09-18 22:25:39 +02:00 |
|
Alexander Skvortsov
|
7beeae6269
|
typo fix
|
2020-09-18 22:25:38 +02:00 |
|
Alexander Skvortsov
|
e0e3d6ecae
|
provide vnode to onupdate where it was actually needed
|
2020-09-18 22:25:38 +02:00 |
|
Alexander Skvortsov
|
f8bc58fd1a
|
format
|
2020-09-18 22:25:38 +02:00 |
|
Alexander Skvortsov
|
764f50f469
|
Re-implement UsersSearchSource highlight logic without overriding vnode.children
|
2020-09-18 22:25:38 +02:00 |
|
Alexander Skvortsov
|
e8485db484
|
Revert removal of "controls" postfix in UserControls
|
2020-09-18 22:25:37 +02:00 |
|
Alexander Skvortsov
|
f017d7afbe
|
Fix method that should have been oncreate initially being made as onupdate
|
2020-09-18 22:25:37 +02:00 |
|
Alexander Skvortsov
|
44c1e91f05
|
Call logic from onupdate in oncreate where relevant
|
2020-09-18 22:25:37 +02:00 |
|
Alexander Skvortsov
|
4b05e0073a
|
Don't accept unnecessary vnode argument where it isn't used
|
2020-09-18 22:25:36 +02:00 |
|
Alexander Skvortsov
|
3764abee51
|
format
|
2020-09-18 22:25:36 +02:00 |
|
Alexander Skvortsov
|
015cedb29d
|
Create new objects with spread when modifying vnode children instead of directly setting children when possible.
|
2020-09-18 22:25:36 +02:00 |
|
Alexander Skvortsov
|
32e9fa1f0b
|
format
|
2020-09-18 22:25:35 +02:00 |
|
Alexander Skvortsov
|
2bdf0d7096
|
More consistent use of bidi (don't unecessarily define value
|
2020-09-18 22:25:35 +02:00 |
|
Alexander Skvortsov
|
b889fa1bbf
|
format
|
2020-09-18 22:25:35 +02:00 |
|