Commit graph

277 commits

Author SHA1 Message Date
thislight
a0811ed6c4
Profile: add current default account into menu 2024-11-04 15:57:53 +08:00
thislight
02d883e53b
BottomSheet: fix invalid contain intrinsic size
All checks were successful
/ depoly (push) Successful in 1m19s
2024-11-04 00:15:34 +08:00
thislight
b44d093f08
autoMatchRegion: improved matching algorithm 2024-11-04 00:13:21 +08:00
thislight
e8a206db96
settings/Region: fix wrong title 2024-11-04 00:02:02 +08:00
thislight
b9eeae596b
Settings: remove availability state
All checks were successful
/ depoly (push) Successful in 1m20s
2024-11-04 00:00:44 +08:00
thislight
4a46a0fbc9
Profile: subscribe menu show entries
All checks were successful
/ depoly (push) Successful in 1m21s
2024-11-03 23:52:26 +08:00
thislight
376f97c5cd
Menu: add document 2024-11-03 23:51:54 +08:00
thislight
898575637e
Menu: support submenu 2024-11-03 23:33:37 +08:00
thislight
92af897590
TootPreviewCard: remove containment 2024-11-03 23:18:41 +08:00
thislight
65fa4c4fa5
Profile: add subscribe menu 2024-11-03 20:50:31 +08:00
thislight
8a435be4c8
BottomSheet: adjust hero animation
All checks were successful
/ depoly (push) Successful in 1m17s
2024-11-03 18:39:09 +08:00
thislight
06e988e0e5
TootFilterButton: show the menu in the click pos 2024-11-03 18:24:10 +08:00
thislight
c69d54e171
Profile: remove the divier when no pinned toots 2024-11-03 18:23:24 +08:00
thislight
012b078cee
anim: adjust speed for grow and shrink 2024-11-03 18:10:28 +08:00
thislight
20a5e565b1
Profile: add items into menu 2024-11-03 18:00:13 +08:00
thislight
b61012f12b
BottomSheet: move slides animations to platform 2024-11-03 17:36:56 +08:00
thislight
10b517bceb
Menu: improve animation for top-right
All checks were successful
/ depoly (push) Successful in 1m18s
2024-11-02 16:45:18 +08:00
thislight
bafa8f4e24
TootList: prevent clicks of A lift the toot 2024-11-01 16:16:44 +08:00
thislight
e68384349a
BottomSheet: remove starting-style
All checks were successful
/ depoly (push) Successful in 1m15s
2024-10-31 22:34:45 +08:00
thislight
a0ca305ef2
TootComposer: stops propagation of touch and wheel
Some checks failed
/ depoly (push) Has been cancelled
2024-10-31 22:33:29 +08:00
thislight
187ebdba33
BottomSheet: remove module css
All checks were successful
/ depoly (push) Successful in 1m19s
2024-10-31 22:00:32 +08:00
thislight
0267bffe87
adjust shadow of BottomSheet and Menu 2024-10-31 21:50:36 +08:00
thislight
e7410c7296
Profile: pinned toots
All checks were successful
/ depoly (push) Successful in 1m26s
2024-10-31 00:18:47 +08:00
thislight
dbddaae05c
Profile: sticky filter bar 2024-10-31 00:00:07 +08:00
thislight
3e3910bfe1
material/theme: use color with alpha for shadow 2024-10-30 23:59:15 +08:00
thislight
404ad1e678
BoostIcon: fix color 2024-10-30 23:40:03 +08:00
thislight
b55618664c
masto/timelines: better documentation 2024-10-30 23:27:30 +08:00
thislight
d88921f245
TootBottomSheet: catch fetch error 2024-10-30 23:00:54 +08:00
thislight
f4c0104d48
TootBottomSheet: fix main toot not links profile
All checks were successful
/ depoly (push) Successful in 2m55s
2024-10-30 20:58:36 +08:00
thislight
31b27237cd
TootList: mentions in toot links to profile page
All checks were successful
/ depoly (push) Successful in 1m17s
- bug: main toot in TootBottomSheet does not link
  profile
2024-10-30 19:25:58 +08:00
thislight
c20cf45e8e
TootPreviewCard: fix margin-block of the title 2024-10-30 17:25:06 +08:00
thislight
2a47403c7b
add normalize.css
All checks were successful
/ depoly (push) Successful in 1m25s
2024-10-30 14:13:19 +08:00
thislight
9e97f9b611
various css optimizations
All checks were successful
/ depoly (push) Successful in 1m18s
2024-10-30 13:22:00 +08:00
thislight
b7531864d2
css optimizing
All checks were successful
/ depoly (push) Successful in 1m16s
2024-10-30 13:07:55 +08:00
thislight
30efc1bae6
Profile: fix bio may overflow-x
All checks were successful
/ depoly (push) Successful in 1m19s
2024-10-29 19:50:49 +08:00
thislight
da32969f5a
Profile: fix link color
All checks were successful
/ depoly (push) Successful in 1m19s
2024-10-29 19:48:15 +08:00
thislight
6b889666ad
Profile: destory FastAverageColor instance 2024-10-29 19:42:15 +08:00
thislight
6e28d8808b
MediaAttachmentGrid: reduce closure creation 2024-10-29 19:35:40 +08:00
thislight
41d15887a7
MediaAttachmentGrid: fix the vids scale 2024-10-29 19:26:32 +08:00
thislight
73a56357d9
{Trend,}TimelinePanel: use TootList
All checks were successful
/ depoly (push) Successful in 1m16s
2024-10-29 15:22:25 +08:00
thislight
f1197d6ba0
TimelinePanel: fix prefetching wrong direction 2024-10-29 14:19:27 +08:00
thislight
726abbe893
MediaAttachmentGrid: correct but slow layout
All checks were successful
/ depoly (push) Successful in 1m26s
2024-10-28 18:26:59 +08:00
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
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