-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement reorderable rooms via room tagging. #342
Conversation
Another known issue is that if you de-tag a room by dragging it to 'Conversations' and then tag a different room from 'Conversations' by dragging it elsewhere, the conversations view will update to show neither room. I believe this is because of SYN-513: as the server doesn't relay de-tagging to us, the js-sdk state gets out of sync with the UI and thinks the rooms are still tagged. When the tag operation /does/ cause a UI refresh, it thus shows the wrong UI state. |
…rget size and avoid problems when toggling its hiddenness
Had a chat IRL about the fact that this diverges RoomList controller quite significantly from the react-sdk base: this is something we're trying to address in a broader scope. LGTM once the exception caused by MatrixChat drag/drop wrapping is fixed & conflicts merged. |
…index.js to continue to abuse MatrixChat by directly invoking the showScreen method on it
MatrixChat dnd wrapping fixed by bea6408. Will fix conflicts and merge. |
Implement reorderable rooms via room tagging.
Currently depends on the room tagging branch of matrix-js-sdk, which should hopefully be merged soon (matrix-org/matrix-js-sdk#39).
The only known problem here is that the DnD wrapping on MatrixChat seems to break the Controller mixin, causing:
Uncaught TypeError: window.matrixChat.showScreen is not a function index.js:84
Thoughts welcome on how to resolve that.