Commit Graph
506 Commits
Author SHA1 Message Date
MM20 997f7d29d0 Location search screen: at animations 2024-06-14 23:00:43 +02:00
MM20 edcf5a70bb Restructure integration settings screen 2024-06-14 22:47:23 +02:00
MM20 f6dfddedb2 Remove unused resources 2024-06-14 15:23:37 +02:00
MM20 892e4971a3 Respect card opacity in search background 2024-06-14 13:07:30 +02:00
MM20 991f0c88d8 Fix searchables closing on refresh 2024-06-14 12:58:36 +02:00
65a9c8c1fe Add support for location plugins (#772)
* Cherry pick location refactor

* Refactor :data:openstreetmaps to :data:locations

* contract, plugin sdk

* Implement serialization, module tweaks

* Include check for out-of-date departures in SearchableItemVM.requestUpdatedSearchable()

* settings for location plugins

* Try not to be too lazy

* more fiddling with the plugin SDK

* add departures in MapView with mock data for debug builds

* change icons

* add boats

* animate departure lazycolumn

* Add MarqueeText for text overflow handling

* Define height for Departures in case there is no map to display

* Don't inclure railway / highway tags for OSM since there will be location plugins for that

* sort by time

* - Apply pre-merge changes to LocationSettings
- Add banner warning about slowed down location search for large search radii

* ditch `showLocationOnMap`

* LocationItem: make `showOpeningSchedule` toggleable

* LocationItem: make Navigation AssistChip work for people that don't have google maps installed

* LocationItem: resolve TODOs

* MapTiles: ditch unused code, animate userIndicator

* Reintroduce departure list

* Add LineColor

* Add osm tag `stars` as `userRating` https://taginfo.openstreetmap.org/keys/stars#overview

* typealias -> import

* Don't add Navigation Chip when there is no way to resolve navigation intents

* Add settings migration

* Set plugin SDK version to 1.2.0-SNAPSHOT

* Deduplicate shared plugin classes, use kotlinx.serialization

* Fix imports

* Use ZonedDateTime for depature times

* Add more line types

* Rewrite location serialization

* Replace street/houseNumber with address

* Add attribution field

* Add plugin config

* Reject location search requests without lat lon parameters

* Add default values to plugin location class

* Don't crash if column value is null

* Add docs comments to LocationCategory values

* Refactor OpeningSchedule as polymorphic

* remove dead corpse *ahem* code

* Split LocationCategory into category and icon

(Also update to Kotlin 2.0, please don't do this at home)

* Add more location icons

* Fix (?) location deserializer

* Add more location icons

* More icons

* Meh

* Add Pub

* Disable Github Maven repo if credentials are missing

* Add location search specific settings to plugin details screen

* Add language parameter

* Unbreak the build

* Refactor plugin SDK (with breaking changes)

* Set plugin SDK version to 2.0.0-SNAPSHOT

* Document SDK breaking changes

* Implement LocationProvider.getQuery

* Add a typesafe cursor API

* Oops I did it again

next time maybe check if the code is actually compiling before pushing

* Add missing return statement

* Fix list serialization

* Departure time UI adjustment

* Use typesafe cursor for weather plugins

* Add userRatingCount and emailAddress fields

* grrr

* Rename and extend LineTypes

* Add default lineType to Departure to fix serialization errors

* Fix refreshing stored plugin locations

* Adapt line name column width to available departures

* Fix plugin settings screen category overlap

* add LocationItem.GenericTransit

* Fix crash during deserialization of locations

* Update SDK docs

* Replace plugin "official" mark with "verified developer" mark

before anyone gets sued

* show 'now' when departure is in less than one minute

* Add typesafe Bundle API

* Implement plugin API changes

* Plugin SDK: Fix refresh result not being returned

* Update docs

* apply alpha to departures that have departured

* better (maybe): reduce saturation instead of alpha

* Add default values for Attribution

* Display attribution

* Rearrange location result layout

* Reduce searchable update interval to 1 minute

* Pass last update time to refresh function

* Change refresh path and ensure that timestamp is only update when the item was updated

* categorize osm location

* Update docs

* Optimize location search

- run providers in parallel
- flatten code

* add experimental address parsing for OSM

* add poi_category_townhall

* Fix popup closing when favorites items are updated

* Revert "Fix popup closing when favorites items are updated"

This reverts commit fc517fd066c7f8109b6d6df2d4f536af66398207.

* Fork AndroidAddressFormatter to `:libs:address-formatter`

* migrate `:libs:address-formatter` dependencies to version catalog and update them

* also consider addr:{suburb,hamlet} for `Address.city` if city tag is missing

* Move poi strings back to strings.xml

* Update Jetpack Compose

* Move address-formatter back to its original package, add license and readme

* Move address-formatter back to its original package

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2024-06-14 11:57:03 +02:00
acress1andMM2-0 cfe80ff3e5 alarm displayed within 12hours instead of 15min 2024-06-14 11:55:51 +02:00
MM20 64ce07475c Clear focus when opening a bottom sheet 2024-05-24 18:20:01 +02:00
MM20 dbbe5fc2c7 Fix missing shortcut permission banner text 2024-05-23 22:22:49 +02:00
MM20 6b36fe1963 Fix background blur on Pixel 8
(and other devices (?))

Close #590
2024-05-23 00:41:43 +02:00
MM20 13d2f522e2 Search list: add content types 2024-05-20 18:29:07 +02:00
MM20 9e8d567cb6 Rename string resource 2024-05-19 18:23:00 +02:00
MM20 72ab5dff39 Only show the first 5 results of each category by default 2024-05-19 18:19:34 +02:00
MM20 8054f6e5c4 Don't show wikipedia image if it's empty 2024-05-18 00:15:15 +02:00
MM20 ff53330173 Add compact wikipedia results view 2024-05-18 00:12:39 +02:00
MM20 c35f0b3694 Undo location category spelling changes
Close #798
2024-05-17 21:43:29 +02:00
MM20 c55a9b6aa3 Make pinned tags toggleable 2024-05-17 21:43:04 +02:00
MM20 2319e47184 Add unit tests for OpeningSchedule.isOpen
Issue #838
2024-05-17 15:39:34 +02:00
MM20 d87c582dda Shared element, not shared bounds 2024-05-17 12:39:31 +02:00
MM20 6793047577 Fix search favorites tag expand icon color 2024-05-17 12:35:59 +02:00
MM20 eae816c3d7 Add favorites transition 2024-05-17 00:03:15 +02:00
MM20 f7f0e54f2e Fix calendar widget animation 2024-05-16 23:22:10 +02:00
MM20 417c2e2972 Fix card opacity 2024-05-16 23:09:43 +02:00
MM20 8875f6922b Search result design adjustments 2024-05-16 23:01:49 +02:00
MM20 e41d20331f Fix unnecessary calendar icon updates 2024-05-12 18:30:01 +02:00
MM20 f09c66f919 Fix keyboard enter action
Close #813
2024-05-10 13:53:34 +02:00
MM20 bbdafdf12b Disable pager scroll in widget edit mode
Close #785
2024-05-10 13:20:37 +02:00
MM20 151bdb9bd7 Add plugin docs page 2024-05-08 19:58:42 +02:00
MM20 d54c3026c4 Fix build 2024-05-08 19:21:53 +02:00
MM20 277f32c5ce Explicitely limit grid animation bounds to 0..1 2024-05-08 18:33:04 +02:00
MM20 9e8b7a7677 Fix clock widget 12-hour format 2024-05-08 18:10:35 +02:00
MM20 5ffb8734e5 Fix compact clock widget padding
Fix #804
2024-05-08 18:01:01 +02:00
MM20 20e361b0c6 Segment clock: show leading zero
Close #786
2024-05-07 00:04:15 +02:00
MM20 f6028a3f39 Finalize location item UI 2024-05-06 23:35:31 +02:00
MM20 787f64b85f Location item design 2024-05-06 19:41:14 +02:00
MM20 2cda2437f3 Redesign places result 2024-05-05 22:43:06 +02:00
MM20 a382c40c20 Store memory dumps in cache folder 2024-05-05 12:27:20 +02:00
MM20 b9ddb9acf0 Rewrite MapTiles component to allow non-square aspect ratios 2024-05-05 02:41:05 +02:00
MM20 900e39c680 Add missing onBackground color preference in theme editor 2024-05-04 16:01:31 +02:00
MM20 5734fc791c Bring back hidden items button 2024-05-04 00:03:37 +02:00
MM20 1d6688831c Add managed location to weather plugin API 2024-05-03 13:02:17 +02:00
MM20 b0f9ffd473 Music widget: add album art transition 2024-05-03 11:21:56 +02:00
MM20 7ee5bd5c61 This, but better v 2024-05-02 19:15:05 +02:00
MM20 dd09487729 Add calendar widget transition 2024-05-02 19:09:43 +02:00
MM20 25b71f4b08 Add expand / collapse transition to favorites tag list 2024-05-02 18:28:53 +02:00
MM20 94893a2c43 Add filter bar customizations 2024-05-01 16:21:39 +02:00
MM20 fdb94b5505 Display current size in widget resize handle 2024-04-29 19:16:26 +02:00
MM20 069b21a118 Add preferences to hide filter bar and to configure the default filter 2024-04-23 21:39:58 +02:00
MM20 ee83b87f39 Reset search filters when query is cleared 2024-04-21 20:30:55 +02:00
MM20 eda57aea2b Fix keyboard filter bar placement issues 2024-04-21 19:03:35 +02:00