-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add all companies to the evu picker (#482) #1341
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,11 +104,29 @@ | |
"w_additional_speed_restriction_modal_table_label_from": "Von", | ||
"w_additional_speed_restriction_modal_table_label_until": "Bis", | ||
"w_additional_speed_restriction_modal_table_label_reason": "Grund", | ||
"c_ru_sbb_p": "SBB", | ||
"c_ru_sbb": "SBB AG", | ||
"c_ru_sbb_p": "SBB Personenverkehr", | ||
"c_ru_sbb_epa": "SBB Voyageur (EPA)", | ||
"c_ru_sbb_c": "SBB Cargo", | ||
"c_ru_bls_p": "BLS", | ||
"c_ru_sbbc_int": "SBB Cargo International", | ||
"c_ru_sbb_d": "SBB GmbH Deutschland", | ||
"c_ru_sbb_infra_baulog": "SBB Infrastruktur Baulogistik", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Die Keys sind etwas inkonsistent. Beispielsweise verwendet du für Infrastruktur manchmal |
||
"c_ru_sbb_infra_path": "SBB Infrastruktur PathOrderTool", | ||
"c_ru_bls_n": "BLS Netz AG", | ||
"c_ru_bls_p": "BLS Personenverkehr", | ||
"c_ru_bls_nevu": "BLS Netz AG EVU", | ||
"c_ru_bls_c": "BLS Cargo", | ||
"c_ru_sob": "SOB", | ||
"c_ru_sob_t": "SOB Transport EVU", | ||
"c_ru_sob_i": "SOB Infrastruktur", | ||
"c_ru_sob_iti": "SOB Infrastruktur TI", | ||
"c_ru_thu": "Thurbo AG", | ||
"c_ru_ra": "RegionAlps SA", | ||
"c_ru_travys": "TRAVYS SA", | ||
"c_ru_transn": "transN", | ||
"c_ru_tpfinfra": "TPF Infra SA", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Würde die Keys gleich machen wie bei z.B. den anderen EVU ( |
||
"c_ru_tpftrafic": "TPF Trafic SA", | ||
"c_ru_tmr": "TMR SA", | ||
"c_ru_mbc": "MBC SA", | ||
"c_unknown": "Unbekannt", | ||
"c_train_number": "Zugnummer", | ||
"c_today": "Heute", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,15 +92,27 @@ class _RailwayUndertakingTextFieldState extends State<_RailwayUndertakingTextFie | |
hintText: widget.isModalVersion ? context.l10n.p_train_selection_ru_description : null, | ||
), | ||
onTap: () { | ||
final radius = Radius.circular(16); | ||
showModalBottomSheet( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wie besproche, |
||
context: context, | ||
isScrollControlled: true, | ||
backgroundColor: _modalBackgroundColor(context), | ||
shape: SelectRailwayUndertakingModal.shapeBorder, | ||
constraints: _modalConstraints, | ||
context: context, | ||
builder: (_) => Provider.value( | ||
value: context.read<JourneySelectionViewModel>(), | ||
child: SelectRailwayUndertakingModal(selectedRailwayUndertaking: widget.selectedRailwayUndertaking), | ||
builder: (_) => ClipRRect( | ||
borderRadius: BorderRadius.only( | ||
topLeft: radius, | ||
topRight: radius, | ||
), | ||
child: Material( | ||
color: _modalBackgroundColor(context), | ||
child: Provider.value( | ||
value: context.read<JourneySelectionViewModel>(), | ||
child: SelectRailwayUndertakingModal( | ||
selectedRailwayUndertaking: widget.selectedRailwayUndertaking, | ||
), | ||
), | ||
), | ||
), | ||
); | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hast du hier abgeklärt, wann welcher Text verwendet werden soll? Laut der Confluence-Seite sehe ich zumindest keine Logik, da manchmal Short Name oder Name oder ein Gemisch davon verwendet wird 😄