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

Refactor sharing tag component #1162

Merged
merged 11 commits into from
Jul 19, 2017
Merged

Refactor sharing tag component #1162

merged 11 commits into from
Jul 19, 2017

Conversation

jeremiak
Copy link
Contributor

Closes #576

@brendansudol
Copy link
Contributor

let's sync on this on Monday -- there are some slightly tricky things around this that we should talk through (i.e., when agencyReceived action is dispatched, that sets agencies.loading state to false but then we rely on that loading variable to signal when all of the agency data is loaded -- i think we may just need to add another loading field to the agencies object)

@jeremiak jeremiak force-pushed the jk-sharing-content branch 2 times, most recently from 385fa86 to 5c3dba7 Compare July 19, 2017 19:00
Jeremia Kimelman added 8 commits July 19, 2017 15:03
Also make the displayed text reflect the URL values
Update a few primary county calculations as well as some coordinates
No router and no connection, just defaults and strings that can be
passed in
Use a small mapping of just ORIs to agency names (as little information
as possible so as to bloat the compiled server.js as little as
possible) so that sharing tags for agency views will have the name at
the time the crawler scrapes the page the information is there
Using actions on the server to update the store's state is great, but
it sometimes requires two to make sure that the loading flag is flipped
to true for the initial state
@jeremiak jeremiak force-pushed the jk-sharing-content branch from 5c3dba7 to 0901a0c Compare July 19, 2017 19:03
@jeremiak jeremiak force-pushed the jk-sharing-content branch from 0901a0c to e7b0ed3 Compare July 19, 2017 19:05
@jeremiak jeremiak merged commit d90b784 into master Jul 19, 2017
@jeremiak jeremiak deleted the jk-sharing-content branch July 19, 2017 19:23
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