learningequality / learningequality/studio

Refactor the logic that produces recommendations into a utility function

Open
#5,004 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DEV: frontend P2 - normal
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

This is a follow-up task to refactor the logic that produces recommendations currently implemented on the search recommendation UI in Studio.

Description and outcomes

  • We need to extract the logic that produces recommendations into a utility function that can be used for preloading, and also in other areas that need recommended content.

Acceptance Criteria

  • The refactor doesn't introduce any regressions

Assumptions and Dependencies

  • NA

Accessibility Requirements

  • NA

Resources

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the recommendation logic linked in contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchOrBrowseWindow.vue around lines 498-499, then read issue #4044 for context. Trace how the UI currently produces recommendations and where preloading or other recommendation consumers would need the utility. Done means the logic is reusable and existing behavior has no regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.