Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3b5b1b5
fix(route-viewer): correctly sort routes in route viewer by agency
evansiroky Jul 17, 2020
97172c1
refactor(route-viewer): only show operator logo if available
evansiroky Jul 21, 2020
2d976fb
refactor: bump core-utils to 2.0.0-alpha.1 and use new route utils
evansiroky Jul 21, 2020
64ff7bc
feat(VerifyEmailScreen): Add link to resend verification email.
binh-dam-ibigroup Sep 8, 2020
2cc9825
refactor(middleware): Test a query.
binh-dam-ibigroup Sep 25, 2020
cbf3feb
feat(TripBasicsPane): Grey out days on which a trip is not available.
binh-dam-ibigroup Oct 1, 2020
8aad883
fix(TripBasicsPane): Don't monitor days on which trips do not exist.
binh-dam-ibigroup Oct 1, 2020
03b9761
refactor(call): move/fix banned routes handler
landonreed Oct 9, 2020
78bf682
build(deps): bump npm-user-validate from 1.0.0 to 1.0.1
dependabot[bot] Oct 16, 2020
4168cb5
build(deps): bump object-path from 0.11.4 to 0.11.5
dependabot[bot] Oct 19, 2020
68ffa44
Merge branch 'dev' into check-itinerary-existence
binh-dam-ibigroup Oct 26, 2020
aeb519f
refactor(TripBasicsPane): Let user select/save days an existing trip …
binh-dam-ibigroup Oct 26, 2020
b8faf63
refactor(TripBasicsPane): Tweak text.
binh-dam-ibigroup Oct 26, 2020
cf3d214
refactor(TripBasicsPane): Tweak text.
binh-dam-ibigroup Oct 26, 2020
38b2249
refactor(TripBasicsPane): Fix typo.
binh-dam-ibigroup Oct 27, 2020
0379130
fix(NarrativeItineraries): Show Save trip only for itineraries with t…
binh-dam-ibigroup Oct 28, 2020
b0831d1
refactor(TripBasicsPane): Adjust to new backend return data structure…
binh-dam-ibigroup Oct 29, 2020
1cbc87a
Merge branch 'dev' into check-itinerary-existence
binh-dam-ibigroup Oct 29, 2020
ea97ce6
refactor(actions/user): Move itinerary check to actions/reducer.
binh-dam-ibigroup Oct 30, 2020
214e266
fix(NarrativeItineraries): Adjust Proptypes.
binh-dam-ibigroup Oct 30, 2020
5db7f2e
fix(NarrativeItineraries): Save trip with transit and no rentals only.
binh-dam-ibigroup Oct 30, 2020
aa74905
refactor(LineItinerary): Remove 'Save trip' for line itinerary.
binh-dam-ibigroup Oct 30, 2020
df6bf8d
refactor(util/itinerary): Refactor itineraryCanBeMonitored.
binh-dam-ibigroup Nov 2, 2020
aa19444
test(util/itinerary): Add tests for itineraryCanBeMonitored.
binh-dam-ibigroup Nov 2, 2020
936824e
refactor(util/itinerary): Add missing rental checks + corresponding t…
binh-dam-ibigroup Nov 3, 2020
b353dcf
fix(SaveTripButton): Extract component, handle trip/login states.
binh-dam-ibigroup Nov 3, 2020
944d078
refactor(SaveTripButton): Render disabled style.
binh-dam-ibigroup Nov 3, 2020
efa6a65
refactor: Adjust to updated itinerary check backend.
binh-dam-ibigroup Nov 4, 2020
e7cb719
refactor(actions/user): Twaek comment/error msg for itinerary check.
binh-dam-ibigroup Nov 4, 2020
4ccc522
refactor: Address comments for test, redux connect.
binh-dam-ibigroup Nov 4, 2020
2e30eb2
Merge branch 'dev' into resend-verif-email
binh-dam-ibigroup Nov 5, 2020
199136e
refactor(VerifyEmailScreen): Create action for resending verif. email…
binh-dam-ibigroup Nov 5, 2020
75e250c
Merge branch 'dev' into fix-multi-agency-route-viewer
evansiroky Nov 6, 2020
89eb0c7
chore: update to latest otp-ui packages
evansiroky Nov 6, 2020
d0cfd7d
refactor: get stops-overlay working with zoom-based-markers
evansiroky Nov 6, 2020
198e5e5
fix: use core-utils v3 to sort routes by agency
evansiroky Nov 6, 2020
7152d27
refactor(VerifyEmailScreen): Rename handler.
binh-dam-ibigroup Nov 6, 2020
a03055f
feat(route-viewer): add mode icon and use styled components
evansiroky Nov 6, 2020
150767a
test: fix snapshots
evansiroky Nov 6, 2020
9381350
refactor(VerifyEmailScreen): Tweak formatting per PR comment.
binh-dam-ibigroup Nov 9, 2020
846892a
refactor(TripBasicsPane,actions/user): Address PR comments.
binh-dam-ibigroup Nov 10, 2020
80b8a91
refactor(SaveTripButton):
binh-dam-ibigroup Nov 10, 2020
96d89d1
Merge pull request #242 from opentripplanner/check-itinerary-existence
landonreed Nov 10, 2020
dec353a
refactor(LineItinerary): Use SaveTripButton (add pull-right style to …
binh-dam-ibigroup Nov 11, 2020
15f2534
refactor(itineraries): Remove unused user prop.
binh-dam-ibigroup Nov 11, 2020
a35e942
Merge branch 'dev' into only-save-itins-with-transit
binh-dam-ibigroup Nov 11, 2020
8d6504e
build: update to @opentripplanner/core-utils v3.0.1
evansiroky Nov 11, 2020
6cacf91
refactor: have better spacing between mode icons
evansiroky Nov 11, 2020
b9b0ba3
refactor(actions/user): Add separate action to fetch auth0 token.
binh-dam-ibigroup Nov 11, 2020
761e817
Merge pull request #266 from opentripplanner/only-save-itins-with-tra…
binh-dam-ibigroup Nov 13, 2020
77a1a2c
refactor(actions/user): Address PR comments
binh-dam-ibigroup Nov 13, 2020
a87a72a
Merge pull request #227 from opentripplanner/resend-verif-email
binh-dam-ibigroup Nov 14, 2020
3b75a77
refactor: use React context for LegIcon and ModeIcon
evansiroky Nov 17, 2020
d9410f9
refactor(stop-viewer): sort by headsign after sorting routes
evansiroky Nov 17, 2020
f2c7d50
Merge branch 'dev' into component-context
evansiroky Nov 17, 2020
bab3ef0
refactor: use react context for itinerary body and footer
evansiroky Nov 17, 2020
ec71297
refactor: forgot to get a LegIcon from the context
evansiroky Nov 17, 2020
e110f9a
build: update to core-utils v3.0.3
evansiroky Nov 17, 2020
9831165
test: update snapshot to reflect new pattern sorting
evansiroky Nov 18, 2020
576730f
refactor(route-viewer): better align route row
evansiroky Nov 18, 2020
88f915e
Merge pull request #255 from opentripplanner/dependabot/npm_and_yarn/…
evansiroky Nov 18, 2020
bdef110
Merge pull request #258 from opentripplanner/dependabot/npm_and_yarn/…
evansiroky Nov 18, 2020
f0d3e97
docs: add entry in example-config showing transitOperators setup
evansiroky Nov 18, 2020
98ef742
docs: improve config docs about transitOperators
evansiroky Nov 20, 2020
da85709
Merge pull request #201 from opentripplanner/fix-multi-agency-route-v…
evansiroky Nov 20, 2020
8834ca0
Merge branch 'dev' into component-context
evansiroky Nov 20, 2020
4eea473
build(deps-dev): bump semantic-release from 15.13.18 to 17.2.3
dependabot[bot] Nov 20, 2020
ca96c67
build(deps): bump highlight.js from 9.15.8 to 9.18.5
dependabot[bot] Nov 24, 2020
91bdbb5
refactor: address various PR review comments
evansiroky Dec 1, 2020
401d95e
Merge pull request #278 from opentripplanner/dependabot/npm_and_yarn/…
evansiroky Dec 2, 2020
026cc80
fix(ItineraryBody): Remove width limitation for PlaceRow items.
binh-dam-ibigroup Dec 3, 2020
6d772c5
Merge pull request #279 from opentripplanner/itin-body-width
landonreed Dec 4, 2020
98c3142
Merge pull request #274 from opentripplanner/component-context
evansiroky Dec 4, 2020
8dad558
Merge pull request #275 from opentripplanner/dependabot/npm_and_yarn/…
evansiroky Dec 4, 2020
310f5db
Merge pull request #282 from opentripplanner/call-fixes
landonreed Dec 10, 2020
7399e23
docs(readme): improve readme
evansiroky Jan 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@ A library for writing modern [OpenTripPlanner](http://www.opentripplanner.org/)-

## Running the Example

A simple example of an OTP-RR application is included in the repository.
An example of an OTP-RR application is included in the repository. The example project is a single page application with a root entry point of the `example.js` file. This example.js file can be modified to suit the needs of a particular implementation.

To run, first clone the repo and install [yarn](https://yarnpkg.com/) if needed.

Copy `example-config.yml` to `config.yml`. Update `config.yml` with your Mapzen API key, and optionally, the OTP endpoint and initial map origin. (The default values are for a Conveyal test server for Portland, OR.)
Copy `example-config.yml` to `config.yml`. Update `config.yml` with the needed API keys, and optionally, the OTP endpoint and initial map origin. (The default values are for a test server for Portland, OR.).

Install the dependencies and start a test instance using yarn:
Install the dependencies and start a local instance using the following script:

```bash
yarn install
yarn start
```

## Library Documentation

Coming Soon
More coming soon...

As of version 2.0, otp-react-redux utilizes React's context API in a number of components. This changed the way that some components receive props such that they will not work properly unless wrapped with the context provider used in the `ResponsiveWebapp` component.
Loading