Skip to content
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

Merged
merged 29 commits into from
Nov 9, 2015

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Nov 7, 2015

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.

@ara4n
Copy link
Member Author

ara4n commented Nov 8, 2015

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.

@dbkr
Copy link
Member

dbkr commented Nov 9, 2015

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
@ara4n
Copy link
Member Author

ara4n commented Nov 9, 2015

MatrixChat dnd wrapping fixed by bea6408. Will fix conflicts and merge.

ara4n added a commit that referenced this pull request Nov 9, 2015
Implement reorderable rooms via room tagging.
@ara4n ara4n merged commit 6d9817e into develop Nov 9, 2015
@t3chguy t3chguy deleted the matthew/orderable-roomlist branch May 12, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants