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

UI fixes #710

Merged
merged 4 commits into from
Jan 22, 2025
Merged

UI fixes #710

merged 4 commits into from
Jan 22, 2025

Conversation

traines-source
Copy link
Contributor

@traines-source traines-source commented Jan 21, 2025

  • this resolves, if we agree that checking GTFS-provided colors for sufficient contrast is not in scope rn, WebUI contrast issue: white text on white line badge not visible #708
  • this does very ugly things to at least temporarily fix the effect of accidentally tapping on the Departure/Arrival buttons or the date field when selecting a result from the From/To autocompletes. This is probably sth that needs fixing upstream in bits-ui, but I didn't yet manage to isolate the issue and spent far too much time on this already...

Lmk if you think that it makes sense to backport the changes from #705 and this PR to prima-mobile (since I still don't see any nice, straightforward way to share the components...)

@traines-source traines-source marked this pull request as draft January 21, 2025 23:50
@traines-source traines-source marked this pull request as ready for review January 21, 2025 23:56
@felixguendling
Copy link
Member

checking GTFS-provided colors for sufficient contrast

Yes, that's out of scope. I would prefer if checks for this were added to GTFS validator tools. This is nothing we should try to fix in MOTIS or the UI as we're too late in the pipeline.

upstream in bits-ui, but I didn't yet manage to isolate the issue and spent far too much time on this already.

If it's easier to just roll our own components in some cases, it's fine to kick out bits-ui. It just comes in handy if it's exactly matching the use case. If it's not, it can become a burden instead of helping us.

Lmk if you think that it makes sense to backport the changes from #705 and this PR to prima-mobile (since I still don't see any nice, straightforward way to share the components...)

That would be amazing! :)

@felixguendling felixguendling merged commit 6a00abe into motis-project:master Jan 22, 2025
11 of 12 checks passed
D3vZro added a commit to MoViDe-Project/motis that referenced this pull request Jan 30, 2025
* Use `maxTravelTime` to filter results (motis-project#668)

* Use 'maxTravelTime' to filter results

* Change unit to minutes

* Fix formatting

* Fix type for MSVC build

* Update nigiri dependency

* Set limit for maximum travel time

* GBFS: Performance/Memory Improvements + Vehicle Types (motis-project#670)

* gbfs: partition providers, faster updates, less memory usage

* fix vehicle_docks_available

* slightly faster geofencing zone mapping

* rename provider_cache -> provider_file_infos

* ts formatting

* formatting

* clang fixes

* clang fix

* clang fixes

* trying to fix apple clang

* static_cast all the things

* review changes

* fix include

* 65k gbfs providers should be enough

* remove obsolete comment

* sort vehicle status before diff

* fill cache during gbfs update

* cleanup

* partition vehicle types by form factor + propulsion type

* rental api changes (RENTAL mode + form factor + propulsion type)

* ui fix

* rename provider segment -> products

* vehicle type id -> idx

* rename more segment -> products

* one more r-tree to speed up geofencing zone mapping

* clang fix

* fix api descriptions

* api: add rental provider filter

* ui: fix direct connection display for rental connections

* return constraint support, allow roundtrip for direct connections

* ui formatting

* fix missing gbfs data after update

* http proxy support

* share decompressed bitvecs between routing requests

* fix missing initializer

---------

Co-authored-by: Felix Gündling <[email protected]>

* replace wheelchair with pedestrianProfile and useRoutedTransfers params (motis-project#683)

* replace wheelchair with pedestrianProfile and useRoutedTransfers parameters

* fix test

* ui: debounce search requests

* increase trains limit to support big cities like Paris/London/..

* add timeout option

* cli changes (motis-project#685)

* cli changes

* wip

* update nigiri

* Update README.md: not beta anymore

* update nigiri: speedup ~8% by not finding 24h+ transfers

* basic benchmark and QA tooling (motis-project#686)

* bench

* wip

* wip

* wip

* wip

* fix command line flag handling

* full dataset test (motis-project#687)

* full dataset test

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* body size limit 128M

* cmake: Add option to pass flags not used for host tools (motis-project#689)

* update nigiri: rt update fixes time travel

* more rebostness against invalid delay update data

motis-project/nigiri#162

* update nigiri: trim stop time before empty check for interpolation

* motis config: fix crash with no parameters

* update nigiri: better trip names (motis-project#695)

* polish translation

* Detailed transfers flag + output exactly what nigiri routed (motis-project#698)

* wip

* output exactly what nigiri routed

* remove logging output

* remove unused variable

* fix eval

* wip

* wip

* Initial style guide docs/STYLE.md

* Fix missing closing tag (motis-project#700)

* Fix missing closing tag

* Add sections for important tools

This adds a section for `strong`, as well as `vector_map` and `vecvec`.

* Fix index out of range for stop_times last arrival of multi-section run (motis-project#704)

* fix index out of range for stop_times last arrival of multi-section run

* follow style guide

Co-authored-by: Felix Gündling <[email protected]>

---------

Co-authored-by: Felix Gündling <[email protected]>

* (Mobile) UI improvements (motis-project#705)

* ui: move components to lib

* ui: make components more responsive

* ui: more compact layout

* ui: i18n fixes

* ui: make toggle button state more visible

* ui: error handling, avoid repeated effect triggering

* ui: more small screen adjustments

* ui: url state handling

* ui: show backend error msgs, compact transfer display

* UI fixes (motis-project#710)

* ui: fall back to black routeTextColor (gtfs spec)

* update ui deps

* ui: workaround to avoid clickthrough

* ui: linting

* update nigiri: monotonicity enforcement on utc times (fixes interpolation for frequency expanded trips)

* ui changes

* Improve formatDuration (motis-project#713)

* Update formatDuration.ts

* fix formatting

* fix formatting

* Fix formatting

* osr_footpaths: add missing footpaths (motis-project#707)

* osr_footpaths: add missing footpaths

* update osr (ramp support)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* formatting

---------

Co-authored-by: Michael Kutzner <[email protected]>
Co-authored-by: Pablo Hoch <[email protected]>
Co-authored-by: Felix Gündling <[email protected]>
Co-authored-by: Felix Gündling <[email protected]>
Co-authored-by: Jonah Brüchert <[email protected]>
Co-authored-by: Traines <[email protected]>
Co-authored-by: Altonss <[email protected]>
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