Page MenuHomePhabricator

Lookup functionality
Closed, ResolvedPublic8 Estimated Story Points

Description

as an engineer
I want the lookup functionality to be the same for all times its used
so that don't accidentally recreate the wheel

a/c

Notes

  • Wikit includes lookup, but the api service will need to be plugged into it
  • Query builder did this before, check that :)

https://phabricator.wikimedia.org/T298139
https://phabricator.wikimedia.org/T298149

Event Timeline

karapayneWMDE set the point value for this task to 8.

Task Breakdown:

  • Right now both of these fields are text inputs, the job is to convert them to lookups using the Wikit Lookup component (See usage example in Query Builder [LINK TBD])

Potential Plan of Action:

  1. Inject MediaWiki API client to vue app
  2. Get (item data) into the component through the VueX store
  3. Use the lookup component in & data fetching action in (on input and scroll events):
    • Language input wrapper component T298139
    • Lexical Category input wrapper component T298149