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

Refactor shared folder creation #1953

Merged
merged 14 commits into from
Feb 17, 2022
Merged

Conversation

Tbaut
Copy link
Collaborator

@Tbaut Tbaut commented Feb 16, 2022

closes #1943


Submission checklist:

Layout

  • Change looks good in the desktop web ui
  • Change looks good in the mobile web ui

Theme

  • Components / elements inspected in light mode
  • Components / elements inspected in dark mode

@render
Copy link

render bot commented Feb 16, 2022

@render
Copy link

render bot commented Feb 16, 2022

@render
Copy link

render bot commented Feb 16, 2022

@github-actions github-actions bot added the Type: Bug Fix Added to PRs if they are addressing a bug label Feb 16, 2022
@Tbaut
Copy link
Collaborator Author

Tbaut commented Feb 16, 2022

The test should now pass, note @asnaith that due to my refactoring, the tests aren't as nice as they used to be. For instance to create a shared folder (the helper function that is only used once), I do the following:

  • navigate to the shared folder
  • click on the create button
  • type in a name
  • click on "Create"
  • click on "Cancel" on the next screen, because I don't care about adding any user. I find this step somewhat inelegant.

Copy link
Member

@asnaith asnaith left a comment

Choose a reason for hiding this comment

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

@Tbaut the new modals are working really well and they're a big ux improvement especially on mobile 🚀

The test edits look great too, I pushed a few tiny commits for minor things but that's all. As for the extra step, I don't think it's too inelegant - it's 1 of only 2 valid paths that the user can take at that point of the share flow 🙂.

It did make me realize that we are lacking automated test coverage for adding by name / wallet / address / ens though. I'll create a ticket for that!

@Tbaut Tbaut changed the title Refactor sharing folder creation Refactor shared folder creation Feb 17, 2022
Copy link
Contributor

@FSM1 FSM1 left a comment

Choose a reason for hiding this comment

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

working really nicely 🎉

@FSM1
Copy link
Contributor

FSM1 commented Feb 17, 2022

@Tbaut the new modals are working really well and they're a big ux improvement especially on mobile 🚀

The test edits look great too, I pushed a few tiny commits for minor things but that's all. As for the extra step, I don't think it's too inelegant - it's 1 of only 2 valid paths that the user can take at that point of the share flow 🙂.

It did make me realize that we are lacking automated test coverage for adding by name / wallet / address / ens though. I'll create a ticket for that!

hahah Ryan's staging user is going to have ALL the things shared with him 😂

@Tbaut Tbaut merged commit f645120 into dev Feb 17, 2022
@Tbaut Tbaut deleted the fix/tbaut-link-shared-createion-1943 branch February 17, 2022 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix Added to PRs if they are addressing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shared folder creation should allow link creation right away
4 participants