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

Hacky Prototype search UI using Instantsearch + Meilisearch [FC-0040] #868

Closed

Conversation

bradenmacdonald
Copy link
Contributor

@bradenmacdonald bradenmacdonald commented Mar 5, 2024

(not meant to be merged)

This is the frontend UI for openedx/edx-platform#34310 ("Proof of Concept: index Studio content using Meilisearch")

It demonstrates a search modal that can be used to search courseware (all courses + all v2 libraries).

It looks like garbage since I'm just using the Instantsearch UI, unmodified. I just want to show the data and results :)

It integrates with tagging, so you can do hierarchical filtering of the content based on tags.

Screenshot 2024-03-05 at 12 08 06 PM

Screenshot 2024-03-05 at 11 57 33 AM

Screenshot 2024-03-05 at 11 59 37 AM

How to use

Follow the instructions on the other PR.

  1. Check out this branch of course-authoring, in development mode (where hot reloading is active).
  2. Open the course authoring MFE, e.g. at http://apps.local.overhang.io:2001/course-authoring/home/
  3. Press the / (forward slash) button on your keyboard. (It turns out there's no way for our Course Authoring MFE to inject a new Button into the Studio header, nor even a new menu item with an onClick handler. So that's what you get for now.)
  4. Search and refine.

Only works in development mode (hot reloading)

I was playing with using TypeScript in MFEs, so the code won't actually build for production. It runs fine in development mode however.

@bradenmacdonald bradenmacdonald requested a review from a team as a code owner March 5, 2024 20:00
@openedx-webhooks
Copy link

Thanks for the pull request, @bradenmacdonald! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Mar 5, 2024
@bradenmacdonald bradenmacdonald changed the title Hacky Prototype search UI using Instantsearch + Meilisearch Hacky Prototype search UI using Instantsearch + Meilisearch [FC-0040] Mar 6, 2024
@bradenmacdonald bradenmacdonald force-pushed the braden/hacky-meilisearch-demo branch from 10e9c97 to 331d45f Compare March 15, 2024 18:36
@bradenmacdonald bradenmacdonald requested a review from a team as a code owner March 15, 2024 18:36
@bradenmacdonald bradenmacdonald force-pushed the braden/hacky-meilisearch-demo branch from de38f95 to 130ab39 Compare March 21, 2024 21:54
@bradenmacdonald
Copy link
Contributor Author

Closing this in favor of #928 and #918 (and more to come).

@openedx-webhooks
Copy link

@bradenmacdonald Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

@bradenmacdonald bradenmacdonald deleted the braden/hacky-meilisearch-demo branch July 12, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants