Closed camdendotlol closed 2 months ago
Name | Link |
---|---|
Latest commit | 72562073d65a621f647fc436e0712eeb58bf4952 |
Latest deploy log | https://app.netlify.com/sites/avannotate-staging/deploys/66ce2cac99948500080c277f |
Deploy Preview | https://deploy-preview-37--avannotate-staging.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Summary
/[lang]/projects/[projectSlug]/events/[eventUuid]/import
that is accessed by clicking the Import button in the annotation table on Event Detail (this button previously didn't do anything)POST
endpoint to accept an array of annotations as well as a single onefromTimestamp
helper function to convert regular timestamps (e.g.12:00:20
) to seconds, the way we store them in our JSON filesraw: false
option toxlsx
'ssheet_to_json
function to ingest the timestamps correctlyraw: true
is the default, and it was causing our colon-based timestamps like the example above to appear as long decimal numbers.raw
apparently tells the function to convert anything that looks like a number to a number using some sort ofxlsx
-specific logic, while disablingraw
keeps everything as a string (doesn't that seem backward?)deserialize
helper to be able to run in both the backend and the browserjsdom
is checkingprocess
which is undefined in the browser. Since JSDOM's purpose is to mock browser functionality anyway, I added a check for whether the function is running in the browser so we can use browser-nativeNode
functionality theredeserialize
from the client, as I do when parsing annotationsposition: sticky
CSS rule in the annotation edit/create modal that was causing the bottom bar to float over the form