Repository navigation
feat(ui, widget, screen, map): Added Room Search functionality prototype! + settings UI features, floorplay overlay header, and more - #126
Open
TheStaticBits wants to merge 24 commits into
Open
TheStaticBits wants to merge 24 commits into
TheStaticBits wants to merge 24 commits into
Conversation
added 11 commits
October 7, 2026 16:53
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
gusrod-coder
self-requested a review
October 31, 2026 05:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Consolidated search bars sheets into one search bar, added room search functionality, recent searches, cards for nearby POI search, settings features (Sign in banner and "Help" section), along with the header bar and back button for floorplan overview mode. Also fixed search result markers not showing up. Apologies for the large pull request, MaizeBus is the only thing I have been working on for the past four days :p
Type of Change
feat)fix)Changed Files
map_screen.dart_loadStopsForLaunch()in_loadAllData()now, so that the code does not need to be duplicated insearch_sheet_main.dart_showSearchLocationMarker()takes a "showGetOnIcon" parameter, telling it whether to show a normal marker or an "enter" icon marker._searchLocationMarkeris passed intoCompositeMapWidgetto properly display on map, as it was previously not being displayed (bug fix)_selectedPOIstate to track the currently selected room/POI for the POISheet overlay_showPOISelection()to search around the user's location for a particular type of POI, opening the POI sheet and centering on the user after it finds them._showRoomSearchResult()to center onto a particular room. It switches to the floor of the room, centers it, places a marker, and opens its corresponding POISheet.search_sheet_main.dartsaveRecentSearch()andgetRecentSearches().location_sheet.dartSearchSheetclass.search_rooms.dartlocation_search.dartLocationclass.List<Locations>(which can be RoomLocation objects when rooms are returned as search results)poi_sheet.dartsettings.dartBathroomProviderclass.composite_map_widget.dartfloorplan_marker_service.dartfloorplan_service.dartLocatedFloorplanPoiclass, which stores a POI along with its building, floor, etc.FloorplanPoiIndexclass, which is used for searching. It projects all POIs onto the real world map, storing their actual latlng, and adding them all to a single List ofLocatedFloorplanPois. It implements anearestfunction, which returns the nearest X number of POIs of a particular type to a given LatLng.floorplan_style.dartfloorplans_layer.dartfloorplan_overlay_widget.dartonRoomSearchcallback forFloorplanEntryBarclassFloorplanEntryBarFloorplanOverlayclassonClosedandonRoomSearchcallbacks toFloorplanOverlayFloorplanOverlayfor consistency with the map search bar UIbathroom_provider.dartmain.dartsearch_result_layer.dartdialog.dartshowDialogOptions()function, which displays a dialog to the user with as many different options on it as the function caller passes in via theoptionsparameter.constants.darttoJson()andfromJson()functions toLocationclass to help with saving recent search locationsdirections_sheet.dartSearchSheet()calls (due to the new parameter in SearchSheet widget)journey_results_widget.dartSearchSheet()calls (due to the new parameter in SearchSheet widget)floorplan.dartprinter.pngci.yamlDoes your code rely on another PR
None that are still open.
Testing Done
Flutter:
Screenshots / Demo (if UI or notification change)
Checklist
[type](scope): short descriptionmainand is our current working update branch (e.g.maizebus2.1)print()/debugPrint()/console.log()left in production code