kasuken / kasuken/LearnStack

Feature: first-class categories and tags

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
10
Forks
0
Avg merge
2h 52m
Merged PRs (30d)
20

Description

Tier 4 — feature idea

Why

Tags are a single comma-separated string on the resource today. There is no tag entity, so there is no autocomplete, no rename, no merge, no "all resources with this tag", and filtering is a LIKE '%tag%' scan that also matches substrings of unrelated tags.

Related: #2 (Categories for the resources).

Evidence
  • LearnStack.Core/Data/Models/LearningResource.cs:36string? Tags
  • LearnStack.Core/Services/LearningResourceService.cs:141-152Tags.ToLower().Contains(term)
Sketch

Tag entity + ResourceTag join table, migration splitting existing strings, autocomplete in ResourceForm, tag chips as filters, tag rename/merge in settings.

Notes

Worth doing before the library grows — the data migration gets harder with volume.

Contributor guide

No contributing guide indexed for this repository

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 by reading LearnStack.Core/Data/Models/LearningResource.cs:36 and LearnStack.Core/Services/LearningResourceService.cs:141-152, then trace ResourceForm and the existing migration setup. Check how current tag strings are stored, searched, and rendered before assessing the entity, join-table, migration, autocomplete, filter, and settings scope. Done means existing tags migrate without loss and the new search, editing, filtering, rename, and merge flows are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, html
Domain
database, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.