Xyphyn
130bd442a5
misc: increase comment form height
2023-08-12 20:09:45 -07:00
Xyphyn
dca0edf0b1
misc: use bindings to show updated data easily
2023-08-12 10:11:39 -07:00
Xyphyn
a5c41a9c90
feat: add and close #94
2023-08-11 13:59:24 -07:00
Xyphyn
c5afc07b41
feat: add post and comment purging, fix #92
2023-08-10 16:48:11 -07:00
Xyphyn
0f315bec01
feat: add ability to mark single item as read
2023-08-09 16:21:31 -07:00
Xyphyn
daff5f2c09
feat: add warning toast if the api returns no comments
2023-08-08 15:53:47 -07:00
Xyphyn
f2c9b5171b
feat: update placeholder system
2023-08-08 15:44:55 -07:00
Xyphyn
3dcf173826
feat: add markdown toolbar
2023-08-04 13:45:42 -07:00
Xyphyn
56b2175ab3
feat: separate instance options
2023-08-03 12:17:34 -07:00
Xyphyn
87612d6507
feat: switch to a string instead of enum
2023-08-02 14:22:27 -07:00
Peter Bui
8d6135a8fb
feat: copy link action for comments ( #56 )
...
This adds a comment link action to each comment action menu so that
users can link directly to a comment. It uses the existing single
thread view mechanism to display the single command (and its children).
2023-08-01 18:42:10 -07:00
Xyphyn
2da415b670
feat: switch to new account system
2023-08-01 13:00:06 -07:00
Xyphyn
461a15a1ef
feat: add better thread viewing
2023-07-30 13:54:39 -07:00
Xyphyn
e1ac96def3
a11y: improve accessibility
2023-07-29 19:59:55 -07:00
Peter Bui
85ce6cd053
misc: allow replies to use max width (instead of small) ( #43 )
2023-07-29 17:59:40 -07:00
Xyphyn
3047a56106
misc: rename isMod to amMod
2023-07-29 12:40:06 -07:00
Xyphyn
32f65add46
misc: tweak comments look
2023-07-29 10:22:03 -07:00
Peter Bui
9eb3665fa7
fix: improve building comment tree ( #40 )
...
As we build the map of nodes, keep track of the minimum depth level.
Afterwards, nodes at the minimum depth level go into the tree as the
roots.
We no longer need to check if the tree belongs to a parent comment or
not.
Fixes #36 more.
2023-07-28 20:37:44 -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
65a1740322
misc: fix Comment.svelte
2023-07-28 16:27:06 -07:00
Xyphyn
55a3b5cfb8
Revert "misc: possibly fix comments not working"
...
This reverts commit fa20d7a6a8 .
modified: src/lib/components/lemmy/comment/Comments.svelte
modified: src/lib/components/lemmy/comment/comments.ts
2023-07-28 16:25:43 -07:00
Xyphyn
3d19318355
misc: Increase post body padding
2023-07-28 16:22:50 -07:00
Xyphyn
fa20d7a6a8
misc: possibly fix comments not working
2023-07-28 14:48:40 -07:00
Xyphyn
a362241a72
misc: tweak line height
2023-07-28 14:17:28 -07:00
Xyphyn
fcb21a0e35
fix: disable actions for comment form in edit modal
2023-07-28 14:06:21 -07:00
Xyphyn
4cbb7381cb
misc: switch to commentform for edit modal
2023-07-28 14:03:33 -07:00
Xylight
128167bfe9
fix 0.18.3 comment loading being different ( #37 )
2023-07-28 13:49:41 -07:00
Xyphyn
74fd7714ce
fix #34
2023-07-28 10:35:23 -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
c0aaf08a9f
feat: add sorts to user pages
2023-07-27 12:25:26 -07:00
Xyphyn
ef0cb48710
misc: switch to CommentItem for posts
2023-07-27 11:33:23 -07:00
Xyphyn
6fcef02809
feat: add reporting
2023-07-26 19:13:26 -07:00
Xyphyn
1400779b18
misc: tweak user link color
2023-07-26 16:08:35 -07:00
Xyphyn
5ee395dbcd
misc: tweak comment form colors
2023-07-26 13:28:37 -07:00
Xyphyn
e5492313bd
tweak: change colors
2023-07-26 13:23:16 -07:00
Xyphyn
1dd179d636
feat: Add search function
2023-07-26 11:39:54 -07:00
Peter Bui
be880d17f5
fix: include type_=All to expand comments
...
Further fix #11 by specifying the type_ parameter to 'All'. Without
this, the server returns an empty comments array.
2023-07-25 16:18:50 -04:00
Xyphyn
7ea6d141be
fix: Fix #11
2023-07-25 11:19:58 -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
27f94632d3
fix: remove margin
2023-07-23 21:18:54 -07:00
Xyphyn
da65dec43a
misc: Change loading size
2023-07-22 16:09:34 -07:00
Xyphyn
0fb17f626f
fix: Make child loading indicator only appear on parent
2023-07-19 16:09:24 -07:00
Xyphyn
42a429326a
misc: Move comments to new button system
2023-07-19 14:24:12 -07:00
Xyphyn
e243848e17
misc: Change the way buttons are handled
2023-07-19 13:43:18 -07:00
Xyphyn
b0f3e01f5a
misc: Split post component into more components
2023-07-18 16:38:45 -07:00
Xyphyn
4011dfaa55
misc: Change border
2023-07-18 12:31:07 -07:00
Xyphyn
f3c3982eff
misc: Minor tweaks
2023-07-18 12:19:59 -07:00
Xyphyn
12d4a9d9de
misc: Fix line height
2023-07-18 12:05:32 -07:00
Xyphyn
06e2e6cf1a
misc: tweak design
2023-07-17 15:51:10 -07:00