Skip to content

Capture Trends data into extension storage - #122

Open
davis118 wants to merge 4 commits into
developfrom
117-capture-trends-into-skedge
Open

davis118 wants to merge 4 commits into
developfrom
117-capture-trends-into-skedge

Conversation

@davis118

@davis118 davis118 commented Sep 16, 2026

Copy link
Copy Markdown

Description

Implements issue #117.
Pulls Skedge's planner-v2 attribute from localStorage,then filters for classes with a selected section. Finally, place into Plasmo storage, in the following format, on page load and localStorage update.

export interface ClassData {
  query: {
    prefix: string;
    number: string;
    profFirst?: string;
    profLast?: string;
    sectionNumbers?: string[];
  };
  semester: string;
}

Testing

  • Compiles and passes lint and format
  • Plasmo Storage stays in sync while I checked some boxes on My Planner
  • Classes with non-selected sections are correctly filtered out

AI Disclosure

Used AI to understand how Plasmo js worlds work, and how the extension environment differs from the regular webpage environment.

Checklist

  • Create this PR
  • Perform final self-review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant