Commit Graph

321 Commits

Author SHA1 Message Date
Zhiyuan Zheng a9e36d4a9c Try without memo 2022-06-01 00:33:59 +02:00
Zhiyuan Zheng 6b4c2d18ec Push add more types 2022-05-29 01:57:15 +02:00
Zhiyuan Zheng af6731f702 Added pt-BR
https://github.com/tooot-app/app/issues/302
2022-05-28 22:18:03 +02:00
Zhiyuan Zheng 4398e520ed Refine notifications
https://github.com/tooot-app/app/issues/306

https://github.com/tooot-app/app/issues/305 This one uses the positive filtering that is added since v3.5, that a such a filter won't be shown as there is no way to check if a user is an admin or not and showing a useless option for majority users won't be a good experience.
2022-05-28 19:24:08 +02:00
Zhiyuan Zheng 8a1ccdb305 Update instancesSlice.ts 2022-05-17 23:26:29 +02:00
Zhiyuan Zheng 02360c443f Make error object as optional 2022-05-17 23:18:49 +02:00
Zhiyuan Zheng 4b3b222582 Some Android phones do not have StoreReview? 2022-05-17 23:14:23 +02:00
Zhiyuan Zheng 46bab1593f Fix push wrong ID 2022-05-16 23:44:49 +02:00
Zhiyuan Zheng 9c1d18c7f0 Using new sentry project thanks for sponsoring
Also removing unnecessary importing public keys
2022-05-16 22:35:58 +02:00
Zhiyuan Zheng 265db6abce Now fix push not available
Because expo-application is not installed
2022-05-15 00:40:49 +02:00
Zhiyuan Zheng dde33ad1ad Add static emoji option 2022-05-13 00:04:15 +02:00
Zhiyuan Zheng ea0b85365e Use global detection 2022-05-07 13:23:08 +02:00
Zhiyuan Zheng 7c48c61c99 Using new text component
Need to use global accessibility checks rather than per text component which is not efficient
2022-05-07 00:52:32 +02:00
Zhiyuan Zheng 43c2297387 Sharing works in simulator 2022-05-02 22:31:22 +02:00
Zhiyuan Zheng dc91f3edeb Update typing for new react-redux 2022-04-30 23:47:52 +02:00
Zhiyuan Zheng f93d6f7db8 Editing can update media 2022-04-30 21:29:08 +02:00
Zhiyuan Zheng d4f91a5756 Basic editing works 2022-04-30 17:44:39 +02:00
Zhiyuan Zheng 95ec76f411 Edited posts can be viewed 2022-04-29 23:57:18 +02:00
Zhiyuan Zheng bceb70e805 Bump to v4
Preparing for adding support to v3.5 and above
2022-04-28 22:52:47 +02:00
Zhiyuan Zheng dd7b9cd6a2 Fix theme changing issue 2022-02-17 00:09:19 +01:00
Zhiyuan Zheng fb8bb54989 Bump up packages 2022-02-14 23:43:43 +01:00
Zhiyuan Zheng 9e4189c522 Added frequent used emojis 2022-02-13 22:14:16 +01:00
Zhiyuan Zheng 6f0c318d06 Implemented new dark theme 2022-02-12 14:51:01 +01:00
Zhiyuan Zheng 311020285d Improved translation response 2022-02-08 22:19:24 +01:00
Zhiyuan Zheng 11c22907af Temp disable prefetch 2022-02-08 10:09:10 +01:00
Zhiyuan Zheng 6651f86eaa More prompt update alert 2022-02-07 23:03:21 +01:00
Zhiyuan Zheng 7bf428f179 Added support for KO and VI 2022-02-06 23:25:16 +01:00
Zhiyuan Zheng 911a4e02ee Try to fix weird crash 2022-02-06 18:09:11 +01:00
Zhiyuan Zheng 9a22dc9204 Correct iPad screenshots 2022-02-04 23:13:32 +01:00
Zhiyuan Zheng e7aba92f7c Support iPad and bump versions 2022-02-04 00:43:22 +01:00
Zhiyuan Zheng bd49caa52a Better lookback update 2022-01-30 22:51:03 +01:00
Zhiyuan Zheng 45ba984ea3 Fixed #200
When clearing queryClient, we may want to create a global function to refetch last read position
2022-01-29 16:37:58 +01:00
Zhiyuan Zheng 9a41dd2191 MVP last read position 2022-01-16 23:26:05 +01:00
Zhiyuan Zheng e3c84f6146 Sampling API error report rate 2022-01-04 09:09:45 +01:00
Zhiyuan Zheng 013d55aee2 Use proper environment mapping 2022-01-02 22:28:33 +01:00
Zhiyuan Zheng 5ec3733369 Use correct error code 2021-12-31 11:38:21 +01:00
Zhiyuan Zheng 8c9dfb839b Fixes 2021-12-18 19:59:38 +01:00
Zhiyuan Zheng d8703148f0 Updates push public key 2021-12-15 22:48:59 +01:00
Zhiyuan Zheng e2c5e173d5 Final test for new push system 2021-12-12 22:09:18 +01:00
Zhiyuan Zheng d2ce0aafe8 Fix translation error
When there is body, the method has to be `post`
2021-12-08 23:11:51 +01:00
Zhiyuan Zheng 6c6dc0ce6a Try out new api services 2021-12-06 21:25:09 +01:00
Zhiyuan Zheng e2a5235ccb Fix migration issue 2021-11-27 18:49:14 +01:00
Zhiyuan Zheng 0c28ea6b0c More visually stable me page 2021-11-15 23:43:35 +01:00
Zhiyuan Zheng 7ac789c18c Added instance configuration support 2021-11-15 22:34:43 +01:00
Zhiyuan Zheng b96a1ca49b Trying out expo 43 2021-10-24 00:43:00 +02:00
Zhiyuan Zheng 371830ff19 Done #79 2021-08-29 16:08:02 +02:00
Zhiyuan Zheng 122dae7404 Basic new react-navigation types 2021-08-29 15:25:38 +02:00
Zhiyuan Zheng 44ec3e5b87 Main updates 2021-08-22 00:17:24 +02:00
Zhiyuan Zheng 927e7df4e9 Use new api gateway 2021-06-21 11:59:29 +02:00
Zhiyuan Zheng 26a9a56e52 Improve account page 2021-06-01 22:27:27 +02:00
Zhiyuan Zheng a023ad58f1 Fixed #118 2021-05-30 23:39:07 +02:00
Zhiyuan Zheng 8df45475d8 Fix bugs 2021-05-30 15:40:06 +02:00
Zhiyuan Zheng 20e4ef69ea Ready to release 2021-05-27 12:14:49 +02:00
Zhiyuan Zheng 8a56e3a4f0 Optimisations and haptics 2021-05-26 23:30:15 +02:00
Zhiyuan Zheng 64cb47f7ab Use original uri as translation source instead of destination 2021-05-25 18:41:54 +02:00
Zhiyuan Zheng 0190b35b57 Fixed #119 and translation 2021-05-23 22:40:42 +02:00
Zhiyuan Zheng 0517d2fae2 Local translation works 2021-05-19 23:28:01 +02:00
Zhiyuan Zheng 67d3589f30 Basic translation working 2021-05-19 20:40:16 +02:00
Zhiyuan Zheng 4499bb8bae
Updates 2021-05-15 23:08:13 +02:00
Zhiyuan Zheng 87343989cf
Fix modals 2021-05-12 22:45:51 +02:00
Zhiyuan Zheng 8e0d499ed8
Remove most of the require cycles 2021-05-12 15:40:55 +02:00
Zhiyuan Zheng 0b659913dc
Partially fixed #113 2021-05-09 21:59:03 +02:00
Zhiyuan Zheng 3e52f175b7
Fixes 2021-04-16 14:58:18 +02:00
Zhiyuan Zheng d4b28df091
Refine accessibility 2021-04-09 21:43:12 +02:00
Zhiyuan Zheng c4ec88609e
Using Crowdin now 2021-03-29 00:22:30 +02:00
Zhiyuan Zheng aab3d8d94d
Try out clean Crowdin source strings 2021-03-28 23:31:10 +02:00
Zhiyuan Zheng b0b7a7567b
Added reduced motion 2021-03-27 00:02:32 +01:00
Zhiyuan Zheng f3852025ba
Fixed #45
Cannot use pure component in this case after refresh
2021-03-25 00:25:37 +01:00
Zhiyuan Zheng b07db55573
Fixes 2021-03-23 23:16:01 +01:00
Zhiyuan Zheng 543ac86d03
Fixed #43 #73 #58 2021-03-21 23:06:53 +01:00
Zhiyuan Zheng d15e8cb652
Update colour naming
Fixed #73
Fixed #58
Fixed #47
2021-03-21 14:14:10 +01:00
Zhiyuan Zheng 03b312fefe
Added notifications filter 2021-03-17 15:30:28 +01:00
Zhiyuan Zheng d03d5600ec
Correct typo 2021-03-16 23:18:02 +01:00
Zhiyuan Zheng bcb55254f9
Refine RN 0.64 2021-03-16 23:15:37 +01:00
Zhiyuan Zheng e6adbf6986
Fixed #49 2021-03-15 00:18:44 +01:00
Zhiyuan Zheng 5fe6cd59f9
Fixed #41 2021-03-14 00:47:55 +01:00
Zhiyuan Zheng cca0ca7032
Capture push control error 2021-03-12 00:19:45 +01:00
Zhiyuan Zheng b21194ca5a
Tried to fix #46 2021-03-11 22:38:42 +01:00
Zhiyuan Zheng 8a49c92c79
Update adaptive size not dependent on screen size 2021-03-10 14:00:16 +01:00
Zhiyuan Zheng 9c3a300972
Try to fix font size does not adapat 2021-03-10 11:49:14 +01:00
Zhiyuan Zheng 5281de63a6
Added font size settings 2021-03-10 10:22:53 +01:00
Zhiyuan Zheng fa3c298b8a
Fix pinned statuses on account page 2021-03-09 10:35:53 +01:00
Zhiyuan Zheng e1e4aace78
Minor fixes according to DeepScan 2021-03-09 01:17:07 +01:00
Zhiyuan Zheng f127fc3a1a
Try to fix font size too small on large screen 2021-03-09 00:59:11 +01:00
Zhiyuan Zheng cc02626adb
Ready for push feature 2021-03-04 01:03:53 +01:00
Zhiyuan Zheng ea018a71fa
Improve push experience 2021-03-02 01:17:06 +01:00
Zhiyuan Zheng 82cefdc80c
Push error tolerance 2021-03-01 01:27:26 +01:00
Zhiyuan Zheng 32aaf08574
Removed webhook notification 2021-03-01 00:28:14 +01:00
Zhiyuan Zheng 78898059cb
Basic notification working 2021-02-28 17:41:21 +01:00
Zhiyuan Zheng 4eea2bf58c
When replying to CW content, CW will be added 2021-02-27 17:25:01 +01:00
Zhiyuan Zheng f3fa6bc662
Rewrite timeline logic 2021-02-27 16:33:54 +01:00
Zhiyuan Zheng 45681fc1f5
Restructure removing remote 2021-02-20 19:12:44 +01:00
Zhiyuan Zheng 4c8003b533
Try to fix #16 2021-02-13 01:26:02 +01:00
Zhiyuan Zheng d2aec8d590
Fixed #22 2021-02-13 00:15:42 +01:00
Zhiyuan Zheng 3303864394
Keep previous tab for next load 2021-02-11 23:42:13 +01:00
Zhiyuan Zheng d1bddc696a
Fixed #19 2021-02-11 01:33:31 +01:00
Zhiyuan Zheng c46888acab
Test development branch 2021-02-09 01:16:12 +01:00
Zhiyuan Zheng f5414412d4
#18
Use websocket to constantly fetch new notifications. Also use flatlist item view to clear notification.
2021-02-08 23:19:55 +01:00
Zhiyuan Zheng 03dc94c7c9
Draft basic done
#6
2021-02-07 00:39:11 +01:00
Zhiyuan Zheng 700b9ad433
Support max_toot_chars
See this commit of how to supply this value in API response. `instance_serializer.rb`

2bf275ba3b
2021-02-05 13:45:02 +01:00
Zhiyuan Zheng 1a5b21d56a
Preparing for CI test 2021-02-02 22:50:38 +01:00
Zhiyuan Zheng b8aa402c99
Updates 2021-02-01 02:16:53 +01:00
Zhiyuan Zheng 1072d88191
Added fastlane and other updates 2021-01-31 03:09:35 +01:00
Zhiyuan Zheng ea3fa87057
iOS can run 2021-01-28 00:41:53 +01:00
Zhiyuan Zheng 41bfeed56f
Updates 2021-01-27 00:35:34 +01:00
Zhiyuan Zheng 86231fb7b7
Updates 2021-01-23 02:41:50 +01:00
Zhiyuan Zheng 7c6aba77ba
Fix bugs 2021-01-22 01:34:20 +01:00
Zhiyuan Zheng 314bc31e32
Update en strings 2021-01-20 00:39:39 +01:00
Zhiyuan Zheng 5c4f7ce8c7
Added store review 2021-01-18 00:23:40 +01:00
Zhiyuan Zheng f977fdfa8b
Updates 2021-01-17 22:37:05 +01:00
Zhiyuan Zheng 813f6b57c4
Correct app details 2021-01-16 23:30:25 +01:00
Zhiyuan Zheng 5ec9118fb2
Updates 2021-01-16 00:00:31 +01:00
Zhiyuan Zheng 49715bba0d
First step to adapt to Android 2021-01-13 01:03:46 +01:00
Zhiyuan Zheng 2df172d026
Updates 2021-01-12 00:12:44 +01:00
Zhiyuan Zheng 284d6e46e0
Switch to shared hooks 2021-01-11 21:36:57 +01:00
Zhiyuan Zheng fdce172c57
Try to fix search bar issue
https://github.com/react-navigation/react-navigation/issues/6746#issuecomment-583897436
2021-01-10 13:35:46 +01:00
Zhiyuan Zheng 541e2a5601
Lots of updates 2021-01-10 02:12:14 +01:00
Zhiyuan Zheng 4b99813bb7
Lots of updates 2021-01-07 19:13:09 +01:00
Zhiyuan Zheng dcb36a682d
Refine structure 2021-01-04 18:29:02 +01:00
Zhiyuan Zheng 811964e10f
Updates 2021-01-04 14:55:34 +01:00
Zhiyuan Zheng e9ea0ed71e
Updates
1. Added more notification types
2. Use `react-native-reanimated` v2
2021-01-04 10:50:24 +01:00
Zhiyuan Zheng dceaf8d25c
Use svg icons instead of expo ones
Possibility to control `strokeWidth`
2021-01-03 02:00:26 +01:00
Zhiyuan Zheng 5a80359739
Bug in `react-native`
https://github.com/expo/expo/issues/10815
2021-01-02 17:55:08 +01:00
Zhiyuan Zheng 6aed76ac65
Updates 2021-01-01 16:48:16 +01:00
Zhiyuan Zheng 5473fcb770
Add haptics and analytics 2020-12-30 14:33:33 +01:00
Zhiyuan Zheng e841409523
Restructure some files 2020-12-29 16:19:04 +01:00
Zhiyuan Zheng 4f0621bbff
Force all tex to have both font size and line height
https://github.com/facebook/react-native/issues/19193 describes the issue. But https://github.com/facebook/react-native/issues/19193#issuecomment-467852112 suggestion does not look well with PingFang and English
2020-12-29 00:21:05 +01:00
Zhiyuan Zheng c7cc3f1f27
Rewrite account page 2020-12-27 16:25:29 +01:00
Zhiyuan Zheng da79674548
Rewrite all buttons 2020-12-26 23:05:17 +01:00
Zhiyuan Zheng 3ea88d025b
Add back disabled color 2020-12-26 14:40:10 +01:00
Zhiyuan Zheng 7f574576ef
Update color scheme 2020-12-26 00:40:27 +01:00
Zhiyuan Zheng 9d1c366eda
Hide header bottom shadow 2020-12-25 21:51:46 +01:00
Zhiyuan Zheng 6eeb86921c
Rewrite attachment views 2020-12-25 18:20:09 +01:00
Zhiyuan Zheng b5f267e6bf
With unread notifications 2020-12-24 10:28:51 +01:00
Zhiyuan Zheng 4461cd1fa4
Fine tune announcements 2020-12-23 15:57:20 +01:00
Zhiyuan Zheng eeee40b49a
Basic announcement done 2020-12-23 01:31:11 +01:00
Zhiyuan Zheng 4d6cee643b
Start up process of API calls
Prepare for announcement fetching
2020-12-22 01:09:34 +01:00
Zhiyuan Zheng 2bd9e6be2f
Move app startup check to App.tsx 2020-12-22 00:10:55 +01:00
Zhiyuan Zheng a1a959995e
Fixes 2020-12-21 23:30:26 +01:00
Zhiyuan Zheng e77de4e9c0
Fixed 2020-12-21 23:11:03 +01:00
Zhiyuan Zheng 8281d2b0b4
Option to change how to handle links 2020-12-20 18:41:28 +01:00
Zhiyuan Zheng 09b960d368
Updates 2020-12-20 17:53:24 +01:00
Zhiyuan Zheng 54799aabb8
Search is done 2020-12-19 01:57:57 +01:00
Zhiyuan Zheng 7491478176
Using react-query 3 2020-12-18 23:58:53 +01:00
Zhiyuan Zheng 3427b613aa
Using tab-view
Cannot scroll separately
2020-12-17 09:44:03 +01:00
Zhiyuan Zheng a3335a1f88
Add promise type to fetches 2020-12-15 00:01:48 +01:00
Zhiyuan Zheng fe1ca72a3e
Show pinned posts in Account page 2020-12-14 23:44:57 +01:00
Zhiyuan Zheng 8ed008b961
Rewrite login query 2020-12-13 22:10:54 +01:00
Zhiyuan Zheng 48cab6053c
Use new alias 2020-12-13 14:04:25 +01:00
Zhiyuan Zheng cfd2d40d02
Reply working 2020-12-13 01:24:25 +01:00
Zhiyuan Zheng 70743ec82d
Highlighted toot 2020-12-12 22:19:18 +01:00
Zhiyuan Zheng 2217d3eb5d
Notification working and end of list working 2020-12-12 18:22:22 +01:00
Zhiyuan Zheng 81a21d1d07
Scroll to toot working 2020-12-12 12:49:29 +01:00
Zhiyuan Zheng fb123b6a26
Preparing for upgrading expo SDK 2020-12-10 19:19:56 +01:00
Zhiyuan Zheng 8d715f4324
Basic reply and re-edit done 2020-12-07 12:31:40 +01:00
Zhiyuan Zheng b274aef31a
Basic attachment done
Switch from ky to axios
2020-12-05 01:55:53 +01:00
Zhiyuan Zheng 82d9cdf702
Refine format text 2020-12-04 19:04:23 +01:00
Zhiyuan Zheng fcaea5b8d9
Hashtag done 2020-12-04 01:17:10 +01:00
Zhiyuan Zheng 7d7c907fa3
Poll working
But did not re-render
2020-12-03 01:28:56 +01:00
Zhiyuan Zheng 8986680c6d
Expandable content done 2020-12-02 00:16:27 +01:00
Zhiyuan Zheng 9bfee02484
A lot of updates 2020-12-01 00:44:28 +01:00
Zhiyuan Zheng 0e3528d2cd
Some translations are done 2020-11-30 00:24:53 +01:00
Zhiyuan Zheng 1493e20962
Theme done 2020-11-29 18:08:31 +01:00
Zhiyuan Zheng 24d0681c9e
Change language working partially
Not all translatinos are updated
2020-11-29 13:11:23 +01:00
Zhiyuan Zheng 735cc0b903
A lot of updates 2020-11-28 17:07:30 +01:00
Zhiyuan Zheng 8200375c92
Lots of updates 2020-11-24 00:18:47 +01:00
Zhiyuan Zheng fba1d0d531
Some basic styling 2020-11-23 00:07:32 +01:00
Zhiyuan Zheng 6a5d9e7fb8
My lists are done 2020-11-22 00:46:23 +01:00
Zhiyuan Zheng 40266b8ce3
Restructure the project 2020-11-21 13:19:05 +01:00
Zhiyuan Zheng d2cc643b9c
Transform into TypeScript 2020-10-31 21:04:46 +01:00
Zhiyuan Zheng 83f6039ade
Second commit 2020-10-23 09:22:17 +02:00