Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
6f16c83
refactor(BaseMap,StopViewer,SetFromTo): Replace the buttons for setti…
binh-dam-ibigroup Feb 13, 2020
cce4340
fix(set-from-to): Removed extra line.
binh-dam-ibigroup Feb 13, 2020
55bc8a7
fix(stop-viewer): Update snapshot, cleanup whitespaces.
binh-dam-ibigroup Feb 13, 2020
985886b
fix(StopViewer): Update snapshot
binh-dam-ibigroup Feb 14, 2020
c84de22
Merge pull request #125 from opentripplanner/using-new-otp-ui-components
landonreed Feb 25, 2020
4f6f4da
refactor(location): use otp-ui location-search component
evansiroky Mar 1, 2020
7457a62
fix(mobile): disable usersettings overlay on welcome screen
evansiroky Mar 1, 2020
7a1a489
refactor(geocoder): depend on otp-ui geocoder
evansiroky Mar 2, 2020
984e0c8
refactor(location): remove some stuff no longer needed after
evansiroky Mar 2, 2020
899e186
refactor: use otp-ui location-icon package
evansiroky Mar 2, 2020
332bad2
refactor: WIP on transitioning map components to otp-ui
evansiroky Mar 5, 2020
38673f2
refactor(DateTimeSelector): Replace DateTimeSelector with the one fro…
binh-dam-ibigroup Mar 11, 2020
c5904ab
fix(Yarn): Update yarn file; Remove unused stuff in DateTimeModal
binh-dam-ibigroup Mar 11, 2020
cf83afd
fix(index): Remove DateTimeSelector from /lib/index.js
binh-dam-ibigroup Mar 11, 2020
defce4f
refactor(DateTimeModal): Remove routing profile content.
binh-dam-ibigroup Mar 11, 2020
ffd28d8
fix(date-time-modal): Merge from git stash
binh-dam-ibigroup Mar 12, 2020
ba3c868
build(package): Add deps
binh-dam-ibigroup Mar 12, 2020
e4f4b88
improvement(SettingsSelectorPanel): Use component from OTP-UI, create…
binh-dam-ibigroup Mar 12, 2020
7a67327
refactor(styled.js): Reorganize styles
binh-dam-ibigroup Mar 13, 2020
7a07ce7
feat(DateTimeSelector): Merge branch 'otp-ui-datetimeselector' into o…
binh-dam-ibigroup Mar 13, 2020
868342c
refactor(styled): Merge styles between DateTimeSelector and SettingsS…
binh-dam-ibigroup Mar 13, 2020
9956ca4
refactor(map): transition a few more map components to otp-ui
evansiroky Mar 15, 2020
a310ff2
refactor(map): add in some more otp-ui components
evansiroky Mar 15, 2020
357db32
refactor(location-field): don't underline or change color options on …
evansiroky Mar 19, 2020
40ae6e7
Merge pull request #137 from opentripplanner/otp-ui-location-field
landonreed Mar 19, 2020
8d8a6d7
Merge branch 'dev' into otp-ui-map
evansiroky Mar 19, 2020
34c5c6d
refactor(components/form): Use trip-form components from OTP-UI.
binh-dam-ibigroup Mar 19, 2020
2c46730
refactor(map): get map click to show popup
evansiroky Mar 19, 2020
fb6dcce
fix(yarn.lock): Fix my broken yarn.lock
binh-dam-ibigroup Mar 19, 2020
dca509b
fix(yarn.lock): Get correct version of OTP-UI packages.
binh-dam-ibigroup Mar 19, 2020
29ad4f5
fix(styled): Allow ModeButton title component to be styled when butto…
binh-dam-ibigroup Mar 20, 2020
a9e31e4
refactor: address PR comments
evansiroky Mar 21, 2020
ffbd6df
chore(package.json): Merge conflicts with dev branch (package, yarn.l…
binh-dam-ibigroup Mar 23, 2020
6019536
Merge branch 'dev' into otp-ui-trip-settings
binh-dam-ibigroup Mar 23, 2020
18ba420
fix(package): Fix last conflict.
binh-dam-ibigroup Mar 23, 2020
e657f34
refactor(trip-details): Replace TripDetails component with its OTP-UI…
binh-dam-ibigroup Mar 23, 2020
1077fbf
refactor(trip-viewer-overlay): Replace TripViewerOverlay with its cou…
binh-dam-ibigroup Mar 23, 2020
b0e3cd5
refactor(narrative.css): Remove old trip-details styles.
binh-dam-ibigroup Mar 23, 2020
6a6aaee
fix(connected-trip-details): Bring back styling using styled-components.
binh-dam-ibigroup Mar 23, 2020
cd26acf
refactor(connected-trip-details): Rename imported class.
binh-dam-ibigroup Mar 23, 2020
b72c501
refactor(printable-itinerary): Replace PrintableItinerary with its co…
binh-dam-ibigroup Mar 23, 2020
db1f3bf
style(PrintLayout, TripViewerOverlay): Change style and typo per PR r…
binh-dam-ibigroup Mar 24, 2020
05d593c
fix(example.js): add 'Plan Trip' button via DefaultMainPanel
landonreed Mar 26, 2020
82a84ae
docs(date-time-modal): Clarify some comments around DateTimeSelector.…
binh-dam-ibigroup Mar 26, 2020
5427bf2
refactor: Merge remote-tracking branch 'origin/dev' into otp-ui-datet…
binh-dam-ibigroup Mar 26, 2020
ef82d61
fix(yarn): Revert stuff to fix broken build from previous commit.
binh-dam-ibigroup Mar 26, 2020
9676562
fix(yarn): Fix more broken lint stuff.
binh-dam-ibigroup Mar 26, 2020
374b52f
fix(yarn.lock): Fix broken yarn.lock
binh-dam-ibigroup Mar 26, 2020
45f751a
fix(yarn): Fix yarn.lock /
binh-dam-ibigroup Mar 26, 2020
cf0c91b
fix(package.json): Use old pqackage.json see what happens
binh-dam-ibigroup Mar 26, 2020
87a8efb
fix(yarn): Fix yarn so lint doens't complain
binh-dam-ibigroup Mar 27, 2020
b8216f1
refactor(itinerary): use otp-ui itinerary-body
evansiroky Mar 27, 2020
1d4f941
refactor(itinerary): restore inadvertently deleted file
evansiroky Mar 27, 2020
f39b0b8
Merge pull request #145 from opentripplanner/fix-example-form
landonreed Mar 27, 2020
4e05b0b
Merge pull request #139 from opentripplanner/otp-ui-datetimeselector
binh-dam-ibigroup Mar 27, 2020
868bc34
refactor: Merge remote-tracking branch 'origin/dev' into otp-ui-trip-…
binh-dam-ibigroup Mar 27, 2020
a694341
refactor(map): some changes to address PR comments
evansiroky Mar 27, 2020
1161548
Merge branch 'dev' into otp-ui-map
evansiroky Mar 27, 2020
90ce9ed
refactor(util): update turf package
evansiroky Mar 27, 2020
fc243e5
Merge branch 'otp-ui-map' into otp-ui-itinerary-body
evansiroky Mar 27, 2020
959b3a4
docs(user-trip-settings): Add JS doc for component UserTripSettings.
binh-dam-ibigroup Mar 30, 2020
d18d3ed
Merge pull request #141 from opentripplanner/otp-ui-trip-settings
binh-dam-ibigroup Mar 30, 2020
bce2c07
Merge branch 'otp-ui-trip-settings' into otp-ui-icons
binh-dam-ibigroup Mar 30, 2020
1e93140
refactor: Merge branch 'otp-ui-trip-details' into otp-ui-icons
binh-dam-ibigroup Mar 30, 2020
579e39d
fix(index.css): Remove unused reference
binh-dam-ibigroup Mar 30, 2020
fe4c15d
build(package.json): Restore bowser dependency.
binh-dam-ibigroup Mar 30, 2020
d0ebc6d
build(package.json): Merge branch 'restore-bowser' into otp-ui-icons
binh-dam-ibigroup Mar 30, 2020
e97bcd2
refactor: Merge remote-tracking branch 'origin/dev' into otp-ui-trip-…
binh-dam-ibigroup Apr 1, 2020
74d981a
refactor: some small edits to address PR review comments
evansiroky Apr 1, 2020
6f408f5
Merge branch 'otp-ui-map' into otp-ui-itinerary-body
evansiroky Apr 1, 2020
d80ac3e
Merge branch 'dev' into otp-ui-map
evansiroky Apr 1, 2020
66c6bcd
Merge branch 'otp-ui-map' into otp-ui-itinerary-body
evansiroky Apr 1, 2020
596698d
Merge pull request #140 from opentripplanner/otp-ui-map
landonreed Apr 2, 2020
6defa10
Merge branch 'dev' into otp-ui-trip-details
binh-dam-ibigroup Apr 2, 2020
721d403
Merge pull request #142 from opentripplanner/otp-ui-trip-details
binh-dam-ibigroup Apr 2, 2020
5ae46d9
Merge branch 'dev' into otp-ui-icons
binh-dam-ibigroup Apr 2, 2020
fe04703
Merge branch 'dev' into otp-ui-itinerary-body
evansiroky Apr 2, 2020
a780d4b
refactor(print-layout): get map to show up on print-layout
evansiroky Apr 2, 2020
ae22643
refactor(itinerary): Migrate uses of itinerary.getIcon() to OTP-ui ic…
binh-dam-ibigroup Apr 2, 2020
462611e
refactor: Remove profile-related components. Replace ModeIcon on OTP-…
binh-dam-ibigroup Apr 2, 2020
d05337f
refactor(icons): Remove lib/components/icons and use OTP-ui icons pac…
binh-dam-ibigroup Apr 3, 2020
3643038
docs(default-search-form): Tweak comments.
binh-dam-ibigroup Apr 3, 2020
83849ec
Merge branch 'otp-ui-itinerary-body' into otp-ui-icons
binh-dam-ibigroup Apr 3, 2020
eeab320
fix: Fix linting errors and other print-layout merge.
binh-dam-ibigroup Apr 3, 2020
0bc4d96
fix: One more lint error fix.
binh-dam-ibigroup Apr 3, 2020
c781f67
fix(Temp commit with ItinSummary visible in desktop mode.):
binh-dam-ibigroup Apr 3, 2020
32cc8ba
feat(line-itin/itineray.css): Reinstate file.
binh-dam-ibigroup Apr 6, 2020
48a9544
refactor(icons): Remove unused old icons.
binh-dam-ibigroup Apr 6, 2020
d729c2d
fix(Fix lint, revert to DefaultItinerary.):
binh-dam-ibigroup Apr 6, 2020
e89098d
style: Organize imports per PR comments.
binh-dam-ibigroup Apr 6, 2020
e1a8e1f
style(Organize imports per PR comments.):
binh-dam-ibigroup Apr 6, 2020
bfd62fe
refactor: change config value of operators to transitOperators
evansiroky Apr 6, 2020
aaad438
refactor(itinerary-body): add comment about component updating
evansiroky Apr 6, 2020
13cf9ea
refactor(distance): Replace distance with @opentripplanner/humanize-d…
binh-dam-ibigroup Apr 7, 2020
1f4a5f9
refactor(core-utils/map): Replace util/map with @opentripplanner/core…
binh-dam-ibigroup Apr 7, 2020
59c4c00
refactor(util/profile,storage): Replace util/profile, storage with @o…
binh-dam-ibigroup Apr 7, 2020
15eb9ed
refactor(util/time): Replace util/time with @opentripplanner/core-uti…
binh-dam-ibigroup Apr 7, 2020
bc4487f
refactor(itinerary): replace some css with styled-components
evansiroky Apr 7, 2020
06a6406
refactor(map): add a component for the elevation point marker
evansiroky Apr 8, 2020
ce6d984
refactor(map): remove unneeded methods and import spacing
evansiroky Apr 8, 2020
9d5c408
refactor(util/query-params): Replace query-params with @opentripplann…
binh-dam-ibigroup Apr 8, 2020
66ad883
refactor(util/ui): Replace util/ui with @opentripplanner/core-utils/u…
binh-dam-ibigroup Apr 8, 2020
b868238
refactor(util/query): Replace util/query with @opentripplanner/core-u…
binh-dam-ibigroup Apr 8, 2020
2615514
refactor(util/itinerary): 1/... Replace util/itinerary with @opentrip…
binh-dam-ibigroup Apr 8, 2020
1cfbd6c
Merge branch 'otp-ui-icons' into otp-ui-coreutils
binh-dam-ibigroup Apr 8, 2020
53ca03c
refactor(util/itinerary): Remove unused code so far.
binh-dam-ibigroup Apr 8, 2020
60b4d74
Merge pull request #147 from opentripplanner/otp-ui-itinerary-body
landonreed Apr 22, 2020
f9b67de
build(deps): bump https-proxy-agent from 2.2.2 to 2.2.4
dependabot[bot] Apr 22, 2020
5cf0d59
Merge branch 'dev' into otp-ui-icons + typo fix
binh-dam-ibigroup Apr 23, 2020
7b5e934
Merge branch 'dev' into otp-ui-humanize-distance
binh-dam-ibigroup Apr 23, 2020
2d81d30
refactor(line-itin/itinerary.css): Remove unused file from before merge.
binh-dam-ibigroup Apr 23, 2020
2abec46
Merge branch 'dev' into otp-ui-coreutils
binh-dam-ibigroup Apr 23, 2020
97977d0
Merge branch 'otp-ui-coreutils' into otp-ui-coreutils-without-icons
binh-dam-ibigroup Apr 23, 2020
1192681
refactor(core-utils): Initial migration over to OTP-ui core-utils.
binh-dam-ibigroup Apr 24, 2020
16dcedf
fix(lib/index): Should not have removed LineItinerary from lib/index.
binh-dam-ibigroup Apr 24, 2020
d00e8c9
refactor(itinerary): Use OTP-ui itinerary getLegBounds and getItinera…
binh-dam-ibigroup Apr 24, 2020
966178c
refactor: Use `import coreUtils from '@opentripplanner/core-utils' as…
binh-dam-ibigroup Apr 24, 2020
f54896e
refactor(line-itinerary/itinerary.css): Should not have brought back …
binh-dam-ibigroup Apr 24, 2020
0ccc86f
refactor(TriMetLegIcon): Import TriMetLegIcon from the root of icons …
binh-dam-ibigroup Apr 24, 2020
ca56c60
refactor: Address PR comments.
binh-dam-ibigroup Apr 24, 2020
2690d3d
refactor(util/index): Remove unused vars.
binh-dam-ibigroup Apr 24, 2020
1cf85d2
fix(itinerary): Revert legLocationAtDistance to existing itinerary fu…
binh-dam-ibigroup Apr 27, 2020
1c91553
Merge pull request #151 from opentripplanner/otp-ui-humanize-distance
binh-dam-ibigroup Apr 27, 2020
456b5f9
Merge branch 'dev' into elevation-point-marker
binh-dam-ibigroup Apr 28, 2020
47d64a8
fix: Upgrade to OTP-ui 0.0.20 to make elevation marker work.
binh-dam-ibigroup Apr 28, 2020
f9910e5
fix(otp-ui version): Upgrade to OTP-ui 0.0.20.
binh-dam-ibigroup Apr 28, 2020
199538c
Merge branch 'dev' into otp-ui-coreutils-without-icons
binh-dam-ibigroup Apr 28, 2020
5404f98
refactor(routeComparator): Use routeComparator from OTP-UI.
binh-dam-ibigroup Apr 28, 2020
1bb8c7e
Merge pull request #152 from opentripplanner/elevation-point-marker
landonreed Apr 28, 2020
55cdd96
Merge branch 'dev' into otp-ui-coreutils-without-icons
binh-dam-ibigroup Apr 28, 2020
20974b3
Merge pull request #157 from opentripplanner/otp-ui-coreutils-without…
landonreed Apr 28, 2020
f4526d9
Merge branch 'dev' into otp-ui-icons
binh-dam-ibigroup Apr 30, 2020
4aeb823
refactor(print-layout): Extract LegIcon (and ModeIcon) props to examp…
binh-dam-ibigroup Apr 30, 2020
e21ccfa
refactor(LineItinerary): Extract and propagate LegIcon prop from Line…
binh-dam-ibigroup Apr 30, 2020
f6f9d7c
refactor(line-itin): Extract LegIcon prop from line-itin/ItinerarySum…
binh-dam-ibigroup Apr 30, 2020
ac0d817
refactor(mobile): Extract and propagate LegIcon prop to MobileMain sc…
binh-dam-ibigroup Apr 30, 2020
8de95a1
refactor(default-itinerary): Extract LegIcon prop from DefaultItineary.
binh-dam-ibigroup Apr 30, 2020
7512b6e
refactor(SettingsSelectorPanel): Extract and propagate ModeIcon prop …
binh-dam-ibigroup Apr 30, 2020
9a70180
refactor: Remove old customIcons and icons props.
binh-dam-ibigroup Apr 30, 2020
685a484
docs(example.js): Add a note for testing.
binh-dam-ibigroup Apr 30, 2020
02fef27
refactor(ModeIcon prop): Make ModeIcon prop required.
binh-dam-ibigroup Apr 30, 2020
94982a1
fix(example): Fix syntax error
binh-dam-ibigroup May 1, 2020
2842fdc
style: Change style and add comment per PR feedback.
binh-dam-ibigroup May 1, 2020
9219719
refactor(package): Upgrade @opentripplanner packages. Update example.…
binh-dam-ibigroup May 11, 2020
ac4d6db
refactor(icons): move example custom icons into own file
landonreed May 12, 2020
4206465
docs(example): Remove a dummy custom icon example in favor for the ot…
binh-dam-ibigroup May 12, 2020
266ecb4
refactor(example): set useCustomIcons to false
landonreed May 12, 2020
538bf69
Merge branch 'otp-ui-icons' into otp-ui-icons-ltr
landonreed May 12, 2020
ca27560
Merge pull request #164 from opentripplanner/otp-ui-icons-ltr
binh-dam-ibigroup May 12, 2020
404f941
fix(css): Match date and mode selector styles to trimet-mod-otp
binh-dam-ibigroup May 15, 2020
5673af5
Merge branch 'otp-ui-icons' of https://github.com/opentripplanner/otp…
binh-dam-ibigroup May 15, 2020
bc67a45
fix(margins): Fix trip form margins
binh-dam-ibigroup May 15, 2020
e0373e8
style(results-screen): Reorder vars in render()
binh-dam-ibigroup May 15, 2020
6c10ea6
fix(css): Match trimet style for TripDetails, itinerary footer, Place…
binh-dam-ibigroup May 21, 2020
1c053a5
Merge pull request #150 from opentripplanner/otp-ui-icons
landonreed Jun 3, 2020
8555ae9
Merge pull request #154 from opentripplanner/dependabot/npm_and_yarn/…
landonreed Jun 4, 2020
360a0b9
Merge branch 'master' into otp-ui-refactor
evansiroky Jun 6, 2020
96b7cee
refactor: remove imports that are no longer needed
evansiroky Jun 6, 2020
c3fc89f
fix(BaseMap): Pass baseLayers from map config to BaseMap.
binh-dam-ibigroup Jun 5, 2020
c93a764
refactor: update to latest otp-ui packages
evansiroky Jun 12, 2020
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
1,040 changes: 885 additions & 155 deletions __tests__/components/viewers/__snapshots__/stop-viewer.js.snap

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions __tests__/components/viewers/stop-viewer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import StopViewer from '../../../lib/components/viewers/stop-viewer'
import {restoreDateNowBehavior, setDefaultTestTime, setTestTime} from '../../test-utils'
import {getMockInitialState, mockWithProvider} from '../../test-utils/mock-data/store'
import { restoreDateNowBehavior, setDefaultTestTime, setTestTime } from '../../test-utils'
import { getMockInitialState, mockWithProvider } from '../../test-utils/mock-data/store'

describe('components > viewers > stop viewer', () => {
afterEach(restoreDateNowBehavior)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Object {
"debouncePlanTimeMs": 0,
"homeTimezone": "America/Los_Angeles",
"language": Object {},
"operators": Array [],
"realtimeEffectsDisplayThreshold": 120,
"routingTypes": Array [],
"stopViewer": Object {
"numberOfDepartures": 3,
"timeRange": 345600,
},
"transitOperators": Array [],
},
"currentQuery": Object {
"bikeSpeed": 3.58,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading