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: search ui updates #315

Merged
merged 11 commits into from
Jul 28, 2020
Merged

feat: search ui updates #315

merged 11 commits into from
Jul 28, 2020

Conversation

JasonChong96
Copy link
Contributor

@JasonChong96 JasonChong96 commented Jul 27, 2020

Problem

Design changes for GoSearch related features

Solution

Features:

  • isFile icon on search results
  • isFile property is now returned on /search/urls/
  • Email icon on search results
  • For enquiries contact: on search results
  • Clickable email on mobile search result info
  • use <a href> tags to redirect instead of onClick ( This allows users to choose if they want to open in new tab or not )
  • Preview how a link looks like from the user drawer
  • file-icon.svg and link-icon.svg have been moved to the global assets folder as they are used by more than one page
  • Descriptions that are within 200 characters should no longer be cut off
  • Underline link to search faq instead of bold

Before & After Screenshots

AFTER:
Search result (Desktop)
Search result (Mobile)
Preview (Desktop)
Preview (Mobile)

@JasonChong96 JasonChong96 marked this pull request as ready for review July 27, 2020 15:25
@JasonChong96 JasonChong96 requested a review from yong-jie July 27, 2020 15:26
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, one comment

@JasonChong96 JasonChong96 merged commit a451f5c into develop Jul 28, 2020
@JasonChong96 JasonChong96 deleted the ui-fixes-search branch July 28, 2020 06:22
xming13 pushed a commit to xming13/GoGovSG that referenced this pull request Aug 21, 2020
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.

2 participants