Skip to content

Conversation

@EthanL06
Copy link
Member

@EthanL06 EthanL06 commented Apr 23, 2025

Entire rewrite of UTLP codebase.

Tech stack:

  • WXT
  • Solid.js
  • TypeScript
  • TailwindCSS
  • Corvu (Radix UI equivalent)

Major changes:

  • Bookmarks
  • AI Generated Summary
  • Custom Playback Rate
  • Design revamp
  • Download/Copy Transcript

All of the main code is under src/entrypoints.

src/entrypoints/main.content: contains everything related to the sidebar.
src/entrypoints/injected.content contains everything related to the injected CSS on the website.
src/entrypoints/popup contains everything related to popup
src/entrypoints/background.ts is the background script

@EthanL06 EthanL06 requested a review from doprz April 23, 2025 19:17
Copy link

@Samathingamajig Samathingamajig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few things that jumped out to me

@doprz doprz changed the title feat: rewrite feat!: rewrite Apr 24, 2025
@doprz
Copy link
Member

doprz commented Apr 24, 2025

I've updated the PR title to indicate that it contains breaking changes.

@doprz doprz added the enhancement New feature or request label Apr 24, 2025
@doprz
Copy link
Member

doprz commented Apr 24, 2025

@EthanL06 For such a big PR such as thsi one where you're rewriting most if not all of the codebase, please update your original comment to include the tech stack used and any other major changes you've made please.

@doprz doprz requested a review from a team April 24, 2025 23:47
Copy link
Member

@doprz doprz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refer to my previous comments in addition to updating README.md.
I will be performing a more detailed PR review soon.


const addVTTListener = () => {
if (!isListenerActive) {
browser.webRequest.onBeforeRequest.addListener(requestListener, { urls: ['*://*.la.utexas.edu/*'] }, [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big fan of hardcoding this in. Let's extract this into a const object.

Comment on lines 12 to +15
manifest: {
permissions: ['webRequest', 'tabs'],
name: 'UT Lectures Plus',
description:
'This plugin adds a transcript box (with search) to all LectureOnline and TowerLA lectures from UT Austin! Studying has never been easier.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be a good idea to import this from package.json

@doprz
Copy link
Member

doprz commented Apr 28, 2025

@EthanL06 , just left some nit comments but we can fix the nit things now or in the future as they don't affect functionality, up to you. Overall great job with this rewrite!

@Samathingamajig this PR LGTM once the comments/feedback have been addressed so that we can start creating issues and PRs that depend on this PR.

@EthanL06
Copy link
Member Author

EthanL06 commented May 3, 2025

Todo:

  • Keyboard shortcuts
  • Add "No Transcript Available" when no captions
  • HH:MM:SS
  • Specify URLs better

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants