Skip to content

Conversation

landonreed
Copy link
Contributor

Refactors things a bit for #528

Added some new components, tweaked layout and styling
@landonreed landonreed changed the base branch from dev to feed-diffs December 8, 2020 21:48
<p style={{marginBottom: '0px'}}>{this.messages('daysActive')}</p>
</Col>
</Row>
<Row style={{marginTop: '40px'}}>
Copy link
Contributor

Choose a reason for hiding this comment

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

@landonreed what do you think of the below:

  • With the proposed positioning of the selector for the compared version, I still think the best place for the validity date comparator is below the existing valid date heading.
  • One alternate layout could be to move the compared version selector inside the top portion of the summary tab, in which case it makes sense to keep the date comparison chart at this location.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My main issue with placing the chart in the valid date heading: when there's a GTFS+ blocking issue, the warning text gets displaced by the chart (see screenshot). Also, I think it makes some sense to place the chart with the other "date oriented" charts (i.e., the histograms showing trips/service hours).

image

Given that the compared version selector does affect elements across the entire page, maybe it makes sense to move it next to the green "Create new version button". There is some other work on the roadmap to move the "Edit feed" to its own box below the page selector (Version summary, validation issues, etc.), so that could work well.

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

See my comment at https://github.com/ibi-group/datatools-ui/pull/634/files#r550260760. I am otherwise inclined to accept your changes.

@binh-dam-ibigroup binh-dam-ibigroup merged commit 2d496f2 into feed-diffs Jan 6, 2021
@binh-dam-ibigroup binh-dam-ibigroup deleted the feed-diffs-ltr branch January 6, 2021 20:33
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