-
Notifications
You must be signed in to change notification settings - Fork 3
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
Move basic project config from trails-viz
to trails-viz-data
#217
Comments
Just noting here that @woodsp mentioned that we initially had good reasons for NOT doing this, but we couldn't remember what they were. Since that is the case, we decided it would be worthwhile to try this out, since this would streamline dashboard updates significantly. |
@jblehr and @davidye007 is this issue still relevant? I'm assuming it hasn't been closed by any of the existing PRs? |
@EmiliaH the CI/CD pipeline for the However, the updated CI/CD pipeline has streamlined the deployment process significantly. As a result, whether the Thus, if streamlining development (saving time/effort) is main goal, I think the updated CI/CD pipeline covers it and we don't need to move @jblehr Let me know if I'm missing something. |
@davidye007, yes I agree that your (significant!) improvements to the deployment process has made this easier. However, I'm not sure it solves this issue. I don't think the main goal is time savings during dashboard development (like what you're doing now). I see the main goals as being time savings and reducing complexity during regular data updates to the dashboard. For example, when someone adds a new project to the dashboard, they already have to add a new folder and new data to the So I think we should leave this issue open, but I agree that your changes have made deployment easier and that this issue should be lower priority. |
Thank you both for adding thoughts/context, that was helpful. Based on that, I think it makes sense to move So @davidye007, if you don't think there's any issues with this proposal, then I think we should implement this. It seems like a fairly easy fix. @sgwinder, FYI. |
related to issue #251 |
Right now, a lot of the data updates to the dashboard involve minor updates to the
trails-viz/trails-viz-api/trailsvizapi/config/app_config.py
file. See here for the docs on this. For example, these are common updates to the dashboard:PROJECT_NAMES
andDATA_COLUMNS
.DATA_COLUMNS
.CENSUS_TRACT_STATES
.However, because we are changing the code within
trails-viz-api
, we need to build and push a new image. Instead, I'm proposing we move this code to withintrails-viz-data
, so that only actual changes to the code (and not just config) require new builds of the dashboard.See below for an example of the dictionaries found within
app_config.py
:See recent #212 and #216 for examples of a PR/new build that I think should happen in
trails-viz-data
instead.One reason (and a good one) I can see to continue including these in this repo is to allow for us to track different versions of the data that are shown on the dashboard in this repo (in addition to
trails-viz-data
).@woodsp - what do you think about this proposal? Do you think this should be a component of upcoming dashboard development?
The text was updated successfully, but these errors were encountered: