Lim Chee Aun
|
ac9962b051
|
Don't show inline translation if has card
|
2023-07-22 10:10:41 +08:00 |
|
Lim Chee Aun
|
075c729807
|
Fix logic again
|
2023-07-22 00:06:15 +08:00 |
|
Lim Chee Aun
|
587864893c
|
Getting confused with the logic
Also more accurate content length calc
|
2023-07-21 23:54:03 +08:00 |
|
Lim Chee Aun
|
658872cbd9
|
Fix logic again
|
2023-07-21 23:00:58 +08:00 |
|
Lim Chee Aun
|
5502d08d28
|
Fix typo and logic
|
2023-07-21 22:52:53 +08:00 |
|
Lim Chee Aun
|
58bf8e16c2
|
Persist auto-inline-translation to the large size status too
|
2023-07-21 13:25:18 +08:00 |
|
Lim Chee Aun
|
4aab2d39cc
|
Set max width for very long profile metadata
|
2023-07-21 00:55:37 +08:00 |
|
Lim Chee Aun
|
6f28db2532
|
Make "tabs" work for Mentions page in Columns mode
|
2023-07-20 20:06:07 +08:00 |
|
Lim Chee Aun
|
9b0e63d289
|
Handle elk links
|
2023-07-19 15:51:00 +08:00 |
|
Lim Chee Aun
|
da425b4a70
|
Fix wrong url cached
|
2023-07-19 15:46:00 +08:00 |
|
Lim Chee Aun
|
7286a4e03b
|
Attempt to fix menu confirm not opening
|
2023-07-19 15:19:03 +08:00 |
|
Lim Chee Aun
|
1f0d2eebe6
|
Having fun with multi-stacking modals
|
2023-07-18 20:40:10 +08:00 |
|
Lim Chee Aun
|
38a13b07c5
|
Fix boost menu bug
|
2023-07-18 18:45:38 +08:00 |
|
Lim Chee Aun
|
92a4f502a0
|
Experimental Auto Inline Translation (AIT)
For short posts for now and throttled API calls
|
2023-07-18 13:31:26 +08:00 |
|
Lim Chee Aun
|
ff41cd3563
|
Replace (most) alert/confirms with alternative UI
Everything might break lol
|
2023-07-17 21:01:00 +08:00 |
|
Lim Chee Aun
|
10fa537a56
|
Make instance text wrap on its own
|
2023-07-16 10:36:33 +08:00 |
|
Lim Chee Aun
|
473dac1fde
|
Fix layout regression in Settings sheet
My laziness in separating the styles between Settings and Accounts sheets bit back
|
2023-07-16 10:35:54 +08:00 |
|
Lim Chee Aun
|
18a5742bfc
|
Make it shrink for profile page
|
2023-07-16 09:05:46 +08:00 |
|
Lim Chee Aun
|
df047131bb
|
Show instance URL in accounts list
When logged-in, acct doesn't show @instance
|
2023-07-14 14:46:57 +08:00 |
|
Lim Chee Aun
|
3192c319ee
|
Experiment more minimalistic account sheet
|
2023-07-14 14:36:13 +08:00 |
|
Lim Chee Aun
|
42633f87ea
|
Recode some parts in search page
Still very messy, I know
|
2023-07-14 13:16:41 +08:00 |
|
Lim Chee Aun
|
1ef9613358
|
Need more gap
|
2023-07-14 10:43:35 +08:00 |
|
Lim Chee Aun
|
48b21ec42d
|
lol, totally wrong logic
|
2023-07-13 23:12:05 +08:00 |
|
Lim Chee Aun
|
afc13c0d7e
|
Fix fn not refreshed in useInterval
|
2023-07-13 20:11:23 +08:00 |
|
Lim Chee Aun
|
5791338393
|
Use svh
|
2023-07-13 20:10:53 +08:00 |
|
Lim Chee Aun
|
1e28efd9bb
|
Fix search offset not working when first time load with 'type'
|
2023-07-13 20:10:39 +08:00 |
|
Lim Chee Aun
|
fa21eec06a
|
Try useIdle
|
2023-07-12 17:32:05 +08:00 |
|
Lim Chee Aun
|
e26473f607
|
Replace import.meta.glob, it actually generates imports for *all* icons
Change to manually import icons
|
2023-07-12 16:42:58 +08:00 |
|
Lim Chee Aun
|
fd1fc9c5fc
|
Let's flip things around
|
2023-07-11 19:20:01 +08:00 |
|
Lim Chee Aun
|
4dbc26dbb6
|
lol name is not unique
|
2023-07-11 15:06:30 +08:00 |
|
Lim Chee Aun
|
7fa7276a43
|
Prevent list numbers from being shrinked
|
2023-07-11 10:48:26 +08:00 |
|
Lim Chee Aun
|
4bfd36fa9b
|
Fix useState undefined
Blame myself working on multiple features at the same time
|
2023-07-09 16:51:05 +08:00 |
|
Lim Chee Aun
|
6956628369
|
Add posting visibility setting
Also respect visibility setting when replying *if* replied-to post is public
|
2023-07-09 16:32:09 +08:00 |
|
Lim Chee Aun
|
470f7aa353
|
Experimental back button for status page
|
2023-07-09 09:12:29 +08:00 |
|
Lim Chee Aun
|
db0261f8dd
|
Not needed due to header-grid-2
|
2023-07-09 09:11:11 +08:00 |
|
Lim Chee Aun
|
44eef9ee3b
|
Update instances list
|
2023-07-09 08:53:37 +08:00 |
|
Lim Chee Aun
|
41d1956ae5
|
Fix jumpy hero container height
|
2023-07-09 08:31:41 +08:00 |
|
Lim Chee Aun
|
b02cae4967
|
Try use more system locale
Hopefully locale doesn't change half way
|
2023-07-08 13:43:25 +08:00 |
|
Lim Chee Aun
|
7d793f19b3
|
Possible fix for 2-finger swipe-back not working
|
2023-07-08 13:42:09 +08:00 |
|
Lim Chee Aun
|
5f67a29e1a
|
Collapse follow requests if > 5
|
2023-07-06 20:32:21 +08:00 |
|
Lim Chee Aun
|
2eba4eaf59
|
Prevent re-render timeline in multi-column mode
|
2023-07-05 16:59:28 +08:00 |
|
Lim Chee Aun
|
e6880859ee
|
Styles for search accounts results
|
2023-07-05 16:57:33 +08:00 |
|
Lim Chee Aun
|
97f7a066e2
|
Fix items not updating when items count = 0
|
2023-07-05 16:54:33 +08:00 |
|
Lim Chee Aun
|
f67fdd5759
|
Show additional stats for accounts in search results
|
2023-07-02 18:02:30 +08:00 |
|
Lim Chee Aun
|
d035d18aa0
|
Fix duplicated search results
Also fix other stuff
|
2023-06-30 09:48:52 +08:00 |
|
Lim Chee Aun
|
4476e9d087
|
Only run this when showing original
|
2023-06-29 18:55:17 +08:00 |
|
Lim Chee Aun
|
c609ba0194
|
Fix bounce effect bug when switching view modes
|
2023-06-29 10:08:31 +08:00 |
|
Lim Chee Aun
|
8efc7a226e
|
Fix regression: close media modal, not the status page
Clicking close goes *back* from media=1 to media-only=1
|
2023-06-29 09:52:41 +08:00 |
|
Lim Chee Aun
|
950114b9f7
|
Try without cache: reload
It's probably not needed; image is possibly cached, just not rendered properly
|
2023-06-29 00:27:15 +08:00 |
|
Lim Chee Aun
|
61630d25e2
|
Forgot this danger tag style
|
2023-06-28 23:37:05 +08:00 |
|
Lim Chee Aun
|
86dd2f3f5c
|
Pagination for search results
This code is really hacky, may need to revisit one day
|
2023-06-28 23:36:37 +08:00 |
|
Lim Chee Aun
|
1a835c32ab
|
Attempt to fix Safari's cut-off images bug
|
2023-06-28 23:35:22 +08:00 |
|
Lim Chee Aun
|
c61e9bb61c
|
Update account info if there's name or avatar change
|
2023-06-28 17:38:01 +08:00 |
|
Lim Chee Aun
|
33720d9694
|
Show muted/blocked tags on account info
|
2023-06-27 22:02:10 +08:00 |
|
Lim Chee Aun
|
730fba7ad9
|
Show trending hashtags
Very minimal UI for now
|
2023-06-27 19:39:33 +08:00 |
|
Lim Chee Aun
|
fe713edee9
|
Unfurl Pleroma links
|
2023-06-27 12:19:55 +08:00 |
|
Lim Chee Aun
|
efc3b08c90
|
Fix prefs not being applied in Composer
Got trolled by masto.js again
|
2023-06-23 21:20:11 +08:00 |
|
Lim Chee Aun
|
524a499df8
|
Fix empty second column in nav menu when un-logged-in
|
2023-06-20 13:30:26 +08:00 |
|
Lim Chee Aun
|
465c06c671
|
Fix serious bug: any doesn't persist in subsequent calls
|
2023-06-20 12:45:57 +08:00 |
|
Lim Chee Aun
|
fcc7d8ddea
|
Fix unlogged in pages not shown
|
2023-06-18 20:26:13 +08:00 |
|
Lim Chee Aun
|
558954bb82
|
Fix nav menu width overflow when text size setting set larger
|
2023-06-16 13:09:33 +08:00 |
|
Lim Chee Aun
|
8d35d476e3
|
Fix nav menu overlapping tab bar
Also allow custom padding into safeBoundingBoxPadding function
|
2023-06-15 18:03:37 +08:00 |
|
Chee Aun
|
d75a9191fc
|
Merge pull request #165 from osmaa/main
tweak the behavior of status context menu
|
2023-06-15 13:55:15 +08:00 |
|
Lim Chee Aun
|
06aece7d3a
|
Reduce debounce to 250 for now
|
2023-06-14 22:38:38 +08:00 |
|
Osma Ahvenlampi
|
aa1b2e30cf
|
Merge branch 'cheeaun:main' into main
|
2023-06-14 17:26:54 +03:00 |
|
Osma Ahvenlampi
|
804e4571d9
|
tweak the behavior of status context menu
|
2023-06-14 17:23:56 +03:00 |
|
Lim Chee Aun
|
28acd9720e
|
Fade in the header banner too
Prevent the abruptness
|
2023-06-14 21:42:28 +08:00 |
|
Lim Chee Aun
|
a4db692ea8
|
Async decoding for avatars
|
2023-06-14 20:31:02 +08:00 |
|
Lim Chee Aun
|
ccb656b793
|
Unordered lists in posts should always be disc
|
2023-06-14 18:54:46 +08:00 |
|
Lim Chee Aun
|
a8c2287038
|
useLayoutEffect again
|
2023-06-14 17:37:54 +08:00 |
|
Lim Chee Aun
|
3b3e0e6fde
|
EmojiText component replacing dangerouslySetInnerHTML
|
2023-06-14 17:37:41 +08:00 |
|
Lim Chee Aun
|
d2826085e1
|
useLayoutEffect instead
|
2023-06-14 16:15:25 +08:00 |
|
Lim Chee Aun
|
ddbca53a72
|
Safe to reuse getComputedStyle
|
2023-06-14 11:15:40 +08:00 |
|
Lim Chee Aun
|
92a87a846d
|
Try use OffscreenCanvas for avatars
|
2023-06-14 11:15:05 +08:00 |
|
Lim Chee Aun
|
cea4590686
|
Cache textWeight
|
2023-06-14 11:14:49 +08:00 |
|
Lim Chee Aun
|
50f0b38f42
|
Add 'group' tag to accounts
|
2023-06-14 06:00:06 +08:00 |
|
Lim Chee Aun
|
885f23d405
|
Fix Flash of Enlarged Image (FOEI)
Let's see if this works!
|
2023-06-14 00:09:26 +08:00 |
|
Lim Chee Aun
|
db602147ab
|
Handle GoToSocial links
|
2023-06-13 21:08:59 +08:00 |
|
Lim Chee Aun
|
a1ee5be54b
|
Upgrade react-menu and bug fixes
|
2023-06-13 17:46:37 +08:00 |
|
Lim Chee Aun
|
f6ef727cae
|
Seems like this is not needed
Fix See Post button not opening the post
|
2023-06-13 15:32:10 +08:00 |
|
Lim Chee Aun
|
b5250f03c1
|
Fix cloak mode bugs on Safari
|
2023-06-13 09:26:25 +08:00 |
|
Osma Ahvenlampi
|
3b3668ba13
|
using percentage radius enables squircles in both normal timeline as well as boost carousel
|
2023-06-12 18:52:44 +03:00 |
|
Lim Chee Aun
|
58eea41b56
|
Scale down avatar size for non-parent-author posts in grouped contexts
Experimental!
|
2023-06-11 23:57:53 +08:00 |
|
Lim Chee Aun
|
cab2e47a77
|
Perf fixes
|
2023-06-11 23:31:14 +08:00 |
|
Lim Chee Aun
|
69703df4e1
|
Should be snapStates
|
2023-06-11 23:27:09 +08:00 |
|
Lim Chee Aun
|
c99b97d209
|
Revamp welcome page
|
2023-06-10 19:20:32 +08:00 |
|
Lim Chee Aun
|
e502b8e377
|
Try decoding=sync
|
2023-06-07 19:48:38 +08:00 |
|
Lim Chee Aun
|
ec88110e2d
|
Possibly fix sometimes the Profile menu becomes missing
|
2023-06-07 19:37:47 +08:00 |
|
Lim Chee Aun
|
ce55250943
|
Refresh supported languages
|
2023-06-05 14:59:16 +08:00 |
|
Lim Chee Aun
|
ab339ea248
|
Refresh instances list, set min 500 users now
|
2023-06-05 14:57:53 +08:00 |
|
Lim Chee Aun
|
676fa6fbc9
|
Fix error when language code is "startrek_it"
Srsly why…
|
2023-06-05 11:40:30 +08:00 |
|
Lim Chee Aun
|
12c9cb1723
|
Filter out conversations with deleted statuses
|
2023-05-29 20:06:10 +08:00 |
|
Lim Chee Aun
|
49c04a4259
|
Try go back if close media modal
|
2023-05-26 13:31:02 +08:00 |
|
Lim Chee Aun
|
ddb64e3022
|
Beautify 'Show more' button on status page
|
2023-05-24 17:16:56 +08:00 |
|
Lim Chee Aun
|
efa4ba63eb
|
Try re-post if idempotency key fails
|
2023-05-23 19:16:24 +08:00 |
|
Lim Chee Aun
|
17334de24a
|
Fix nav menu squeezed on Firefox
|
2023-05-23 10:58:33 +08:00 |
|
Lim Chee Aun
|
bde8c66629
|
Just having a bit of fun
|
2023-05-22 17:43:02 +08:00 |
|
Lim Chee Aun
|
789b9282c4
|
Only overflow the x
|
2023-05-22 11:17:13 +08:00 |
|
Lim Chee Aun
|
305b3a5f0e
|
Make it sticky
|
2023-05-21 14:12:21 +08:00 |
|
Lim Chee Aun
|
63f18d4a28
|
Small decoration
|
2023-05-21 13:24:26 +08:00 |
|
Lim Chee Aun
|
e6ab8385a1
|
Adjust nav menu styles
|
2023-05-21 11:52:24 +08:00 |
|
Lim Chee Aun
|
da46171ef6
|
Make announcements appear faster
|
2023-05-21 08:46:51 +08:00 |
|
Lim Chee Aun
|
9a10bc0fec
|
Use proper alt
|
2023-05-20 19:43:32 +08:00 |
|
Lim Chee Aun
|
4b48bab2bb
|
Make nav menu look a bit nicer
|
2023-05-20 19:35:58 +08:00 |
|
Lim Chee Aun
|
4b45375b4c
|
Transform nav menu into 2 columns
|
2023-05-20 17:46:58 +08:00 |
|
Lim Chee Aun
|
a52bd7ca5d
|
Attempt to fix lost focus when closing nav menu
|
2023-05-20 17:08:20 +08:00 |
|
Lim Chee Aun
|
753789c0c7
|
Try/catch match because it throws when there's invalid language code
|
2023-05-20 14:14:35 +08:00 |
|
Lim Chee Aun
|
04b3fd9545
|
Fix media click handler not "refreshing"
|
2023-05-20 13:02:47 +08:00 |
|
Lim Chee Aun
|
3524eb84c3
|
Make poll form take full width
|
2023-05-20 10:22:05 +08:00 |
|
Lim Chee Aun
|
bcd91851d2
|
Must decode the code!
|
2023-05-20 10:08:41 +08:00 |
|
Lim Chee Aun
|
3acaac2d47
|
Check missing status with hero status too
|
2023-05-20 01:19:25 +08:00 |
|
Lim Chee Aun
|
0df21af374
|
Handle cases when statusID is not used
|
2023-05-20 01:06:16 +08:00 |
|
Lim Chee Aun
|
f368071fcb
|
ul, ol need a bit more space
|
2023-05-19 09:03:20 +08:00 |
|
Lim Chee Aun
|
1f7912d6b8
|
Add check for "missing" statuses in context
|
2023-05-18 23:42:49 +08:00 |
|
Lim Chee Aun
|
104665cafe
|
Don't need "Also"
|
2023-05-18 21:43:58 +08:00 |
|
Lim Chee Aun
|
48eb3b1a42
|
Prevent repetitive unfurling
|
2023-05-17 16:13:49 +08:00 |
|
Lim Chee Aun
|
166f9da232
|
Prevent showing card and QP for links that link the post itself
Use case: links from lemmy
|
2023-05-16 10:40:05 +08:00 |
|
Lim Chee Aun
|
91a7485b7b
|
Such stupid mistake, I made
|
2023-05-14 21:13:36 +08:00 |
|
Lim Chee Aun
|
46c7ee5de1
|
Fix list not re-rendering when list ID changes
|
2023-05-13 21:34:42 +08:00 |
|
Lim Chee Aun
|
7fba180de8
|
Possible fix for jumpy popover bug
|
2023-05-13 20:20:47 +08:00 |
|
Lim Chee Aun
|
2b5eb87ec4
|
Fix double scrolling when clicking on announcement index buttons
|
2023-05-12 11:57:10 +08:00 |
|
Lim Chee Aun
|
9bb66e57ae
|
Show the error too
This is getting annoying
|
2023-05-12 00:05:22 +08:00 |
|
Lim Chee Aun
|
4d14da35a4
|
More sort, still not perfect
This proves to be more difficult than I thought
|
2023-05-11 18:20:34 +08:00 |
|
Lim Chee Aun
|
edf7f6039c
|
More sort, still not perfect
This proves to be more difficult than I thought
|
2023-05-11 18:13:13 +08:00 |
|
Lim Chee Aun
|
6fcbc9dfa4
|
One more logic for auto-collapsing
|
2023-05-11 13:56:21 +08:00 |
|
Lim Chee Aun
|
b8d7e18371
|
Fix sort, this was reversed
|
2023-05-10 10:02:50 +08:00 |
|
Lim Chee Aun
|
4d5c0f1f5d
|
More adjustment to auto-collapsing logic
|
2023-05-09 22:29:18 +08:00 |
|
Lim Chee Aun
|
d264af14f1
|
Try handle case when configured instance domain is different than the actual instance domain
Honestly how do I even test if this will work
|
2023-05-09 18:48:19 +08:00 |
|
Lim Chee Aun
|
ef12916bab
|
New "shazam" CSS effect utility lolol
I might rename this in the future
|
2023-05-09 18:03:26 +08:00 |
|
Lim Chee Aun
|
c316f0106b
|
Small optimization
|
2023-05-08 23:16:04 +08:00 |
|
Lim Chee Aun
|
4c188ab59b
|
Smarter logic for auto-collapsing
This logic is getting similar to HackerWeb's
|
2023-05-08 22:42:15 +08:00 |
|
Lim Chee Aun
|
54849b60a9
|
Fix more leaked styles
|
2023-05-08 22:41:35 +08:00 |
|
Lim Chee Aun
|
e860fa99fa
|
Fix compose button not hiding for other pages
|
2023-05-08 22:41:21 +08:00 |
|
Lim Chee Aun
|
c95a451111
|
Fix compose button not auto-hiding
|
2023-05-08 12:53:27 +08:00 |
|
Lim Chee Aun
|
02d26b8da2
|
Slightly rewritten collapsing logic
Let's see if this works better
|
2023-05-08 12:50:00 +08:00 |
|
Lim Chee Aun
|
437c50eeb5
|
Srsly need scoped CSS here
|
2023-05-08 12:47:30 +08:00 |
|
Lim Chee Aun
|
d95ef309ca
|
Quick fix html escaping bug
|
2023-05-08 12:08:26 +08:00 |
|
Lim Chee Aun
|
4aeaeb229c
|
Only show compose button when logged in
|
2023-05-07 22:19:19 +08:00 |
|
Lim Chee Aun
|
900bcb0410
|
Gosh, non-Mastodon instances are definitely more rich (in HTML)
|
2023-05-07 19:20:04 +08:00 |
|
Lim Chee Aun
|
2ee38f43d2
|
Fix reload issues in Notifications
|
2023-05-07 19:17:16 +08:00 |
|
Lim Chee Aun
|
dd5b374b53
|
Make horizontally-scrollable comments more apparent
|
2023-05-07 18:20:25 +08:00 |
|
Lim Chee Aun
|
9ac71920bf
|
Additional logic for auto-collapsing comments
|
2023-05-07 18:19:28 +08:00 |
|
Lim Chee Aun
|
26af33aa85
|
Alright let's get Announcements UI out for now
Not perfect but will iterate later
|
2023-05-07 11:12:59 +08:00 |
|
Lim Chee Aun
|
dcf7d3c750
|
Add follow requests section in Notifications
|
2023-05-06 17:13:39 +08:00 |
|
Lim Chee Aun
|
d37537c61e
|
Time to move Compose button to other pages
One missing feature: Mention @username if button is on profile page
|
2023-05-06 17:12:13 +08:00 |
|
Lim Chee Aun
|
9c13224aed
|
New "Private" tab in Mentions
This is still very clunky
|
2023-05-05 17:54:16 +08:00 |
|
Lim Chee Aun
|
123da4af79
|
How did I even code this
|
2023-05-05 17:53:34 +08:00 |
|
Lim Chee Aun
|
711842916d
|
New experiment: auto refresh
|
2023-05-05 17:53:16 +08:00 |
|
Lim Chee Aun
|
1f5d74d78e
|
More checks on thread contexts
Some instances return really wacky order of posts
|
2023-05-05 16:59:06 +08:00 |
|
Lim Chee Aun
|
d55bd95c72
|
Fix link detection
|
2023-05-05 08:54:06 +08:00 |
|