Commit graph

282 commits

Author SHA1 Message Date
thislight
66bded813d
remove old placeholder algorithm
All checks were successful
/ depoly (push) Successful in 1m21s
- TootPreviewCard and MediaAttachmentGrid
- the placeholder thing is now offloaded to the
  browser
2024-10-27 23:57:10 +08:00
thislight
4734a67f5a
Profile: fix page title and intro layout
All checks were successful
/ depoly (push) Successful in 1m13s
2024-10-27 13:57:09 +08:00
thislight
49e1731cdb
RegularToot: open profile 2024-10-27 13:43:34 +08:00
thislight
f8f07e9015
TrendTimelinePanel: remove prefetching
All checks were successful
/ depoly (push) Successful in 1m19s
2024-10-27 00:29:41 +08:00
thislight
4958fb1346 Menu: support right-top origin
All checks were successful
/ depoly (push) Successful in 1m18s
2024-10-25 22:40:07 +08:00
thislight
556e0b2336 Profile: add menu and load more button 2024-10-25 22:38:59 +08:00
thislight
f8dc2950d2 Profile: filter recent toots
- material: new Menu component
- material/theme: animation curves
- TootFilterButton
2024-10-24 23:49:37 +08:00
thislight
08201cccef material: rename mui to theme 2024-10-24 22:21:37 +08:00
thislight
6620e022bf masto/timelines: now the params is general typed 2024-10-24 22:20:38 +08:00
thislight
4da3263e17 Toot: fix expansion animation on WebKit (fix #29) 2024-10-22 23:24:31 +08:00
thislight
74ee61af63 added icon 2024-10-22 17:48:17 +08:00
thislight
c5f21f22bd Profile: fix toolbar color as scrolled by banner 2024-10-18 22:37:19 +08:00
thislight
7e120fba2d TootList: support openFullScreenToot 2024-10-18 22:35:04 +08:00
thislight
664c1568d0 Profile: first prototype 2024-10-18 19:15:35 +08:00
thislight
54db6d4fbe TootBottomSheet: fix context switch wrong target 2024-10-18 18:13:07 +08:00
thislight
da60702403 add useSessionForAcctStr 2024-10-18 11:59:39 +08:00
thislight
634060ed46 BottomSheet: fix the animation problem 2024-10-17 20:57:20 +08:00
thislight
ddd3c99f30 TootBottomSheet: moved to /:acct/toot/:id 2024-10-17 20:39:04 +08:00
thislight
6284c7d18e serviceworker: move rpc-relateds to workerrpc 2024-10-16 22:42:25 +08:00
thislight
559a352bc1 service worker: use injectManifest
- a RPC framework is added for further use
- fix an error that the service worker is not
    registered until the settings opened
- added theme-color
- settings: added a item to indicate the offline
    availablity
2024-10-15 20:30:08 +08:00
thislight
3ea7072437 TootBottomSheet: set document title 2024-10-14 20:05:08 +08:00
thislight
bb633860a6 added createTimelineChunk 2024-10-13 16:12:18 +08:00
thislight
043057557c createTimeline: fix viewport and dupelication 2024-10-13 16:12:18 +08:00
thislight
295a905b8b adjust thread visual 2024-10-13 16:12:18 +08:00
thislight
2b2b5ea1ae MediaAttachmentGrid: fix bad waterfall 2024-10-13 16:12:17 +08:00
thislight
708dbe7d4d PullDownToRefresh: fix the trigger 2024-10-13 16:12:17 +08:00
thislight
474e4ebdfe first attempt of createTimeline in TimelinePanel
- known bug: the paging is failed
2024-10-13 16:12:17 +08:00
thislight
56fc052788 TootBottomSheet: minor clean up 2024-10-13 16:12:17 +08:00
thislight
f6c540a3ad TrendTimelinePanel: improved error handling 2024-10-13 16:12:16 +08:00
thislight
971fb6a8e7 move TimelinePanel to separated files
- added TrendTimelinePanel for trending tab
2024-10-13 16:12:16 +08:00
thislight
ab29e5fd70 added createTimelineSnapshot 2024-10-13 16:12:16 +08:00
thislight
efc894793e BottomSheet: fix animation syntax error 2024-10-11 16:40:43 +08:00
thislight
bd3ad078a2 App: fix the clients change is not notified 2024-10-11 16:39:42 +08:00
thislight
fd47639bef MediaAttachmentGrid: fix placeholder aspect-ratio 2024-10-10 19:49:51 +08:00
thislight
0d9b370919 BottomSheet: remove opacity in hero animation 2024-10-10 16:22:04 +08:00
thislight
d61212242e BottomSheet: fix hero animation position 2024-10-09 23:34:07 +08:00
thislight
53eefed656 BottomSheet: set body overflow:hidden in animation 2024-10-09 23:27:47 +08:00
thislight
3dba564112 Settings: move lang and region to separate route 2024-10-09 23:27:20 +08:00
thislight
4fb5582b3d BottomSheet: more animation 2024-10-09 23:10:44 +08:00
thislight
7d3c97c56b add settings for autoplay gifs and vids 2024-10-09 18:45:19 +08:00
thislight
c8f2179298 PullDownToRefresh: fix wheeling switch page 2024-10-09 18:40:40 +08:00
thislight
15e2bf3304 BottomSheet: improve hero animation 2024-10-09 17:33:27 +08:00
thislight
71434e5293 TootBottomSheet: fix title may have multiple lines 2024-10-09 15:52:14 +08:00
thislight
e2dbb2f128 PullDownToRefresh: reset the state if invisible 2024-10-09 15:15:22 +08:00
thislight
08a196a3bf PullDownToRefresh: fix trigger many refreshings
This commit fixes that the wheel event path may
trigger too many refreshings.
2024-10-09 14:51:32 +08:00
thislight
5348eda1ed PullDownToRefresh: rewrite spring animation
- fix #12
2024-10-09 14:38:25 +08:00
thislight
050dc1c2a3 MediaAttachmentGrid: improve layout as length % 2 2024-10-08 17:43:33 +08:00
thislight
b853b01304 *Toot: fix missing preview card 2024-10-08 17:33:52 +08:00
thislight
379dc2b636 TootComposer: don't switch the random placeholder 2024-10-08 17:18:27 +08:00
thislight
b880d0eaab TimelinePanel: allow the toot composer collpased 2024-09-28 22:46:48 +08:00
thislight
a1e28fe647 TootComposer: fix placeholder empty 2024-09-28 22:46:28 +08:00
thislight
ae93725bf1 MediaAttachmentGrid: fix autoplay on iOS 2024-09-28 22:39:33 +08:00
thislight
fea645949f BottomSheet: fix bottomUp position on mobile 2024-09-28 22:38:44 +08:00
thislight
599d735665 TootComposer: fix random stmt may be empty 2024-09-28 22:27:26 +08:00
thislight
161c72fea5 TootActionGroup: added share button (closes #18) 2024-09-28 17:51:37 +08:00
e17964ff56 Merge branch 'master' into feat-toot-composer 2024-09-28 07:30:02 +00:00
thislight
40cb0a0681 added shortcut to reply 2024-09-28 15:29:21 +08:00
thislight
e0d1136230 added composing new toots 2024-09-28 15:15:06 +08:00
thislight
74770649c3 ReplyEditor: supports reply 2024-09-28 14:39:20 +08:00
thislight
baf0ed1447 ReplyEditor: only show toolbar when active 2024-09-28 12:43:12 +08:00
thislight
2f8613c4fe ReplyEditor: fix toolbar alignment 2024-09-27 23:19:09 +08:00
thislight
6a3a4888b4 ReplyEditor: minor clean up and adjustment 2024-09-27 23:15:53 +08:00
thislight
7f1140769e disable rubberband in :root and bottom sheets 2024-09-27 18:10:23 +08:00
thislight
47bd6711e4 timelines: minor clean up 2024-09-27 18:07:10 +08:00
thislight
ad5caa4428 Home: fix could not jump to sign in page 2024-09-27 18:06:44 +08:00
thislight
e5b220aef5 TootBottomSheet: fix the skipped animation 2024-09-27 18:04:09 +08:00
thislight
4cf065fe1f ReplyEditor: added language picker 2024-09-27 14:53:28 +08:00
thislight
a1a587a77f ReplyEditor: promote the blur condition up 2024-09-27 14:23:57 +08:00
thislight
6c98f1e78d ReplyEditor: added only UI 2024-09-27 14:23:54 +08:00
thislight
295786d305 clean up unused imports 2024-09-27 14:18:21 +08:00
thislight
b09effa4dc Settings: added lang and region picker dialog 2024-09-27 14:15:34 +08:00
thislight
4ae3def190 i18n: add createTranslator 2024-09-26 19:42:44 +08:00
thislight
8a9c788fe1 createStringsResource: support merged imports 2024-09-26 19:36:46 +08:00
thislight
4f8b31ca31 first prototype of i18n system 2024-09-26 17:23:40 +08:00
thislight
70de83a24a TootBottomSheet: fix #13
* use the .reblog to replace the remote toot
2024-09-25 20:36:49 +08:00
thislight
d6c4eea841 MediaAttachmentGrid: calc only when not loaded
* This is a workaround, the best solution is we do
  the calculation correctly.
2024-09-25 17:37:11 +08:00
thislight
4cf64eae11 TootBottomSheet: scrollIntoView exactly once 2024-09-23 16:00:39 +08:00
thislight
8c5ffc0f6b CompactToot: fix the author overflow 2024-09-23 15:54:50 +08:00
thislight
de03e62783 MediaAttachmentGrid: major layout revised
* Now the media preview use masonry layout
* Supports preview video media
2024-09-23 15:43:49 +08:00
thislight
1a0a9d7e77 MediaAttachmentGrid: fix viewer DOM not removed 2024-09-14 21:17:03 +08:00
thislight
972b2eca8b MediaAttachmentGrid: fix the container not removed 2024-09-14 20:43:44 +08:00
thislight
d1cf97fe74 MediaAttachmentGrid: lazily created viewer
The reworked viewer presentation process delay the
creation of the viewer until the user interaction,
to reduce the DOM created during viewing the list.
2024-09-14 20:21:19 +08:00
thislight
06e2460b04 MediaAttachmentGrid: optimize preview layout (#11) 2024-09-14 20:09:54 +08:00
thislight
a7b0f480ac Settings: ask user to refresh if update available 2024-09-14 19:55:37 +08:00
thislight
defdd3c6af Upgrade dependencies
* upgrade suid to v0.16
* upgrade @solidjs/router to v0.14
* upgrade nanostores to v0.11
* upgrade minor changed dependencies
2024-09-14 15:56:40 +08:00
thislight
e32de2f2e9 TootPreviewCard: limit text lines (#9)
A problem in this impl is that the ellipsis does
not show.
2024-09-14 15:08:17 +08:00
thislight
5325576ff4 TootBottomSheet: fix visual with preview card 2024-09-14 14:28:30 +08:00
thislight
b5a516ff81 TootBottomSheet: basic toot switching (#6) 2024-09-14 13:40:50 +08:00
thislight
9bd4e3acf6 TootBottomSheet: boost, favourite and bookmark (#6) 2024-09-14 13:15:11 +08:00
thislight
7f9a16ff5d *Toot: fix the thread line covers preview (#10) 2024-09-14 12:34:45 +08:00
thislight
a7d5c40a39 RegularToot: fix time display problem 2024-09-14 12:28:22 +08:00
thislight
ae6f0ff9d8 TootPreviewCard: minor layout adjustment
Remove the image's centre in compact layout.
This helps the feeling when the text is too long.
I am still finding ways to limit the card height.
2024-08-22 17:11:45 +08:00
thislight
fe2802d933 BottomSheet: sets max-height to 100vh on desktop 2024-08-22 16:50:12 +08:00
thislight
25875ab020 TootBottomSheet: add replys 2024-08-22 16:50:07 +08:00
thislight
44fbd507ac Home: ignore paging for trending panel 2024-08-22 15:31:15 +08:00
thislight
f8f0356a9f Home: move to the top if the clicked tab is focus 2024-08-17 19:01:05 +08:00
thislight
673760e8f9 TootPreviewCard: balance padding 2024-08-17 18:58:25 +08:00
thislight
e79480acc0 CompactToot: added preview cards 2024-08-17 18:09:55 +08:00
thislight
df19e54d9b RegularToot: added preview cards 2024-08-17 17:16:18 +08:00
thislight
bd1a515ef8 TimelinePanel: now can close expaneded toot 2024-08-17 15:44:25 +08:00
thislight
49576c0688 useHeroSignal: reset the signal after read 2024-08-17 15:42:21 +08:00
thislight
d9204b7dc0 Home: fix the crash if no profile exists 2024-08-17 15:34:52 +08:00
thislight
64017b6b34 theme: fix input zoom in on iOS 2024-08-13 15:49:36 +08:00
thislight
d1f1682bce TootBottomSheet: basic layout 2024-08-13 15:39:05 +08:00
thislight
0f78657f35 BottomSheet: fix height on phone 2024-08-13 15:09:18 +08:00
thislight
52e1a27b17 Settings: workaround for the crash on WebKit
The ripple may be undefined on mount
2024-08-13 15:08:29 +08:00
thislight
2a2f82b625 BottomSheet: fix jumpy animation 2024-08-13 15:01:06 +08:00
thislight
729eaa7901 TootBottomSheet: added cache 2024-08-13 14:17:33 +08:00
thislight
c0c5c8ee3b {Regular,Compact}Toot: fix time is future 2024-08-13 14:06:55 +08:00
thislight
88a81e4904 useTimeline: use masto's Paginator 2024-08-12 22:29:55 +08:00
thislight
80de0e52ee BottomSheet: backward animation 2024-08-12 21:55:26 +08:00
thislight
6e014324de PullDownToRefresh:fix wont pull back when touchend 2024-08-12 20:39:12 +08:00
thislight
db29d5dcc0 BottomSheet: first attempt for animation 2024-08-12 17:25:03 +08:00
thislight
7c0fac95a0 TimelinePanel: rewrite thread expand algorithm 2024-08-12 12:22:13 +08:00
thislight
8787cb7ad0 PullDownToRefresh: adjust multiply rate for wheel 2024-08-12 11:05:20 +08:00
thislight
7db55298a3 PullDownToRefresh: init prototype 2024-08-07 17:04:54 +08:00
thislight
2d75ecfbe3 useTimeline: use store to provide partial editing 2024-08-06 20:27:30 +08:00
thislight
cde30f8e29 SignIn: applied safe-aera-inset 2024-08-05 21:10:48 +08:00
thislight
40ca089f02 BottomSheet: fix visual problem on iOS 2024-08-05 19:05:39 +08:00
thislight
ed901edea6 Settings: fix prefetch toot option is unresponsive 2024-08-05 18:57:43 +08:00
thislight
ac178986d8 MediaViewer: apply insets padding 2024-08-05 16:44:12 +08:00
thislight
147a5bb488 BottomSheet: position below the insets top 2024-08-05 16:28:50 +08:00
thislight
dbb14e3d74 added recover page on unexpected error 2024-08-05 16:24:34 +08:00
thislight
abde6817f0 format code using prettier 2024-08-05 15:33:00 +08:00
thislight
91999a6303 timelines: workaround to a bug moves the panels 2024-08-05 15:11:22 +08:00
thislight
f0a614d4f0 Timelines: respect the notch 2024-07-24 14:27:20 +08:00
thislight
6ad794eae5 Settings: prefetching toots 2024-07-23 08:28:47 +08:00
thislight
cbed46ae77 createTimeSource: fix type error 2024-07-22 22:04:56 +08:00
thislight
5833e5a76b added settings 2024-07-22 21:57:04 +08:00
thislight
0caa9aab88 rewrite client providing & fix sign in redirect 2024-07-15 13:59:10 +08:00
thislight
8ae0768c42 accounts/stores: added useAccts 2024-07-14 21:36:41 +08:00
thislight
5449e361d5 initial commit 2024-07-14 20:28:44 +08:00