Commit Graph

3601 Commits

Author SHA1 Message Date
Henry Jameson
7b6745bb84 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop: (49 commits)
  Fix react & extra buttons not styled on tab-focus
  Fix popover not popping up
  Fix styling on Safari
  Use :focus-visible instead of :focus for focus markers
  Optimize Reply badge position
  Add badges to status interacting buttons
  Update dependency nightwatch to v2
  Update dependency eslint-plugin-n to v15.2.5
  Update dependency mocha to v10
  Update dependency karma-coverage to v2
  Update dependency sass to v1.54.5
  Update dependency karma-firefox-launcher to v2
  Update dependency vue-template-compiler to v2.7.9
  Pin dependencies
  Refresh yarn.lock
  Allow column width configuration: allow stretching navbar with columns
  Remove legacy code for chunksSortMode
  Add FIXME comment about html-webpack-plugin-after-emit
  Use exact webpack version in package.json
  Reintroduce css minimizer
  ...
2022-08-23 00:35:25 +03:00
HJ
8e97a40c70 Merge branch 'allow-application-width-configuration' into 'develop'
Allow application width configuration

See merge request pleroma/pleroma-fe!1533
2022-08-22 21:32:31 +00:00
Tusooa Zhu
cd536157ee Fix react & extra buttons not styled on tab-focus 2022-08-22 20:28:52 +00:00
Tusooa Zhu
5676b5cfc9 Fix popover not popping up
Sometimes the "focus-marker" gets clicked. In this situation,
it will trigger an open, and then a close, because the original
focus-marker was removed from the dom, so $el.contains() no
longer thinks the marker is part of the trigger! We replaced the
v-if with v-show to resolve this problem.
2022-08-22 20:28:52 +00:00
Tusooa Zhu
11672bc490 Fix styling on Safari 2022-08-22 20:28:52 +00:00
Tusooa Zhu
97951fccfd Use :focus-visible instead of :focus for focus markers
In this way, after the user clicked with a pointer and moved that
pointer away, the focus marker will no longer show a focused style.

As Safari remains the only major browser engine that does not support
:focus-visible, a fallback to :focus is used if there is no browser
support for :focus-visible.

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
2022-08-22 20:28:52 +00:00
Tusooa Zhu
378ed3682e Optimize Reply badge position 2022-08-22 20:28:52 +00:00
Tusooa Zhu
b2e4827741 Add badges to status interacting buttons
Now, the following badges will be added:
0: (+) sign to reply, favourite, repeat, react and extra buttons
1: (-) sign to unfavourite and unrepeat
2: (x) sign to close reply form, close react popover, and close extra buttons popover
3: Check mark to favourited and repeated statuses

https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1092
2022-08-22 20:28:52 +00:00
Henry Jameson
e9ad922eeb oops 2022-08-17 21:34:56 +03:00
Henry Jameson
b440982220 fix lists not having pins in edit mode 2022-08-17 21:14:10 +03:00
Henry Jameson
f12198c2b3 fix edit mode checkbox showing up for anon users 2022-08-17 21:13:39 +03:00
Henry Jameson
efc6b6b703 add "scroll to top" button to timelines and notifications 2022-08-17 20:49:20 +03:00
Henry Jameson
faefd05c03 create new list UI 2022-08-17 20:21:10 +03:00
Alexander Tumin
a29835375a Allow column width configuration: allow stretching navbar with columns 2022-08-17 09:49:52 +03:00
Henry Jameson
b4f4b370d4 forgot to actually add add/remove methods, lel. remove some consolelogs 2022-08-17 00:58:05 +03:00
Henry Jameson
77dcbe641c lint 2022-08-17 00:49:07 +03:00
Henry Jameson
d074aefb4f List edit UI overhaul 2022-08-17 00:48:10 +03:00
Henry Jameson
8d6e5c1e69 whoops, forgot the most important bit 2022-08-15 23:33:07 +03:00
Henry Jameson
bbd99dc3cf fix 2022-08-15 23:31:05 +03:00
Henry Jameson
50f5afbce1 add and remove users to/from lists from their profile 2022-08-15 23:19:33 +03:00
Henry Jameson
14292d7ed1 edit mode 2022-08-15 21:56:07 +03:00
Henry Jameson
ebe095bd76 fix prod build again + fetch lists (and follow request) on login,
stop fetching on logout, don't start fetching in components
2022-08-15 20:44:21 +03:00
Henry Jameson
50924aab5c fix prod build 2022-08-15 20:34:45 +03:00
Henry Jameson
80600137d1 lint 2022-08-12 01:27:09 +03:00
Henry Jameson
7d13f38d88 limit amount of pins on desktop to 6 (for now) 2022-08-12 01:26:19 +03:00
Henry Jameson
f54fcda887 band-aid to prevent misclics on logout 2022-08-12 01:22:00 +03:00
Henry Jameson
8d3d8fffab fixes, clear cache on logout 2022-08-12 01:19:19 +03:00
Henry Jameson
c3e7eadddf let mobile users customize top bar as well 2022-08-12 01:00:41 +03:00
Henry Jameson
0123872b56 fixes + fixes for anon users 2022-08-12 00:50:08 +03:00
Henry Jameson
3a16a59f37 navigation refactored, used in mobile nav as well 2022-08-11 21:56:30 +03:00
Henry Jameson
9e453372b3 show pinned lists between timelines and rest 2022-08-11 21:08:53 +03:00
Henry Jameson
77127e2a58 you can now pin lists 2022-08-11 21:00:27 +03:00
Henry Jameson
04f8c2d29d it works more or less well now 2022-08-11 18:06:28 +03:00
Alexander Tumin
3e7e31d4a9 Allow column width configuration
Group column configuration in settings
Column width configuration: do not act on defaults
2022-08-11 16:38:24 +03:00
Henry Jameson
6df9913354 ability to pin items in navigation menu, initial draft version 2022-08-11 14:30:58 +03:00
Henry Jameson
8a67fe93c2 update link in update notification to be a better one 2022-08-11 01:07:26 +03:00
Tusooa Zhu
ab4a75bdd9
Do not allow to find by name in findUser() 2022-08-10 12:17:18 -04:00
Tusooa Zhu
09f9640be1
Use lookup endpoint to obtain users by nickname 2022-08-09 22:11:55 -04:00
Henry Jameson
2c0eb29b28 more prefs storage work + move dontShowUpdateNotifs to prefs 2022-08-10 02:37:09 +03:00
HJ
750696643f Merge branch 'feat/report-notification' into 'develop'
#949 Feat/report notification

See merge request pleroma/pleroma-fe!1322
2022-08-09 21:56:15 +00:00
HJ
7773e7de64 Merge branch 'lists-implementation' into 'develop'
Add lists support

See merge request pleroma/pleroma-fe!1584
2022-08-09 21:46:55 +00:00
HJ
2867c69629 Merge branch 'fix-chat-scroll' into 'develop'
fix chat scroll acting unwise

Closes #1178

See merge request pleroma/pleroma-fe!1587
2022-08-09 21:31:18 +00:00
Alexander Tumin
a403f93b47 Allow opening profile: multiChoiceProprties record, anonymous access 2022-08-09 10:48:48 +03:00
Henry Jameson
a4f40bf346 fix chat scroll acting unwise 2022-08-09 01:44:44 +03:00
Alexander Tumin
4803fb07c8 Allow opening profile when clicking an avatar inside of user popover 2022-08-08 23:50:38 +03:00
Sean King
325930eecb
Fix merge conflicts 2022-08-08 07:32:38 -06:00
Henry Jameson
55791f3824 move pleroma-tan just a tiny bit lower 2022-08-08 14:21:06 +03:00
Henry Jameson
e147dbfb82 art credit 2022-08-08 14:20:01 +03:00
Henry Jameson
0832228e45 lint 2022-08-08 12:18:06 +03:00
Henry Jameson
3f7cf52f53 proper animation 2022-08-08 12:17:32 +03:00
Henry Jameson
502d76ebcd lint 2022-08-08 02:14:43 +03:00
Henry Jameson
f63ee29fac proper links and fix user detection 2022-08-08 02:14:09 +03:00
Henry Jameson
fcf62a13ed don't show to anons, make it possible to disable notification instance-wide 2022-08-08 02:01:07 +03:00
Henry Jameson
59d160a6dd Merge remote-tracking branch 'origin/develop' into been-awhile
* origin/develop:
  lint
  fix bugs
  Apply 1 suggestion(s) to 1 file(s)
  change icons
  Update dependency vue-i18n to v9.2.0
  made quick settings into their own component, added quick view settings, added both to conversation view
2022-08-08 01:48:38 +03:00
Sean King
dc9951d400
Fix merge conflicts 2022-08-06 22:02:21 -06:00
Alexander Tumin
891fbf996d Lists implementation: make route naming consistent 2022-08-06 21:39:36 +03:00
Alexander Tumin
171f6f0894 Lists implementation 2022-08-06 17:56:54 +03:00
Henry Jameson
09f3783647 lint 2022-08-04 23:44:56 +03:00
Henry Jameson
44d6d36ed1 fix bugs 2022-08-04 23:32:06 +03:00
HJ
2802e47ac9 Apply 1 suggestion(s) to 1 file(s) 2022-08-04 19:34:29 +00:00
Henry Jameson
8c59bad3c2 unit test + some refactoring 2022-08-04 22:09:42 +03:00
Henry Jameson
6c0a6ff8b0 shadow 2022-08-04 02:15:35 +03:00
Henry Jameson
8b56db177b debug handlers for now 2022-08-04 02:12:04 +03:00
Henry Jameson
dbfca224d8 server-side storage for flags 2022-08-04 01:56:52 +03:00
Sean King
04e62df377
Allow for template inside Timeago component that shows unless the time string is 'just now' 2022-08-02 23:19:25 -06:00
Henry Jameson
4903069481 change icons 2022-08-02 23:54:06 +03:00
Sean King
b70d50407c
Refresh the relative time object for a Timeago component if the time changes 2022-08-01 21:25:08 -06:00
Sean King
232cc72df8
Fix lint errors and warnings 2022-08-01 18:45:52 -06:00
Sean King
081aa0fd05
Fix merge conflicts 2022-08-01 18:17:09 -06:00
Henry Jameson
5b7c653874 initial scratch 2022-08-02 00:37:48 +03:00
Henry Jameson
f4276f7241 made quick settings into their own component, added quick view settings,
added both to conversation view
2022-08-01 23:20:27 +03:00
HJ
3fc9673a7d Merge branch 'from/develop/tusooa/1172-reg-indicator' into 'develop'
Add optional/required indicator for registration fields

Closes #1172

See merge request pleroma/pleroma-fe!1543
2022-08-01 11:48:52 +00:00
Henry Jameson
fc18673030 deal with no-prototype-builtins 2022-07-31 12:36:02 +03:00
Henry Jameson
fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson
1cf7af3374 Merge branch 'disjointed-popovers' into eslint-update
* disjointed-popovers: (56 commits)
  fix typo
  fix errors in console
  pinned no longer needed
  popover stack
  add stay-on-click prop to solve case of clicking user avatar in status popover
  fix settings tooltips
  vertical nudge for popovers, especially for overlay-centers ones
  make user popover options expert
  use same sizing for timeline dropdown as in the main nav
  fix avatar not zooming in profile page
  fix spacing in mentionsline
  add popovers to chats
  fix avatar not closing, add option to put popovers next to avatar instead of over it
  fix the incorrect rounding in nav list
  re-unfuck the timeline popover
  Revert "unify styling of timelines dropdown with other dropdown menus"
  close on avatar click again, add zooming as option
  fix basicusercard
  make hover popovers less annoying to close
  move tooltips setting
  ...
2022-07-31 11:44:15 +03:00
Henry Jameson
36aae1635a fix typo 2022-07-31 11:30:52 +03:00
Henry Jameson
6fc62a771a fix errors in console 2022-07-31 01:48:22 +03:00
Henry Jameson
8ab30545b2 pinned no longer needed 2022-07-31 01:45:38 +03:00
Henry Jameson
6f696874bb popover stack 2022-07-31 01:41:00 +03:00
Henry Jameson
d5bc825616 add stay-on-click prop to solve case of clicking user avatar in status popover 2022-07-31 00:05:26 +03:00
Henry Jameson
03e6c6b993 fix settings tooltips 2022-07-30 23:36:40 +03:00
Henry Jameson
5c553bb1eb vertical nudge for popovers, especially for overlay-centers ones 2022-07-30 23:34:07 +03:00
Henry Jameson
3d9b3a7352 make user popover options expert 2022-07-27 20:25:30 +03:00
Henry Jameson
00ded9523f use same sizing for timeline dropdown as in the main nav 2022-07-27 19:10:12 +03:00
Henry Jameson
c5919228ab fix avatar not zooming in profile page 2022-07-27 19:08:20 +03:00
Tusooa Zhu
1a63f439e3
Fix poll duration i18n 2022-07-24 23:32:58 -04:00
Henry Jameson
19a7335ee7 fix spacing in mentionsline 2022-07-20 12:59:38 +03:00
Henry Jameson
f6d0d3efba add popovers to chats 2022-07-20 12:54:51 +03:00
Henry Jameson
2c3c2bb5b0 fix avatar not closing, add option to put popovers next to avatar
instead of over it
2022-07-19 19:33:48 +03:00
Ilja
18d69f93d3 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification 2022-07-18 12:42:40 +02:00
Sean King
75216c5feb
Remove guard for raw_html 2022-07-10 21:07:47 -06:00
Tusooa Zhu
8a0f659a86
Add optional/required indicator for registration fields 2022-07-10 22:46:53 -04:00
Sean King
63519c325f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into add/edit-status 2022-07-10 20:06:18 -06:00
Sean King
65b0b69f10 Merge branch 'from/edit-status/tusooa/indicator' into 'add/edit-status'
Edited indicator on status

See merge request seanking/pleroma-fe!4
2022-07-11 01:36:01 +00:00
Sean King
e764fbe8b6 Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Handle explicit mention changes in status updates

See merge request seanking/pleroma-fe!3
2022-07-11 01:33:18 +00:00
Henry Jameson
54ab1ed741 fix the incorrect rounding in nav list 2022-06-29 21:40:54 +03:00
Henry Jameson
14f48ed4ab re-unfuck the timeline popover 2022-06-29 21:40:44 +03:00
Henry Jameson
feb8a17b90 Revert "unify styling of timelines dropdown with other dropdown menus"
This reverts commit 898b326f6c.
2022-06-29 21:12:56 +03:00
Henry Jameson
d232fa3dc3 close on avatar click again, add zooming as option 2022-06-27 19:52:40 +03:00
Henry Jameson
700df11e9a fix basicusercard 2022-06-27 19:26:52 +03:00
Henry Jameson
cb135645f9 make hover popovers less annoying to close 2022-06-27 19:16:33 +03:00
Henry Jameson
9c9dc2053b move tooltips setting 2022-06-27 19:12:16 +03:00
Henry Jameson
898b326f6c unify styling of timelines dropdown with other dropdown menus 2022-06-27 19:10:18 +03:00
Henry Jameson
4dc4a91224 Merge remote-tracking branch 'origin/develop' into disjointed-popovers
* origin/develop:
  add SK (Slovak) translation
  ReactButton: Workaround for android composition mode
  EmojiPicker: Workaround to search immediately on mobile
  Fix top bar input text colour
  Show underlay for mobile
  Fix tests
  Add English translations for correctly i18nized time units
  Delegate relativeTime plural rules to vue-i18n
  restore notifications page, fix z-index issues
  Make lint happy
  Add English translations for backup UI
  Add backup UI
  Add English translation for list aliases error
  Log errors when listing aliases
  Add changelog
  Add Engilsh translation for migration
  Add frontend ui for aliases and migration
  Change translation key
  Explain better what delete does in moderation menu
2022-06-27 14:49:31 +03:00
Henry Jameson
6be625b058 use nextrick with status popover updates 2022-06-27 14:28:51 +03:00
Henry Jameson
81bf18a311 fix invisible old popover, cleanup, add selection indicator in mentionlinks 2022-06-27 14:26:47 +03:00
Sean King
29ff63d1b4
Refactor to delete the properties for originalStatus in showStatusHistory in a better way 2022-06-26 18:10:30 -06:00
Sean King
6f4b57e845
Use a better way to clone the original status 2022-06-26 17:41:21 -06:00
Sean King
8c7f4ab481
Use watch to change localDescription 2022-06-26 13:25:36 -06:00
Tusooa Zhu
acd53957e0
Do not show edited indicator in history items 2022-06-22 16:14:19 -04:00
Tusooa Zhu
ed8bc61022
Add last edited at indicator in status 2022-06-22 16:07:46 -04:00
Sean King
08c9aa4bf3
Use <p> elements instead of <br> for notice on edit status form 2022-06-21 18:00:24 -06:00
Sean King
f56298adbd
Add ability to detect whether backend supports editing 2022-06-21 17:44:04 -06:00
Henry Jameson
a0ddfa499f update status popover when its content changes (only status reference) 2022-06-22 00:34:22 +03:00
Henry Jameson
872db65fd8 slight z-index refactor and attempt at organizing it 2022-06-22 00:30:10 +03:00
Henry Jameson
93293db038 fix popovers not scrolling in mobile notifications 2022-06-21 15:57:42 +03:00
Henry Jameson
57d156f14a fix spacings again 2022-06-21 15:52:53 +03:00
Sean King
fa5d35523d
Add ability to view status history for edited statuses 2022-06-20 22:52:08 -06:00
Henry Jameson
b7b6432e14 fix mentionsline extramentions lack of space 2022-06-21 01:32:31 +03:00
Henry Jameson
e6ed00ea1c don't show bookmark button for anon visitors 2022-06-21 01:24:50 +03:00
Henry Jameson
3d4d694b49 don't stop propagation on settings modal open 2022-06-21 01:07:32 +03:00
Henry Jameson
78ced0c901 proper horizontal limit 2022-06-21 01:05:42 +03:00
Henry Jameson
af98bc2973 don't use async component for user popover to fix the incorrect initial
position.
for some reason same doesn't work with status popover...
2022-06-21 01:03:20 +03:00
Henry Jameson
aca8cf64db move media modal to the topmost layer 2022-06-21 00:14:09 +03:00
Henry Jameson
01e56a3e10 Merge remote-tracking branch 'origin/disjointed-popovers' into disjointed-popovers
* origin/disjointed-popovers:
  popover controls for user-card
  unify user popovers into a separate component
2022-06-20 23:57:44 +03:00
Henry Jameson
cb89646c56 optimization: only process resize/scroll events when popup is open 2022-06-20 23:55:39 +03:00
HJ
56501e95c4 Merge branch 'from/develop/tusooa/migration-ui' into 'develop'
Add ui for account migration

See merge request pleroma/pleroma-fe!1414
2022-06-19 20:35:58 +00:00
HJ
5ad7dc7835 Merge branch 'from/develop/tusooa/backup-ui' into 'develop'
Add ui for backup

See merge request pleroma/pleroma-fe!1520
2022-06-19 20:31:19 +00:00
HJ
da022e722e Merge branch 'from/develop/tusooa/unit-pl' into 'develop'
Use vue-i18n to determine plural forms of time units

Closes #1164

See merge request pleroma/pleroma-fe!1535
2022-06-19 20:28:29 +00:00
HJ
4452a14c77 Merge branch 'from/develop/tusooa/topbar-input-text' into 'develop'
Fix top bar input text colour

See merge request pleroma/pleroma-fe!1538
2022-06-19 20:26:24 +00:00
Henry Jameson
60571685c2 popover controls for user-card 2022-06-16 17:06:16 +03:00
Henry Jameson
d84cda7009 unify user popovers into a separate component 2022-06-16 16:48:10 +03:00
Henry Jameson
770d12f7ad limit width of popover to slightly lesser than screen width 2022-06-15 04:03:18 +03:00
Henry Jameson
b343599e6f don't hide on clicks in popover's content 2022-06-15 04:02:05 +03:00
Henry Jameson
30c4a66518 use user popovers in notifications as well 2022-06-15 04:01:46 +03:00
Henry Jameson
d3b5d27f29 properly center user popovers 2022-06-15 03:50:57 +03:00
Henry Jameson
7c633aa952 user popovers WIP 2022-06-13 13:45:04 +03:00
Henry Jameson
97e4a3d8e5 fix popovers in modals 2022-06-13 01:36:41 +03:00
Henry Jameson
85de0927fa recalculate position on scrolls 2022-06-13 01:30:20 +03:00
Henry Jameson
8979548ed8 remove duplicate buttons on post buttons 2022-06-12 16:32:32 +03:00
Henry Jameson
55adcd822e fix animations, replace ugly old mentionlink tooltips with new usercard ones 2022-06-12 16:31:56 +03:00
Henry Jameson
61d63b0e61 fix popovers so that all of them have shadows 2022-06-12 15:23:43 +03:00
Henry Jameson
ce00954e7c turns out it is needed still + some code cleanup 2022-06-12 15:21:09 +03:00
Lain Soykaf
67a9452e11 ReactButton: Workaround for android composition mode 2022-06-12 13:48:21 +02:00
Lain Soykaf
9c8738ff22 EmojiPicker: Workaround to search immediately on mobile
See https://github.com/vuejs/vue/pull/9814
2022-06-12 13:38:12 +02:00
Sean King
87fa7b82fb
Add warning for editing statuses 2022-06-11 20:40:53 -06:00
Sean King
8dac3932fe
Only refetch status on highlight if streaming is not enabled 2022-06-11 20:10:16 -06:00
Sean King
6e42409b8a
Fetch status when highlighting it 2022-06-11 19:30:29 -06:00
Tusooa Zhu
c195e3571c
Handle explicit mention changes in status updates 2022-06-11 20:33:12 -04:00
Sean King
32ecdfdd87
Don't pollute the original timeline when new media attachment is added 2022-06-11 16:38:03 -06:00