Commit Graph

496 Commits

Author SHA1 Message Date
Thomas Ricouard e725b6be4d Create new lists from timeline home menu even if no lists 2024-01-08 18:22:32 +01:00
Clemens Beck 334b09ebe3
Feature: Use tagGroup icon in timeline quick access feature (#1834)
* Use tagGroup icon in timeline quick access feature

* Make tagGroup symbol optional
2024-01-07 18:38:45 +01:00
Thomas Ricouard c4c86e1434 Fix audio session 2024-01-07 17:52:28 +01:00
Thomas Ricouard 2c7ca2ca81 Add new setting to mute video 2024-01-07 17:33:37 +01:00
Thomas Ricouard 6e981a99fc Various fixes 2024-01-07 10:35:11 +01:00
Thomas Ricouard a80d36227e Allow video to play sound full screen 2024-01-06 22:08:41 +01:00
Thomas Ricouard 7eb382c052 Status -> StatusKit 2024-01-06 19:27:26 +01:00
Thomas Ricouard d65510493a Namespace StatusEditor 2024-01-06 18:43:26 +01:00
Thomas Ricouard 8c8c551686 Fix warnings + better recently used tags 2024-01-06 11:21:07 +01:00
Thomas Ricouard e4f7a6954b Split settings view + add recently used tags list 2024-01-06 10:51:47 +01:00
Thomas Ricouard bfc1f61e4b Add access to profile from account selector 2024-01-05 18:57:02 +01:00
Thomas Ricouard f428118fa0 Recently used tags 2024-01-05 10:57:26 +01:00
Pavlo Shadov 3e968525ac
Update Ukrainian localization (#1817)
* Remove empty string

* Update and add missing localizations

* Revert empty string removal

* Mark "parent view for EditTagGroupView" as translated

* Remove the text dedicated only for Preview
2024-01-05 08:51:53 +01:00
sh95014 e6a4bd383c
shift the square.and.pencil icon so that the square is visually centered in the background rectangle (#1819) 2024-01-05 08:50:51 +01:00
Thomas Ricouard 6bb6a02912 Add a new custom Post tab for the tabbar 2024-01-05 08:36:06 +01:00
Thomas Ricouard 80a22e55fa Fix sidebar bottom egde 2024-01-04 21:28:45 +01:00
Thomas Ricouard c3adb37da0 More fixes for slideover mode 2024-01-04 21:24:22 +01:00
Thomas Ricouard 3d29c9e600 Fix account swap for favorites and bookmarks 2024-01-04 16:53:10 +01:00
Thomas Ricouard 60ade66251 Sidebar fixes 2024-01-04 16:42:03 +01:00
Thomas Ricouard 469b99f3c9 Sidebar is now backed by TabView + restore slideover tabbar transition 2024-01-04 16:21:15 +01:00
Thomas Ricouard e733dc3f2a iPad hotfix: Disable tabbar slideover 2024-01-04 07:47:59 +01:00
Thomas Ricouard ad4995ad70 Catalyst: Fix mention window 2024-01-03 13:40:53 +01:00
Thomas Ricouard f6b7b9807f Fix #1808 2024-01-02 18:55:36 +01:00
Hao Song 245f13d59f
Fix settings done button logic (#1809)
* Fix settings done button logic

With the new customizable tab bar, "Settings" can be rendered directly
as the root view of a tab bar entry instead of as a "modal" presented
from the root view. The "Done" button to dismiss the modal should be
hidden if `isModal` is `false`.

* Hide Settings secondary column button for iPad when presented as a modal
2024-01-02 18:50:50 +01:00
Thomas Ricouard 983c22886a Rework icons order 2024-01-02 13:29:21 +01:00
Thomas Ricouard e41dcd6976 Fix timeline tag group filter 2024-01-01 19:00:23 +01:00
Thomas Ricouard 8ee5da319c Reflect edit / post / delete status better 2024-01-01 16:46:34 +01:00
Thomas Ricouard 0497191acf Add icons for all filters 2023-12-30 16:16:19 +01:00
Thomas Ricouard fe66acbd39 Timeline: Add pills quick access 2023-12-30 14:54:09 +01:00
Thomas Ricouard 176e4feaf8 Move tabbar label settings 2023-12-30 07:34:47 +01:00
Thomas Ricouard c328c6c0be Refactor App level to App + App View -> Slideover = phone layout on iPad 2023-12-29 18:50:53 +01:00
Thomas Ricouard 67969f595a Fix About view crash on macOS 2023-12-29 14:21:12 +01:00
Thomas Ricouard 1a366c7bd7 New default icon 2023-12-29 09:40:20 +01:00
Thomas Ricouard 19715bb1f6 Fix local / trending tab showing federated timeline 2023-12-29 07:32:33 +01:00
Thomas Ricouard 6850fcd928 Add support / about shortcuts in account selector bottom sheet 2023-12-28 16:03:16 +01:00
Thomas Ricouard b6370aef98 Fix about icons 2023-12-28 15:44:40 +01:00
Thomas Ricouard 5c2148104c Add Tabs customization on iOS 2023-12-28 11:26:00 +01:00
Thomas Ricouard b0ba6c15da Add favorites / bookmarks tab on macOS / iPadOS 2023-12-28 09:37:02 +01:00
Thomas Ricouard d065ae6aa8 Add settings to toggle between share and bookmark button 2023-12-28 07:48:35 +01:00
Thomas Ricouard e6b3113090 Add more information for the fast refresh toggle 2023-12-27 16:27:31 +01:00
Thomas Ricouard 1a3bded101 New default timeline layout 2023-12-27 16:07:16 +01:00
Thomas Ricouard 962c7c0295 Timeline: Basic timeline sync using the marker API 2023-12-27 13:26:30 +01:00
Thomas Ricouard 590299d102 Sync with markers API for notifications 2023-12-26 16:01:02 +01:00
Thomas Ricouard 4de4c7c82a Don't remove notifications 2023-12-26 15:12:08 +01:00
Thomas Ricouard ede45a9d46 Fix #1769 2023-12-26 13:56:28 +01:00
Thomas Ricouard f3a48118f0 Fix #1772 2023-12-26 13:51:41 +01:00
Thai D. V f326bbefe6
Fix: Search Instances Feature (#1766)
* fix: search logic and performance

* Remove overlay

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-26 13:31:22 +01:00
Thomas Ricouard 3ac1bf362b Use alternate icons, remove duplicate assets 2023-12-26 13:24:39 +01:00
Thomas Ricouard 5f05248523 Fix #1768 2023-12-21 21:10:46 +01:00
Thomas Ricouard 2fdaed7df4 Add direct access to push notifications settings in notifications tab 2023-12-19 09:58:35 +01:00
Thomas Ricouard 5a2478c791
VisionOS native support (#1758)
* Initial support

* UI Adjustments

* WIP icons

* More UI
2023-12-19 09:51:20 +01:00
Thai D. V ca13e61b53
fix: `AddAccountView` (#1764)
* fix typo

* format number of users and posts

* add thumbnail and re-layout
2023-12-19 07:25:31 +01:00
sh95014 d69696b726
separator should extend to leading margin (#1763) 2023-12-19 06:46:39 +01:00
Thomas Ricouard 8ff3e22d9f SwiftFormat 2023-12-18 08:22:59 +01:00
Thomas Ricouard 4985e69200 Allow popover settings everywhere 2023-12-17 09:21:09 +01:00
sh95014 f9da958047
add a setting to disable the account popover on hover (#1750)
* add a setting to disable the account popover on hover

- not entirely pleased with the AnyView() cast but don't really know of a less invasive change

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-17 07:57:20 +01:00
sh95014 038d029022
group slider and text of "max reply indentation" setting (#1749) 2023-12-17 07:33:55 +01:00
Paul Schuetz d8a686be51
Allow the user to customize the thread indentation (#1737)
* Allow the user to customize the thread indentation

The user can now select if they want to indent threads/replies, and how much
the replies should be indented.

* Make the wording clearer

The wording is now clearer since "thread" is replaced by "reply".

* Fix localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-14 07:17:09 +01:00
Thomas Ricouard da6c5ed76c Add follow section in about 2023-12-08 08:04:35 +01:00
Thomas Ricouard 51656794fc Use env webAuthenticationSession 2023-12-07 09:45:34 +01:00
Thomas Ricouard 4f9e23296f Cleanup 2023-12-06 18:56:19 +01:00
Thomas Ricouard 3d2171d716 Refactor auth to ASWebAuthenticationSession 2023-12-06 08:05:26 +01:00
Thai D. V 2e350f5fce
move environment runtime check to compile time (#1709) 2023-12-06 06:41:26 +01:00
Thomas Ricouard 5c204fd06f New Christmas icons 2023-12-04 20:03:41 +01:00
Thomas Ricouard fcaf48ce53 foregroundColor -> foregroundStyle 2023-12-04 15:49:44 +01:00
Thomas Ricouard bfc2994cfb Fix iCloue container 2023-12-03 14:15:35 +01:00
Thomas Durand 8d54f1a359
Using BUNDLE_ID_PREFIX to fix fork building with iCloud container (#1703) 2023-12-03 13:55:15 +01:00
Thomas Ricouard b249b37612 Add a fast refresh option 2023-12-01 08:51:19 +01:00
Thomas Ricouard 222daae47c Add new icons 2023-11-30 12:02:50 +01:00
Thai D. V 1f703fc1f4
add localization to `EditTagGroupView` (#1692) 2023-11-28 09:19:48 +01:00
Thomas Ricouard 2e2a9f5f14 Add more lists setttings 2023-11-28 09:18:52 +01:00
Thai D. V de83b8ec90
Fix `EditTagGroupView` (#1686)
* refactor data of `EditTagGroupView`

* lower case tags before saving because API is case-insensitive

* fix: "add new tag" `TextField` is not focused after adding the first tag (on both macOS and iOS)

* perf: improve symbol search performance

* improve layout and animation of symbol search

* fix: sort tags and remove duplicate tags

* fix: crash when open timeline for an empty tag group

* fix: revert concurrency code because performance issue at 1d3f271 is a false alarm

* add warning labels to help the users

* fix: state `tagGroup`

* fix: selecting symbol logic and warning labels

* refactor `EditTagGroupView.body`

* refactor warning labels

* Fix theme

* Move to its own folder

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-11-27 09:13:07 +01:00
Thai D. V ea5480ef46
add account popovers for display name and handle (#1687) 2023-11-27 09:00:52 +01:00
Thai D. V 94172cef27
Feature: popover the account overview when hovering on the avatar (#1682)
* fix avatar scale

* refactor avatar  config data

* add `AvatarView_Previews`

* refactor shape and placeholder of avatar

* refactor `AvatarView` and add `AvatarPopup`

* add `hoverEffect` for iPad

* fix auto-dismiss bug

* fix `showPopup` bug

* disable inappropriate avatar popups
2023-11-20 10:59:49 +01:00
Oleg 534b098ca6
Hide settings link on macos (#1681) 2023-11-20 09:27:58 +01:00
Thomas Ricouard 71ab8d558a Fix / simplify account content warning 2023-11-19 08:26:07 +01:00
Paul Schuetz 12d92ab1ec
Add hint if the server post options are overridden (#1679)
If the content settings specify their own post settings and override the
instance settings, a hint (and link to the content settings) is added to the
instance settings (infos) since that setting might introduce confusion (As
happened in #1677).
2023-11-19 08:10:53 +01:00
Thomas Ricouard 1e35ffb82b Fix settings close button 2023-11-18 11:58:04 +01:00
Thomas Ricouard f451d7cb8c Bigger media viewer window 2023-11-14 19:48:14 +01:00
Théo Arrouye 4266ac4b42
Improve SoundEffectManager & HapticManager (#1662)
* Remove unnecessary vars and switches

* Improve SoundEffectManager call-site API

* Improve HapticManager call-site API
2023-11-07 11:22:36 +01:00
Thomas Ricouard 3e3c69c41c format 2023-11-01 18:58:44 +01:00
Paul Schuetz f68bc3e306
Show the pending-counter in any corners (#1638)
The pending-button can now be shown in any corner the user prefers. This is
accomplished by allowing the user to move the counter left in addition to the
already present option to move it down. Fixes #1637

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-11-01 18:51:46 +01:00
Thomas Ricouard 5a52eb50e9 Fix login on Catalyst 2023-10-26 17:47:19 +02:00
Thomas Ricouard cf0f0fd891 Refactor + add more shortcuts on macOS 2023-10-26 06:23:00 +02:00
Thomas Ricouard 434247f3ea Fixes for macOS 2023-10-24 18:34:45 +02:00
Thomas Ricouard 07bfd8cd0e Initial macOS Catalyst support 2023-10-23 19:12:25 +02:00
Thomas Ricouard 1b228d504f Media viewer: various fixes 2023-10-18 12:19:39 +02:00
Thomas Ricouard fd55020533 New media viewer 2023-10-16 19:08:59 +02:00
Thomas Ricouard aa7c1b87e4 Migrate to string catalog 2023-10-05 10:28:39 +02:00
Bosco Ho 1bf4d9e398
Feature: Tab bar scroll to top (#1598)
* - *WIP* Explore tab: Tap on tab to scroll to top.

* - Explore tab: Tap tab to scroll to top.

* - Explore: Tap tab again to focus on search bar.
- Explore: Set `.defaultMinListRowHeight` so scroll to view doesn't occupy more than 1pt height in grouped style list.
- Explore: Add padding to get Explore list view to look the same.

* - Explore: Minor adjust to padding.

* - Messages: Add tap tab to scroll to top.

* - Notifications: Add tap tab to scroll to top.

* - Profile: Add tap tab to scroll to top.

* Add `ScrollToView` that can be used across all views.

* Move scroll-to-top constants to ScrollToView.

* Format

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-10-05 08:22:45 +02:00
Thomas Ricouard 23a83d69cc Remove legacy migrations 2023-10-01 09:48:27 +02:00
Paul Schuetz 0b5e764556
Automatically remove spaces in server names (#1600)
* Automatically remove spaces in server names

If a server name includes a space (which can happen if the string is pasted /
autocompleted), this space is removed, which results in the app not crashing.
Fixes #1599

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Format

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-10-01 09:37:09 +02:00
Benoît Clouet d32c5c004c
Added the ability to display the Pending/Unread button at bottom of the screen for bigger displays or smaller hands (#1595) 2023-10-01 09:24:37 +02:00
Bosco Ho 1f44c502dd
Use NavigationLink with value to push Explore trending links" (#1594)
- Fixes trending links "see more" not getting added to navigation path.
2023-09-27 08:38:17 +02:00
Thomas Ricouard 717ef16628 Correctly save / restore any previously selected timeline on home tab 2023-09-25 14:43:29 +02:00
Thomas Ricouard e0663bf177 Fix #1590 2023-09-25 14:12:35 +02:00
Thomas Ricouard 7efd8ed7cb Fix #1585 2023-09-22 22:41:06 +02:00
Thomas Ricouard cc32845134 Revert "Switch to iOS 17 inspector"
This reverts commit 7589ab75f8.
2023-09-22 22:39:35 +02:00
Thomas Ricouard 4870b202d6 Migrate TagGroup to SwiftData 2023-09-22 19:33:53 +02:00
Thomas Ricouard 527d982dce Migrate LocalTimeline to SwiftData 2023-09-22 12:49:25 +02:00