Commit Graph

10 Commits

Author SHA1 Message Date
Simon Ser 6c93bd13d1 Sort buffers when inserting, not when rendering
This allows all state.buffers users to iterate over the list in the
correct order.
2020-08-03 15:43:20 +02:00
Simon Ser 0d9f7f35f0 Add message URLs, unify URL generation 2020-07-15 18:47:33 +02:00
Simon Ser 0a825547a7 Don't use this in functional components
This works in preact, but doesn't with react.
2020-07-09 23:35:47 +02:00
Simon Ser 15c51d9ec7 Rename sidebar and topbar 2020-06-26 15:16:07 +02:00
Simon Ser 9d7704ea54 Set key attr in buffer list items 2020-06-26 14:41:03 +02:00
Simon Ser 028c6fd8b3 Sort buffers and members 2020-06-26 14:40:27 +02:00
Simon Ser 74b720c131 Convert server/channel/nick links to irc:// scheme 2020-06-26 11:07:01 +02:00
Simon Ser 6d3621e1be Introduce buffer type 2020-06-26 10:35:38 +02:00
Simon Ser cbe76ab824 Mark buffers as unread on new message 2020-06-24 16:56:57 +02:00
Simon Ser b449ace4b4 Switch to react
Under the hood, preact is used to reduce dependency size. We still don't
have a build stage, so htm is used instead of JSX.
2020-06-24 14:37:49 +02:00