Commit graph

92 commits

Author SHA1 Message Date
HJ
3cda070507 Merge branch 'develop' into 'tusooa/save-draft'
# Conflicts:
#   src/boot/routes.js
#   src/i18n/en.json
#   src/main.js
#   src/modules/config.js
#   src/modules/instance.js
2024-12-26 23:51:54 +00:00
Henry Jameson
69940b7561 lint EVERYTHING 2024-12-22 15:08:42 +02:00
tusooa
b14ba17256
Support displaying time in absolute format
This adds two config items: useAbsoluteTimeFormat (boolean) and
absoluteTimeFormatMinAge (string, number + unit ('d'|'h'|'m'|'s')).

When `useAbsoluteTimeFormat` is true, the Timeago component will display
absolute time if the time is at least `absoluteTimeFormatMinAge`
from now. If `longFormat` prop is true, the fully formatted time
is displayed. Otherwise, the format is determined by the `time` prop:
(1) if `time` is on the same day of now, display hour and minute;
(2) if `time` is in the same month of now, display day and hour;
(3) if `time` is in the same year of now, display month and day;
(4) otherwise, display year and month.

If it should display relative time, the format is the same as before.
2024-09-17 19:18:51 -04:00
tusooa
5bc4ea2904
Do not popup dialog if autosave is on 2024-08-22 20:02:53 -04:00
tusooa
86f6fbeb46
Give the option to auto save drafts 2024-08-22 20:02:53 -04:00
tusooa
fb87477298
Allow confirmation on closing reply form 2024-08-22 20:02:53 -04:00
Henry Jameson
f9e407de63 made theme debug easier by making it an actual option 2024-06-21 23:28:24 +03:00
Henry Jameson
6343b91abf more scaling options 2024-06-13 02:22:47 +03:00
Henry Jameson
e4a819a0e2 initial Appearance Tab implementation, added text size/UI scale option 2024-05-22 19:54:19 +03:00
HJ
fd1011f622 Merge branch 'scrobbles-age' into 'develop'
Add setting to only show scrobbles newer than certain age.

See merge request pleroma/pleroma-fe!1904
2024-05-22 12:25:24 +00:00
Henry Jameson
6ff0a7f021 refactor sizesetting into unitsetting allowing more unit types with i18n support 2024-04-24 15:58:26 +03:00
Henry Jameson
5505a89e8a implement a simple caching system for themes 3 2024-04-22 23:40:39 +03:00
Henry Jameson
819cd41cf0 Merge remote-tracking branch 'origin/develop' into improve_settings_reusability
* origin/develop:
  Translated using Weblate (Chinese (Simplified))
  Generalize IntegerSetting into NumberSetting, add Integer/Float wrappers
  Allow custom emoji reactions: add option to scale reaction buttons
  Fix user-profile route crash on pinned favorites route
  Hide custom emoji in reaction picker when BE does not advertise pleroma_custom_emoji_reactions
  Allow custom emoji reactions
2023-03-20 22:48:38 +02:00
Alexander Tumin
493120b545 Generalize IntegerSetting into NumberSetting, add Integer/Float wrappers 2023-03-18 21:00:50 +03:00
Alexander Tumin
3403f6a1ed Allow custom emoji reactions: add option to scale reaction buttons 2023-03-17 23:55:34 +03:00
Henry Jameson
55ea6df40b lint 2023-03-12 17:28:14 +02:00
Henry Jameson
6a7b182af1 fixes for stuff i missed 2023-03-12 17:11:20 +02:00
Henry Jameson
af0cd54223 serverSideConfig renamed into profileSettingConfig to avoid confusion
with serverSideStorage, reduced overall need for SharedComputedObject in
settings tabs, moved copypaste code of "setting" type of helpers into a
separate file.
2023-03-12 14:36:49 +02:00
tusooa
5468309f6a
Make it possible to auto-select the first candidate in autocomplete 2023-02-20 23:49:34 -05:00
Tusooa Zhu
ce8101e60a
Add remove follower confirmation 2023-01-22 09:25:24 -05:00
Tusooa Zhu
547e85c7c6
Add confirm dialogs for accept & deny follow requests 2023-01-20 23:40:12 -05:00
Tusooa Zhu
1ff2948aeb
Add setting entries for whether to show confirmation dialogs 2023-01-20 23:39:07 -05:00
tusooa
7dc2277453
Use stylelint 2023-01-09 13:02:16 -05: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
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
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
Alexander Tumin
a29835375a Allow column width configuration: allow stretching navbar with columns 2022-08-17 09:49:52 +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
Alexander Tumin
a403f93b47 Allow opening profile: multiChoiceProprties record, anonymous access 2022-08-09 10:48:48 +03:00
Alexander Tumin
4803fb07c8 Allow opening profile when clicking an avatar inside of user popover 2022-08-08 23:50:38 +03:00
Alexander Tumin
171f6f0894 Lists implementation 2022-08-06 17:56:54 +03:00
Henry Jameson
fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson
3d9b3a7352 make user popover options expert 2022-07-27 20:25:30 +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
Henry Jameson
d232fa3dc3 close on avatar click again, add zooming as option 2022-06-27 19:52:40 +03:00
Henry Jameson
9c9dc2053b move tooltips setting 2022-06-27 19:12:16 +03:00
Henry Jameson
55adcd822e fix animations, replace ugly old mentionlink tooltips with new usercard ones 2022-06-12 16:31:56 +03:00
HJ
0aa334515b Merge branch 'threecolumn' into 'develop'
Layout refactoring + Three column mode

See merge request pleroma/pleroma-fe!1503
2022-05-31 17:46:59 +00:00
HJ
9725443e60 Revert "Merge branch 'revert-a88abc7e' into 'develop'"
This reverts merge request !1526
2022-05-22 16:40:59 +00:00
HJ
069cf3fa87 Revert "Merge branch 'from/develop/tusooa/lang-opts' into 'develop'"
This reverts merge request !1494
2022-05-22 16:38:09 +00:00
Henry Jameson
edbbbaad48 don't use wide mode for anon viewers 2022-05-09 23:25:41 +03:00
Tusooa Zhu
d39de30221
Add config opts for email language 2022-04-29 20:34:31 -04:00
Tusooa Zhu
a5e861cd01
Set userLanguage cookie when setting interface language 2022-04-29 20:34:29 -04:00
Henry Jameson
3d37b9d8e1 unified layout-setting code and made an option to control or disable
third column behavior
2022-04-12 21:18:06 +03:00
Henry Jameson
b5ded67c06 options to enable scrollbars and disable sticky headers 2022-04-07 15:11:23 +03:00
Henry Jameson
a97db1efd6 Merge remote-tracking branch 'origin/develop' into expert-settings-and-serverside
* origin/develop: (83 commits)
  Make media modal buttons larger
  Add English translation for hide tooltip
  Add hide button to media modal
  Lint
  Prevent hiding media viewer if swiped over SwipeClick
  Fix webkit image blurs
  Fix video in media modal not displaying properly
  Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
  Remove image box-shadow in media modal
  Clean up debug code for image pinch zoom
  Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
  Bump pinch-zoom-element version
  Clean up
  Check whether we swiped only for mouse pointer
  Scale swipe threshold with viewport width
  Update pinch-zoom-element
  Allow pinch-zoom to fill the whole screen
  Use native click for hiding overlay
  Reset position on swipe end even if we cannot navigate
  Make lint happy
  ...
2022-03-14 09:31:24 +02:00
Henry Jameson
726fdbea15 remove "experimental" label from streaming api 2022-03-13 10:51:13 +02:00
Tusooa Zhu
551b8f3690
Fix "max depth in thread" setting 2022-03-07 20:02:53 -05:00
Tusooa Zhu
d157f67381
Make fading ancestors optional 2022-03-07 19:19:32 -05:00