Commit graph

5798 commits

Author SHA1 Message Date
Henry Jameson
837d82a4b3 squeeze/stretch pinned items as long as there's enough space for it,
hide items that won't fitc
2022-08-24 19:57:02 +03:00
Henry Jameson
c915888701 Merge branch 'navigation-update' into shigusegubu-vue3
* navigation-update:
  lint
  fix being unable to edit timeline pins on mobile
  aria
  fix mobile side drawer causing issues
  Update dependency opn to v5
2022-08-23 22:18:41 +03:00
Henry Jameson
dc5992f990 lint 2022-08-23 22:18:33 +03:00
Henry Jameson
d3454ca7de fix being unable to edit timeline pins on mobile 2022-08-23 22:16:51 +03:00
Henry Jameson
f44ae0ce6b aria 2022-08-23 22:15:46 +03:00
Henry Jameson
666015c9fa fix mobile side drawer causing issues 2022-08-23 22:10:21 +03:00
Henry Jameson
cd7380efe7 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop:
  Update dependency opn to v5
  fix notices being under the navbar, also change offset to use variable
  fix modals not having proper z index
  reduce indexes to be below 9999 so that develop error messages appear above
  Do not allow to find by name in findUser()
  Use lookup endpoint to obtain users by nickname
  Use $ for id UserProfile routes
  Allow opening profile: multiChoiceProprties record, anonymous access
  Allow opening profile when clicking an avatar inside of user popover
2022-08-23 21:52:17 +03:00
Henry Jameson
b2d5297b1a Merge branch 'navigation-update' into shigusegubu-vue3
* navigation-update:
  fix links not being active by default
2022-08-23 15:37:22 +03:00
Henry Jameson
bd7356376e fix links not being active by default 2022-08-23 15:36:54 +03:00
Henry Jameson
1e65ca4ef7 Merge branch 'navigation-update' into shigusegubu-vue3
* navigation-update:
  improve submenu and improve icon buttons hover effects
2022-08-23 13:26:47 +03:00
Henry Jameson
63f35509a7 improve submenu and improve icon buttons hover effects 2022-08-23 13:26:05 +03:00
Henry Jameson
45103badee Merge remote-tracking branch 'origin/develop' into shigusegubu-vue3
* origin/develop:
  fix notices being under the navbar, also change offset to use variable
  fix modals not having proper z index
  reduce indexes to be below 9999 so that develop error messages appear above
  Do not allow to find by name in findUser()
  Use lookup endpoint to obtain users by nickname
  Use $ for id UserProfile routes
  Allow opening profile: multiChoiceProprties record, anonymous access
  Allow opening profile when clicking an avatar inside of user popover
2022-08-23 02:09:36 +03:00
Henry Jameson
5497b12f22 Merge branch 'navigation-update' into shigusegubu-vue3
* navigation-update:
  add an underline to the selected pin to improve accesibility
  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
  Allow column width configuration: allow stretching navbar with columns
  Column width configuration: do not act on defaults, bound with on minmax --miniColumn
  refactor
  Allow column width configuration Group column configuration in settings Column width configuration: do not act on defaults
2022-08-23 02:09:14 +03:00
HJ
cb6b96b9ba Merge branch 'zindexes-fix' into 'develop'
Fix various issues related to z-indexes

See merge request pleroma/pleroma-fe!1617
2022-08-22 22:58:57 +00:00
Henry Jameson
1a24f8b4c1 fix notices being under the navbar, also change offset to use variable 2022-08-23 01:49:22 +03:00
Henry Jameson
ef4ea49653 fix modals not having proper z index 2022-08-23 01:46:59 +03:00
Henry Jameson
0f51b00540 reduce indexes to be below 9999 so that develop error messages appear above 2022-08-23 01:30:17 +03:00
HJ
272b748f26 Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
#   src/components/settings_modal/tabs/general_tab.vue
2022-08-22 22:29:13 +00:00
HJ
88a3cf8705 Merge branch 'from/develop/tusooa/user-profile-routes' into 'develop'
Stop generating /:nickname user profile routes

See merge request pleroma/pleroma-fe!1589
2022-08-22 21:56:55 +00:00
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
14be662918 Merge branch 'from/develop/tusooa/grouped-emoji-picker' into shigusegubu-vue3
* from/develop/tusooa/grouped-emoji-picker: (34 commits)
  Fix emoji picker lint
  Fix emoji picker lint
  Tweak efficiency when changing filter keywords in emoji picker
  Use trimmed keyword for filtering emojis
  Limit the width of unsupported multichar emojis
  Make emoji picker work with vue3
  Make StillImage react to src changes
  Lint
  Add English translation for unicode emoji group names
  Add icons for unicode emoji groups
  Make emoji picker use grouped unicode emojis
  Generate grouped unicode emojis from unicode-emoji-json
  Scroll active tab header into view in emoji picker
  Clean up emoji picker css
  Use StillImage to render emojis in emoji picker
  Fix error on emoji picker first load
  Group emojis only by pack and remove pack: prefix
  Lint
  Lazy-load emoji picker in post form
  Fix sticker picker heading tab
  ...
2022-08-18 11:50:40 +03:00
Tusooa Zhu
a3b01284f7
Fix emoji picker lint 2022-08-17 19:02:00 -04:00
Tusooa Zhu
b376a5b864
Fix emoji picker lint 2022-08-17 19:02:00 -04:00
Tusooa Zhu
7f84e17770
Tweak efficiency when changing filter keywords in emoji picker 2022-08-17 19:01:59 -04:00
Tusooa Zhu
724913cabd
Use trimmed keyword for filtering emojis 2022-08-17 19:01:59 -04:00
Tusooa Zhu
a521e9b33e
Limit the width of unsupported multichar emojis 2022-08-17 19:01:59 -04:00
Tusooa Zhu
a3821d0eca
Make emoji picker work with vue3 2022-08-17 19:01:59 -04:00
Tusooa Zhu
1a1d6b464e
Make StillImage react to src changes 2022-08-17 19:01:59 -04:00
Tusooa Zhu
baf6082a25
Lint 2022-08-17 19:01:59 -04:00
Tusooa Zhu
9d73d7f968
Add English translation for unicode emoji group names 2022-08-17 19:01:59 -04:00
Tusooa Zhu
6c7b65207c
Add icons for unicode emoji groups 2022-08-17 19:01:59 -04:00
Tusooa Zhu
28f33b3855
Make emoji picker use grouped unicode emojis 2022-08-17 19:01:59 -04:00
Tusooa Zhu
ebe517992c
Scroll active tab header into view in emoji picker 2022-08-17 19:01:20 -04:00
Tusooa Zhu
056f3f8bc5
Clean up emoji picker css 2022-08-17 19:01:20 -04:00
Tusooa Zhu
7c35b17d7f
Use StillImage to render emojis in emoji picker 2022-08-17 19:01:19 -04:00
Tusooa Zhu
347fe87071
Fix error on emoji picker first load
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00
Tusooa Zhu
1a5638238b
Group emojis only by pack and remove pack: prefix
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00
Tusooa Zhu
f50b3f5b05
Lint
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00
Tusooa Zhu
2161067423
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-08-17 19:01:19 -04:00
Tusooa Zhu
f92a25cfab
Fix sticker picker heading tab
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00
Tusooa Zhu
f763624782
Fix vertical scrollbar of emoji picker header
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00
Tusooa Zhu
b9fcf8da11
Use StillImage for emoji group header
Ref: grouped-emoji-picker
2022-08-17 19:01:19 -04:00