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: remove link description #690

Merged
merged 1 commit into from
Oct 7, 2020
Merged

feat: remove link description #690

merged 1 commit into from
Oct 7, 2020

Conversation

Oxiang
Copy link
Contributor

@Oxiang Oxiang commented Oct 5, 2020

Problem

Hide and skip link description in drawer and link creation modal as GoSearch is put to hold

closes #673
closes #671

Solution

Drawer:

  • Hide the link description
  • Add the announcement for the temporary removal
  • Add in-progress.svg
  • Modify margins

Link Creation Modal:
Skip link description modal during link creation

  • replace setStep() with closeCreateUrlModal() to bypass link description modal

After Screenshots

Drawer - desktop (screenshot is broken down into 2 section by scrolling)

desktop_view_drawer_1
desktop_view_drawer_2

Drawer - mobile (screenshot is broken down into 3 section by scrolling)

mobile_view_drawer_1
mobile_view_drawer_2
mobile_view_drawer_3

Link Creation Modal - desktop

desktop_createlinkmodal_1

after clicking 'create link'

desktop_createlinkmodal_2

Link Creation Modal - mobile

mobile_createlinkmodal_1

after clicking 'create link'

mobile_createlinkmodal_2

- hide link description in drawer
- add announcement in drawer
- skip link description modal on link creation
@Oxiang Oxiang force-pushed the description-removal branch from e67581a to b442650 Compare October 6, 2020 03:24
@Oxiang Oxiang changed the title feat: removed link description feat: remove link description Oct 6, 2020
Copy link
Member

@yong-jie yong-jie left a comment

Choose a reason for hiding this comment

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

lgtm. minor comments

@@ -72,7 +72,7 @@ const CreateUrlModal = ({
const incrementDecorator = (func) => async (...args) => {
const proceed = await func(...args)
if (proceed) {
setStep(step + 1)
Copy link
Member

Choose a reason for hiding this comment

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

can consider just commenting the previous code out so in the future we know what we need to do to restore the old functionality

@Oxiang Oxiang merged commit b589b97 into develop Oct 7, 2020
@Oxiang Oxiang deleted the description-removal branch October 7, 2020 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants