Commit Graph

12 Commits

Author SHA1 Message Date
Max Leiter
2a92ec0e03 fix: hide Account settings tab on public instance, sometimes hide General (#5063)
on public TL instances like the demo, this is what the account and
general tabs look like in Firefox:
 
| General | Account |
|--------|--------|
| <img width="600" height="auto" alt="image"
src="https://github.com/user-attachments/assets/6cb1b9a2-da93-4412-893a-e70004376705"
/> | <img width="600" height="auto" alt="image"
src="https://github.com/user-attachments/assets/429f8c1a-4b38-49b4-bb14-b3a935860aa7"
/> |

1. we should just always hide account if mode is public, its useless
2. if file uploads are off, there's nothing to show in General except
the native app install, which i figure is fine/not really necessary for
public instances (and isn't supported by Firefox, hence the blankness)
2026-04-12 09:25:28 -07:00
Reto Brunner
c43a47afc1 Merge branch 'applePush' 2023-06-24 14:31:23 +02:00
Reto Brunner
7a9ddc01e1 settings: make missing_field msg descriptive
The "missing_fields" error triggers on any missing field (duh).
"Please enter a new password" is not a sensible string for that.
2023-05-23 08:24:20 +02:00
Reto Brunner
8f08cf3d0b client: fix password change input
The TS rewrite dropped the form that was expected to be passed
as props.
That lead to the password change being borked, as the fields
were always set to "null".
We don't need a form, can just use refs here.
2023-05-23 08:18:20 +02:00
Reto Brunner
e25c296901 push: remove iOS warning
iOS 16.4 introduced webpush, we can get rid of the special case
in our settings panel.
2023-03-28 10:00:56 +02:00
Max Leiter
dd05ee3a65 TypeScript and Vue 3 (#4559)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00
Max Leiter
437dd1667d Improve setings menu responsiveness 2022-04-29 19:30:35 -07:00
Max Leiter
24bdc46b0a Settings: move nav to left side on larger screens 2022-04-29 19:27:52 -07:00
Max Leiter
5a383814f6 Settings: nav style tweaks 2022-04-29 19:27:51 -07:00
Max Leiter
1f39e078f4 Settings: change general icon from paintbrush to desktop 2022-04-29 19:27:51 -07:00
Max Leiter
6f64243671 Settings: rename user settings -> account 2022-04-29 19:27:51 -07:00
Max Leiter
31b67b7786 git push --set-upstream origin maxleiter/tabbedSettings 2022-04-29 19:27:50 -07:00