Skip to content

Add dummy generators#438

Merged
subdavis merged 4 commits intomasterfrom
client/dummy
Nov 13, 2020
Merged

Add dummy generators#438
subdavis merged 4 commits intomasterfrom
client/dummy

Conversation

@subdavis
Copy link
Copy Markdown
Contributor

This is a breaking change, and will upgrade to 1.1.0.

  • Change arguments to provideAnnotator to accept an object, because the positional args were getting out of hand.
  • Add methods to generate dummy state and a dummy handler compliant with the interface so that they can be easily overridden by downstream apps with much simpler needs.

Example

provideAnnotator(
  { ...dummyState(), tracks: myTracks },
  dummyHandler(() => {}),
);

@AlmightyYakob and I have talked about this change

Copy link
Copy Markdown
Collaborator

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

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

Pulled tested, looks like a good improvement for users of the library.

@subdavis subdavis merged commit 7fd8639 into master Nov 13, 2020
@subdavis subdavis deleted the client/dummy branch November 13, 2020 21:34
BryonLewis added a commit that referenced this pull request Nov 16, 2020
Trying to get the styling and layout setup

Updating some styling

Updated styling a bit and added toggling

Started updating the editor and connecting it to the attributes endpoint

Updating styling and fixing various issues

mend

mend

Electron (#397)

* add electron

* Add missing api methods

* Fix build errors for electron, add to CI

* Address comments

Update deploy to only Thursday

Update base image for girder worker

Fixes FPS issue and image caching (#419)

* fixing fps and modifying cache

* mend

Update docker docs (#379)

Co-authored-by: Brandon Davis <git@subdavis.com>

Update blank.yml (#415)

Upgrade to node LTS

Co-authored-by: Jacob Nesbitt <jjnesbitt2@gmail.com>

Add checkbuild.sh (#425)

Add load and save for JSON annotations (#414)

* Add load and save for JSON annotations

* Relax json file name requirement

* SIP

* Implement settings, sanity checks, separate loading of datasets

* WIP

* remove settings page

Fix deploy.yml

Update day strings (#430)

Fix typo in library README

Allow setting of arbitrary attributes on video player (#435)

* Mute video prop

* Allow setting arbitrary attributes

Downgrade urllib3 (#439)

Fix inverse interpolation (#433)

Run pipelines enabled incorrectly (#441)

Minor fix to attributes

Minor ui fixes

Addressing changes

Enable pinch zoom on mobile (#440)

Co-authored-by: Brandon Davis <git@subdavis.com>

Add dummy generators (#438)

conversion to using api for attributes editing

converted attribute editor and added in additional editing

Updating UI interactions
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.

2 participants