Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Reimplement breadcrumbs for new room list #4735

Merged
merged 11 commits into from
Jun 10, 2020

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jun 8, 2020

For element-hq/element-web#13635
Based on #4711 Merged

This all-new component handles breadcrumbs a bit more smoothly for the app by always listening to changes even if the component isn't present. This allows the breadcrumbs to remain up to date for when the user re-enables breadcrumbs.

The new behaviour is that we turn breadcrumbs on once the user has a room, and we don't turn it back off for them.

This also introduces a new animation which is more stable and not laggy. though instead of sliding the breadcrumbs pop. This might be undesirable - to be reviewed. it slides now

Animation (sped up for gif size concerns):
breadcrumbs-2 mp4

Animation pre-design-input:
breadcrumbs mp4

turt2live added 3 commits June 8, 2020 17:11
This all-new component handles breadcrumbs a bit more smoothly for the app by always listening to changes even if the component isn't present. This allows the breadcrumbs to remain up to date for when the user re-enables breadcrumbs.

The new behaviour is that we turn breadcrumbs on once the user has a room, and we don't turn it back off for them.

This also introduces a new animation which is more stable and not laggy, though instead of sliding the breadcrumbs pop. This might be undesirable - to be reviewed.
@turt2live turt2live requested a review from a team June 8, 2020 23:16
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good code-wise, thanks!

@turt2live
Copy link
Member Author

@jryans please take another look at 1467191 - this should be what the design team requested, though the duration might get altered a bit.

@turt2live turt2live requested a review from jryans June 9, 2020 21:08
This matches the design, unlike the 300ms which was too fast.
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me, thanks! 😄

@turt2live turt2live merged commit 95b4abb into develop Jun 10, 2020
@turt2live turt2live deleted the travis/room-list/breadcrumbs branch June 10, 2020 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants