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

feat(trusted-companions): Plan trip with mobility profile for self or on behalf of trusted companion #1302

Merged
merged 91 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
197c145
feat(advanced-settings-panel): add mobility profile section
josh-willis-arcadis Oct 23, 2024
cd9d023
feat(advanced-settings-panel): add dropdown selector for mobility pro…
josh-willis-arcadis Oct 23, 2024
14ea7a1
add more margin on dropdown selector
josh-willis-arcadis Oct 23, 2024
855b7e4
use right status. dont use userid
josh-willis-arcadis Oct 31, 2024
af428f4
start hooking up mobility selector to routing query
josh-willis-arcadis Nov 1, 2024
28e41e5
feat(advanced-settings-panel): add onChange event handling for mobili…
josh-willis-arcadis Nov 4, 2024
714d2e6
feat(advanced-settings-panel): add en i18n string for mobility profil…
josh-willis-arcadis Nov 7, 2024
a58f469
feat: Add confirmation and error landing pages.
binh-dam-ibigroup Oct 30, 2024
0bd5a77
refactor(confirmation.html): Merge error and confirmation pages
binh-dam-ibigroup Oct 31, 2024
368d0fa
refactor(user/types): add status values
josh-willis-arcadis Nov 4, 2024
afaa808
Fix code scanning alert no. 7: Client-side cross-site scripting
josh-willis-arcadis Nov 4, 2024
077b61f
feat(advanced-trip-form): Add autoplan
amy-corson-ibigroup Oct 16, 2024
86e6bf2
Prevent autoplan if there are validation errors
amy-corson-ibigroup Oct 16, 2024
cb18e6e
Pass plan trip through mobile
amy-corson-ibigroup Oct 16, 2024
201af4b
remove unnecessary props
amy-corson-ibigroup Oct 16, 2024
489a8d4
Fix mapstatetoprops incorrect destructure
amy-corson-ibigroup Oct 30, 2024
5856a97
Fix percy tests and add openEditIfNeeded function
amy-corson-ibigroup Oct 30, 2024
334004e
chore(deps): bump elliptic from 6.5.7 to 6.6.0
dependabot[bot] Oct 31, 2024
30158cb
fallback to departure time when `useArrivalTime` is true
miles-grant-ibigroup Oct 18, 2024
38c4641
only show routes from current service week
miles-grant-ibigroup Aug 21, 2024
54d47fe
chore(deps): update otp-ui
miles-grant-ibigroup Sep 16, 2024
fd92d03
make currentServiceWeek query in nearby query
miles-grant-ibigroup Sep 25, 2024
d838004
address pr feedback
miles-grant-ibigroup Oct 7, 2024
5305913
complete pr feedback addressing
miles-grant-ibigroup Oct 7, 2024
e1c6d82
correct types
miles-grant-ibigroup Oct 7, 2024
b94b3d2
update snapshots
miles-grant-ibigroup Oct 7, 2024
f8cc983
add missing `nearbyRoutes` to snapshots
miles-grant-ibigroup Oct 7, 2024
7967956
update snapshots
miles-grant-ibigroup Oct 7, 2024
ed1c057
update percy mocks
daniel-heppner-ibigroup Oct 25, 2024
6ff36e6
chore(craco): Update comment for graphql files
binh-dam-ibigroup Nov 1, 2024
0600483
refactor(main): Update comment regarding custom graphql query.
binh-dam-ibigroup Nov 1, 2024
7a61fa9
set correct hover index
miles-grant-ibigroup Oct 15, 2024
d913f52
remove dead code
miles-grant-ibigroup Oct 15, 2024
4ff3481
clean up
miles-grant-ibigroup Oct 15, 2024
e44e025
add missing typescript
miles-grant-ibigroup Nov 1, 2024
7ca2569
clean up miles's bad code
daniel-heppner-ibigroup Nov 4, 2024
16aef0e
respect mode text color
miles-grant-ibigroup Oct 9, 2024
715bf08
address pr feedback
miles-grant-ibigroup Nov 1, 2024
440d974
chore(i18n): Add FR translations
binh-dam-ibigroup Nov 7, 2024
0e71d55
refactor: use plural travelCompanions
josh-willis-arcadis Nov 7, 2024
3b09e8a
fix(en-us): fix spelling
josh-willis-arcadis Nov 7, 2024
1bc082d
refactor(status-badge): use implicit return syntax
josh-willis-arcadis Nov 7, 2024
23791f9
fix: don't zoom when clicking itinerary
daniel-heppner-ibigroup Oct 28, 2024
f470d95
feat(advanced-settings-panel): make api call to get dependent user info
josh-willis-arcadis Nov 15, 2024
d626c55
set correct hover index
miles-grant-ibigroup Oct 15, 2024
ad11fc1
remove dead code
miles-grant-ibigroup Oct 15, 2024
ed27d8c
clean up
miles-grant-ibigroup Oct 15, 2024
734aa58
add missing typescript
miles-grant-ibigroup Nov 1, 2024
4cd8ff3
clean up miles's bad code
daniel-heppner-ibigroup Nov 4, 2024
a9bea3f
respect mode text color
miles-grant-ibigroup Oct 9, 2024
1e4a6d7
address pr feedback
miles-grant-ibigroup Nov 1, 2024
85964b2
nearby: use stoptime headsigns if applicable
miles-grant-ibigroup Nov 7, 2024
6c46ae8
revert unneeded change
miles-grant-ibigroup Nov 13, 2024
1b2975d
only show routes from current service week
miles-grant-ibigroup Aug 21, 2024
5f5ba94
chore(deps): update otp-ui
miles-grant-ibigroup Sep 16, 2024
21c15f3
make currentServiceWeek query in nearby query
miles-grant-ibigroup Sep 25, 2024
e63f20d
address pr feedback
miles-grant-ibigroup Oct 7, 2024
d0566ba
complete pr feedback addressing
miles-grant-ibigroup Oct 7, 2024
928edbb
correct types
miles-grant-ibigroup Oct 7, 2024
feb9a97
add missing `nearbyRoutes` to snapshots
miles-grant-ibigroup Oct 7, 2024
0b01a32
update snapshots
miles-grant-ibigroup Oct 7, 2024
405040f
update snapshots
miles-grant-ibigroup Nov 13, 2024
56f035b
Merge branch 'dev' into plan-trip-on-behalf-of
josh-willis-arcadis Nov 15, 2024
721ef46
remove comment
josh-willis-arcadis Nov 15, 2024
c4bf3c9
remove weird check
josh-willis-arcadis Nov 15, 2024
c8d0d25
feat(advanced-settings-panel): set selected mobility profile in curre…
josh-willis-arcadis Nov 18, 2024
908ed59
feat(api-v2): get mobility profile from current query or from user
josh-willis-arcadis Nov 18, 2024
fef9147
feat(i18n): add missing strings and remove unused
josh-willis-arcadis Nov 18, 2024
1274bfe
fix(i18n): remove unused string from fr translations
josh-willis-arcadis Nov 18, 2024
5761a5e
address pr feedback
josh-willis-arcadis Nov 20, 2024
45b8140
feat: Add confirmation and error landing pages.
binh-dam-ibigroup Oct 30, 2024
2922f2e
refactor(confirmation.html): Merge error and confirmation pages
binh-dam-ibigroup Oct 31, 2024
8178e87
chore(i18n): Add FR translations
binh-dam-ibigroup Nov 7, 2024
f4ca59e
refactor: use plural travelCompanions
josh-willis-arcadis Nov 7, 2024
cd22a1b
refactor(existing-account-display): remove collapsible prop
josh-willis-arcadis Nov 15, 2024
50e09cb
refactor(saved-trip-editor): remove collapsible prop
josh-willis-arcadis Nov 15, 2024
5ba7b37
fix: consolidate stop times query, remove onlyRequestForOperators
amy-corson-ibigroup Oct 15, 2024
4e16499
fix query for stops
amy-corson-ibigroup Oct 16, 2024
4838464
fix: make transitIndex stops comprehensive list instead of rewriting …
amy-corson-ibigroup Oct 21, 2024
b67ba23
replace $set wtih $merge for FIND_STOP_TIMES_FOR_STOP
amy-corson-ibigroup Oct 21, 2024
86005cd
we only need one $merge actually
amy-corson-ibigroup Oct 21, 2024
21dd75b
Provide transiations for OTP-UI-stopsAndStations layer
amy-corson-ibigroup Oct 21, 2024
125ce26
restore missing otp1 fields
miles-grant-ibigroup Nov 8, 2024
ea08952
chore(deps): update otp-ui
miles-grant-ibigroup Nov 13, 2024
0b50f23
Merge branch 'dev' into plan-trip-on-behalf-of
josh-willis-arcadis Nov 20, 2024
44fb4b6
chore(i18n): Add FR text
binh-dam-ibigroup Nov 21, 2024
736d2d0
address pr feedback
josh-willis-arcadis Nov 21, 2024
7e5e75c
fix(i18n): remove extra space
josh-willis-arcadis Nov 22, 2024
fe2c134
fix(advanced-settings-panel): adjust spacing and indenting to be unif…
josh-willis-arcadis Dec 5, 2024
bb77913
Merge branch 'dev' into plan-trip-on-behalf-of
josh-willis-arcadis Dec 6, 2024
f5f8ebd
Merge branch 'dev' into plan-trip-on-behalf-of
josh-willis-arcadis Dec 10, 2024
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
Prev Previous commit
Next Next commit
complete pr feedback addressing
  • Loading branch information
miles-grant-ibigroup authored and josh-willis-arcadis committed Nov 15, 2024
commit d0566bab69e08e177c06463bdb436d346b3c60d0
10 changes: 4 additions & 6 deletions lib/actions/apiV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,12 +872,10 @@ export function findRoutes() {

dispatch(
createGraphQLQueryAction(
`{
routes ${
currentServiceWeek
? `(serviceDates: {start: "${currentServiceWeek.start}", end: "${currentServiceWeek.end}"})`
: ''
}{
`query Routes(
$currentServiceWeek: LocalDateRangeInput
) {
routes (serviceDates: $currentServiceWeek) {
id: gtfsId
agency {
id: gtfsId
Expand Down
2 changes: 2 additions & 0 deletions lib/components/viewers/nearby/stop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ const Stop = ({
(a: StopTime, b: StopTime) => fullTimestamp(a) - fullTimestamp(b)
)
if (
// NearbyRoutes if present is populated with a list of routes that appear
// in the current service period.
stopData.nearbyRoutes &&
!stopData.nearbyRoutes.includes(st?.pattern?.route?.gtfsId)
) {
Expand Down