Xyphyn
e530dcd05f
feat: add federation management
2023-09-06 18:00:14 -07:00
Xyphyn
f657df6c27
feat: add buttons to reload comments and go back
2023-09-04 16:58:25 -07:00
Xyphyn
3b87091484
feat: use badge for comment count
2023-09-04 11:49:14 -07:00
Xyphyn
c53ec52d86
feat: switch from card to material
2023-09-04 11:27:19 -07:00
Xyphyn
43b0e87ebf
feat: use new spinner component
2023-09-04 11:04:31 -07:00
Xyphyn
e946d0de48
feat: add community search to search page
2023-09-04 10:49:31 -07:00
Xyphyn
d02d8556d5
switch to mono-svelte Button component
2023-09-03 17:05:45 -07:00
Xyphyn
e209a22d2c
misc: tweak post page
2023-08-31 19:12:07 -07:00
Xyphyn
66f9942964
misc: change style in post pages
2023-08-31 18:41:17 -07:00
Xyphyn
2c4132d899
feat: ssr comments if env var is enabled
2023-08-27 11:58:28 -07:00
Xyphyn
6516e99fe0
feat: make crossposts collapsible
2023-08-25 16:02:54 -07:00
Xyphyn
5636abbd5b
feat: add debug info
2023-08-25 15:11:18 -07:00
Xyphyn
45fbc7d25f
feat: switch to a toast
2023-08-25 14:50:44 -07:00
Xyphyn
4113c1108c
feat: use beforeNavigate to allow users to click back
2023-08-22 16:07:33 -07:00
Xyphyn
9df7dc0604
fix: add break-word
2023-08-19 17:51:28 -07:00
Xyphyn
fee08ed7ed
fix: reactivity issue causing comment tree to rebuild
2023-08-19 15:43:56 -07:00
Xyphyn
435c529abc
feat: auto linkify post urls
2023-08-18 19:27:22 -07:00
Xyphyn
a971e04bed
feat: show crossposts
2023-08-18 18:44:36 -07:00
Xyphyn
eac1c4981a
feat: use ap_id
2023-08-18 18:31:42 -07:00
Xyphyn
c09460bd9b
feat: add option to resolve posts to your home instance
2023-08-15 16:03:13 -07:00
Xyphyn
dca0edf0b1
misc: use bindings to show updated data easily
2023-08-12 10:11:39 -07:00
Xyphyn
b1b9486d3e
fix: only a few comments load when changing sort
2023-08-11 16:41:13 -07:00
Xyphyn
f9becd1bd0
feat: add default comment sorts, close #93
2023-08-10 17:01:25 -07:00
Xyphyn
45e0326668
fix: show warning message for different page and user instance
2023-08-08 15:59:07 -07:00
Xyphyn
d59060ab35
feat: switch to svh
2023-08-05 13:18:21 -07:00
Xyphyn
5c04bdb677
feat: add placeholder component
2023-08-05 12:48:15 -07:00
Xyphyn
2035ee052a
feat: switch fetch function
2023-08-04 15:08:44 -07:00
Xyphyn
e34cace14f
feat: improve error handling
2023-08-03 12:07:57 -07:00
Xyphyn
4bb6f67e52
feat: add basic video support
2023-08-03 11:26:16 -07:00
Xyphyn
ce59f413a0
misc: hide instance warning when logged out
2023-08-03 11:11:04 -07:00
Xyphyn
87612d6507
feat: switch to a string instead of enum
2023-08-02 14:22:27 -07:00
Xyphyn
2da415b670
feat: switch to new account system
2023-08-01 13:00:06 -07:00
Xyphyn
bfb36a93f8
misc: remove useless padding
2023-07-31 14:49:49 -07:00
Xyphyn
461a15a1ef
feat: add better thread viewing
2023-07-30 13:54:39 -07:00
Xyphyn
8488bb1e17
fix: change <p> to <div>, as it wasn't necessary for semantics
2023-07-29 15:24:36 -07:00
Xyphyn
32f65add46
misc: tweak comments look
2023-07-29 10:22:03 -07:00
Xyphyn
590eedc0fb
misc: minor tweaks
2023-07-28 18:52:37 -07:00
Thomas J Faughnan Jr
34c712c01c
fix: parse date strings as UTC
...
For posts, comments, and other objects, the `published` attribute is a
string containing an ISO 8601 timestamp. This timestamp is UTC, though
it is not explicit in the string's contents. When the `Date` constructor
is used on such strings, they are parsed as though they are local
timestamps. According to [1]:
> When the time zone offset is absent, date-only forms are
> interpreted as a UTC time and date-time forms are interpreted as local
> time. This is due to a historical spec error that was not consistent
> with ISO 8601 but could not be changed due to web
> compatibility.
This patch explicitly appends a 'Z' to the `published` string when it is
used as the argument to the `Date` constructor.
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2023-07-28 20:02:01 -04:00
Xyphyn
3d19318355
misc: Increase post body padding
2023-07-28 16:22:50 -07:00
Xylight
d3aae647a8
feat: add moderation tools ( #33 )
...
* feat: Add post submission removal
* feat: add comment submission removal
* feat: add report viewing and resolving
* misc: add notification dot
* misc: add locked thread badge
* feat: add thread locking
* feat: add initiating message conversations
* feat: add post pinning/unpinning
* misc: bump version
* fix: tweak lock colors
* fix: update post data on pin
* fix: return if reason is empty
2023-07-27 15:53:31 -07:00
Xyphyn
b0e9e898f1
fix: fix #28
2023-07-27 11:30:56 -07:00
Peter Bui
54c03b96dc
fix: properly load comments when sorting ( #30 )
...
Need to set type_ to 'All' when calling getComments(). Otherwise,
trying sort the comments on a post by "Top" or "New" will refresh
without any comments.
2023-07-26 21:14:44 -07:00
Xyphyn
1400779b18
misc: tweak user link color
2023-07-26 16:08:35 -07:00
Xyphyn
038a4363b0
fix: swap order of isImage and thumbnail
2023-07-26 15:03:43 -07:00
Xyphyn
03d854011b
feat: add #16
2023-07-26 11:52:41 -07:00
Xyphyn
1dd179d636
feat: Add search function
2023-07-26 11:39:54 -07:00
Peter Bui
e778450963
fix: show post.url if the post does not have a thumbnail ( #23 )
...
Right now, if a post does not have a post.thumbnail_url and is just a
link to another website, the link is not displayed... so the user cannot
go to the actual article.
This copies the link code from the Post object and provides a link if
there is a post.url but not a post.thumbnail_url.
2023-07-26 10:33:05 -07:00
Xylight
7b1ad247f9
feat: Add post and comment editing ( #12 )
...
* feat: Add editing
* feat: Add comment badges
* fix: make loading more consistent
* misc: remove prop drilling
* feat: Add post editing
* misc: update version
* feat: Add comment deletion
2023-07-25 11:12:15 -07:00
Xyphyn
0fb17f626f
fix: Make child loading indicator only appear on parent
2023-07-19 16:09:24 -07:00
Xyphyn
5d0e09f2e3
misc: minor design tweaks
2023-07-18 17:08:08 -07:00