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

UI polish pr3 #5

Merged
merged 21 commits into from
Apr 13, 2022
Merged

UI polish pr3 #5

merged 21 commits into from
Apr 13, 2022

Conversation

RainingComputers
Copy link
Collaborator

No description provided.

@@ -8,7 +8,7 @@
class=" bg-gray-50 border-gray-200 border-r flex flex-col gap-1 py-5"
style="width: {width}"
data-cy="explorer"
transition:fly={{ x: -400, duration: 350, opacity: 1 }}
transition:fly|local={{ x: -400, duration: 120, opacity: 1 }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why local here?

Copy link
Collaborator Author

@RainingComputers RainingComputers Apr 13, 2022

Choose a reason for hiding this comment

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

Because when we logout (transition to another page), we will have to wait for the panel to close, which impacts UX local will prevent that.

Ref: sveltejs/kit#628 (comment)

@@ -4,7 +4,7 @@

<nav
class="flex flex-row w-full h-12 drop-shadow-card bg-slate-800 items-center px-4 py-7 gap-2"
transition:fly={{ y: -50, duration: 350, opacity: 1 }}
in:fly={{ y: -50, duration: 100, opacity: 1 }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why does it matter? When do we have an out for the toolbar?

Copy link
Collaborator Author

@RainingComputers RainingComputers Apr 13, 2022

Choose a reason for hiding this comment

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

We have an out when we transition to another page (logout), so the user has to wait for the toolbar to out before it goes to the login page, which impacts UX, so changed it to only have in

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh nice - great catch

@alexsanjoseph
Copy link
Collaborator

This one is all yours man. LGTM :)

@RainingComputers RainingComputers merged commit daeaf46 into ui-todos-pr2 Apr 13, 2022
@RainingComputers RainingComputers deleted the ui-polish-pr3 branch April 13, 2022 13:12
@RainingComputers RainingComputers added enhancement New feature or request refactor PRs that refactor code with minor changes to behaviour labels Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor PRs that refactor code with minor changes to behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants