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

feat(links): redesign create URL modal #470

Merged
merged 24 commits into from
Sep 1, 2020
Merged

Conversation

yong-jie
Copy link
Member

@yong-jie yong-jie commented Aug 24, 2020

Problem

The number of links with descriptions and contact details are low. One way we to address this would be to prompt users to add them after creating their links. This PR serves to redesign the create-url-modal to do that.

Closes #399

Solution

  • Prevent modal from closing after url-create-success
  • Introduce the notion of steps within create-url-modal to conditionally show the add-description fields
  • Wire up the add-description reusable widget into create-url-modal via a wrapper component
  • Add 'submit' and 'skip' buttons in add-description stage
  • API call for edit description on submission
  • API call for isSearchable toggle
  • Swap button order in mobile view
  • Display newly-created url in modal
  • Fix the problem where the bottom banner blocks buttons in mobile view
  • Save button should have grey background grey when disabled

Before & After Screenshots

AFTER:
image
image

@yong-jie yong-jie force-pushed the create-url-modal-redesign branch from cf5214c to 5c3980d Compare August 24, 2020 06:42
@yong-jie yong-jie force-pushed the create-url-modal-redesign branch from cc7b629 to aa8fba4 Compare August 31, 2020 14:43
@yong-jie yong-jie marked this pull request as ready for review August 31, 2020 19:09
@yong-jie yong-jie changed the title [WIP] Create url modal redesign Create url modal redesign Aug 31, 2020
Copy link
Contributor

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

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

Consider aggregating your commits so that they are easier to follow in future. Paras, not sentences

@LoneRifle LoneRifle changed the title Create url modal redesign feat(links): redesign create URL modal Sep 1, 2020
@yong-jie yong-jie merged commit 070d340 into develop Sep 1, 2020
@yong-jie yong-jie deleted the create-url-modal-redesign branch September 1, 2020 06:01
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.

Add toggle for public/private links and link description modal after create links
2 participants