Page MenuHomePhabricator

Create the landing page for the SVG Translate tool
Closed, ResolvedPublic3 Estimated Story Points

Description

Value proposition (why do we need to do this)?

This ticket is for creating the landing page (discover view) for the tool. This is the screen where the user will be able to search for SVG files on Commons. For the purposes of breaking up the technical work into small chunks, this ticket does not cover the search functionality itself but it does include the input field and button.

User interface changes

Mock from prototype:

Logged out
Screen Shot 2018-09-12 at 10.03.09 AM.png (1×2 px, 229 KB)

Interface features:

  • Header
    • Heading: SVG Translate
    • Sub-heading: Help translate text labels on SVG files. Pick a file on commons to get started. This feature is in early testing. Learn more (link TBD) & leave feedback!
    • Login button on top right. Non-functional for this iteration.
  • Input label: File name (without 'File:' prefix) or URL:
  • Input box with placeholder: 100 Years War France 1435.svg (non functional input for this iteration)
  • Button labelled Translate
  • Footer
    • Line 1: Made by the Wikimedia Foundation's Community Tech team
    • Line 2: Licensed under (link to license) · View on GitHub (link to code) · Report a bug · Help (link TBD)
    • Powered by Toolforge logo. Links to ToolForge.
Does this need QA?

Yes

Event Timeline

@Prtksxna Since we are supporting file names and URLs, I think the label on that input should say something like File name (without "File:" prefix) or URL instead of File name from Commons.
Also, as on https://github.com/prtksxna/svgtranslate-prototype/issues/6 you might want to consider making the header smaller and the layout fluid to be consistent.

@Prtksxna OAuth login and language settings will go in a separate ticket to avoid making this too big. I expanded the Interface changes section in the ticket to give you a sense of what I look for.
I think this ticket is ready to be estimated next week.

@Mooeypoo @aezell @Samwilson @MusikAnimal @MaxSem We'll be estimating this ticket in next week's estimation meeting. Let me know if it seems like anything's missing in the ticket description.
FYI this ticket is blocked on two tickets: T202768: Decide the tech stack for the SVG Translate tool and T203711: Prep work for SVG Translate tool.

Niharika set the point value for this task to 3.Sep 18 2018, 11:30 PM
Niharika triaged this task as Medium priority.Oct 9 2018, 11:29 PM

PR merged; thanks @Mooeypoo

This is ready for QA: https://tools.wmflabs.org/svgtranslate-test/

This looks great, Sam. Looks nice in mobile too.

Can we make the tutorial not-dismissible per our conversation yesterday? There is no way to bring it back which isn't great. And sorry, the tutorial wasn't in the ticket description because it was added to the prototype later.

Niharika moved this task from QA to Q2 2018-19 on the Community-Tech-Sprint board.

Looks great!