Brandon Wong brwong

brwong pushed to master at brwong/playlist-extension

  • 928cd90aaf restyle scatter control: narrow input, green button, grouped border Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • eebdfbac04 add scatter button to interleave last N videos in playlist Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • d6fac515b6 move add-cur-page btn above playlist card, resize to match export buttons Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • 4401111325 move to top inserts after current top video Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • eb0c9fb19a add move-to-playlist to main playlists view more menu Extends the "Move to…" feature to the ⋯ menu in the main playlists view. Each playlistData entry now carries its own otherPlaylists array so the submenu shows the correct target options without inline template expressions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • View comparison for these 6 commits »

5 days ago

brwong pushed to master at brwong/microtables

  • e51266610b fix :infer-warning on isSymbolNode property access in parse-variables Add ^js type hint so the ClojureScript compiler knows the element is a plain JS object and stops attempting type inference on the property. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • 023884242b move tests from src/test/ to top-level test/ to match shadow-cljs convention Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • e483e06fbd add cljs.test unit and integration tests via shadow-cljs node-test target 20 tests covering formula evaluation (arithmetic, cell/range refs, cycle detection, error propagation) and state-transition pipelines (downstream re-evaluation, dirty marking, reference graph updates). Also fixes js/window.parseInt → js/parseInt in data.cljs and coordinates.cljs so the evaluation code runs in Node.js as well as the browser. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • 7509ba530a shift-enter in A1 does nothing instead of wrapping Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • 41b6afea64 add shift-enter to move up, mirroring enter moving down Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • View comparison for these 20 commits »

5 days ago

brwong pushed to master at brwong/playlist-extension

1 month ago

brwong pushed to master at brwong/playlist-extension

  • 7f18c6c57b manually added channel categories; formatted code
  • c42fa43d3c feat: add save channel functionality with curl command generation at the bottom of the popup, add a new button called "save channel". clicking it will switch to a new view (or page). the view is only active if the currently open tab's url contains `youtube.com.*/videos`. at the top of the view, there is a texteditable field with a copy button. the copy button will copy the contents of the field to the clipboard (add clipboard permission to the extension manifest *IF* necessary). underneath the field and the copy button is a list of "categories", and clicking on the categories will modify the contents of the field. the field will be populated with the following string: ``` curl -X POST -H 'content-type: application/json' -d '{"query": "mutation add{ addChannel(details: {category: \"<category>\", checkInterval: 14, name: \"<title>\", url: \"<url>\"}){name} } "}' localhost:8543/data | jq '.' ``` where `<category>` is the currently selected category (defaulting to the first one), `<title>` is the page title of the currently active tab with the trailing " - YouTube" removed, and `<url>` is the url of the currently active tab. for now, start with these categories: "FOR BOTH", "CHANNELS", and "CREATIVE". ```git-revs 6c2f424 (Base revision) 5b16600 Add clipboard permission for copy functionality in save channel feature 87abcf9 Add save channel header and view to HTML ea7f26a Add save channel view container to HTML 5d4c522 Add Save Channel button to the main view 1084413 Add save channel properties to Alpine.js data object 7e79988 Update getCurrentTab to detect YouTube videos pages and initialize curl command b179fae Add save channel methods after updateAddCurrentPageButtonText method 9b92ab9 Add save channel view header binding d8ef0c0 Add save channel container binding ef7c3f1 Add save channel button binding aeda96c Add save channel specific bindings (copy button, category buttons, notice) 60289eb Add CSS styles for save channel functionality 041a0cb Create documentation file for save channel feature 2836498 Add disabled state to copy button when not on YouTube videos page 09b60b0 Add disabled state styling for copy button 3d383a3 Rename isCurrentTabYoutubeVideos to isCurrentTabChannelPage in property declaration 912a230 Rename isCurrentTabYoutubeVideos to isCurrentTabChannelPage in getCurrentTab method 192dd0c Rename isCurrentTabYoutubeVideos to isCurrentTabChannelPage in updateCurlCommand method b8294b5 Rename isCurrentTabYoutubeVideos to isCurrentTabChannelPage in copyCurlButton binding 6cdcee1 Rename isCurrentTabYoutubeVideos to isCurrentTabChannelPage in saveChannelNotice binding d8e9fdd Add checkInterval property to save channel properties fca7889 Update updateCurlCommand to use checkInterval property a993eda Add method to update check interval 52c3488 Add interval input section between copy button and categories 84ebdf2 Add interval input binding for two-way data binding bc4e3e0 Add CSS styling for interval input section 354c388 Add active state CSS for copy button visual feedback HEAD Update documentation with interval input feature and editable textarea consideration ``` codemcp-id: 12-feat-add-save-channel-functionality-with-curl-comm
  • 1d54c30a54 feat: explore adding open tabs to playlist export the popup menu has a button to "export" the playlists. it currently puts the `playlists` and the `playbackHistory` into a json object along with the `exportDate`, and triggers the browser to download it. how feasible would it be to add `openTabs` to the export, containing a url and page title for each? don't make any code changes yet, just propose a plan for now. ```git-revs 9466114 (Base revision) bc083a3 Document analysis and plan for adding open tabs to playlist export bf804c5 Add open tabs collection to export functionality 45eec6c Mark open tabs export feature as completed in TODO list HEAD Add implementation details to documentation ``` codemcp-id: 11-feat-explore-adding-open-tabs-to-playlist-export
  • 8fc3478533 feat: add reference, to rewatch, and to save tags to history view in the history view of the popup menu, there are toggleable tags for each video. currently only "notable" is an option; add three more: "reference", "to rewatch", and "to save". ```git-revs 7a1cb3b (Base revision) eb406c5 Add three new tag buttons to history view: reference, to rewatch, and to save HEAD Save codemcp conversation log for adding history tags feature ``` codemcp-id: 10-feat-add-reference-to-rewatch-and-to-save-tags-to-
  • a217556e4d adjusted codemcp instructions; adjusted to-do list
  • View comparison for these 7 commits »

1 year ago

brwong pushed to master at brwong/playlist-extension

  • 8283bf214f manually removed "new" status; formatted code
  • 911e9789c1 feat: add current page to playlist button in popup in the individual playlist view of the popup menu (not the main view), add a button at the bottom that will add the current page (in the active tab) to the playlist. use the website's title (html tag) as the video title and the url as the url. disable the button (and grey it out) if the url's host is not youtube.com. ```git-revs fec6507 (Base revision) 09b1ac3 Add button container to individual playlist view for adding current page aa1c556 Snapshot before codemcp change 944a132 Add data properties for current tab info and button state 21ca1bb Add getCurrentTab call to init method ddab254 Add getCurrentTab method 8d41e67 Add addCurrentPageToPlaylist method f4d7c03 Add addCurrentPageButton binding 8d1ef98 Add CSS styles for add current page button 7354577 Create documentation file for the current page addition feature ac4242b Create shared playlist utilities file ab6d21d Add shared playlist utils to background scripts 91189f1 Add shared playlist utils to popup HTML 31a3dd4 Remove duplicate functions from background.js and use shared utils 72e4acd Update updateTracking function to use shared utils 03f9960 Update findNext function to use shared utils f3589c4 Snapshot before codemcp change 91e7bbb Update popup.js to use shared PlaylistUtils instead of custom method HEAD Update documentation file with shared utils changes ``` codemcp-id: 7-feat-add-current-page-to-playlist-button-in-popup
  • 0632289c39 feat: make video ID clickable and add toggleable tags system in the history view of the popup menu, make the id in parentheses the clickable link, instead of the video title (make the video title not clickable). under the video id, add tags or chips that can be activated or deactivated (default inactive). for now, only put a single one called "notable". when activated, modify the history in storage to include an array of the active tags (as string), like so: `{video-id: {url:..., history: [], tags: ["notable"]}}`. ```git-revs ee9ee10 (Base revision) 38909df Make video ID clickable instead of title, add tags section 58d3cef Update video ID styling to be clickable and add tag chip styles f3151cb Add tag functionality and update history processing bae5b13 Add tag toggle functionality and save to storage e37016e Add back formatActionName method 40d10d8 Add tag chip Alpine.js binding for CSP compliance a5b5973 Create context file documenting the changes made HEAD Fix proxy clone error by creating plain JS object before storage ``` codemcp-id: 6-feat-make-video-id-clickable-and-add-toggleable-ta
  • 0812197fac updated to-do list
  • e45d0e471d fix: resolve import button functionality issues the "import" button (at the bottom of the popup menu) doesn't seem to work. it might be due to a javascript expression in the html code (not CSP-compliant), and/or it might be that the import code is wrong (the former is more likely). ```git-revs 9225e0f (Base revision) daff088 Add CSP-compliant binding for import file input change event 986182c Replace CSP-violating inline JavaScript with CSP-compliant binding HEAD Save conversation record for import button fix ``` codemcp-id: 5-fix-resolve-import-button-functionality-issues
  • View comparison for these 11 commits »

1 year ago

brwong pushed to master at brwong/playlist-extension

  • 350b001d02 updated to-do list
  • 21241c8b55 modified the names of the playlists
  • 1bd1ce43c1 newer playback history events overwrite the old title of the video sometimes (it seems) the video would start to play before the document title had been updated, leading videos in the history to be stored under the previous video's title - to fix this, instead of saving the title only once (the first time), it saves the title every time a change in playback occurs
  • c9416e2d32 formatting; adjusted to-do list
  • fee19d75e5 manually merged play button into video title

1 year ago

brwong created new branch master at brwong/playlist-extension

1 year ago

brwong created repository brwong/playlist-extension

1 year ago

brwong pushed to master at brwong/microtables

1 year ago

brwong pushed to master at brwong/attendant

  • 652f4b549d added start-docker script and deployment instructions
  • d1ae5dd1be improved handler loading/structure; added two (empty) handlers
  • d753c1e9ab added support for optional index page
  • 2215cbd642 added build script (for uberjar)
  • d56bf78f23 working server (empty)

3 years ago

brwong created new branch master at brwong/attendant

3 years ago

brwong created repository brwong/attendant

3 years ago

brwong pushed to master at brwong/lineup

3 years ago

brwong pushed to master at brwong/lineup

3 years ago

brwong pushed to master at brwong/lineup

3 years ago

brwong created new branch master at brwong/lineup

3 years ago

brwong created repository brwong/lineup

3 years ago

brwong pushed to master at brwong/microtables

6 years ago

brwong pushed to master at brwong/microtables

6 years ago

brwong pushed to master at brwong/microtables

6 years ago