Jackson Harper
1acbd04b01
Bump Android version
2023-05-25 10:53:50 +08:00
Jackson Harper
ca4c05f11d
Cascade highlight deletes
2023-05-25 10:37:46 +08:00
Jackson Harper
5a7bb079ae
Increment Android version
2023-05-19 10:04:21 +08:00
Jackson Harper
9183d3e64e
Make the labels scrollable, set background of focused list item
2023-05-18 20:10:39 +08:00
Jackson Harper
c4510c7b55
Make the android label selector scrollable
2023-05-17 11:59:19 +08:00
Jackson Harper
7dca0a5d5a
Bump Android version
2023-05-16 11:36:29 +08:00
Jackson Harper
03d7d80b4f
Use bottombar when saving
2023-05-16 11:23:58 +08:00
Jackson Harper
3cf60df783
Add share menu item in the reader
2023-05-15 19:20:17 +08:00
Jackson Harper
f6b2484007
Resolve issue where changing theme would hide the bottom modal
2023-05-15 18:21:24 +08:00
Jackson Harper
549481020b
Better state handling of the reader bottom sheet
2023-05-15 15:36:06 +08:00
Jackson Harper
49af48a695
Set labels on creation
2023-05-15 14:59:22 +08:00
Jackson Harper
b9c4a6a476
Create labels inline
2023-05-15 12:05:58 +08:00
Jackson Harper
9fba4aa1af
Use FlowRow for labels on cards
2023-05-12 17:07:52 +08:00
Jackson Harper
42d9c5fea8
Dont create labels in the library mode
2023-05-12 17:00:16 +08:00
Jackson Harper
6c2059807f
More work on Android label selector
2023-05-12 16:32:59 +08:00
Jackson Harper
8e3c2f65bb
Work on new android label selector
2023-05-12 12:08:40 +08:00
Jackson Harper
99f0d945a6
Simplify label selection sheet bottom modal interaction
2023-05-11 13:22:31 +08:00
Jackson Harper
f4722645e8
Sort labels based on lowercase locale
2023-05-11 12:47:01 +08:00
Jackson Harper
1df725be6b
Bump version
2023-05-10 23:04:30 +08:00
Jackson Harper
c16c5e4ca2
Special handling of the Open Original button
2023-05-10 21:39:59 +08:00
Jackson Harper
d03d8b931a
New bottomsheet for handling link opening
2023-05-10 21:03:28 +08:00
Jackson Harper
711a1cd32c
Remove unneeded live data
2023-05-10 14:48:59 +08:00
Jackson Harper
de3db625f7
ADd the set labels sheet back in
2023-05-10 14:44:36 +08:00
Jackson Harper
431866da8b
Start to move bottomsheet handling into viewModel so it can control the current bottom state
...
This is needed so we can implement the "Open Link" bottom sheet
and re-enable the Labels bottom sheet.
2023-05-10 13:32:55 +08:00
Jackson Harper
7fdcf70a83
Android menu and version
2023-05-09 11:28:40 +08:00
Jackson Harper
001a4b25c7
Bump the version number
2023-05-08 23:00:48 +08:00
Jackson Harper
7e70cf283c
Better handle the system theme
2023-05-08 23:00:38 +08:00
Jackson Harper
f5f3555355
Use the main bottom sheet for the labels
2023-05-08 22:36:55 +08:00
Jackson Harper
0091d5c42a
More work on notebook bottom views
2023-05-08 22:24:03 +08:00
Jackson Harper
dc7c992ed2
More work on notebook using bottom sheet
2023-05-08 17:06:27 +08:00
Jackson Harper
e4e153e01f
Display the system default font name correctly, set colour on font menu items
2023-05-08 15:10:21 +08:00
Jackson Harper
44309467da
Update navbar colours from themekey live data
2023-05-08 13:52:03 +08:00
Jackson Harper
6a99bc5ed6
Swap black and white
2023-05-06 00:07:02 +08:00
Jackson Harper
bf4b3d5b79
Add all highlights before inserting cross refs
2023-05-06 00:06:24 +08:00
Jackson Harper
135ecbaa11
Use a bottom sheet for theme, set header based on theme
2023-05-05 21:45:04 +08:00
Jackson Harper
34f0a964ec
Remove unused script handler for background colours
...
This isn't needed anymore as the bundled reader will display the
background colour.
2023-05-05 17:30:57 +08:00
Jackson Harper
d399bf15f5
Insert saved items with highlights in labels in single transaction, reset search cursor when pulling to refresh or changing search filter
2023-05-05 17:14:00 +08:00
Jackson Harper
b7421950a4
Do all item db insertion in a single transaction
2023-05-05 16:35:41 +08:00
Jackson Harper
8ac5b4c8f1
Remove shadow types used for CardData from Android types
2023-05-05 15:25:22 +08:00
Jackson Harper
3841894d55
Add fonts on Android
2023-05-05 13:45:27 +08:00
Jackson Harper
857e7ce010
Add new fonts on iOS
2023-05-05 13:23:54 +08:00
Jackson Harper
c9ed599700
Merge pull request #2163 from omnivore-app/feat/android-notebooks
...
First pass at Android Notebooks, most parts in place, lots of styling needed
2023-05-05 13:04:58 +08:00
Jackson Harper
2a0f114231
Fix the archive filter in the main DB query to handle "all"
2023-05-05 12:47:45 +08:00
Jackson Harper
1a813a42b4
Bump Android version
2023-05-05 11:15:52 +08:00
Jackson Harper
cd68a0d7a3
Work on notebooks, make a readonly version
2023-05-04 20:45:30 +08:00
Jackson Harper
8a11a40d05
Merge pull request #2157 from josemas79/main
...
Spanish translation
2023-05-04 14:10:54 +08:00
Jackson Harper
7067be4371
More on Android notebooks, fix query, clean up UI
2023-05-03 22:04:56 +08:00
Jackson Harper
51b5c578f1
First pass at Android Notebooks, most parts in place, lots of styling needed
2023-05-03 18:53:01 +08:00
José Manuel Sánchez
25e3d92fa8
Spanish translation
2023-05-03 11:54:36 +02:00
Jackson Harper
9f4ba676ce
Bump version to 0.6
2023-05-02 16:12:22 +08:00
Jackson Harper
52297217eb
Better button title when filtering by labels
2023-05-02 16:11:34 +08:00
Jackson Harper
0a147b744d
Move theme and color scheme setting to the documentElement
...
In theory this is more correct and could help with issues of
color-scheme not being set correctly in the reader on iOS and
Android.
2023-05-02 16:01:16 +08:00
Jackson Harper
a1952fb9e7
Fix issue when changing color mode, use update theme instead of updateColor mode
...
This prevents the Dark theme from being used instead of Black
when changing theme on Android.
2023-05-02 16:00:12 +08:00
Jackson Harper
2feb2067f8
Add new fonts to Android
...
Some new fonts:
- Atkinson Hyperlegible
- Newsreader
- LXGW WenKai
2023-05-02 14:51:11 +08:00
Jackson Harper
e90501a38a
Update link to privacy policy in Android
2023-04-29 13:33:24 +08:00
Jackson Harper
35bc4d5e3b
Bump Android to 0.0.52
2023-04-28 19:12:01 +08:00
Jackson Harper
e8dcffe529
Make sure justifyText attribute is set
2023-04-28 09:53:06 +08:00
Jackson Harper
169a3a2d73
Parse URLs out of text when sharing to Android
2023-04-27 22:53:55 +08:00
Jackson Harper
a281d7cfe4
Bump android version number
2023-04-27 19:02:39 +08:00
Jackson Harper
db76f83646
Dont allow dismissing the bottom sheet without save/cancel
2023-04-27 18:20:50 +08:00
Jackson Harper
4e87d55b27
New Label chips, show label selector in a bottom sheet
2023-04-27 17:11:43 +08:00
Jackson Harper
94bf4515ac
Add justify text preference, reduce the number of times web content is refreshed
...
Refresh was being triggered by reading progress events, this
prevents us from reloading content on those events.
2023-04-27 12:34:25 +08:00
Jackson Harper
7d04a9811e
Set dates correctly in Android Web Reader
2023-04-27 11:54:19 +08:00
Jackson Harper
e9ae10afb7
Use Black as the themeKey for system dark mode on Android
2023-04-26 22:53:46 +08:00
Jackson Harper
9748803124
Set highlight ids correctly from android to web reader
2023-04-25 15:27:00 +08:00
Jackson Harper
a7d66fd4f2
Set type on highlight objects so they are properly loaded
2023-04-25 14:48:59 +08:00
Jackson Harper
32f5bd2407
Use a single SQL query for loading library data
2023-04-24 18:26:30 +08:00
Jackson Harper
aaf27b0631
Persist highlights while syncing
2023-04-21 20:47:52 +08:00
Jackson Harper
64ded2481e
Always take up space for the image
2023-04-21 20:14:03 +08:00
Jackson Harper
c76d714480
More consistent padding on library cells
2023-04-21 15:44:23 +08:00
Jackson Harper
0f64f3c102
fetch highlights and labels with library sync
2023-04-21 13:36:26 +08:00
Jackson Harper
52f302f5b0
Fetch all label and highlight info when doing library updates
2023-04-21 12:33:23 +08:00
Jackson Harper
4b87f1dd20
Implement article actions on the library
2023-04-20 17:58:26 +08:00
Jackson Harper
9f99b78f1e
Use Navigation Actions for the library item actions
2023-04-20 15:56:12 +08:00
Jackson Harper
aaa2f3755b
Use the three dots icon for the menu
2023-04-20 14:38:45 +08:00
Jackson Harper
326905a08d
Rename SearchBar to LibraryNavBar, use person icon instead of settings
2023-04-20 14:31:42 +08:00
Jackson Harper
928326014b
Remove search text from LibraryViewModel as this is all done in SearchViewModel now
2023-04-20 13:18:26 +08:00
Jackson Harper
7fbd9c5921
Use a standalone searchview and model to better match Android best practices
2023-04-20 13:12:47 +08:00
Jackson Harper
7070819881
Add a library filter button to clear current search
2023-04-20 12:00:01 +08:00
Jackson Harper
7e1eefb4e7
Add colours to resources
2023-04-20 10:56:49 +08:00
Jackson Harper
2ff12a70ad
Update GQL, fetch wordsCount
2023-04-19 21:11:38 +08:00
Jackson Harper
adfa67f896
Load more data for saved items
2023-04-19 18:34:08 +08:00
Jackson Harper
51c4fcaece
WIP: transition to typeahead
2023-04-19 18:11:46 +08:00
Jackson Harper
5261d054d4
Start to separate typeahead search from the view model
2023-04-19 13:01:22 +08:00
Jackson Harper
f3019b0a6e
Clear search text when navigating back
2023-04-19 12:25:00 +08:00
Jackson Harper
1610ae4930
Use a standalone search view for the Library
2023-04-19 12:21:06 +08:00
Jackson Harper
9b0941d705
Add a new SearchView that does typeahead search, add back button to WebReader
...
The end goal here is to separate search and typeahead search so
I can bring more properties onto the main search cards like
save time, number of highlights, article length.
2023-04-18 23:21:59 +08:00
Jackson Harper
70777d323e
Start to get cards closer to web design
2023-04-18 16:05:29 +08:00
Jackson Harper
d2b99399bf
Dont set bottom padding on Android list view
2023-04-18 15:49:40 +08:00
Jackson Harper
653955b3b8
Set email and password keyboard types on login form
...
This prevents auto complete and capitalization issues when
logging in.
2023-04-18 14:45:40 +08:00
Satindar Dhillon
a3018829b3
use channels to space out saved item and highlight syncs to server
2023-04-10 17:07:11 -07:00
Satindar Dhillon
4297fd7290
allow user to override system theme
2023-04-10 16:27:01 -07:00
Satindar Dhillon
3399741b82
regenerate android web bundle
2023-04-10 16:27:01 -07:00
Satindar Dhillon
f647665a04
adjust segmented control colors
2023-04-10 16:27:01 -07:00
Satindar Dhillon
cbb3221ea3
add segmented control for theme preference
2023-04-10 16:27:01 -07:00
Satindar Dhillon
222dbd945e
bump android build number to 32
2023-04-10 16:27:01 -07:00
Satindar Dhillon
889511e282
bump build to 31
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e7143a5081
throttle content fetches to avoid 429 errors
2023-04-10 16:27:01 -07:00
Satindar Dhillon
1ee83041fb
load from db before fetching from server
2023-04-10 16:27:01 -07:00
Satindar Dhillon
af142b190b
reset cursor when initial load is called (happens after rest data cache action)
2023-04-10 16:27:01 -07:00
Satindar Dhillon
eaf46057f4
open reader view when label chips are tapped
2023-04-10 16:27:01 -07:00
Satindar Dhillon
b5f8a07a7f
check if label query list is not empty efore appending label to query string
2023-04-10 16:27:01 -07:00
Satindar Dhillon
1b30662b71
add a data cache rest utton to android
2023-04-10 16:27:01 -07:00
Satindar Dhillon
971c4da5a8
stub in manage account dialog
2023-04-10 16:27:01 -07:00
Satindar Dhillon
65843d3048
stub in a settings viewmodel
2023-04-10 16:27:01 -07:00
Satindar Dhillon
03adc8c3d6
disable settings cells that are in progress
2023-04-10 16:27:01 -07:00
Satindar Dhillon
f98b97fd29
update settings cell icon
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e1c2d041fd
attempt to set cookie for theme in android webview
2023-04-10 16:27:01 -07:00
Satindar Dhillon
1f15392b05
add logout dialog and static terms/privacy page embeds
2023-04-10 16:27:01 -07:00
Satindar Dhillon
872b8cf722
add alert dialog for logout action
2023-04-10 16:27:01 -07:00
Satindar Dhillon
3ef3bb63b2
stub in settings sections and rows
2023-04-10 16:27:01 -07:00
Satindar Dhillon
5a9ca1e5f9
create settings row composable
2023-04-10 16:27:01 -07:00
Satindar Dhillon
730cc0283e
use lazyColumn to layout settings screen
2023-04-10 16:27:01 -07:00
Satindar Dhillon
9a40f7c08d
update icons
2023-04-10 16:27:01 -07:00
Satindar Dhillon
dbbbee7fab
use more appropriate icons for labels and archive actions
2023-04-10 16:27:01 -07:00
Satindar Dhillon
953622e504
update labels on webview when labels change
2023-04-10 16:27:01 -07:00
Satindar Dhillon
21ab6dd9cd
handle label chages from within web reader activity
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e27a0dd3f0
persist new label to db
2023-04-10 16:27:01 -07:00
Satindar Dhillon
b5a65cbc91
add create label gql mutation
2023-04-10 16:27:01 -07:00
Satindar Dhillon
fa97d01d0c
add callback to save newly created item in vm
2023-04-10 16:27:01 -07:00
Satindar Dhillon
05a0ff3419
create basic create label UI
2023-04-10 16:27:01 -07:00
Satindar Dhillon
f6cf568281
layout label creation dialog
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e455ab0325
stub in LabelCreationDialog
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e1a27a3c15
make labels sheet header sticky
2023-04-10 16:27:01 -07:00
Satindar Dhillon
f4b1c99e5f
add create label button
2023-04-10 16:27:01 -07:00
Satindar Dhillon
db1fc75de2
remove all labels in room db before applying current labels to an item
2023-04-10 16:27:01 -07:00
Satindar Dhillon
d95496040d
make network request to update labels for an item
2023-04-10 16:27:01 -07:00
Satindar Dhillon
7c6743a4e8
move labels selection sheet to new file
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e9c57a6702
add load initial func
2023-04-10 16:27:01 -07:00
Satindar Dhillon
7f3c484ed7
fetch all labels at initialization
2023-04-10 16:27:01 -07:00
Satindar Dhillon
c7860a8d74
bump android build number to 28
2023-04-10 16:27:01 -07:00
Satindar Dhillon
8c7a2b6768
bump android to build 27
2023-04-10 16:27:01 -07:00
Satindar Dhillon
a38eae380e
add labels to library search calls
2023-04-10 16:27:01 -07:00
Satindar Dhillon
e66531cd77
use search api to fill gaps sync might miss
2023-04-10 16:27:01 -07:00
Satindar Dhillon
0282dcb4ad
apply label filters in library live data
2023-04-10 16:27:01 -07:00
Satindar Dhillon
9e1c64e125
display list of labels in library view when labels chip is tapped
2023-04-10 16:27:01 -07:00
Satindar Dhillon
415af59550
stub in labels selection sheet
2023-04-10 16:27:01 -07:00
Satindar Dhillon
c036d26a3f
display labels on saved item card cells
2023-04-10 16:27:01 -07:00
Jackson Harper
5eef42e296
Merge highlight improvements
2023-04-03 17:19:43 +08:00
Satindar Dhillon
5924cb8daa
add additional filters to library
2023-02-19 15:22:21 -08:00
Satindar Dhillon
48867f11ca
show limited set of library filters (all|archived|inbox)
2023-02-18 17:57:15 -08:00
Satindar Dhillon
4694dd16f1
add filter to match archive status
2023-02-18 16:11:01 -08:00
Satindar Dhillon
cfdf3150eb
create library live data function in data service
2023-02-18 15:20:42 -08:00
Satindar Dhillon
c1297b8baf
disable read now in share activity
2023-02-18 10:15:04 -08:00
Satindar Dhillon
88bf3a1a8d
use MediatorLiveData to update library live data when sort filter changes
2023-02-18 10:11:06 -08:00
Satindar Dhillon
0212c31d66
move showSearchFiled state to view model
2023-02-16 21:06:47 -08:00
Satindar Dhillon
b3ddb354ec
pass library view model to search bar
2023-02-16 20:50:04 -08:00
Satindar Dhillon
905f3bf10b
add saved item sort filter ui
2023-02-16 14:46:21 -08:00
Satindar Dhillon
4755199d7f
update filter in library view model when user changes it
2023-02-16 13:56:00 -08:00
Satindar Dhillon
a7c927f65d
add context menu to show under saved item filter dropdown
2023-02-16 09:30:13 -08:00
Satindar Dhillon
59c47c2f23
gst
2023-02-16 09:27:58 -08:00
Satindar Dhillon
497461e7f1
remove refresh buttin from library nav bar
2023-02-14 07:54:28 -08:00
Jackson Harper
bc7f2885b0
Use Instant for storing sync time as this should always be in UTC
2023-02-14 07:54:28 -08:00
Satindar Dhillon
4c07e7d900
add refresh button to library nav ar
2023-02-14 07:54:28 -08:00
Satindar Dhillon
0cbc427c29
update isRefreshing value after sync op is complete
2023-02-14 07:54:28 -08:00
Satindar Dhillon
87dcebe730
clear room db when logging out on android
2023-02-14 07:54:28 -08:00
Satindar Dhillon
0bd9df2ccf
load bg colro of webview based on theme
2023-02-14 07:54:28 -08:00
Satindar Dhillon
9bd6b9409c
animate webview alpha changes
2023-02-14 07:54:28 -08:00
Satindar Dhillon
6e045faf9d
avoid calling web view load twice
2023-02-14 07:54:28 -08:00
Satindar Dhillon
94c107ebc1
load web reader via activity rather than composable
2023-02-14 07:54:28 -08:00
Satindar Dhillon
e51de533e7
use clientx/y in highlight layer
2023-02-14 07:54:28 -08:00
Satindar Dhillon
bd588b0636
bump android build to 0.20
2023-02-14 07:54:28 -08:00
Satindar Dhillon
b54443fba4
make sure nav bar is always shown when page first loads
2023-02-14 07:54:28 -08:00
Satindar Dhillon
82638eaf04
multiply x and y tap coordinates by density to get correct bar positioning
2023-02-14 07:54:28 -08:00
Satindar Dhillon
2c738d111d
use web scroll changes to change top app bar height
2023-02-14 07:54:28 -08:00
Satindar Dhillon
b14aba02ed
track scrolling from webview rather than webview container
2023-02-14 07:54:28 -08:00
Satindar Dhillon
fc49c54867
use string rather than boolean to send js event
2023-02-09 17:55:48 -08:00
Satindar Dhillon
eddbcd293a
add toggle for auto highlight mode on ios
2023-02-09 15:22:39 -08:00
Satindar Dhillon
4be570b621
add library shorcut
2023-01-31 12:38:57 -08:00
Satindar Dhillon
07fd550ee4
add shortcut to library when reader is opened from share ext
2023-01-31 12:35:08 -08:00
Satindar Dhillon
9894b8fb50
load web reader container when tapping read now
2023-01-31 12:20:24 -08:00
Satindar Dhillon
00dfb9386c
load web reader container from read now button action
2023-01-30 15:22:30 -08:00
Satindar Dhillon
3bf74d1f75
add read now button to android share ext
2023-01-30 11:58:09 -08:00
Satindar Dhillon
1822dc7853
remove test label in library view
2023-01-24 21:56:17 -08:00
Satindar Dhillon
c937742b56
regenerate app reader bundles after rebase
2023-01-24 21:52:26 -08:00
Satindar Dhillon
6393c52a24
load web reader from server before db
2023-01-24 21:51:36 -08:00
Satindar Dhillon
075182d515
remove log commands
2023-01-24 21:51:36 -08:00
Satindar Dhillon
83897e63e3
update web bundles
2023-01-24 21:51:33 -08:00
Satindar Dhillon
a02f1efaf4
remove old web reader
2023-01-24 21:50:44 -08:00
Satindar Dhillon
3f1c9d7093
use insert rather than update when creating a highlight
2023-01-24 21:50:44 -08:00
Satindar Dhillon
f352f2a3de
fetch cards list then content for first 20 updated items
2023-01-24 21:50:44 -08:00
Satindar Dhillon
bb1efac336
update db for saved item property changes before sending updates to serevr
2023-01-24 21:50:44 -08:00
Satindar Dhillon
23f1ccde1e
pop web reader when un/archive or delete action is selected from the reader view
2023-01-24 21:50:44 -08:00
Satindar Dhillon
7d20c6ca91
use data service item action to handle library list changes
2023-01-24 21:50:44 -08:00
Satindar Dhillon
89099d4431
use db to save archive status changes and handle deletion from web reader
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8aec8005ce
check if content value is present when opening web reader from db
2023-01-24 21:50:43 -08:00
Satindar Dhillon
245c40e685
split data service file into more files
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8cd14c7540
sync offline highlight changes with serevr before syncing library
2023-01-24 21:50:43 -08:00
Satindar Dhillon
a0d00028a7
sync offline savedItem updates before syncing library list
2023-01-24 21:50:43 -08:00
Satindar Dhillon
3f14cb08ae
set defaults values for serverSyncSTatus and isDeleted values
2023-01-24 21:50:43 -08:00
Satindar Dhillon
d7c76bf9c5
add foreign keys to cross ref tables
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8319fb67ca
load article content from sql
2023-01-24 21:50:43 -08:00
Satindar Dhillon
ffeacab409
save labels when saving items
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8b20a0b0be
add cross ref table for saved item and saved item labels
2023-01-24 21:50:43 -08:00
Satindar Dhillon
23cb7cb2a5
rename id fields to reflect entity type
2023-01-24 21:50:43 -08:00
Satindar Dhillon
985d1ff7ae
stub in syncSavedItemContent function in data service
2023-01-24 21:50:43 -08:00
Satindar Dhillon
26e0c78e19
use live data function from room to render library list
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8349a05dfd
discard old search results when new results come in
2023-01-24 21:50:43 -08:00
Satindar Dhillon
8faf23d4ba
load library list using room db
2023-01-24 21:50:43 -08:00
Satindar Dhillon
02818ab8f1
create SavedItemUpdatesQuery
2023-01-24 21:50:43 -08:00
Satindar Dhillon
87c1800d70
stub in sync call
2023-01-24 21:50:43 -08:00
Satindar Dhillon
2bb2e806ff
add updatesSince API to Android
2023-01-24 21:50:43 -08:00
Satindar Dhillon
270412bc49
inject networker into data service
2023-01-24 21:50:43 -08:00
蒋明强
7cecb748ae
Create strings.xml
...
This is the Chinese Simplified translation for Android.
2023-01-20 17:53:16 +08:00
Satindar Dhillon
9d19f6fdba
use SavedItemCardData to populate library list
2023-01-04 11:36:39 -08:00
Satindar Dhillon
4985508702
update SavedItemCardData class
2023-01-04 11:21:12 -08:00
Satindar Dhillon
bbe8508753
create savedItemCardData class
2023-01-04 10:55:52 -08:00
Satindar Dhillon
3f2fb0b2e0
rename linkedItem to savedItem
2023-01-04 09:26:19 -08:00
Satindar Dhillon
8f695ee06d
rename home to library
2023-01-04 09:26:19 -08:00
Satindar Dhillon
3aff827665
create dataService sibgleton and load it on app launch
2023-01-04 09:26:19 -08:00
Satindar Dhillon
6a6ad34f4d
add comments for creating entity relationships
2023-01-04 09:26:19 -08:00
Satindar Dhillon
7bb05d0a80
port remaining persistence models over from ios
2023-01-04 09:26:19 -08:00
Satindar Dhillon
4bf48e5e5e
convert viewer and linkedItemLabel to room entities
2023-01-04 09:26:19 -08:00
Satindar Dhillon
abb5eade24
add properties to LinkedItem model to match ios model
2023-01-04 09:26:19 -08:00
Satindar Dhillon
7a49b52921
move models into persistence package
2023-01-04 09:26:19 -08:00
Satindar Dhillon
a6c115d5bf
replace Highlight model with Highlight entity
2023-01-04 09:26:19 -08:00
Satindar Dhillon
39ce9a67b3
bump build number to 19
2023-01-04 09:26:19 -08:00
Satindar Dhillon
b7bfaa575e
update build number to 17
2023-01-04 09:26:19 -08:00
Satindar Dhillon
8b2b8d1816
WIP it
2023-01-04 09:26:19 -08:00
Satindar Dhillon
3497cc2f72
add room deps to gradle file
2023-01-04 09:26:19 -08:00
Satindar Dhillon
30ed2405e4
support dark mode in android web reader
2022-12-31 15:31:38 -08:00
Satindar Dhillon
dd55d750d6
force light theme for login and sign up screens
2022-12-28 17:11:37 -08:00
Satindar Dhillon
567997271c
bump android to build 16
2022-12-27 08:18:01 -08:00
Satindar Dhillon
e994462b61
use typeahead search to handle searches on Android
2022-12-27 08:18:01 -08:00
Satindar Dhillon
20a88e78aa
warp gql calls in try/catch blocks
2022-12-27 08:18:01 -08:00
Satindar Dhillon
e6e1a6e023
bump android build number to 15
2022-12-13 20:57:38 -08:00
Satindar Dhillon
6a98e732ea
add add id permission to manifest
2022-12-13 19:05:06 -08:00
Satindar Dhillon
abc7d9ce76
bump android version to 0.0.11
2022-12-13 18:50:25 -08:00
Satindar Dhillon
40fec32674
add intercom chat
2022-12-13 18:49:04 -08:00
Satindar Dhillon
4ba02a64b1
register user with intercom
2022-12-13 18:39:37 -08:00
Satindar Dhillon
3eb11b7a04
fetch viewer so user id can be passed to segment
2022-12-13 18:29:49 -08:00
Satindar Dhillon
faf666d091
add intercom to android app
2022-12-13 17:34:25 -08:00
Satindar Dhillon
a08acb18fa
add eventtracker file
2022-12-13 17:13:30 -08:00
Satindar Dhillon
df7242e5dd
create event tracker class to inject into view models
2022-12-13 17:13:18 -08:00
Satindar Dhillon
80e039dca4
implement note+highlight on pdf viewer in android
2022-12-13 15:49:14 -08:00
Satindar Dhillon
17edcc436a
add note option at time of highlight
2022-12-13 14:48:43 -08:00
Satindar Dhillon
a0e42986b4
add segment analytics to android
2022-12-13 09:04:57 -08:00
Satindar Dhillon
e5fec25fd5
add context menu to web reader (but keep it disabled for now)
2022-12-12 16:36:30 -08:00
Satindar Dhillon
6e1182d163
add graphql files for archiving and deleting in android
2022-12-12 13:58:55 -08:00
Satindar Dhillon
f7f2bce153
handle context menu linkeditem action in view model
2022-12-12 13:58:34 -08:00
Satindar Dhillon
201a736f0f
show context menu on log press in android home cell
2022-12-12 13:03:34 -08:00
Satindar Dhillon
41a978e5fc
use postValue function to update searched items live data
2022-12-09 16:35:27 -08:00
Satindar Dhillon
52fc21b0ad
add pull to refresh mechanism on android home screen
2022-12-09 16:30:53 -08:00
Satindar Dhillon
3a6009b116
bump android target sdk to 33
2022-12-08 09:39:01 -08:00
Satindar Dhillon
98e4a6f5cc
bump multiple dependency versions
2022-12-08 09:39:01 -08:00
Satindar Dhillon
7619b0284c
update apollo android version
2022-12-08 09:39:01 -08:00
Satindar Dhillon
30ec4f71e8
update gradle version
2022-12-08 09:39:01 -08:00
Satindar Dhillon
ce3dccc7a1
update compose version
2022-12-08 09:39:01 -08:00
Satindar Dhillon
bc1ddd5681
adjust menu location with toolbar height. user screenx/y to store tap location
2022-12-07 15:21:19 -08:00
Satindar Dhillon
fde9528996
use co pose annotation edit view in pdf reader
2022-12-07 11:04:12 -08:00
Satindar Dhillon
486a682ad3
send note updates to server
2022-12-07 10:14:03 -08:00
Satindar Dhillon
5b2c58d955
update note on pdf annotation when confirm is tapped on note modal
2022-12-07 09:54:42 -08:00
Satindar Dhillon
5df82d0d14
use action menu when tapping in existing highlights in pdf doc
2022-12-06 11:18:07 -08:00
Satindar Dhillon
99ec98095e
respond to articleMutations within js for android calls only
2022-12-05 20:10:42 -08:00
Satindar Dhillon
643ba33bfd
improve styling of highlight note dialog
2022-12-01 21:15:03 -08:00
Satindar Dhillon
08b5aae9f4
position home feed items at top of view
2022-12-01 13:48:10 -08:00
Satindar Dhillon
28c1628a97
implement text selection copying
2022-12-01 13:03:39 -08:00
Satindar Dhillon
c022ef1874
implement copy highlight action
2022-12-01 11:15:17 -08:00
Satindar Dhillon
88a27b52e3
regenerate web bundles
2022-12-01 10:28:20 -08:00
Satindar Dhillon
708bb25470
send android selection coordinates when touches end
2022-12-01 10:27:41 -08:00
Satindar Dhillon
59da048849
adjust tap location with scroll offset
2022-12-01 10:27:27 -08:00
Satindar Dhillon
46ba2f1710
sync highlight deletion from android
2022-12-01 10:27:16 -08:00
Satindar Dhillon
ce56b06488
clear action mode after js executes
2022-12-01 10:27:06 -08:00
Satindar Dhillon
f31ea67fe6
dispatch to main when UI functions are called from js interface
2022-12-01 10:27:06 -08:00
Satindar Dhillon
4e8c316fea
use screenX/Y to store tap coordinate
2022-12-01 10:27:04 -08:00
Satindar Dhillon
5f2a667bec
track last tap location to show android highlight menu in right place
2022-12-01 10:26:50 -08:00
Satindar Dhillon
e3ccdc4b41
listen for merge highlight js action
2022-12-01 10:26:21 -08:00
Satindar Dhillon
cc4001161e
regenerate bundled web readers
2022-12-01 10:26:19 -08:00
Satindar Dhillon
96f720ae24
generate new js bundles for native mobile apps
2022-12-01 10:25:52 -08:00
Satindar Dhillon
f13c3551fa
send highlightID in json payload send to native app
2022-12-01 10:25:19 -08:00
Satindar Dhillon
ba3852e6c3
update reading progress as pdf pages change
2022-11-15 12:16:48 -08:00
Satindar Dhillon
30ae8ef8d4
update highlight selection actions for pdf
2022-11-15 12:16:48 -08:00
Satindar Dhillon
31c7b705ed
add an edit annotation dialog to pdf viewer
2022-11-15 12:16:48 -08:00
Satindar Dhillon
0f5336b743
copy text to clipboard when user selects copy action
2022-11-15 12:16:48 -08:00
Satindar Dhillon
6747ea4191
show close icon on pdf search view
2022-11-15 12:16:48 -08:00
Satindar Dhillon
31ac8f6023
wrap edit annotation view in fragment
2022-11-15 12:16:48 -08:00
Satindar Dhillon
1e977aa62f
add ability to delete annotations
2022-11-15 12:16:48 -08:00
Satindar Dhillon
2ef7da59b4
remove unused code
2022-11-15 12:16:48 -08:00
Satindar Dhillon
c102bcfc7c
finally get highlight merging working right
2022-11-15 12:16:48 -08:00
Satindar Dhillon
0d32117c75
implement popup menu item listeners
2022-11-15 12:16:48 -08:00
Satindar Dhillon
e287a50844
tap into text selection popover listener
2022-11-15 12:16:48 -08:00
Satindar Dhillon
ec71c580aa
use TextSelectionManager to create highlights
2022-11-15 12:16:48 -08:00
Satindar Dhillon
5a96cad4a9
add hook to detect taps on an existing annotation
2022-11-15 12:16:48 -08:00
Satindar Dhillon
d0ceda4489
add merge highlight graphql file
2022-11-15 12:16:48 -08:00
Satindar Dhillon
51d6c3d31c
use merge highlight mutation
2022-11-15 12:16:48 -08:00
Satindar Dhillon
062f98908f
detect merge overlaps properly
2022-11-15 12:16:48 -08:00
Satindar Dhillon
cb8cecff47
attempt to detect overlapping highlights
2022-11-15 12:16:48 -08:00
Satindar Dhillon
33e45ebba9
save highlight when created from pspdfkit
2022-11-15 12:16:48 -08:00
Satindar Dhillon
f5e3153c66
add hooks for annotation changes in pdf
2022-11-15 12:16:48 -08:00
Satindar Dhillon
dcfe5a6ac5
listen for changes in pdf search view
2022-11-15 12:16:48 -08:00
Satindar Dhillon
9d6f99abf3
add toggle button for thumbnail view
2022-11-15 12:16:48 -08:00
Satindar Dhillon
5060380b05
add pdf thumbnail view
2022-11-15 12:16:48 -08:00
Satindar Dhillon
44c4c3b8f1
attempt to add pspdfkit toolbars
2022-11-15 12:16:48 -08:00
Satindar Dhillon
18819b205a
update android build number to 9
2022-10-20 13:06:16 -07:00
Satindar Dhillon
0ec409cad4
save font preference in datastore
2022-10-20 13:02:22 -07:00
Satindar Dhillon
49df480e2b
display list of font families in web pref dialog
2022-10-19 16:05:23 -07:00
Satindar Dhillon
370649573f
add vertical scroll to web prefs dialog
2022-10-19 13:32:34 -07:00
Satindar Dhillon
6c0676dbc9
add switch for toggling high contrast font on android
2022-10-19 13:01:55 -07:00
Satindar Dhillon
3513e5e975
add plus and minus icons for steppers
2022-10-19 12:44:18 -07:00
Satindar Dhillon
a341475438
store web prefs in dataStore. dispatch changes to webview
2022-10-18 16:25:40 -07:00
Satindar Dhillon
7a1e66ba5f
style web prefs popover
2022-10-17 21:37:38 -07:00
Satindar Dhillon
86337d5d01
add steppers on web prefs dialog
2022-10-17 21:23:39 -07:00
Satindar Dhillon
41e5d3000b
remove param from web pref dialog onDismiss call
2022-10-12 08:04:14 -07:00
Satindar Dhillon
84de7ea640
move annotation view into web reader container
2022-10-11 22:13:31 -07:00
Satindar Dhillon
5068169715
use queue of js ops in web reader view model
2022-10-11 22:09:10 -07:00
Satindar Dhillon
3142ff82c5
add a web prefs dialog
2022-10-11 15:56:21 -07:00
Satindar Dhillon
883ee2a431
structure web preerences into their own data class
2022-10-11 15:56:07 -07:00
Satindar Dhillon
80ba68768e
scale nav bar height as web reader is scrolled
2022-10-11 14:12:53 -07:00
Satindar Dhillon
9d741ff0d9
change navbar offset on scroll
2022-10-11 11:17:26 -07:00
Satindar Dhillon
541719bc59
bump android version
2022-10-10 21:12:25 -07:00
Satindar Dhillon
f64be5ba90
add setup instructions/command to load secrets file for Android
2022-10-10 08:30:57 -07:00
Satindar Dhillon
dae10b2f48
load pspdfkit key from secrets file
2022-10-10 07:45:33 -07:00
Satindar Dhillon
e79ce6fb28
update pspdfkit version -- solves threading issues
2022-10-06 17:42:10 -07:00
Satindar Dhillon
59fe797feb
load annotations and scroll to saved index ancor page
2022-10-06 08:32:39 -07:00
Satindar Dhillon
d89a8d2158
load highlights when pdf is loaded
2022-10-06 08:32:39 -07:00
Satindar Dhillon
634e178e45
use fragment rather than compose for pspdfkit
2022-10-06 08:32:39 -07:00
Satindar Dhillon
a466887dc7
download pdf file and store it locally
2022-10-06 08:32:39 -07:00
Satindar Dhillon
9fc81ed50d
wrap pspdfkit documentview in a fragment
2022-10-06 08:32:39 -07:00
Satindar Dhillon
ff960b760d
add large heap declaration
2022-10-06 08:32:39 -07:00
Satindar Dhillon
a40d523228
add pspdfkit android dep
2022-10-06 08:32:39 -07:00
Satindar Dhillon
e22cd75288
add delete highlight action
2022-09-28 22:05:29 -07:00
Satindar Dhillon
8e6d4d387b
create text selection menu for an existing highlight
2022-09-28 13:51:15 -07:00
Satindar Dhillon
4d889752f6
send reading progress updates to server
2022-09-28 12:34:55 -07:00
Satindar Dhillon
d6a38790cd
remove TODO comment
2022-09-27 20:34:01 -07:00
Satindar Dhillon
d87d25e381
send js to webview when annotation is created
2022-09-27 20:34:01 -07:00
Satindar Dhillon
f6376b929f
add a save annotation view
2022-09-27 20:34:01 -07:00
Satindar Dhillon
aac794949c
send saved highlight to server
2022-09-27 20:34:01 -07:00
Satindar Dhillon
944b3e2d91
move linked item query into networker object
2022-09-26 19:20:01 -07:00
Satindar Dhillon
2be59bdf89
stub logs in for web action handler in web reader view Model
2022-09-26 19:20:01 -07:00
Satindar Dhillon
30c6252360
update mobile app reader bundle
2022-09-26 19:19:58 -07:00
Satindar Dhillon
67cf702ada
update android js interface. send actionID and json to WebReaderViewModel
2022-09-26 19:19:29 -07:00
Satindar Dhillon
4cfa99e063
remove context from networker creation call
2022-09-26 19:19:29 -07:00
Satindar Dhillon
9a4c8a6886
pass datastore repo into networker
2022-09-26 19:19:29 -07:00
Satindar Dhillon
5d0305988b
create a networking package
2022-09-26 19:19:29 -07:00
Satindar Dhillon
60dc141be4
move linkedItem creation into search networker function
2022-09-26 19:19:29 -07:00
Satindar Dhillon
7d0da2d93b
create a networker object to handle gql queries
2022-09-26 19:19:29 -07:00
Satindar Dhillon
9a3109043c
clear selection in android webview after highlight action
2022-09-26 19:19:29 -07:00
Satindar Dhillon
e49410196f
update bundle.js for native apps
2022-09-26 19:19:27 -07:00
Satindar Dhillon
821f2da3a0
add android message handlers in same places webKit handlers are used
2022-09-26 19:19:01 -07:00
Satindar Dhillon
1d619dda5d
add javascript interface to android webView so messages can be sent from web to android
2022-09-26 19:18:58 -07:00
Satindar Dhillon
0f1607e61c
dispatch highlight message to webview on highlight menu nutton tap
2022-09-26 19:17:56 -07:00
Satindar Dhillon
e850de8aa4
subclass webview to override text selection menu
2022-09-26 19:17:56 -07:00
Satindar Dhillon
203195bc34
pass labels and highlights to android web reader'
2022-09-20 21:35:45 -07:00
Satindar Dhillon
4967b829a8
pass labels to web reader
2022-09-20 21:25:00 -07:00
Satindar Dhillon
08aef33514
add network call to fetch article content when opening web view
2022-09-20 11:12:07 -07:00
Satindar Dhillon
57b4e47ac0
move web reader content loading into viewmodel
2022-09-20 09:08:01 -07:00
Satindar Dhillon
1250e07645
update stubbed content for android webview
2022-09-19 22:17:45 -07:00
Satindar Dhillon
8cf52a0458
add web reader view model
2022-09-19 20:18:47 -07:00
Satindar Dhillon
817a3903b2
remove quotes around labels and highlights array
2022-09-19 14:36:42 -07:00
Satindar Dhillon
de2e543965
load bundled resources into web reader
2022-09-19 14:25:18 -07:00