openedx / modular-learning

3 stars 1 forks source link

[Course Search] Trigger Course Search Modal in Course Authoring MFE #199

Closed bradenmacdonald closed 7 months ago

bradenmacdonald commented 8 months ago

"As a course author, I want to search for course content in the UI"

Figma designs

Requirements:

  1. Add the 🔍 icon to the Studio header, and show it only if a new ENV variable / feature flag is enabled. Screenshot 2024-03-07 at 10 46 29 AM
  2. Clicking the 🔍 icon should open the search modal.
  3. If the user is currently in a course context, the current course ID should be passed to the search modal. If the user is on the "home page" of the course authoring MFE or the taxonomy editor or some other place, no course ID should be passed to the search modal.
  4. Write basic tests. Don't spend any time on tests that cover the search results/filters as those parts of the UI will change.

Notes:

rpenido commented 8 months ago

Hi @bradenmacdonald! Should we implement this in a view completely contained in the Studio or use an iframe as we did for the ContentTagsDrawer?

bradenmacdonald commented 8 months ago

@rpenido This should be 100% in the Course Authoring MFE. When I said "Studio header", I meant the "Course Authoring MFE header".