Commit graph

368 commits

Author SHA1 Message Date
Thomas Ricouard 60713101a7 Remove some .shared usage 2023-09-22 08:32:13 +02:00
Thomas Ricouard 90337bd3ea Bump version to 1.8.2 2023-09-20 08:20:01 +02:00
Thomas Ricouard 46df3bb7f9 Fix #1579 2023-09-20 07:28:04 +02:00
Thomas Ricouard e2f0863ff6 Fix timeline filter update 2023-09-19 18:33:13 +02:00
Thomas Ricouard 6c23569d15 UserPreferences -> Observable 2023-09-19 09:18:20 +02:00
Thomas Ricouard fd09276d49 Refactor notifications count 2023-09-19 08:44:11 +02:00
Thomas Ricouard f9c0355f1d Convert Theme to Observable 2023-09-18 21:03:52 +02:00
Thomas Ricouard 8bb102cd67 Fix #1466 2023-09-18 18:55:11 +02:00
Thomas Ricouard 7388cc4a86 Add two new icons 2023-09-18 09:14:51 +02:00
Thomas Ricouard 4189a59cf6
iOS 17+ only support + migrating to Observation framework (#1571)
* Initial iOS 17 + Observable migration

* More Observation

* More observation

* Checkpoint

* Checkpoint

* Bump version to 1.8.0

* SwiftFormat

* Fix home timeline switch on login

* Fix sidebar routerPath

* Fixes on detail view

* Remove print changes

* Simply detail view

* More opt

* Migrate DisplaySettingsLocalValues

* Better post detail transition

* Status detail animation finally right

* Cleanup
2023-09-18 07:01:23 +02:00
Thomas Ricouard 8a3c971402 Swiftformat 2023-09-16 14:15:03 +02:00
Thomas Ricouard 1bbb0dc82d Fix sound effects + upgrade swift concurrency settings 2023-09-14 11:04:14 +02:00
Thomas Ricouard 4280764733 Edit tag groups 2023-08-04 12:40:21 +02:00
Chanhwi Joo 559e1d0c83
Add a new 6-striped icon without white borders (#1526) 2023-08-01 09:53:10 +02:00
Simone Margio a3d497f48e
Add minimal icon app (#1525)
* Minimal icon app

Adding icons to the application on a minimal view

* Changes and add to Italian language

Insertion and modifications of some strings in the Italian language

* Revert "Changes and add to Italian language"

This reverts commit ce3c5a6a13.
2023-08-01 09:21:37 +02:00
Paul Schuetz b8af362b23
Show all symbols when adding a tag group (#1513)
* Show all symbols when adding a tag group

All the SFSymbols are shown when adding a tag group, the list is taken from
SFSafeSymbols. This includes symbols such as "swift" and "apple.logo", as seen
in https://mastodon.social/@alexito4/110742407894134083.

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

* Add credit for SFSafeSymbols

The list of used libraries is updated with SFSafeSymbols.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-07-20 08:01:32 +02:00
Paul Schuetz 90b0e91c79
Allow specifying the default reply visibility (#1509)
* Allow specifying the visibility of replies

Replies can now have their own default visibility. This visibility is always at
least as restrictive as the default post visibility. When posting a reply, the
visibility is pre-populated with the more restrictive out of the default and
the visibility of the original post.

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

* Use iOS-specific modifier

If the app is run on iOS 17, the new onChange(...)-modifier is used.

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

* Restrict the extension of the onChange-Modifier

The extension of the view to allow the use of the version-appropriate
onChange-modifier is now only available in the relevant file.

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

* Reset to use Xcode 14 / iOS 16

The iOS 17 specific changes are removed to allow building in the older Xcode 14.

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

* Make the default reply visibility public

The standard default reply visibility is now public, the behavior of the app
isn't changed for a user who just updated.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-07-19 11:49:06 +02:00
Thomas Ricouard fbff719066 Fixes to add tag group view 2023-07-19 08:13:16 +02:00
Thomas Ricouard 8ace002e4a Add Tag Group symbol in settings 2023-07-19 07:50:19 +02:00
Thomas Ricouard a2fe0511e0 Run swiftformat 2023-07-19 07:46:25 +02:00
Alejandro Martínez 5951bcec38
Tag groups (#1506)
* Implemented tag groups

* Cleanup

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-07-19 07:44:35 +02:00
Thomas Ricouard 39ec8bb389 Add a new icon 2023-07-18 09:45:44 +02:00
Thomas Ricouard 4168c64d20 Add a setting to turn off auto detect language when posting close #1461 2023-07-17 20:39:53 +02:00
Nathan Reed ffe9e7a714
Add setting to control share button default behavior (#1421)
* Add setting to control share button default behavior

This adds a setting to control the behavior of the share button on the status row actions view.
Currently, it always shares the link to the post as well as the post text.
In iOS 16.4, Apple added iMessage unfurling for Mastodon URLs.
When sharing posts from Ice Cubes via iMessage, this leads to the recipient seeing two copies of the post: one from the unfurled link and one from Ice Cubes including the post text.
Users will now have the option to exclude the post text from their sharing.
This is easier than tapping the 3-dots button on the post (which is kind of small) and then expanding the Share menu in the context menu, which is the other way to access this functionality at the
moment.

The default value for the new option will be "Link and Text", which is the current behavior - so we won't change the behavior on existing users.

* Add new strings to other language localizations
2023-06-26 11:45:14 +02:00
Thomas Ricouard ab51d57648 Cleanup debounce 2023-04-03 13:53:41 +02:00
Paul Schuetz 59b16d86a7
Fix the lag of the display setting sliders (#1342) close #1341
* Fix the lag of the display setting sliders

The sliders in the display settings were laggy because changing the value in the
theme class needs comparatively much time. This writing to the class is now
only done when the user lets go of the slider, so sliding it is responsive. I
was unable to make writing to the class more responsive, the example post needs
therefore a short time before it accepts the new values. Furthermore, all
AppStorage keys are now realized with a ThemeKey to clean the class up.
Fixes #1341

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

* Remove unnecessary changes to theme

The changing of theme keys is unnecessary for the fix oft the lag, so it's
removed.

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

* Rework fix to be more similar to other lag fixes

The fix now uses the ...LocalValues class, which published updates only every
half a second.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-31 15:34:24 +02:00
Thomas Ricouard efb255eb62 Display settings: keep example post on the top 2023-03-26 19:19:59 +02:00
Thomas Ricouard 92e15fdcc9 Settings: Add line spacing option which apply to only posts content for now 2023-03-26 18:51:15 +02:00
Paul Schuetz 731ee4c3ac
Fix icon switching on iPad (#1310)
The switching of icons didn't work on the iPad anymore (See
https://norden.social/@betamax65/110088664994961476). This might be a temporary
fix, depending on what caused the bug (which I couldn't determine). For now,
one icon in the set seemingly must have a complete iPad icon set, which is
achieved with the standard icon. Furthermore, an assert statement helps to
determine the problem with the icons. This statement won't be compiled into
release builds.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-26 14:19:34 +02:00
Paul Schuetz 0874be89f8
Add an edit button to the remote timeline settings (#1304) 2023-03-25 17:16:07 +01:00
Chris Kolbu b2f594f174
Accessibility tweaks + Notifications and Messages tab uplift (#1292)
* Improve StatusRowView accessibility actions

Previously, there was no way to interact with links and hashtags.

Now, these are added to the Actions rotor

* Hide `topPaddingView`s from accessibility

* Fix accessible header rendering in non-filterable TimelineViews

Previously, all navigation title views were assumed to be popup buttons.

Now, we only change the representation for timelines that are filterable.

* Combine tagHeaderView text elements

Previously, these were two separate items

* Prefer shorter Quote action label

* Improve accessibility of StatusEmbeddedView

Previously, this element would be three different ones, and include all the actions on the `StatusRowView` proper. Now, it presents as one element with no actions.

* Add haptics to StatusRowView accessibility actions

* Improve accessibility of ConversationsListRow

This commit adds:
- A combined representation of the component views
- “Unread” as the first part of the label (if this is the case)
- All relevant actions as custom actions
- Reply as magic tap

* Remove StatusRowView accessibilityActions if viewModel.showActions is false

* Hide media attachments from accessibility if the view is not focused

* Combine NotificationRowView accessibility elements; add user actions

Previously, there was no real way to interact with these notifications.

Now, the notifications that show the actions row have the appropriate StatusRowView-derived actions, and new followers notifications have more actions that let you see each user’s profile.

* Prefer @Environment’s `accessibilityEnabled` over `isVoiceOverRunning`

This way we can cater for Voice Control, Full Keyboard Access and Switch Control as well.

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-24 07:52:29 +01:00
Chris Kolbu c5b4a0dd07
Settings screen Accessibility tweaks (#1258)
* Remove `.button` trait from `Link`s on Account Settings screen

SwiftUI currently sets both the `.button` and `.link` traits on these elements, which is a failure for WCAG 2.1 4.12: Name, Role, Value: https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html

There is a radar for this issue: FB11507660

* Improve accessibility by making `AppAccountView`s a Button

Previously, the component elements of the `fullView` would be rendered as 3-4 individual views that would _all_ be interactive and perform the same action.

Now, as a Button, only one accessibility element is vended.

* Fix account label color

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-17 06:38:50 +01:00
Paul Schuetz fa090f5663
Remove an unnecessary icon. (#1256) 2023-03-17 06:06:56 +01:00
Ico Davids 5ef39e7a09
Add navigation title to the Translation Settings view (#1257) 2023-03-17 06:06:09 +01:00
Paul Schuetz baf853f46e
Add the ability to translate using deepl even if the instance offers its own service (#1237)
* Allow forced translation with DeepL

Translation with DeepL can now be forced either per post or on the system level.

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

* Require the use of a private API key

A private API key of the user is now required to allow "always translate via
DeepL".

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

* Persist a stored API key

An API key is stored even if useOnlyDeepL is disabled. If the API key is empty,
the setting is still disabled.

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

* Localize the texts

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

* Save API key while writing

The API key is now saved, even if the app is closed before leaving the
translation settings view.

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

* Fix build

* Fix theme

* Transition to KeychainSwift, clean up

KeychainHelper is replaced with the already-used KeychainSwift package, the
functions are cleaned up so that the process is easier to understand. The
deactivateToggleIfNoKey function doesn't change the behavior of the buttons or
context menus in the timeline, only demonstrates the necessity of an API key to
the user. Consequently, it's only called when the settings view is shown.

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

* Swiftformat + fixes

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-14 18:50:19 +01:00
Paul Schuetz ff9bfe9285
Allow reordering of remote timelines (#1240)
The reordering of remote timelines is now available. See #1239

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-14 07:22:17 +01:00
Thomas Ricouard 6c307aba63 SwiftFormat 2023-03-13 13:38:28 +01:00
Thomas Ricouard 0989f25bff Rework About Screen 2023-03-12 12:58:00 +01:00
Thomas Ricouard f6b987a18a Display Settings: Close to live colors update, removed the "apply colors" button. 2023-03-08 19:02:00 +01:00
Keita Watanabe 700ace10d9
fix about view preview (#1156) 2023-03-04 09:31:22 +01:00
Keita Watanabe b08e783cb8
add oss licenses for SwiftUI-Introspect and RevenueCat (#1157) 2023-03-04 09:31:04 +01:00
Thomas Ricouard deae0930b1 Add web account settings button 2023-03-03 18:21:52 +01:00
Thomas Ricouard 5766adc965 Cleanup display settings 2023-03-03 08:29:45 +01:00
Thomas Ricouard eea6d93dd5 Add customization of text color close #385 2023-03-03 08:12:01 +01:00
Thomas Ricouard 10eeb39241 Fix laggy color picker close #1082 2023-03-03 07:24:00 +01:00
Gareth Simpson d7f1ef45fe
Add Account: Sanitize the servername to remove http[s]:// and also usernames (#1131)
* Sanitize the servername to remove http[s]:// and also usernames

Fixes: #1120

* Sanitize the input box with sanitizedName, not instance.title
2023-03-02 08:55:35 +01:00
Thomas Ricouard a76d8ef267 oops 2023-03-01 21:14:26 +01:00
Thomas Ricouard d3486bbd7e Fix entitlements check 2023-03-01 20:43:01 +01:00
Thomas Ricouard 81f3db733b Add supporter subscription + supporter badge 2023-03-01 20:07:40 +01:00
Thomas Ricouard b540d6ef5b Icons: Remove wrong username 2023-02-28 21:33:33 +01:00
Thomas Ricouard a3e2d3f8b3 Add sound effects 2023-02-28 18:55:08 +01:00
Thomas Ricouard 6de27c62b6 Add a new neon icon 2023-02-28 18:52:34 +01:00
Gareth Simpson 9ebe0b314c
Change arrows icon to rocket for boosts (#1099)
* Change arrows icon to rocket for boosts

* Fixing case (part 1)

* Fixing Case (part 2)

* Clean up after merge

* Fix for disabled boost

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-28 14:53:31 +01:00
Peter-Josef Meisch 3a144b7792
collapse long posts (#1037) close #914
* collapse long posts

* initialize user pref setting in init(), remove onAppear and onChange(pref) from view

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-26 17:32:09 +01:00
Chanhwi Joo bd782abb88
Add 2 new icons (#1080) 2023-02-26 17:19:39 +01:00
Thomas Ricouard 83e4e74329 Swiftformat 2023-02-26 06:45:57 +01:00
Thomas Ricouard 151154b335 Timeline: Enable jump to latest + in place refresh for all other timeline types 2023-02-25 19:32:47 +01:00
Thomas Ricouard 29aaa7c5cb Optimisations: Autoclosure for StatusRowViewModel 2023-02-24 13:25:21 +01:00
Thomas Ricouard cdbfd5db00 Settings: Add an option to clean media cache 2023-02-23 18:43:09 +01:00
Ico Davids e4b880dfe5
Make primary action bold: (#1021) 2023-02-22 22:12:10 +01:00
Ico Davids 4bad875835
Instance Info refinements: (#1012)
- Format stats with thousandseparators
- Format instance version in monospace
2023-02-22 19:16:08 +01:00
Thomas Ricouard a4910037b8 Swiftformat . 2023-02-22 19:09:39 +01:00
Ico Davids dc3a56e37c
Move autoPlayVideo setting to content settings view (#1013) 2023-02-22 18:57:48 +01:00
Thomas Durand 482d93a68d
Removed Boutique, using Bogeda directly (#1007)
* Removed Boutique, using Bogeda directly

* Updated about screen
2023-02-22 18:56:37 +01:00
Thomas Ricouard c4daa73932 More accurate notifications badge 2023-02-22 12:14:57 +01:00
Ico Davids 678f6f0cdd
Redesigned swipe actions settings (#937)
* Redesigned Swipe Action Settings screen

* Add TODO comments

* Redesigned Swipe Action Settings screen

* Redesigned Swipe Action Settings screen

* Add EN localization strings for primary/secondary

* Consolidate left/right swipe actions into one section

* Switch to targeted Swift concurrency warnings + fix them

* Polish localization update (#936)

* Updates to Dutch localization: (#935)

* de: translated the notes feature (#933)

* Fix 1 line note in centre (#938)

* Sort lists alphabetically in ListAddAccountView (#943)

* Optimize viewId (#942)

* Update Localizable.strings (#941)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Update Nuke (#940)

* Remove Sendable conformance on Client as it's not needed

* Profile: Show about fields inline

* Added a tip that it's a video, and not an image when autoplay is off (#939)

* Added a tip that it's a video, and not an image when autoplay is off

* Centered - bigger version of the video tip

* Share post as image close #885

* Honour in app browser settings when opening profile about fields

* Fix threading UI

* More tweak to capture mode

* Update Localizable.strings (#948)

* Update Localizable.strings (#946)

Translated..

* Updated EmojiText to 2.x (#944)

Interface used by IceCubeApp has not changed from 1.x to 2.x
Looking at the library diff shows new features like SFSymbol powered emojis. Not like we're going to make use of that
https://github.com/divadretlaw/EmojiText/compare/v1.2.0...2.0.2

* Bump to 1.5.5

* Polish localization update (#949)

* Optimize avatar view (#950)

* Reduce AvatarPlaceholderView body calls

* Resize avatars

* Reworked post header view + add option to hide server name from username

* Better header spacing

* Further improvement to the post header

* Polish localization update (#954)

* Update Localizable.strings (#953)

* Show post header thread icon more consistently

* Fix post header

* Fix threading UI

* Fix trending refresh

* de: 1 new string -> translated (#955)

* Update Simplified Chinese Translation (#926)

* Update Korean localization (#957)

* Trim whitespace and newlines in instance rules list (#956)

* Fix theme not being applied live on status row close #961

* Update some translations (#959)

* Add indicator for bots accounts

* Bump to 1.5.6

* Fix status actions on boosting posts (#974)

* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>

* Fix crash when opening account details (#972) close #918

* Tweak the theme selector view (#975)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Change the Content Settings icon to match the timeline icon again. (#969)

* Fix display of multiple vote polls (#967)

Closes #952

* Updates to Dutch localization (#966)

* Font picker consistency (#960)

* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle

* Fix In-App Safari (#945)

* Fix In-App Safari

* Open SFSafariViewController in a separate window

* Swiftformat

* Optimize custom font

* Fix a localization + make the ... menu zone bigger

* Update Localizable.strings (#976)

* Fix Equatable impl for Status and Account (thanks class)

* Make secondary column available on any size + add a toggle + faster macOS window resize

* Bigger secondary column width

* Composer: Fix swipe to dismiss

* Composer: Better ALT editing UI

* updates for Basque (#983)

added missing translations and small fixes

* Updated spanish localization (#982)

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>

* Polish localization update (#980)

* Update Localizable.strings (#979)

More strings

* Singularize enum type names (#978)

* Fixes for composer and DM

* Remove padding

* Rename settings.swipeactions.status.icon-style

* Remove unused left/right localizable strings

* Add settings.swipeactions.appearance

* Add settings.swipeactions.status.explanation

* Add settings.swipeactions.primary and settings.swipeactions.secondary

* Add settings.swipeactions.use-theme-colors and settings.swipeactions.use-theme-colors-explanation

* Dutch localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
Co-authored-by: Andrzej Rózga <53080024+AndrzejRozga@users.noreply.github.com>
Co-authored-by: Cthulhux <github@tuxproject.de>
Co-authored-by: Sean Goldin <EvilOne@users.noreply.github.com>
Co-authored-by: David Davies-Payne <d2p@me.com>
Co-authored-by: Alex Grebenyuk <grebenyuk.alexander@gmail.com>
Co-authored-by: Yusuke Arakawa <108506642+nekolaboratory@users.noreply.github.com>
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Durand <Dean151@users.noreply.github.com>
Co-authored-by: Dejavu Moe <jialong.vip@gmail.com>
Co-authored-by: Chanhwi Joo <56245920+te6-in@users.noreply.github.com>
Co-authored-by: Henrik Nyh <henrik@nyh.se>
Co-authored-by: nixzhu <zhuhongxu@gmail.com>
Co-authored-by: Gareth Simpson <g@xurble.org>
Co-authored-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
Co-authored-by: David Walter <divadretlaw@users.noreply.github.com>
Co-authored-by: Xabi <xabi.rn@gmail.com>
Co-authored-by: Roberto Pastor <wedge.hero@gmail.com>
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
Co-authored-by: Louis Lac <lac.louis5@gmail.com>
2023-02-22 07:07:26 +01:00
Thomas Durand ded5bea4ce
Fix build with Swift 5.8 (#986)
Non optionals in if let don't work on the latest Xcode Beta
2023-02-22 07:04:37 +01:00
Louis Lac bf49a4558c
Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Thomas Ricouard 7a997ebd8a Make secondary column available on any size + add a toggle + faster macOS window resize 2023-02-21 13:37:31 +01:00
Thomas Ricouard b259b6739e Swiftformat 2023-02-21 07:23:42 +01:00
Gareth Simpson 53f364b232
Font picker consistency (#960)
* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle
2023-02-21 07:08:32 +01:00
Gareth Simpson a2346413ec
Change the Content Settings icon to match the timeline icon again. (#969) 2023-02-21 07:04:17 +01:00
Thomas Ricouard e7fffa07d4 Fix theme not being applied live on status row close #961 2023-02-20 13:00:50 +01:00
Henrik Nyh 2508f98ce1
Trim whitespace and newlines in instance rules list (#956) 2023-02-20 06:41:49 +01:00
Thomas Ricouard 0d6eff391b Reworked post header view + add option to hide server name from username 2023-02-19 19:16:39 +01:00
Thomas Ricouard 65e63c4586 Remove Sendable conformance on Client as it's not needed 2023-02-19 07:51:16 +01:00
Thomas Ricouard bfce92d71e Per account notifications count close #894 2023-02-18 15:36:18 +01:00
Thomas Ricouard ca4e80101f Swiftformat 2023-02-18 07:26:48 +01:00
Thomas Ricouard 40ca3940f6 Reworked account management / selection UI 2023-02-16 07:19:20 +01:00
Thomas Ricouard 6c6d25fc63 Add a setting to use SF Rounded font close #890 2023-02-15 20:03:31 +01:00
Quin 43b32ca3f7
Add accessibility labels to timeline headers. (#880) 2023-02-15 18:47:42 +01:00
Thomas Ricouard d958d10036 Remove Client and RouterPath from StatusRowView env object 2023-02-15 08:46:14 +01:00
Peter-Josef Meisch fc21a3721a
Add setting to disable display of alt texts for media (#854) 2023-02-14 22:13:48 +01:00
Thomas Ricouard 363164d96d Bind tabs to client.id 2023-02-14 14:27:29 +01:00
Thomas Ricouard dbbd33ba88 Reworked social notifications 2023-02-14 12:17:27 +01:00
Thomas Ricouard 05815e6d35 Correctly route notification at app launch 2023-02-14 07:46:45 +01:00
Chanhwi Joo af61ff7914
Improve swipe actions (#825)
* Remove icons from settings

* Add new toggle for using the theme tint

* Localizations

* Add icon style picker

* Localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-14 07:01:55 +01:00
Andrzej Rózga 01a45b4a52
Localization update - missing strings in Localizable (#838)
- added missing string for "Official icons"
- added missing string for "Icons by ..."
- added String extension in IconSelectorView.swift
  (maybe you prefer it in separate file)

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-14 07:01:34 +01:00
Thomas Ricouard 3d96d6997d Better handling of notifications 2023-02-13 22:30:06 +01:00
Thomas Ricouard 90199fc88b Route to push notifications on selection 2023-02-13 21:50:44 +01:00
Thomas Ricouard eb6050a38f Swiftformat 2023-02-12 16:29:41 +01:00
Chanhwi Joo 0b3319c2e1
Improve swipe actions and settings (#808)
* Remove an unnecessary space from string

settings.swipeactions.status.trailing

* Make SwipeActionsSettingsView to be consistent with others

* Divide none as another section

* Add icons

* Make hollow icons work

* Show different button label by its status

* Use different colors by actions

* Fix swapped icons in settings

* Refactor
2023-02-12 10:37:09 +01:00
Peter-Josef Meisch 124aeef7fb
swipe actions improvements (#785)
* swipe actions improvements

* use old values as default settings

* Polish swipe actions settings

* Fix background color

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-11 21:48:08 +01:00
Chanhwi Joo 129671bbd4
Remove settings.display.section phone & settings.display.section.ipad from Localizable.strings (#787) 2023-02-11 20:21:27 +01:00
Peter-Josef Meisch 449c8ba2ed
Consolidate icon style in settings tab (#750) 2023-02-10 06:40:02 +01:00
David Davies-Payne 11167c35c3
Also sort tags and lists in profile view (#764)
* Add CurrentAccount.sortedLists and .sortedTags

Sorts alphabetically, ascending, lowercased on title and name respectively.

* TimelineTab uses CurrentAccount.sortedLists and .sortedTags

* Account detail sorts tags and lists

Alphabetically, ascending, lowercased via CurrentAccount.sortedTags, .sortedLists
2023-02-10 06:38:18 +01:00
Sean Goldin d5177f9b2d
Clean up IconSelectorView code (#745)
* Clean up code

* Update IceCubesApp/App/Tabs/Settings/IconSelectorView.swift

Co-authored-by: Ico Davids <ico.davids@gmail.com>

---------

Co-authored-by: Ico Davids <ico.davids@gmail.com>
2023-02-09 18:49:03 +01:00
Yusuke Arakawa dae7b85d3d
Timeline: restore the selected timeline at the next startup (#694)
* Timeline: restore the selected timeline at the next startup

Signed-off-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Rename: UserDefaultas label name

Signed-off-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Timeline: RawRepresentable of TimelineFilter

Signed-off-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Cleanup code

* Supports RemoteTimelineFilter

* Cleanup code

* Safe saves last viewed status

---------

Signed-off-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-09 12:27:59 +01:00
Thomas Ricouard c3d6eeb998 Add 1 more icon 2023-02-09 12:24:24 +01:00
Gareth Simpson a43a657f1e
Add translate button to the preview post in settings (#724)
* Add translate button to the preview post in settings

* Accidental outdent.

* Add share button to placeholder status and also preview status in settings.
2023-02-09 07:38:04 +01:00
Yusuke Arakawa 32c9d1464a
Fix the theme is not applied to a part of the setting screen on iPadOS (#736)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-09 07:37:16 +01:00
Yusuke Arakawa 11c5da05c2
Remove tab string from iOS app (#669)
* Remove tab string from iOS app

* Added tab string display setting

* Fixes

---------

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-09 06:28:16 +01:00
Yusuke Arakawa 81ce93f446
Removed unnecessary indentation from #716 (#730)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-09 06:22:34 +01:00
Gareth Simpson 8f6e6853aa
Add a preview toot to the top of the display settings page. (#716)
* Add a preview toot tot the top of the display settings page.

* DisplayModel doesn't need to be @State

* Disable hitTest

* Example Post

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-08 19:09:24 +01:00
Thomas Ricouard c5e43394c8 Add a setting to disable secondary column on iPad / macOS 2023-02-06 18:53:37 +01:00
Thomas Ricouard ff570e214c Properly support OpenDyslexic and HyperLegible Fix #677 2023-02-06 18:15:08 +01:00
Sean Goldin 90ec3d419c
Clean up HapticManager (#678)
* Check for haptic capabilities

* Make manager do most of work

* ABC enum

* Fix spelling 😊

* Small tweak
2023-02-06 17:53:27 +01:00
Thomas Ricouard 730e471718 Composer: Internalize TextView + fix a lot of lag when editing 2023-02-06 12:24:57 +01:00
Thomas Ricouard 5f76a8057c Filter remote local timeline 2023-02-06 12:24:48 +01:00
Thomas Ricouard d7bad26f04 Revert "Add install fonts option"
This reverts commit 34c4521cd4.
2023-02-05 21:22:18 +01:00
Thomas Ricouard 34c4521cd4 Add install fonts option 2023-02-05 21:01:35 +01:00
Thomas Ricouard 7e88339dc5 Add Boutique in the about screen 2023-02-05 08:02:44 +01:00
Thomas Ricouard f55cadfbdd Fix logout 2023-02-04 21:54:41 +01:00
Thomas Ricouard f73bac9ae7 Revert "Cleanup logout code"
This reverts commit f54db5a43e.
2023-02-04 21:53:13 +01:00
Thomas Ricouard 5afd2dc73c Add Jump to Latest to clear out cache and reload home timeline 2023-02-04 21:21:36 +01:00
Thomas Ricouard f54db5a43e Cleanup logout code 2023-02-04 20:42:51 +01:00
Thomas Ricouard 65ed2d871c Add settings for haptic feedbacks 2023-02-04 17:38:48 +01:00
Thomas Ricouard 6b285cdbcf Cleanup 2023-02-04 17:17:38 +01:00
Thomas Ricouard 8c7efb7df5 Add settings to clear the cache 2023-02-04 15:08:54 +01:00
Thomas Ricouard 71f6cfd52a Add new icons 2023-02-04 07:44:14 +01:00
Peter-Josef Meisch e79b39f952
Add option to start in-app browser in reader view. (#619)
* Add option to start in-app browser in reader view

localizations

* Disable toggle instead of hiding it
2023-02-03 07:04:00 +01:00
Gareth Simpson 5621b243a0
About screen + Open Dyslexic font close #599 (#626)
* Add dyslexia and hyper-legible fonts

* AboutView to satisfy font licensing requirements, and generally credit libraries in use.

* Fix background

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-03 07:03:32 +01:00
Sean Goldin 0a10370e16
Extend tappable area (#596) 2023-02-02 06:34:12 +01:00
Gareth Simpson fdb402a065
Boost deduplicating (#524)
* Trying something with caching boosts

* Use an actual cache for caching

* Persist cache to documents folder

* Stray debugging variable

* Unpublish seen variable in the ViewModel

* Settings for deduplicating boosts.

* Changes from review / merge conflicts
2023-02-01 18:56:06 +01:00
Roberto Pastor 0be53d251a
- Added missing localization for font scaling. (#583)
- Updated spanish localization.

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-02-01 18:53:43 +01:00
Thomas Ricouard f0d7ce9fbd Bump to 1.3.4 + add 3 new icons 2023-02-01 18:53:25 +01:00
Thomas Ricouard 22af2db36c Enable font scaling on iOS 2023-01-31 12:16:11 +01:00
Thomas Ricouard ec26ea802c Fix profile tab swap 2023-01-30 22:24:30 +01:00
Thomas Ricouard d88d9db1dc Transition Timeline to List + stream post automatically + keep position + new counter UI 2023-01-30 21:41:42 +01:00
Thomas Ricouard 749846b9ba Add a new icon 2023-01-30 19:48:57 +01:00
Thomas Ricouard 24504e3bc2 Various optimizations to speed things up 2023-01-30 19:14:43 +01:00
Thomas Ricouard 16636b12a9 Swift format 2023-01-30 07:27:06 +01:00
Paul 392b1bd01a
Add the ability to set a custom font (#519)
* Add the ability to set a custom font

* Small fixes

* Indent

* Add missing localization

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-30 07:25:55 +01:00
Thomas Ricouard 875d89c18e Fix account switching 2023-01-29 21:58:20 +01:00
Thomas Ricouard 941618686c Cleanup isSecondaryColumn 2023-01-29 17:59:04 +01:00
Thomas Ricouard 979ba61b07 Add back primary icon in the selector 2023-01-29 16:57:04 +01:00
Thomas Ricouard 497c2a1fe1 Add secondary column when screen is wide enough 2023-01-29 16:45:58 +01:00
Thomas Ricouard 426d2e15b2 Change timeline icon + move OpenAI icon to the accessory bar 2023-01-29 15:08:41 +01:00
Thomas Ricouard e5b6e79fa9 Better viewId for some tabs 2023-01-29 11:52:11 +01:00
Thomas Ricouard 62c3f6e04a Add a new settings to disable video auto playing 2023-01-29 10:19:59 +01:00
Sean Goldin c25f94eed1
Don't allow multiple tap on purchase button Close #393 2023-01-29 07:37:23 +01:00
Thomas Ricouard 3fc172c303 Fix typo 2023-01-28 11:00:20 +01:00
Thomas Ricouard edb43040a3 Add credits section to icon selector 2023-01-28 08:58:36 +01:00
Thomas Ricouard b89221a535 Code cleanup / format / lint 2023-01-27 20:36:40 +01:00
Thomas Ricouard 418e9545ba Completely clear duplicated push notifications issue 2023-01-27 16:51:29 +01:00
Thomas Ricouard de4346c47e Add push notification settings in profile context menu 2023-01-27 12:18:17 +01:00
Thomas Ricouard 92c1f40535 Add 3 new icons 2023-01-27 07:54:59 +01:00
Thomas Ricouard cf4c43f81e Add missing localizations 2023-01-27 07:47:52 +01:00
Thomas Ricouard 4a5b0eb2e6 Fix deleting push sub on logout close #417 2023-01-27 07:47:43 +01:00
Paul Traylor 642cca4002
Add link to system settings (#404)
* Add link to system settings

* Add to Localizable.strings

* Add .tint(.black) so that it matches NavigationLink
2023-01-27 06:53:05 +01:00