Skip to content

Conversation

@ddbruce
Copy link
Member

@ddbruce ddbruce commented Mar 15, 2023

No description provided.

ddbruce and others added 15 commits March 4, 2022 09:14
Co-authored-by: Logan Ramos <[email protected]>
* Restructured Index.html and added endpoint for herald to push dispatch info to

* Styled Dispatch alerts, set dispatch alert duration to three minutes, and fixed odds and ends
* Changed Styling to capitalize dispatch info by request of RPIA dev-team coordinator

* Capitalize the start of words and Uppercase the determinant in Dispatch Alerts

* Moved Dispatch style to style-dispatch.scss
…h other (#68)

* Changed Styling to capitalize dispatch info by request of RPIA dev-team coordinator

* Capitalize the start of words and Uppercase the determinant in Dispatch Alerts

* Moved Dispatch style to style-dispatch.scss

* Fixed issues with dispatches that occur within 3 minutes of each other

* Correct Logic Errors in ClearDispatch Timeout

* Added authentication token for herald dispatch
@ddbruce ddbruce requested a review from lramos15 as a code owner March 15, 2023 08:51
Comment on lines +3 to +4
const longitude = -73.67577;
const latitude = 42.72927;
Copy link
Member Author

Choose a reason for hiding this comment

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

These should get pulled out into environment variables

Copy link
Contributor

Choose a reason for hiding this comment

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

How would one do this on the client side?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ermmm you wouldn't. My mistake. This should probably be pulled from the server via API which will have it stored in an env var. Alternately, we could use the HTML Geo API, but this is probably less desirable.

Copy link
Contributor

Choose a reason for hiding this comment

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

#71

@ddbruce
Copy link
Member Author

ddbruce commented Mar 15, 2023

@CKegel see the above. I can't explicitly request feedback because I created the PR.

CKegel and others added 2 commits March 15, 2023 12:38
* Spell checking and code adjustments

* Added token authentication to admin POST endpoints

* restructure admin authentication
@CKegel CKegel linked an issue Mar 19, 2023 that may be closed by this pull request
lramos15
lramos15 previously approved these changes Mar 20, 2023
@ddbruce
Copy link
Member Author

ddbruce commented Mar 21, 2023

Approved with only a housekeeping README update afterwards; I'm going to merge by bypassing protections.

@ddbruce ddbruce merged commit 88946ed into master Mar 21, 2023
@ddbruce
Copy link
Member Author

ddbruce commented Mar 21, 2023

Thanks to @CKegel for putting in basically all of the legwork for this!

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.

Second successive dispatch doesn't remove the first

4 participants