Commit Graph

5594 Commits

Author SHA1 Message Date
Tusooa Zhu e5b49ae34b
Add English translations for announcements 2022-11-24 18:27:13 -05:00
Tusooa Zhu 95750509b1
Fetch real data from backend 2022-11-24 18:27:13 -05:00
Tusooa Zhu e067783a30
Add announcement display with placeholder messages 2022-11-24 18:26:46 -05:00
tusooa 045a222183 Merge branch 'better-defaults-user-popovers' into 'develop'
Better defaults for user popovers

See merge request pleroma/pleroma-fe!1685
2022-11-24 23:23:03 +00:00
Henry Jameson 1512431973 fix leaky journal by running uniq on addToCollection entries 2022-11-24 22:31:38 +02:00
Henry Jameson 3c0e7882b1 lint 2022-11-21 22:17:33 +02:00
HJ d1885d45e7 Merge branch 'search-pagination' into 'develop'
Implement loading more statuses when searching

See merge request pleroma/pleroma-fe!1410
2022-11-21 19:48:24 +00:00
Henry Jameson 96d45617e2 make better defaults for user popovers, closer to OG behavior 2022-11-21 21:44:03 +02:00
HJ 72a5eaf40a Merge branch 'emoji-popovers' into 'develop'
use Popover for Emoji picker + suggestor

See merge request pleroma/pleroma-fe!1648
2022-11-21 19:36:15 +00:00
HJ 896cbf89f6 Merge branch 'minor-fixes-batch' into 'develop'
Minor fixes batch

Closes #1192, #1193, and #1196

See merge request pleroma/pleroma-fe!1651
2022-11-21 19:35:49 +00:00
HJ 513b81a23b Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part

See merge request pleroma/pleroma-fe!1419
2022-11-21 19:34:19 +00:00
HJ 8a87d82b7b Merge branch 'fine_grained_moderation_privileges' into 'develop'
Add privileges

Closes #1177

See merge request pleroma/pleroma-fe!1583
2022-11-21 19:23:41 +00:00
tusooa b28cdf2cbd Apply 1 suggestion(s) to 1 file(s) 2022-11-09 19:32:49 +00:00
tusooa b718c0c77d
Use feed role for notifs and timelines 2022-11-08 10:34:38 -05:00
tusooa 17aa503106
Make notification panel a list of articles 2022-11-08 00:43:33 -05:00
tusooa a34bea75a8
Handle properly 2-col and 3-col desktop notifications 2022-11-08 00:37:22 -05:00
tusooa 771933183b
Make user panel and notification <aside> 2022-11-08 00:23:08 -05:00
tusooa d41e7a4c6d
Make timeline a list of articles 2022-11-07 13:53:56 -05:00
tusooa 038b45e64a
Add labels to mobile navs 2022-11-07 13:39:48 -05:00
tusooa f715de43f2
Add labels for timeline header 2022-11-07 13:22:40 -05:00
tusooa f0ba0e6855
Use <main> for main content 2022-11-07 12:49:41 -05:00
tusooa f8956a37b2
Add title to mobile post button 2022-11-07 12:43:45 -05:00
Henry Jameson c1be65332f always focus search when opening emoji picker 2022-11-01 23:25:34 +02:00
Henry Jameson a1e49ae999 fix theme tab color indicators 2022-11-01 23:21:50 +02:00
Henry Jameson e80bf50a36 lint 2022-11-01 23:05:17 +02:00
Henry Jameson 3aadad3013 show counter in show new button on mobile 2022-11-01 22:26:04 +02:00
Henry Jameson 87a78aae57 add new search to reaction picker and make hardcoded set... better 2022-10-17 22:45:38 +03:00
Henry Jameson 3bdff6e6ee use better color slot for selected pins #1193 2022-10-17 22:13:49 +03:00
Henry Jameson 8f55cae515 fix picked emoji not being highlighted #1196 + updated its CSS structure 2022-10-17 22:11:07 +03:00
Henry Jameson eba5d3f4d7 fix staff panel #1192 2022-10-17 22:10:57 +03:00
Henry Jameson 373fb077a8 use new color slot for badges 2022-10-17 21:50:49 +03:00
Henry Jameson 1435b65e36 add titles to mobile buttons 2022-10-17 21:50:37 +03:00
Henry Jameson 11f9a7ba27 update popover styles when caret updates 2022-10-17 21:23:25 +03:00
Henry Jameson 4a1ffced44 fix unit tests 2022-10-10 22:04:49 +03:00
Henry Jameson faca1b31e3 better autocomplete handling, fix leak 2022-10-10 20:26:32 +03:00
Henry Jameson 692342a77f focus search input when opening emoji picker 2022-10-10 20:11:04 +03:00
Henry Jameson d2fabe1a71 use anchor for picker 2022-10-10 00:37:59 +03:00
Henry Jameson 8fa1f0b50d move keepOpen to picker 2022-10-10 00:33:58 +03:00
Henry Jameson 296a6fa4e3 some shitty initial implementation of emoji picker with popover 2022-10-09 23:42:36 +03:00
Henry Jameson 518fcf856a fix blinking popup 2022-10-09 23:09:31 +03:00
Henry Jameson 2469415809 fix css 2022-10-09 23:02:42 +03:00
Henry Jameson 05640e4cc1 cleanup 2022-10-09 23:02:39 +03:00
Henry Jameson 3dd9f6f68c moved popovers space outside app because otherwise it causes weird
issues A LOT
2022-10-09 23:01:49 +03:00
Henry Jameson 4631b1b9f7 suggestor popover 2022-10-09 22:09:50 +03:00
Henry Jameson 8b957fb85e fix chevrons alignment 2022-10-09 19:04:45 +03:00
Henry Jameson cf9957c733 fix alert dot 2022-10-09 19:00:25 +03:00
Henry Jameson 5fa533fbb7 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (89 commits)
  Update dependency @vuelidate/validators to v2.0.0
  Remove lolex package
  Remove diff package
  Pin dependencies
  Update dependency sass to v1.55.0
  Make suggestor suggest according to cldr annotations
  Make chunks named
  Use import() for emoji.json
  Add regional indicators
  Support filtering by keywords from cldr
  Display localized unicode emoji names
  Load unicode emoji annotations
  Extract language list to its own file
  using the half-shit approach since proper approach is full-shit
  Make unicode emoji phrases match with _
  Use console.info
  Fix non-square emojis being truncated
  Fix emoji picker lint
  Fix emoji picker lint
  Tweak efficiency when changing filter keywords in emoji picker
  ...
2022-10-09 18:51:42 +03:00
Henry Jameson 0331e42ee8 move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
2022-10-09 18:50:13 +03:00
Henry Jameson ce6ce4b6cd minor improvements 2022-09-29 11:52:48 +03:00
Henry Jameson a4e0eeea7a fix buttons overlapping 2022-09-29 11:49:19 +03:00
Henry Jameson 66014fcfcb port changes to notifications 2022-09-28 21:34:53 +03:00
Henry Jameson 7519c7f5d5 cleanup 2022-09-28 21:34:41 +03:00
Henry Jameson d3b5ba4864 added scrolltotop for mobile notifications 2022-09-28 21:34:33 +03:00
Henry Jameson 1c459028cc fix scrollerref not setting properly 2022-09-28 21:23:27 +03:00
Henry Jameson 8c4de692f4 apply same for scrolltop button 2022-09-28 21:17:44 +03:00
Henry Jameson c041d7aa9b refactor css for timeline buttons, make it a bit easier to tap them 2022-09-28 21:16:05 +03:00
Ilja 131d310703 Only show Reports tab in Interactions when privileged to see reports 2022-09-24 16:00:10 +02:00
Ilja 5541d0ec29 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into fine_grained_moderation_privileges 2022-09-24 15:56:27 +02:00
HJ 03b61f0a9c Merge branch 'from/develop/tusooa/grouped-emoji-picker' into 'develop'
Group emojis into packs in emoji picker

See merge request pleroma/pleroma-fe!1408
2022-09-22 08:11:25 +00:00
Tusooa Zhu a7f836a64e
Make suggestor suggest according to cldr annotations 2022-09-21 23:16:33 -04:00
Tusooa Zhu a758e18dce
Make chunks named 2022-09-20 23:13:07 -04:00
Tusooa Zhu 6fab7b9e3f
Use import() for emoji.json 2022-09-20 22:03:31 -04:00
Tusooa Zhu cc58b9b93d
Add regional indicators 2022-09-20 21:50:40 -04:00
Tusooa Zhu 980241c1ac
Support filtering by keywords from cldr 2022-09-20 21:06:57 -04:00
Tusooa Zhu a73f9731f5
Display localized unicode emoji names 2022-09-20 20:44:52 -04:00
Tusooa Zhu 1c3bdda14c
Load unicode emoji annotations 2022-09-20 20:15:32 -04:00
Tusooa Zhu d5411c9f88
Extract language list to its own file 2022-09-20 19:27:26 -04:00
tusooa aa9cae8c71 Merge branch 'add/remove-from-followers' into 'develop'
Added support for removing users from followers

See merge request pleroma/pleroma-fe!1640
2022-09-20 18:58:32 +00:00
Henry Jameson fa1d9f3fb4 using the half-shit approach since proper approach is full-shit 2022-09-20 00:24:08 +03:00
Tusooa Zhu 0445d7c882
Make unicode emoji phrases match with _ 2022-09-18 13:19:55 -04:00
HJ 8bd27165f3
Fix non-square emojis being truncated 2022-09-18 13:19:55 -04:00
Tusooa Zhu 6e2b87f5af
Fix emoji picker lint 2022-09-18 13:19:55 -04:00
Tusooa Zhu 58b01db9e1
Fix emoji picker lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu 5d6f3a5c8b
Tweak efficiency when changing filter keywords in emoji picker 2022-09-18 13:19:54 -04:00
Tusooa Zhu 09bcb6a5b1
Use trimmed keyword for filtering emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu 0fd0d6c4c2
Limit the width of unsupported multichar emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu e01c76c7e9
Make emoji picker work with vue3 2022-09-18 13:19:54 -04:00
Tusooa Zhu 96564609f8
Make StillImage react to src changes 2022-09-18 13:19:54 -04:00
Tusooa Zhu fbbeb33f48
Lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu a29ac5b9a4
Add English translation for unicode emoji group names 2022-09-18 13:19:53 -04:00
Tusooa Zhu 02de0ed825
Add icons for unicode emoji groups 2022-09-18 13:19:53 -04:00
Tusooa Zhu 8f4f02683f
Make emoji picker use grouped unicode emojis 2022-09-18 13:19:53 -04:00
Tusooa Zhu 38861fc6cc
Scroll active tab header into view in emoji picker 2022-09-18 13:19:53 -04:00
Tusooa Zhu d9e428ebab
Clean up emoji picker css 2022-09-18 13:19:53 -04:00
Tusooa Zhu b77259a9a0
Use StillImage to render emojis in emoji picker 2022-09-18 13:19:52 -04:00
Tusooa Zhu c93da0b865
Fix error on emoji picker first load
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu d648a6f8dc
Group emojis only by pack and remove pack: prefix
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 3156f046b4
Lint
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 06a636db37
Lazy-load emoji picker in post form
When clicking the reply button, we used to load the whole emoji picker.
This causes a considerable delay even if the user is not going to use
the emoji picker. Now the content of the emoji picker is loaded only
after the user has explicitly opened the emoji picker.

Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 9aeffd7634
Fix sticker picker heading tab
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu d00ebc14f1
Fix vertical scrollbar of emoji picker header
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 5ab51613b7
Use StillImage for emoji group header
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 031a01be79
Remove useless class `disabled` in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu f1d6e6afce
Clean up unused variables
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 23edc4f7e2
Fix scrol->highlight behaviour
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 8777b6eadd
Clean up legacy code in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu c70cdbb873
Use lozad for lazy image loading
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 90f757cc6d
Lint 2022-09-18 13:19:51 -04:00
Tusooa Zhu 123913f34f
Optimise emoji picker loading process 2022-09-18 13:19:50 -04:00
Tusooa Zhu 99a368dbb3
Load emoji properly on first showing 2022-09-18 13:19:50 -04:00