Commit graph

185 commits

Author SHA1 Message Date
thislight
93f98059cd
Home: remove prefetch for TrendTimelinePanel 2024-10-28 13:59:27 +08:00
thislight
81bf27df63
createTimeSource: reflects to the pagevisibility 2024-10-28 13:56:50 +08:00
thislight
d1c073e33e
Profile: add loading indicator for toot list 2024-10-28 13:56:04 +08:00
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