Commit Graph

1280 Commits

Author SHA1 Message Date
Alex Gleason 0c15e3235a
Chats: mobile action button padding hotfix 2020-09-11 20:10:47 -05:00
Alex Gleason d644ed3c55
Chats: remove underline from recipient name on mobile 2020-09-11 19:47:45 -05:00
Alex Gleason bdaab2110b
Chats: improve mobile styles 2020-09-11 19:45:24 -05:00
Alex Gleason c135ccffeb
Chats: fix verification icon in chats list 2020-09-11 16:02:51 -05:00
Alex Gleason 4d5561e9af
Hovercard: invisible hotfix 2020-09-11 15:54:22 -05:00
Alex Gleason 35fe2fa4fa
Hovercard: hide on click ref 2020-09-11 15:39:38 -05:00
Sean King f60ca1aa8f Merge branch 'develop' into 'icon_picker_admin_config'
# Conflicts:
#   package.json
2020-09-11 19:27:04 +00:00
Alex Gleason 40937b9fdc
Chats: allow clicking recipient in chatroom 2020-09-11 13:09:39 -05:00
Alex Gleason ec491add23
UserPanel: only show stats when they're available 2020-09-11 13:04:45 -05:00
Alex Gleason d6a39b3e09
Hovercard: put hovercard on chat window 2020-09-11 13:04:31 -05:00
Alex Gleason 7733905641
Hovercard: update DisplayName snapshot 2020-09-11 12:38:42 -05:00
Alex Gleason 7494a0fd00
Hovercard: delete legacy code 2020-09-11 12:30:16 -05:00
Alex Gleason 9ac6f3aaab
Restore old border-radius behavior, fixes #266 2020-09-11 12:24:43 -05:00
Alex Gleason 72659f27c1
Hovercard: attach to each element for better positioning 2020-09-11 12:17:32 -05:00
Alex Gleason 24bf880e0b
Hovercard: refactor detailed status 2020-09-11 11:42:02 -05:00
Alex Gleason 1d90950e59
Hovercard: refactor with HoverRefWrapper 2020-09-11 11:37:05 -05:00
Alex Gleason c0051df335
Merge remote-tracking branch 'origin/develop' into hovercard-refactor 2020-09-11 10:06:13 -05:00
Alex Gleason 9692c7539a
Hovercard: appear and disappear properly 2020-09-11 10:05:52 -05:00
Sean King 5b0e81c836 Merge branch 'develop' of https://gitlab.com/soapbox-pub/soapbox-fe into icon_picker_admin_config 2020-09-11 08:54:16 -06:00
Alex Gleason 73dd125094
Run yarn manage:translations 2020-09-11 09:30:48 -05:00
Alex Gleason d8ea37bf5e
Hovercard: clear when card is unhovered 2020-09-10 22:08:17 -05:00
Alex Gleason 4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Sean King c32693176a Merge branch 'develop' of https://gitlab.com/soapbox-pub/soapbox-fe into icon_picker_admin_config 2020-09-10 18:12:09 -06:00
Alex Gleason 0c4eae5f10
Hovercard: basic Redux+Popper prototype 2020-09-10 19:09:27 -05:00
Alex Gleason 8c9206be3e
Use a better poll icon 2020-09-09 22:00:11 -05:00
Curtis ROck 16eab5c5f1 Added keystroke triggered marking of chats as read in chatbox 2020-09-09 21:37:35 -05:00
crockwave fa606b8040 Render chat unread count update in tab even when tab doesn't have focus
Render chat unread count update even when chat box has focus
Render chat unread count update on page load
2020-09-09 19:01:25 -05:00
Alex Gleason adc98b7ad2
UserLists: use OrderedSets instead of Lists, fixes #230 2020-09-09 18:06:01 -05:00
Sean King 02190fbb0b
Shrink width of font icon picker a slight bit 2020-09-09 16:56:40 -06:00
Sean King 79c4540214
Fix CSS for icon picker in dark theme 2020-09-09 16:47:53 -06:00
Alex Gleason 2135bf7b34
SoapboxConfig: let getValue be set for promoItems 2020-09-09 16:31:02 -05:00
Alex Gleason f1af5d6bfa Merge branch 'scroll-status' into 'develop'
Scroll detailed status into view, fixes #257

Closes #257

See merge request soapbox-pub/soapbox-fe!223
2020-09-09 20:21:48 +00:00
Alex Gleason dd31d31417 Merge branch 'home-tab-fix' into 'develop'
Highlight home tab for public timelines, fixes #406

Closes #406

See merge request soapbox-pub/soapbox-fe!222
2020-09-09 20:04:40 +00:00
Alex Gleason fd971f053f
Scroll detailed status into view, fixes #257 2020-09-09 15:03:26 -05:00
Alex Gleason 28e8ab9067
Highlight home tab for public timelines, fixes #406 2020-09-09 14:52:27 -05:00
Alex Gleason 3631d6d61d
Don't hijack scrollbar when status is unmounted, fixes #404 2020-09-09 14:35:04 -05:00
Sean King a55b8bef68 Fix lint error 2020-09-09 10:03:16 -06:00
Sean King 228a044daa Value changes, still broken 2020-09-09 09:56:24 -06:00
Sean King 4166c932a2
Add font icon picker, not yet fixed fatal error 2020-09-08 20:15:25 -06:00
Alex Gleason 255419a6e9
Chats: display attachments in a shitty letterbox to support FireFox 2020-09-07 19:13:59 -05:00
Alex Gleason fdaa9f24ce
Chats: fix position of action icons 2020-09-07 18:51:57 -05:00
Alex Gleason fb35417fe2
Chats: prevent repeat API calls 2020-09-07 18:42:59 -05:00
crockwave 76f8e02fb9 Refactor 2020-09-07 16:52:45 -05:00
Alex Gleason 54a772190d
Chats: fix send icon on light theme 2020-09-07 16:10:45 -05:00
Alex Gleason 9247f37e75
Chats: fix #399 scrolling in FireFox 2020-09-07 16:07:05 -05:00
Bárbara de Castro Fernandes 458bdef633 Enable empty poll removal by deleting one of its options
Previously, the user had to click on the "poll" icon at the bottom of
the compose form in order to remove a poll. This commit changes how poll
options behave so as to enable an empty poll to be removed through the
deletion of either one of its options.

This closes #317.
2020-09-07 16:04:21 -03:00
Alex Gleason 60402a7402
Chats: add submit button, fixes #356 2020-09-06 17:43:16 -05:00
Curtis ROck 9103797de4 improve styling on chats audio toggle 2020-09-06 17:39:38 -05:00
Alex Gleason 024e9209af
Chats: display of non-image attachments 2020-09-06 17:20:26 -05:00
Alex Gleason a02155846d
Chats: allow files to be removed before sending 2020-09-06 17:09:06 -05:00
Curtis ROck ba5cab89aa styling for audio chat notifications 2020-09-06 16:54:45 -05:00
Alex Gleason 49d2121017
Chats: improve display of images, because we can 2020-09-06 16:50:54 -05:00
Alex Gleason 5aef50b89e
Composer: refactor filename truncation 2020-09-06 16:44:19 -05:00
Alex Gleason 8088ca2748
Merge remote-tracking branch 'origin/develop' into chat-attachments 2020-09-06 16:25:16 -05:00
Alex Gleason ed41b13064
Chats: refactor ChatBox state yet again, display unsent attachment 2020-09-06 16:24:34 -05:00
Alex Gleason cf0baab6de
Chats: add upload progress 2020-09-06 15:39:16 -05:00
Alex Gleason 07f29ebcb9
Chats: put attachment above content 2020-09-06 14:15:06 -05:00
Bárbara de Castro Fernandes 01667a005e Show file icon and name for other file types
Currently the media preview looks blank when the file type is anything
other than an image, video or audio. This commit inserts a generic file
icon and also a label with the filename for these other extensions.
2020-09-06 16:08:09 -03:00
Alex Gleason afd823fae0
Chats: refactor ChatBox state 2020-09-06 13:55:24 -05:00
Alex Gleason b7295e238f
Chats: get media uploads working 2020-09-06 12:37:38 -05:00
Alex Gleason 6dc38adeaa
Chats: add upload button to chat input 2020-09-06 11:55:20 -05:00
Curtis ROck 3d282f45fa fixed toggle click state change bug 2020-09-06 05:13:44 -05:00
Curtis ROck f3b44c5560 Render toggle for chats audio notifications 2020-09-05 21:16:14 -05:00
Curtis ROck e157754116 Fix chat audio filtering bug 2020-09-05 19:36:28 -05:00
Curtis ROck ca9be1ed05 Audio notification on chat. Currently hardcoded on in store/settings 2020-09-05 16:50:33 -05:00
Alex Gleason 84e5175481
Chats: improve attachments, make modal work 2020-09-05 16:39:57 -05:00
Curtis ROck cf93733076 Rough in support for chat sound and flash notification 2020-09-04 21:43:14 -05:00
Curtis 34a575482c Merge branch 'develop' into 'chat_notifications'
Develop

See merge request soapbox-pub/soapbox-fe!213
2020-09-05 02:17:36 +00:00
Alex Gleason d8d5186a01
Chats: basic display of attachments 2020-09-04 20:17:03 -05:00
Alex Gleason 8f1b11a394
Chats: move messages fetch logic into ChatMessageList 2020-09-04 18:10:24 -05:00
Alex Gleason 9da87405f8
Chats: improve the way messageIds are sorted 2020-09-04 18:03:38 -05:00
Alex Gleason c595e393da
Chats: fix pagination bugs, use flex column-reverse 2020-09-04 17:19:26 -05:00
Alex Gleason 8e6a662fbb
Chats: fix error loading chatroom page 2020-09-04 17:16:23 -05:00
Alex Gleason ad3aa296cd
Merge remote-tracking branch 'origin/develop' into chat-pagination 2020-09-04 15:42:15 -05:00
Alex Gleason 57b2a120e5
Composer: allow attaching any type of file 2020-09-04 00:15:10 -05:00
Alex Gleason cf8f5fde60
Composer: use paperclip for uploads icon 2020-09-04 00:11:27 -05:00
Alex Gleason d464d53a92
Composer: change globe icon to globe-w 2020-09-03 23:58:32 -05:00
Alex Gleason f89f4e08fe
Theme toggle: use dark bg in tabs-bar again 2020-09-03 23:51:16 -05:00
Curtis ROck 89f43c3b8b add chat sounds to middleware, expecting meta value of chat 2020-09-03 21:51:54 -05:00
Alex Gleason 0e7132d25e
Chats: add the building blocks for pagination 2020-09-03 19:23:00 -05:00
Sean King 529cb0d417
Fix theme toggle CSS on dark 2020-09-03 17:04:34 -06:00
Alex Gleason 9df386b477
Chats: fix #375 truncated message text 2020-09-03 14:57:58 -05:00
Alex Gleason 9b55f813bb
Chats: mark read more aggresively on mobile, fixes #367 2020-09-03 14:47:04 -05:00
Alex Gleason 9d7b86935f
Chats: fetch chats in UI instead of chat list, fixes #384 2020-09-03 14:18:11 -05:00
Alex Gleason 57fc08771c
Chats: format content, fixes #382, related #380 2020-09-03 14:11:33 -05:00
Alex Gleason 2db5c67a49
Chats: parse custom emoji, #386 2020-09-03 13:48:15 -05:00
Alex Gleason 35a0cdb64e
Chats: fix chatroom title text color 2020-09-03 13:03:30 -05:00
Alex Gleason 3246812a72
Theme toggle: fix color in sidebar menu light mode 2020-09-03 13:02:26 -05:00
Alex Gleason 5f25ddb27c Merge branch 'bookmark_detailed_status' into 'develop'
Add bookmark button to detailed status action bar view, fixes #366

Closes #366

See merge request soapbox-pub/soapbox-fe!196
2020-09-03 17:57:12 +00:00
Alex Gleason f9a0ce1d6b Merge branch 'blue_flicker' into 'develop'
Apply non-blank default BrandColor only on failure to acquire brandColor. Fixes #364

Closes #364

See merge request soapbox-pub/soapbox-fe!198
2020-09-03 16:29:51 +00:00
crockwave 91605d7d91 Fixed reducer error 2020-09-03 11:10:03 -05:00
Alex Gleason 865d251ae0
Favicons: empty alt text 2020-09-03 00:26:50 -05:00
Alex Gleason 4b1606e8dd
Favicon: refactor, show domain in alt/title 2020-09-02 22:38:04 -05:00
Curtis ROck 181eef1edd corrected errors 2020-09-02 21:47:46 -05:00
Alex Gleason a98fadb4d4
Show remote favicons on statuses, #258 2020-09-02 21:40:26 -05:00
crockwave f9f43ebb9c Browser tab indicates total count of both Notifications and Unread Chat Messages 2020-09-02 18:16:58 -05:00
Alex Gleason ddbe840453
Fix chat close error, fixes #378 2020-09-01 09:18:51 -05:00
Alex Gleason 70bd26526b
Chats: make links open in a new tab, fixes #371 2020-09-01 00:23:40 -05:00
Alex Gleason eec61b957b
Style links in chats 2020-09-01 00:05:00 -05:00
Alex Gleason cd5ee4837c
Check that soapbox.json is really an object before importing, fixes #376 2020-09-01 00:02:01 -05:00
Curtis ROck b337a4560e Apply non-blank default BrandColor only when API and soapbox.json methods fail, and only when API and/or JSON method succeeds, but brandColor value is blank 2020-08-31 22:00:11 -05:00
Sean King f9d7da0d51
Add bookmark button to detailed status action bar view 2020-08-30 23:09:02 -06:00
Alex Gleason c8e6bd9540 Merge branch 'deactivate_via_post' into 'develop'
Added method='post' to all HTML forms Fixes #365

Closes #365

See merge request soapbox-pub/soapbox-fe!194
2020-08-31 02:59:29 +00:00
Sean King 7acf9fb702
Fix jest tests for method='post' MR 2020-08-30 20:34:24 -06:00
Curtis ea75d9d18f Merge branch 'develop' into 'translate_public_header'
# Conflicts:
#   app/soapbox/locales/ar.json
#   app/soapbox/locales/ast.json
#   app/soapbox/locales/bg.json
#   app/soapbox/locales/bn.json
#   app/soapbox/locales/br.json
#   app/soapbox/locales/ca.json
#   app/soapbox/locales/co.json
#   app/soapbox/locales/cs.json
#   app/soapbox/locales/cy.json
#   app/soapbox/locales/da.json
#   app/soapbox/locales/de.json
#   app/soapbox/locales/el.json
#   app/soapbox/locales/en.json
#   app/soapbox/locales/eo.json
#   app/soapbox/locales/es-AR.json
#   app/soapbox/locales/es.json
#   app/soapbox/locales/et.json
#   app/soapbox/locales/eu.json
#   app/soapbox/locales/fa.json
#   app/soapbox/locales/fi.json
#   app/soapbox/locales/fr.json
#   app/soapbox/locales/ga.json
#   app/soapbox/locales/gl.json
#   app/soapbox/locales/he.json
#   app/soapbox/locales/hi.json
#   app/soapbox/locales/hr.json
#   app/soapbox/locales/hu.json
#   app/soapbox/locales/hy.json
#   app/soapbox/locales/id.json
#   app/soapbox/locales/io.json
#   app/soapbox/locales/it.json
#   app/soapbox/locales/ja.json
#   app/soapbox/locales/ka.json
#   app/soapbox/locales/kk.json
#   app/soapbox/locales/ko.json
#   app/soapbox/locales/lt.json
#   app/soapbox/locales/lv.json
#   app/soapbox/locales/mk.json
#   app/soapbox/locales/ms.json
#   app/soapbox/locales/nl.json
#   app/soapbox/locales/nn.json
#   app/soapbox/locales/no.json
#   app/soapbox/locales/oc.json
#   app/soapbox/locales/pl.json
#   app/soapbox/locales/pt-BR.json
#   app/soapbox/locales/pt.json
#   app/soapbox/locales/ro.json
#   app/soapbox/locales/ru.json
#   app/soapbox/locales/sk.json
#   app/soapbox/locales/sl.json
#   app/soapbox/locales/sq.json
#   app/soapbox/locales/sr-Latn.json
#   app/soapbox/locales/sr.json
#   app/soapbox/locales/sv.json
#   app/soapbox/locales/ta.json
#   app/soapbox/locales/te.json
#   app/soapbox/locales/th.json
#   app/soapbox/locales/tr.json
#   app/soapbox/locales/uk.json
#   app/soapbox/locales/zh-CN.json
#   app/soapbox/locales/zh-HK.json
#   app/soapbox/locales/zh-TW.json
2020-08-31 02:19:58 +00:00
Alex Gleason 8bfa77ddca
Chats: link avatar to account #359 2020-08-30 19:50:39 -05:00
Alex Gleason 445bb30ac0
Chats: display the last message in chats list, fixes #361 2020-08-30 19:31:09 -05:00
Alex Gleason a47524d33f
User Panel: fix truncated display name 2020-08-30 18:53:37 -05:00
Alex Gleason fb9ab8b191 Merge branch 'display_name_registration' into 'develop'
Make display name same as username during registration, fixes #267

Closes #267

See merge request soapbox-pub/soapbox-fe!142
2020-08-30 23:48:00 +00:00
Sean King de78a87ec0 Make display name same as username during registration, fixes #267 2020-08-30 23:48:00 +00:00
Alex Gleason 35c3aaa9d8
Mostly fix FireFox scrolling issues (hopefully), fixes #372 2020-08-30 18:38:50 -05:00
Curtis ROck e5de8427f1 fix jest test errors 2020-08-30 15:19:47 -05:00
Curtis ROck 68bd985eee fix jest test issues 2020-08-30 14:48:46 -05:00
Curtis ROck eb34546c78 Added method='post' to all HTML forms 2020-08-30 14:21:29 -05:00
Alex Gleason e3e57f8dc7
Chats: don't crash when there's an image post, fixes #369 2020-08-29 22:57:26 -05:00
Alex Gleason a419c5da34 Merge branch 'chats' into 'develop'
ChatMessages MVP

See merge request soapbox-pub/soapbox-fe!185
2020-08-28 22:03:34 +00:00
Alex Gleason 2c551130e6
Rip out markers, don't rely on them for unread count 2020-08-28 16:49:27 -05:00
Alex Gleason 399c2874bb
Chats: display recipient name in ChatRoom 2020-08-28 16:26:42 -05:00
Alex Gleason a70e82928b
Chats: improve mobile textarea styles 2020-08-28 15:38:38 -05:00
Alex Gleason 229d5c3f90
Chats: add mobile chat notification counter 2020-08-28 15:22:33 -05:00
Alex Gleason 2f2c849dfa
Chats: remove DM links from menus 2020-08-28 15:09:17 -05:00
Alex Gleason 7d0bd47ac1
Chats: update "Message" button with conditional logic for mobile 2020-08-28 15:06:55 -05:00
Alex Gleason 572a1db9f7
Chats: mobile styling 2020-08-28 14:42:58 -05:00
Alex Gleason 46323e088a
Chats: rename ChatListAccount to just Chat 2020-08-28 13:28:11 -05:00
Alex Gleason b1ccec1cf5
Chats: hide FAB on chat pages 2020-08-28 13:27:54 -05:00
Alex Gleason f83e5ba882
Chats: some mobile styling for rooms 2020-08-28 13:27:40 -05:00
Alex Gleason e7c6862fd0
Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
Alex Gleason d67d76bf3a
Chats: only mark read on hover when the chat is open 2020-08-28 10:45:03 -05:00
Alex Gleason 942b3fdebe
Chats: add individual chat page for mobile 2020-08-27 22:46:48 -05:00
Alex Gleason 4b22726016
Lower .floating-nav-link z-index to be below chat panes 2020-08-27 22:31:43 -05:00
Alex Gleason cd30d79b5b
Chats: render independent ChatIndex for mobile 2020-08-27 22:11:15 -05:00
Sean King 6872568d9e Add .wav audio as supported file type 2020-08-27 20:31:07 -06:00
Alex Gleason 8a8953a787
Chats: decrease font size slightly 2020-08-27 19:28:46 -05:00
Alex Gleason e682c3db28
Chats: use textarea instead of input 2020-08-27 19:25:16 -05:00
Alex Gleason 3fbdce6901
Chats: mark as read when the input is focused 2020-08-27 18:06:25 -05:00
Alex Gleason a349bce10f
Chats: show message date on hover 2020-08-27 17:27:37 -05:00
Alex Gleason abd6c419f1
Chats: hide for mobile (for now) 2020-08-27 16:54:07 -05:00
Alex Gleason 22063ae3c8
Chats: replace avatar with unread counter 2020-08-27 16:41:24 -05:00
Alex Gleason a3585305f7
Fix notification reducer tests 2020-08-27 16:20:45 -05:00
Alex Gleason f80f18d376
Chats: mark chats as read 2020-08-27 16:09:03 -05:00
Alex Gleason ac028ed584
Chats: add unread counters to chats 2020-08-27 15:43:19 -05:00
Alex Gleason 020e21adcd
Oh right, maps can't be sorted... 2020-08-27 15:07:15 -05:00
Alex Gleason 497a603a88
Notifications: drop chat mentions
Prevent streaming API from pushing in unwanted notifications
https://git.pleroma.social/pleroma/pleroma/-/issues/2076
2020-08-27 14:35:55 -05:00
Alex Gleason 859f340716
Chats: rudimentary display of chat message notifications 2020-08-27 14:33:03 -05:00
Alex Gleason 14eec701cb
Chats: add empty chats message 2020-08-27 14:02:52 -05:00
Alex Gleason 44f7ad5e1c
Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
Alex Gleason d9df091f75
Chats: increase main pane header font size 2020-08-27 13:37:53 -05:00
Alex Gleason 9493b261ef
Chats: only show message button if the user supports chats 2020-08-27 13:32:52 -05:00
Alex Gleason c0f6830e7f
Chat: fix avatar proportion in pane header 2020-08-27 13:08:04 -05:00
Alex Gleason 75dc5cfbe2
Chats: speed up pane open animation 2020-08-27 13:04:16 -05:00
Alex Gleason 10257f324d
Chats: clicking "message" launches a new chat 2020-08-27 13:01:06 -05:00
Alex Gleason e12b74713a
Chats z-index above account header 2020-08-27 12:55:38 -05:00
Alex Gleason 845c03e8ad
Add scroll bar to chats list 2020-08-27 12:53:44 -05:00
Alex Gleason 59c2029535
Chats: style pending messages 2020-08-27 12:51:35 -05:00
Alex Gleason d0a9c8b47d
Chat z-index behind modals and topbar 2020-08-27 12:45:19 -05:00
Alex Gleason 0e21cf26f4
Chat link style fixes 2020-08-27 00:33:57 -05:00
Alex Gleason 8b621d30fc
Chats: fix flickering during update 2020-08-27 00:24:11 -05:00
Alex Gleason 9af664bda8
Start making the chat faster, but it flickers 2020-08-27 00:06:27 -05:00
Alex Gleason 29f415d786
Chats: sort most recently updated chats to the top 2020-08-26 23:20:16 -05:00
Alex Gleason c4aae14148
Chats: handle null last_message 2020-08-26 20:20:14 -05:00
Alex Gleason 02b3b08999
Chats: use semantic names for action properties 2020-08-26 19:53:54 -05:00
Alex Gleason 9a3aab27c9
Chats: clicking the profile message button calls onMessage 2020-08-26 19:46:23 -05:00
Alex Gleason efa6f94cdd
Fix onEndorseToggle props warning 2020-08-26 19:20:18 -05:00
Alex Gleason da6239c4fc
Chats: move out of importer pipeline, entirely through reducers 2020-08-26 18:17:47 -05:00
Alex Gleason b9d7f927a6
Chats: get streaming working again 2020-08-26 17:29:22 -05:00
Alex Gleason 4b173f0580
Chats: sort messages properly 2020-08-26 17:02:25 -05:00
Alex Gleason 759c4ae4d0
Fix chat submission 2020-08-26 16:54:44 -05:00
Alex Gleason ecefab9956
Chats: get messages showing up again 2020-08-26 16:12:42 -05:00
Alex Gleason b66e28d8bb
Chats: store `chat_message_lists` in Redux 2020-08-26 15:54:14 -05:00
Alex Gleason 96ccf02ab8 Merge branch '340-load-more-community-fix' into 'develop'
Pass last statusID into status list before filtering, fixes #340

Closes #340

See merge request soapbox-pub/soapbox-fe!188
2020-08-26 19:43:32 +00:00
Alex Gleason 5c03f855f6
lastStatusId: move assignment out of selector 2020-08-26 14:31:22 -05:00
Alex Gleason dbafbbc065
Chats: make streaming mostly work 2020-08-26 13:40:42 -05:00
Alex Gleason 80a78ac0e1
Chats: fix border-radius and chat content height 2020-08-26 11:58:24 -05:00
Mary Kate 82c590d74b simplify onLoadMore in status list 2020-08-26 11:42:20 -05:00
Alex Gleason f52186bc01
Don't write settings back to Redux after PATCH, prevents race conditions 2020-08-26 00:37:55 -05:00
Alex Gleason 5fc8b3ff3d
Chats: improve display of links and emoji 2020-08-26 00:33:26 -05:00
Alex Gleason a296e6fcd1
Differentiate chat bubbles 2020-08-26 00:21:54 -05:00
Alex Gleason bd7aa14488 Merge branch 'markdown-ordered-lists-fix' into 'develop'
Fix markdown ordered list numbers rending on the bottom, fixes #344

Closes #344

See merge request soapbox-pub/soapbox-fe!186
2020-08-26 04:42:33 +00:00
Alex Gleason c94258dfb9
Chats: improve scroll behavior 2020-08-25 22:12:08 -05:00
Alex Gleason 205078c865
Chats: focus input under some circumstances 2020-08-25 22:03:53 -05:00
Alex Gleason dcaadb2153
Chats: autoscroll
https://stackoverflow.com/a/41700815
2020-08-25 21:45:05 -05:00
Alex Gleason 5a7cc14812
Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
Alex Gleason 5373c5b1c4
Chats: start styling ChatWindow 2020-08-25 21:03:10 -05:00
Alex Gleason cab490e1d3
Chats: display chat message content 2020-08-25 20:33:49 -05:00
Alex Gleason 5518959531
Chats: improve input box CSS 2020-08-25 19:19:55 -05:00
Alex Gleason a2cd0b7630
Chats: improve toggle surface area 2020-08-25 19:13:54 -05:00
Alex Gleason c2c3fefbaa
Chats: Improve minimize animation 2020-08-25 18:58:40 -05:00
Alex Gleason 0736e6d46c
Chats: Let main window be minimized 2020-08-25 18:53:36 -05:00
Alex Gleason 1c6c9f0f5d
Chats: Toggle pane open and minimized 2020-08-25 18:45:05 -05:00
Alex Gleason 072aed02da
Chats: Allow closing a chat 2020-08-25 18:11:48 -05:00
Alex Gleason f87f33fb94
Chats: Click chat to open pane 2020-08-25 17:54:10 -05:00
Alex Gleason c84ca30197
Chats: Click chat to open pane 2020-08-25 17:24:47 -05:00
Alex Gleason 0d7a926fa5
Chats: Style the chat boxes 2020-08-25 17:07:07 -05:00
Alex Gleason 6e0bac3d43
Chats: Get chats from paneData 2020-08-25 16:00:27 -05:00
Mary Kate fbee7a237c pass last statusID into status list before filtering, fixes #340 2020-08-25 14:59:05 -05:00
Alex Gleason d6b3268da4
Render chats in panes layout 2020-08-25 14:58:35 -05:00
Mary Kate d74a1908c7 move deactivated profile logic to css 2020-08-25 13:47:36 -05:00
Mary Kate 40f707fcb0 Fix markdown ordered list numbers rending on the bottom, sometimes 2020-08-25 13:02:40 -05:00
Alex Gleason b98f06e3d3
Chats: Import and normalize chats 2020-08-25 12:38:21 -05:00
Alex Gleason 7693fb87cc
Scaffold chat click 2020-08-25 11:33:51 -05:00
Alex Gleason 8823743605
Merge branch 'develop' into chats 2020-08-24 22:54:43 -05:00
Alex Gleason 22abaafd7a
Restore hydrateStore() call, fixes #346 2020-08-24 22:53:01 -05:00
Alex Gleason 002643b821
Merge branch 'develop' into chats 2020-08-24 22:21:04 -05:00
Alex Gleason 33c275e5f2
Run `yarn manage:translations` 2020-08-24 22:14:19 -05:00
Alex Gleason e35e8f613f
Rudimentary ChatList display 2020-08-24 21:32:39 -05:00
Alex Gleason f1cff927c0
Display Chat list 2020-08-24 21:26:42 -05:00
Alex Gleason 9785019054
Add rudimentary support for pleroma:chat_mention notification type 2020-08-24 19:51:24 -05:00
Alex Gleason fa9421a7c1
Reports counter: Only count open reports 2020-08-24 18:00:09 -05:00
Alex Gleason ebea858ca2
Reports Counter: Only fetch reports when user is staff 2020-08-24 17:31:45 -05:00
Alex Gleason c3c77c1795
Show reports counter icon for staff members, fixes #273 2020-08-24 17:18:53 -05:00
Alex Gleason 20f64079e0
Preload /api/v1/instance 2020-08-24 15:53:38 -05:00
Alex Gleason 57340496bc
Preload: dispatch preload action 2020-08-24 15:23:05 -05:00
Alex Gleason bb30f0c989
SoapboxConfig: toJSON() --> toJS() 2020-08-24 11:09:59 -05:00
Alex Gleason 0dfe22de36
Fix updateFromAdmin() broken comparison 2020-08-24 10:38:29 -05:00
Alex Gleason 48d0572403
ConfigDB: Refactor updateFromAdmin in reducers/soapbox 2020-08-24 10:08:39 -05:00
Alex Gleason e1a86d4e1c
SoapboxConfig: Improve style of delete icons 2020-08-23 23:55:03 -05:00
Alex Gleason 011b80f717
SoapboxConfig: Improve raw JSON editor 2020-08-23 23:46:34 -05:00
Alex Gleason e173af54f1
SoapboxConfig: Raw JSON editor 2020-08-23 23:19:56 -05:00
Alex Gleason 11840c4be8
SoapboxConfig: "downscaled" --> "displayed" 2020-08-23 22:44:13 -05:00
Alex Gleason d310fb4f18
SoapboxConfig: Rudimentary deletion of rows 2020-08-23 22:41:22 -05:00
Alex Gleason 2470e59596
/admin --> /soapbox/config 2020-08-23 21:48:31 -05:00
Alex Gleason 3b808b6a26
SoapboxConfig: .file-picker img max-height 2020-08-23 21:41:53 -05:00
Alex Gleason 83e715fd7a
SoapboxConfig: Use cog icon instead of shield 2020-08-23 21:38:51 -05:00
Alex Gleason 91e860a67b
SoapboxConfig: Actually upload the logo and banner files 2020-08-23 21:35:33 -05:00
Alex Gleason 27c852481e
Refactor media upload into its own action file 2020-08-23 21:12:48 -05:00
Alex Gleason e3b1e8c31d
SoapboxConfig: Fix menu links to use `to` instead of `href` 2020-08-23 20:43:41 -05:00
Alex Gleason a6efad793e
SoapboxConfig: Refactor the form state and the onChange behavior 2020-08-23 20:29:29 -05:00
Alex Gleason ec42888fff
Add getSoapboxConfig() like getSettings() 2020-08-23 16:04:01 -05:00
Alex Gleason 0668cc786f
Refactor fetchSoapboxConfig() 2020-08-23 15:32:44 -05:00
Alex Gleason b7a6d7d261
admin_cfg: Improve `+` icon style 2020-08-23 15:31:49 -05:00
Alex Gleason 20269bbe3e
soapbox_settings --> soapbox_config 2020-08-23 15:21:19 -05:00
Alex Gleason 786a7b4fe7
admin_cfg: Revert locale changes made by this MR 2020-08-23 15:17:24 -05:00
Alex Gleason d6220565f9
features/configuration --> features/soapbox_config 2020-08-23 15:16:04 -05:00
Alex Gleason 83b799a3a1
ConfigSoapbox: Update phrasing, add `+` icons to form 2020-08-23 15:04:32 -05:00
Alex Gleason 5a9f17ebac
Start refactoring AdminAPI actions 2020-08-23 12:48:45 -05:00
Alex Gleason 2cdf6f7275
Merge remote-tracking branch 'origin/develop' into admin_cfg 2020-08-23 12:16:52 -05:00
Mary Kate f4b7f2a1bf remove deactivated proile bio hotfix 2020-08-17 22:34:27 -05:00
Alex Gleason cb0c34aa7e Merge branch 'deactivated-accounts' into 'develop'
Remove info from deactivated account pages

Closes #291

See merge request soapbox-pub/soapbox-fe!157
2020-08-18 03:15:02 +00:00
Alex Gleason 53500c44b4
Always render all columns, fixes #332, breaks #293 2020-08-16 15:24:41 -05:00
Alex Gleason 1e06eff010 Merge branch 'page-layout-style-improvement' into 'develop'
Only render layout column inner div when column exists, fixes #293

Closes #293

See merge request soapbox-pub/soapbox-fe!171
2020-08-16 17:39:37 +00:00
Alex Gleason 16e83b39b8 Merge branch 'markdown-list-style-improvements' into 'develop'
Improvements to markdown list styles

Closes #300

See merge request soapbox-pub/soapbox-fe!170
2020-08-16 17:28:00 +00:00
Alex Gleason b3a05c75ff Merge branch 'profile-media-panel-improvments' into 'develop'
Profile media panel improvements, Fixes #318

Closes #318

See merge request soapbox-pub/soapbox-fe!168
2020-08-16 17:24:52 +00:00
Alex Gleason e9e55749cf Merge branch 'more-corner-nonsense' into 'develop'
Fix corners on DMs

See merge request soapbox-pub/soapbox-fe!176
2020-08-16 16:18:51 +00:00
Mary Kate 37744b60be corners on DMs 2020-08-16 10:58:51 -05:00
Alex Gleason fb16afb8f7 Merge branch 'remove-endorse-button' into 'develop'
remove endorse button from the profile header menu and some related funcs, fixes #328

Closes #328

See merge request soapbox-pub/soapbox-fe!174
2020-08-16 15:53:10 +00:00
Mary Kate 9864966eb0 remove endorse button from the profile header menu and some related funcs, fixes #328 2020-08-16 10:42:55 -05:00
Alex Gleason 3da44d60bf
Revert direct_timeline to use /api/v1/timelines/direct, fixes #325 2020-08-15 23:37:50 -05:00
Alex Gleason ca333c9552
Start refactoring direct_timeline / conversations 2020-08-15 23:18:53 -05:00
Alex Gleason 7f824207c0 Merge branch 'oembed-video' into 'develop'
Refactor oembed card to work with videos on Pleroma

See merge request soapbox-pub/soapbox-fe!172
2020-08-16 00:51:51 +00:00
Alex Gleason 9afac986fb
Refactor oembed card to work with videos on Pleroma 2020-08-15 19:40:08 -05:00