Commit Graph

5437 Commits

Author SHA1 Message Date
Henry Jameson
fa41f6cf96 add an underline to the selected pin to improve accesibility 2022-08-23 00:50:38 +03:00
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
711a610727 fix routes and tests 2022-08-17 21:25:02 +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
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
821a09109c fix list tests 2022-08-16 20:00:29 +03:00
Henry Jameson
04acf069d1 ignore invalid journal entries 2022-08-16 19:33:34 +03:00
Henry Jameson
840ce06397 proper journal trimming + remove some old workaround to my local bad data 2022-08-16 19:24:45 +03:00
Tusooa Zhu
aa97335b20
Make webpack 5 work 2022-08-15 18:01:33 -04: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
96090ea98f fix anon user issues 2022-08-15 21:03:27 +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
258b5e6be2 Column width configuration: do not act on defaults, bound with on minmax --miniColumn 2022-08-11 16:38:24 +03:00
HJ
017061a46c refactor 2022-08-11 16:38:24 +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
732733f115 add a todo for future 2022-08-11 02:23:58 +03:00
Henry Jameson
72e238ceb3 server side storage support for collections + fixes 2022-08-11 01:07:51 +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
Tusooa Zhu
2afe1539d9
Use $ for id UserProfile routes 2022-08-09 21:49:40 -04:00
Henry Jameson
894a506382 fixes 2022-08-10 02:59:08 +03:00
Henry Jameson
2c0eb29b28 more prefs storage work + move dontShowUpdateNotifs to prefs 2022-08-10 02:37:09 +03:00
Henry Jameson
aa41cedd93 initial prefs storage work 2022-08-10 02:19:07 +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
95f03a56ab don't let function access this 2022-08-08 02:18:29 +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
HJ
4bfad25f01 Apply 2 suggestion(s) to 1 file(s) 2022-08-07 17:38:36 +00:00
Sean King
6a2f427072
Fix lint stuff 2022-08-06 22:15:34 -06: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
b5eba5974c Lists implementation: tests, linter fix 2022-08-06 18:28:49 +03:00
Alexander Tumin
171f6f0894 Lists implementation 2022-08-06 17:56:54 +03:00
Hélène
fbc3f783d1 Apply 2 suggestion(s) to 1 file(s) 2022-08-05 08:16:47 +00: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
9c00610d00 refactoring 2022-08-04 17:20:11 +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
HJ
8e7f3ea074 Merge branch 'eslint-update' into 'develop'
update ESLint

See merge request pleroma/pleroma-fe!1576
2022-08-01 11:46:57 +00:00
Weblate
71d9bbb56b Merge remote-tracking branch 'origin/develop' into develop 2022-07-31 23:00:53 +00:00
HJ
33ad712852 Merge branch 'disjointed-popovers' into 'develop'
Disjointed popovers

See merge request pleroma/pleroma-fe!1540
2022-07-31 17:57:32 +00:00
Henry Jameson
bd5d5c9df7 "deal" with async promise executor, should be fine in these specific cases 2022-07-31 13:18:11 +03:00
Henry Jameson
ee066c4436 fix filesizeformat const/let stuff 2022-07-31 12:39:34 +03:00
Henry Jameson
b44df37c1b "fix" the sort function potentially not always outputting results 2022-07-31 12:39:02 +03: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