Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase scratch #306

Open
wants to merge 84 commits into
base: dev
Choose a base branch
from
Open

Firebase scratch #306

wants to merge 84 commits into from

Conversation

taz177
Copy link
Collaborator

@taz177 taz177 commented Jul 11, 2023

No description provided.

sharifah and others added 30 commits September 3, 2022 23:10
Enables users to inspect embedding model
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create DEVELOPMENT.md

* Update DEVELOPMENT.md

* Update issue templates

* Update port-extension-to-framework.md

* Update port-extension-to-framework.md

* Update port-extension-to-framework.md

* initial strategy of loading from CDN works fine. Need to devise strategy for associating assets with extensions

* Some more refactoring. Need to test again

* Re-orged onnx

* Confirmed everything works

* adding static model, but will remove later

* Added in new utils for loading in external script and accessing from window object

* Got changes to files not related to pose hand (ensured branch was up to date with dev before checking out changes)

* Made changes ahead of merge

* More documentation fixes

* Changes in support of bundling only one extension

* Updated documentation

* Correcting defaults

* Adding in checks for making sure accepts reporters match

* Added name field to tests

* Adding autoformatting and extension recommendations to vscode config

* Staging (#251)

Large amount of changes centering around:
- Robust support for legacy extensions
- Complete overhaul of developer experience to make developing extensions easier for beginners
- Usage of decorators in place of generics (easier to explain and leads to less code duplication) -- embracing Typescript 5.0 changes. NOTE: Generic Extensions are still fully supported
- Adopted mixin architecture for Extension base class definition(s)
- Leveraged mixin architecture to enable developers to 'opt-in' to functionality ("add ons", as they are refferred to in documentation)
- Broke up monolithic files
- Updated bundling process to use typescript plugin instead of sucrase
- Revamped bundling process to be more modular

Exciting!!
---------

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Shortening names of example extensions, which will also trigger rebuild of pages

* Named mixins for more understandable base classes. Implemented tutorial docs

* fixed broken links in docs. Added helper command for generating docs

* Project probe (#254)

* Got files from other branc and re-inited

* Added new decorator to validate generic extensions. Updated generic extension code to enforce no members named the same as blocks

* Made decorator more informatiive

* Restored use of jszip

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Table new (#252)

* Add new version of table extension

* Add/update unit tests for tables

* Change comments from template to about the extension

* cast elements in test

* Deleting unused file

* Minor changes: Casting certain inputs to HTMLOptions so we can access 'selected' property; Adding default value for 'disabled' prop in 'Ok' component

* Changing imports to see if that does anything?

* Using name field in tests instead of comments

* Shortening names of example extensions, which will also trigger rebuild of pages

* Named mixins for more understandable base classes. Implemented tutorial docs

* fixed broken links in docs. Added helper command for generating docs

* Project probe (#254)

* Got files from other branc and re-inited

* Added new decorator to validate generic extensions. Updated generic extension code to enforce no members named the same as blocks

* Made decorator more informatiive

* Restored use of jszip

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>

* With changes

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>
Co-authored-by: Parker Malachowsky <95306112+pmalacho-mit@users.noreply.github.com>

* Staging 3 17 (#257)

* explicitly watching only certain files

* Implemented new selfie extension

* refactor to make it easier to get location of config file

* Added todos for Gur

* Got costume adding working

* Costumes mixin

* Deleted files/functionality that got moved to mixin

* Adding documentation. Supporting async init in tests

* Enabled legacy support as optional mixin

* Regenerated documentation for porting

* introduced change log

* Debugging bundle issus

* Implementing alternative bundling strategy for Generic Extensions without initializers

* Refined async init capabilities. Added alternativre code gen strategy for Generic Extensions with no initializers

* Upgrade to typecript 5 official

* Implemented alternative dependency strategy that works, and allows for easy block mixin creationggit status

* Adding & documenting block mixins

* Fixed tests

* Documentation. uncommenting valid code

* Clean init. Upgraded type probe process

* Upgraded typescript targets for code ran locally (i.e. scripts) and downgraded target to ES6 for code that get's served (i.e. bundles)

* Corrected extensionProbe issues

* Adding to changelog

* Added support for local projects in project probe

* removing unused imports

* Adding doc to util and making sure to clear timeout

---------

Co-authored-by: Parker Malachowsky <pmalacho@media.mit.edu>
Co-authored-by: p-buddy <parkermalachowsky@gmail.com>

* Update CHANGELOG.md

* Correcting typo in extension probe

* Rearchitect code gen args (#259)

* initial changes to bundle loader, now need to explore how to bundle it all

* adding to changelog

* Better names for plugins

* Fixued up changelog

* Change to correct behavior when arg.options is a function, not an object

* Added a comment. restructured a couple lines into one line. Removed property initializer rollup error

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Contain height of table (#263)

* Port Face Pose (#260)

* removed all old js pose face remnants

* new pose face extension, in progress

* added functionality to blocks, still requires some bug fixing

* updated poseface expression block

* fixed affdex

* started legacy support

* legacy

* Fixed type erros in old getInfo

* legacy update

* Respecting NOT acceptsReporters from legacy

* quick oush from 2/6

* Functional version with legacy integrated

* looking to fix block bugs

* Fixed feeling [emotion]

* legacy support NEW

* one line change

* legacy fix

* video fix

* full support

* Removed dead code and added convenience 'dev' script to poseFace so that you can run 'npm run dev' from the poseFace folder and only build/serve that extension

* Dance with AI testing successful

* spring cleaning

* Deleted unnecessary file. restored unrelated file

* Adding lock file

* Restoring tsconfig

---------

Co-authored-by: Jimmy Kuhlman <jkuhl2022@gmail.com>
Co-authored-by: p-buddy <pmalacho@usc.edu>

* Port Hand Pose (#262)

* Jimmy First Extension Commit 1

* Changed to use field initializer which enables the current code generation strategy to work. Will need to update the strategy on the dev branch.

* Add files via upload

* Update index.ts

* commit

* updated pose hand

* updates to pose hand

* finished functionality of pose hand, still needs a little cleanup

* cleaned up pose hand

* Delete extensions/src/my_first_extension directory

* removed old pose hand js extension

* deleted old posehand icons

* fixed formatting

* commented out possibly unnecessary functions, extension still works without them

* changed location of tensorflow-models/handpose to inside poseHand folder

* fixed bug

* few fixes

* Resolved version issues

* quick fix

* removed firstinstall flag

* removed firstinstall flag again

* update

* legacy update

* note to fix

* legacy update part 2

* video fix

* package stuff

* removed 1 line

* spring cleaning

* Added TODO comment

---------

Co-authored-by: Jimmy Kuhlman <jkuhl2022@gmail.com>
Co-authored-by: p-buddy <pmalacho@usc.edu>
Co-authored-by: Jimmy Kuhlman <117794650+magicshadow797@users.noreply.github.com>

* Adding new flag to build extensions one by one to hopefully avoid out of memory issues (#266)

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Port Body Pose (#227)

* started porting pose body, and  removed all of old js pose body

* update pose body

* completed functionality of pose hand extension

* few cleanups based on recent changes to poseface

* removed some comments

* small edit

* rerouted where tensorflow model is imported from

* quick fix to tracked files and access to variables

* removed firstinstall flag

* updated legacy page

* merged dev

* updated porthelper

* added legacy support

* legacy bug fixes

* started new legacy

* merge stuff?

* legacy NEW

* 1 line fix

* fixes

* cleanup

* video fix

* full support

* save

* spring cleaning

* small change

* Deleted unnecessary file. restored unrelated file

* Restoring dev's lock file

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Port Teachable Machines (#261)

* Started port process

* data updates

* updates

* updates

* added many analysis functions, still needs debugging and stuff

* save progress

* progress on teachable functions

* dependencies update

* updated

* Changes to ensure code gen works correctly

* update

* update

* now operational

* legacy add with new Configurable method

* fix

* continue integrating legacy

* legacy supp

* type safety fix

* removed old js extension files

* initial changes to bundle loader, now need to explore how to bundle it all

* adding to changelog

* Better names for plugins

* Fixued up changelog

* clean init stuff

* Corrected legacy loading issues. Corrected framework issue with legacy dynamic menus

* fix video

* Testing with self projects successful

* Restoring unrelated file

---------

Co-authored-by: Jimmy Kuhlman <jkuhl2022@gmail.com>
Co-authored-by: p-buddy <pmalacho@usc.edu>

* ignore ds store files

* Added Video frame dimensions to the video mixin (#273)

* AS-4-inline-images (#275)

* Added rollup plugin to see if that will allow for easily accessing the URI

* Got types working

* Everything seems to be working. time to documentgit status

* Adding ds store to gitignore

* small changes from self-review

* Adding documentation, and documentation action

* corrected path in action

* Update action usage to latest

* [skip ci] re-generate extension documentation

* correcting typo in inline images

* [skip ci] re-generate extension documentation

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>
Co-authored-by: Github Action (authored by pmalacho-mit) <pmalacho-mit@users.noreply.github.com>
Co-authored-by: GitHub Action <>

* Adding other images types to declaration

* Adding different image types to test cases

* Resolving conflicts in order to merge dev to main (#279)

Co-authored-by: p-buddy <pmalacho@usc.edu>

* Update README.md (#282)

* small changes to enable building

---------

Co-authored-by: p-buddy <pmalacho@usc.edu>
Co-authored-by: Matthew Taylor <mewtaylor@gmail.com>
Co-authored-by: p-buddy <parkermalachowsky@gmail.com>
Co-authored-by: Jimmy Kuhlman <jkuhl2022@gmail.com>
Co-authored-by: Jimmy Kuhlman <117794650+magicshadow797@users.noreply.github.com>
Co-authored-by: Jimmy Kuhlman <117794650+jimbo797@users.noreply.github.com>
Co-authored-by: Github Action (authored by pmalacho-mit) <pmalacho-mit@users.noreply.github.com>
Co-authored-by: randi-c-dubs <randi.w.2012@gmail.com>
* Block operations should reference "self" instead of "this"
* Utility functions should not have the same names as blocks
* Also adding off as a color option
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.

None yet

5 participants