Commit Graph

1333 Commits

Author SHA1 Message Date
daplugg23
dac42ea042 fix(location): force UI update on setting change
Use mutable state for locationSearchProvider and googleMapsApiKey display
values in BetterLocationRoot. Update these state variables immediately
when dialogs are dismissed/saved to ensure the UI reflects changes without
reopening the screen.

- Introduce currentProvider/currentApiKey state variables.
- Refresh state in onDismissRequest/callbacks.
2026-02-05 18:04:29 -06:00
daplugg23
0df57f7724 fix(location): ensure config persistence
Explicitly call context.config.writeConfig() when dismissing the
Location Search Provider or Google Maps API Key dialogs.
This ensures that the selected values are persisted immediately,
resolving issues where settings changes were lost or not applied.

Also wraps API key input dialog in explicit writeConfig logic.
2026-02-05 17:52:49 -06:00
daplugg23
8d6dcdb227 fix(location): correct UI layout and translation keys
Resolve vertical text rendering issue by using Modifier.weight(1f) in
ConfigSelector. Add proper translation keys to the 'better_location'
block in en_US.json so they are accessible to BetterLocationRoot.
Update key references to match the new structure.

- Add keys: location_search_provider_title, google_maps_api_key_title,
  option_osm, option_google_maps.
- Fix UI layout to handle text wrapping properly.
2026-02-05 17:40:13 -06:00
daplugg23
46e9b7e7f5 feat(location): implement Google Maps geocoding search
Add support for Google Maps Geocoding API in location search dialog.
- Update ChooseLocationDialog signature to accept API key.
- Switch search provider logic based on configuration.
- Use Google Maps Geocoding API when provider is 'google_maps'.
- Maintain OpenStreetMap Nominatim support as fallback/default.
- Pass configured API key from BetterLocationRoot UI.
2026-02-05 17:20:24 -06:00
daplugg23
d485718245 fix(location): remove disable option and add manual UI
- Add ConfigFlag.NO_DISABLE_KEY to locationSearchProvider config to prevent
  'Disable' (null) option which caused fallback to OSM.
- Add manual UI controls to BetterLocationRoot.kt for Location Search Provider
  and Google Maps API Key, as automatic UI generation was not present on this page.
- Add ConfigSelector and ConfigInput helpers to BetterLocationRoot.kt.
- Ensure API key input is hidden/masked in the UI list.
2026-02-05 17:13:44 -06:00
daplugg23
a4de81aaf6 fix(location): correct Google Maps tile source implementation
Replace XYTileSource with OnlineTileSourceBase anonymous object to correctly
handle Google Maps query parameter format (&x=...&y=...&z=...) instead of
path-based format (/z/x/y.png).

- Use correct tile servers (mt0-mt3)
- Override getTileURLString to construct valid Google Maps URLs
2026-02-05 16:52:41 -06:00
daplugg23
a8e0c53be0 feat(location): implement location search provider toggle
Add config properties for locationSearchProvider (osm/google_maps) and
googleMapsApiKey to BetterLocationConfig. Modify ChooseLocationDialog
to switch between OpenStreetMap (MAPNIK) and Google Maps tile sources
based on user preference.

- Add locationSearchProvider unique config property
- Add googleMapsApiKey string config property (SENSITIVE flag)
- Add XYTileSource for Google Maps tiles in AlertDialogs
- Pass locationSearchProvider from BetterLocationRoot to dialog

Translation keys already existed in all 28 language files.
2026-02-05 15:30:14 -06:00
daplugg23
a0728fa951 fix(i18n): remove duplicate ui_settings and update_settings keys 2026-02-05 14:59:50 -06:00
daplugg23
5c7b342195 feat(export): add saved locations export with toggle 2026-02-05 14:54:32 -06:00
daplugg23
67dcc16923 fix(i18n): merge duplicate JSON blocks in all 27 language files 2026-02-05 14:15:10 -06:00
daplugg23
214ec4ffdd fix(i18n): merge duplicate options/global blocks in en_US.json 2026-02-05 14:08:50 -06:00
daplugg23
08610ee398 Refactor: Move OpenStreetMap User-Agent to Constants 2026-02-04 20:35:06 -06:00
daplugg23
1e6e9ada62 Fix OpenStreetMap User-Agent and Story Rewatch Indicator 2026-02-04 20:22:58 -06:00
particle-box
528adc6255 Multiple fixes by RSR 2026-02-04 20:41:32 +05:30
ΞTΞRNAL
c4246e853c feat: Bulk Accept Friend Requests By RSR
Friend request
2026-02-04 20:35:10 +05:30
RSR/
ff398ccc9a Friend request 2026-02-04 11:52:32 +04:00
ΞTΞRNAL
3ce4617deb feat: add banner in README 2026-02-03 08:40:17 +05:30
ΞTΞRNAL
228d5e0b23 feat: add banner 2026-02-03 08:35:59 +05:30
particle-box
d65938ab69 prepare for v1.2.6 2026-02-02 10:20:22 +05:30
particle-box
e0ea732855 fix: translations not appearing properly 2026-02-02 09:43:43 +05:30
particle-box
58928f70e9 fix: build errors 2026-02-02 09:34:16 +05:30
particle-box
0d9267c13d final updation of translations 2026-02-02 08:47:04 +05:30
particle-box
9e41e8154a fix: translations 2026-02-02 00:10:38 +05:30
particle-box
c5f164ccc8 last commit before migration from GitHub 2026-01-31 07:55:39 +05:30
particle-box
c9052cba26 Complete Translations(pt.2) 2026-01-30 21:02:17 +05:30
particle-box
00ca6861f4 fix: rework translations(pt. 1) 2026-01-29 03:21:45 +05:30
particle-box
458e1dde0d Merge branch 'dev' of https://github.com/particle-box/PurrfectSnap into dev 2026-01-28 01:20:39 +05:30
particle-box
a3441e02a8 fix: send override dialog 2026-01-28 01:20:24 +05:30
ΞTΞRNAL
79f9715001 fix: Missing changelog 2026-01-28 00:52:31 +05:30
particle-box
ca35f68e88 fix: build warnings 2026-01-28 00:49:47 +05:30
particle-box
79d1f9098a update translation files 2026-01-28 00:33:57 +05:30
particle-box
f551daf3a4 restore 2026-01-28 00:15:24 +05:30
particle-box
01594b24b5 Merge branch 'dev' of https://github.com/particle-box/PurrfectSnap into dev 2026-01-28 00:05:06 +05:30
particle-box
a92f577aec Multiple changes 2026-01-28 00:04:29 +05:30
ΞTΞRNAL
86370bd9d3 internal test 2026-01-27 23:41:57 +05:30
particle-box
296769af49 redesign: PurrAura Indicator(thanks to RSR) 2026-01-26 13:37:27 +05:30
ΞTΞRNAL
1401aa90cc Merge pull request #92 from syedinsaf/dev
docs: polish README wording and clarity
2026-01-26 13:26:01 +05:30
ΞTΞRNAL
6a752b68d9 fix: Revise README
Updated various sections for clarity and added new dependencies.
2026-01-26 13:24:30 +05:30
ΞTΞRNAL
fe6785f7f1 fix: unnecessary addition 2026-01-26 13:02:07 +05:30
particle-box
06046340c6 feat: wrong architecture detector 2026-01-26 12:45:31 +05:30
Syed Insaf
403c9df173 docs: polish README wording and clarity 2026-01-26 04:41:50 +05:30
Syed Insaf
67b493e6bb docs: polish README wording and clarity 2026-01-26 04:40:11 +05:30
particle-box
cd924b1b0d fix: no such directory auto patcher 2026-01-25 21:09:03 +05:30
particle-box
5d2a3dedb7 feat: Auto Mapper for Manage Friend List(thanks to RSR) 2026-01-25 20:30:16 +05:30
particle-box
7fe49f2fe4 fix: Prevent snap replay & fix remove audio note duration & transcription(thanks to RSR) 2026-01-25 14:28:03 +05:30
particle-box
327efafbe5 fixes 2026-01-23 20:22:47 +05:30
particle-box
de4d8dac39 more fixies 2026-01-23 01:22:10 +05:30
particle-box
d8d82cd098 fix: accidental change 2026-01-23 01:10:36 +05:30
particle-box
222b4885ba several fixes 2026-01-23 01:09:00 +05:30
particle-box
ef4f4c78cb fix: build errors 2026-01-23 00:48:55 +05:30