Commit Graph

440 Commits

Author SHA1 Message Date
adbenitez f9885fbcad hidde "chats in common" header when no chats in common 2025-07-07 17:30:45 +02:00
bjoern 4663299951 re-focus profile (#3792)
* duplicate ProfileActivity to AllMediaActivity

* update CHANGELOG

* remove profile stuff from AllMediaActivity

* remove media stuff from ProfileActivity

* remove TabLayout from ProfileActivity

* decouple header from viewType

* easier name editing

* add link to 'apps & media'

* move bio up

* move 'send message' up

* prepare avatar/title/subtitle

* set title

* set subtitle to member count

* add address to profile

* rename ProfileSettings* to just Profile*

* set avatar

* use avatar view

* adaptive avatar cell height

* no endless growing of online-indicator

* simplify

* handle tap on avatars

* rename Profile* to AllMedia*

* set title accordingly

* move 'last seen' up

* edit name by tapping

* Revert "edit name by tapping"

This reverts commit 6727b168302fbe50cbde803fbc83692965d3df59.

Reason is that it introduces uncertainity what happens if the name is tapped -
we do not want to nudge ppl to edit the group name in a similar way.

we may revert this revert,
but for now, let's see if the icon atop isn't sufficient.

* add media count

* space below avatar

* refactor allmedia viewtypes

* select the first tab that has content

* format footer

* remove unused headers

* space above header

* add dividers

* tweak some spacings

* tap on avatar only for enlarge/set avatar

* immediate view of first tap

* tweak value display

* add icons to buttons

* tweak paddings

* no address for self-talk and device-chat

* use signature background for less cluttered UI

* avoid global state modification and showing eg. app-icon tinted also elsewhere

* tweak sizes

* move introduced-by/server down. these information become less important the more chats you have with the contact - and otherwise just clutter UI

* update CHANGELOG

* typo

* use more normal font and spacing for footer

* open "media" deterministically

remove the smart forwarding to "tab with content",
which results in unclear behaviour.

also, we want to push for apps,
which is also the thing that really changes.
when searching for an image, another tap is fine.
2025-07-05 11:16:30 +02:00
adbenitez 005cf835a1 allow to react with same emoji as others 2025-06-10 16:28:56 +02:00
adb bd40f4eb04 Merge branch 'main' into adb/webxdc-tts 2025-05-26 15:38:26 +00:00
adbenitez cfdfab1716 check if lang is empty 2025-05-26 17:37:06 +02:00
adbenitez 7186afa321 add Web API's TTS support to webxdc 2025-05-26 17:31:47 +02:00
B. Petersen e6655fa21d point out that app drafts need to be sent
we got some feedback,
that ppl were wondering if others can use an app
once drafted and opend.

the old title "Tap to open" might even underline that impression.

this PR changes the title to "Tap 'Send' to share"
(we need to be super-short here, "Tap 'Send' to let others use the app" is already too much :)

the sending out of apps is the much more important step than to open,
play a game and then wondering ...
ppl will figure out the latter themselves,
wondering if one can configure eg. a poll before sending -
and if not, then it's that.
2025-05-24 13:24:53 +02:00
adbenitez 47350b1809 show action button to see the list of apps sent in chat 2025-05-23 14:26:34 +02:00
B. Petersen 04ed9e27c1 remove ambigious time from app list
it is unclear, which time this is - time of adding or time of last update?
it is the prior, however,
both are not important enough to clutter the list,
also desktop/ios do not show them.

i assume, the time display was just kept when adapting from files view.

by making the apps easier accessible,
(cmp https://github.com/deltachat/deltachat-ios/pull/2721 )
we really only want an uncluttered list.
2025-05-23 13:43:35 +02:00
B. Petersen 93c52ec527 remove redundant 'App' subtitle in 'Apps' list 2025-05-23 13:43:35 +02:00
adbenitez f6750a1583 add "Donate" button to main settings 2025-05-05 19:11:21 +02:00
Hocuri 501a77e1dc refactor: Rename addTransport -> addOrUpdateTransport() (#3754)
The API was renamed in https://github.com/chatmail/core/pull/6800 (i.e. core v1.159.2)
2025-04-30 14:03:50 +02:00
B. Petersen d6f485511c fix selfName if displayname is not set
classic onboarding allows not setting a displayname on purpose,
however, that results in broken webxdc layouts
as the name is then replaced by a 40-or-so-chars-hash-without-spaces.

one can argue, that apps should handle that gracefully,
but most do not and just look buggy.

it seems reasonable,
to use the email address in that case,
same as we do at other places if the name is unknwon.
(tbh, i thought it was like that, but i mixed sth up in OS comparison).
this was also the situation before we changed selfAddr calculation, btw.
it is anyway a cornercase, webxdc cannot send the address somewhere
nor can correlate reasonably, and if the user sets a name, things are fine
(and more often than not we nudge user to set one :)
2025-04-26 17:29:55 +02:00
adb 848a86c718 Merge pull request #3745 from deltachat/adb/fix-warnings-in-profile
fix some linter warnings in classes related to profile
2025-04-23 14:05:43 +00:00
adb e759efc389 Merge pull request #3744 from deltachat/adb/fix-some-linter-warnings-22/4/25
fix some linter warnings
2025-04-22 22:11:40 +00:00
adbenitez 07f4a859f3 fix some linter warnings in classes related to profile 2025-04-22 23:22:57 +02:00
adbenitez 34eeec4a39 fix some linter warnings 2025-04-22 23:02:57 +02:00
adbenitez 7f1734b57c fix linter warnings in ConversationListItem 2025-04-22 22:53:47 +02:00
adb 60fa0c98df Merge branch 'main' into adb/issue-3575 2025-04-14 17:32:37 +00:00
bjoern bc73e1a2ba open contact in scope when tapping info messages (#3710)
* open contact in scope when tapping info messages

* update CHANGELOG

---------

Co-authored-by: adb <adb@merlinux.eu>
2025-04-12 00:22:24 +02:00
bjoern 389dddc9ea remove address from primary settings UI (#3730)
* remove address from primary settings UI

showing the address here prominently results in bad UX
as ppl try to pass the address around,
which will not result in e2ee and will often not work.

see https://github.com/deltachat/deltachat-ios/pull/2664
for more resoning and discussion, eg. why remove it unconditionally

* show status

* update changelog

---------

Co-authored-by: adb <adb@merlinux.eu>
Co-authored-by: adbenitez <asieldbenitez@gmail.com>
2025-04-11 18:15:36 +02:00
adbenitez fb3d95264a Merge branch 'adb/issue-3701' of https://github.com/deltachat/deltachat-android into adb/issue-3701 2025-04-11 16:33:04 +02:00
adbenitez 92e67bd80a remove unused import 2025-04-11 16:32:53 +02:00
adb 1518bab671 Merge branch 'main' into adb/issue-3701 2025-04-11 14:32:06 +00:00
adb 632da643af Merge pull request #3724 from deltachat/adb/issue-3721
avoid NPE in UriGlideRenderer
2025-04-11 14:31:01 +00:00
adb 7353873281 Merge pull request #3725 from deltachat/adb/issue-3717
avoid SecurityException in NotificationsPreferenceFragment
2025-04-11 14:30:18 +00:00
adb f9ac0375b9 Update src/main/java/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java
Co-authored-by: bjoern <r10s@b44t.com>
2025-04-11 14:29:14 +00:00
adbenitez 3c0e4fd853 don't display last-seen etc. just hide address 2025-04-11 16:22:29 +02:00
adb 31c9de1f03 Merge pull request #3723 from deltachat/adb/issue-3719
catch IllegalArgumentException in InstantOnboardingActivity.progressError()
2025-04-10 21:43:09 +00:00
adbenitez 4240c8b324 remove address from contact list and group member list 2025-04-10 22:09:41 +02:00
B. Petersen 9106f12b77 remove now unused stock translations 2025-04-08 00:10:17 +02:00
adbenitez 43941f9075 avoid SecurityException in NotificationsPreferenceFragment 2025-04-06 18:20:51 +02:00
adbenitez 765e2b490e avoid NPE in UriGlideRenderer 2025-04-06 16:12:49 +02:00
adbenitez cfae361b88 catch IllegalArgumentException in InstantOnboardingActivity.progressError() 2025-04-06 16:03:55 +02:00
Hocuri 9daa2d77cd refactor: Remove dead 'configure' code (#3714)
* refactor: Remove dead configure code

* refactor: Remove unnecessary startIo() call; addTransport starts IO itself
2025-04-03 14:12:09 +02:00
Hocuri 05d2d0964f fix: Avoid NPE because of progressDialog (#3715) 2025-04-03 14:11:08 +02:00
Hocuri 10c4a105bb feat: Move to addTransport / addTransportFromQr API (#3676), remove AEAP message (#3698) 2025-04-02 18:14:49 +02:00
bjoern e2d7f2c3d3 prefer NAME over NAME (ADDR) (#3699)
* prefer NAME over NAME (ADDR)

this tunes the usage of email addresses further down,
in all cases, the profile should only be a tap away before or afterwards,
so, these mentionings were never really critical

* update CHANGELOG

* Update CHANGELOG.md

Co-authored-by: adb <adb@merlinux.eu>

---------

Co-authored-by: adb <adb@merlinux.eu>
2025-04-02 16:41:36 +02:00
bjoern 64e4816f5e add stock string needed when securejoin takes longer than expected (#3709)
* add stock string needed when securejoin takes longer than expected

* apply wording suggestions

* stroke 'as expected', this is not an error, we're offline first, it is fine and continues in bg
2025-04-02 12:35:19 +02:00
bjoern 1680d332f5 hide 'show classic email' for chatmail (#3708)
* hide 'show classic email' for chatmail

* update CHANGELOG
2025-04-01 16:42:48 +02:00
adbenitez c7bffb85fd avoid ANR in MessageSelectorFragment.handleDeleteMessages 2025-03-30 15:51:16 +02:00
adbenitez 3518f3d213 avoid ANR in MessageSelectorFragment.handleResendMessage 2025-03-30 15:42:49 +02:00
adbenitez b14b8eea9d use change_contact_name 2025-03-20 18:41:11 +01:00
adbenitez c1eff8362f use Rpc.createContact() to set contact's name 2025-03-20 17:38:57 +01:00
adbenitez 12807763d6 remove TODO comment 2025-03-19 13:03:18 +01:00
adbenitez fbf8637c97 don't use email address as contact unique identifier 2025-03-18 22:56:28 +01:00
adbenitez 3e21f9be4d avoid crash in orphan info messages from webxdc 2025-03-18 19:41:19 +01:00
B. Petersen ad1159c05c remove 'experimental, 1.36 required' hint from add-second-device 2025-03-17 13:51:46 +01:00
adb b33311b9fb Merge branch 'main' into adb/issue-3591 2025-03-15 17:50:30 +00:00
adbenitez 67baedc0dc force "paste as plain text" in composer 2025-03-14 00:20:56 +01:00