Commit graph

50 commits

Author SHA1 Message Date
Konrad Pozniak
89f93eab85
Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Konrad Pozniak
27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
Conny Duck
54d45585e6 improve spoiler warning button & detailed status text size 2018-04-09 16:44:57 +02:00
Levi Bard
043ac58254 improve content warning button
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle

* Move the content warning toggle button to its own line and give it a little more space

* Move content warning elements into parent layout, remove now-superfluous FlowLayout

* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+

* Update minimum width for content warning toggle button
2018-03-15 19:15:12 +01:00
Conny Duck
c766a203bf fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
Konrad Pozniak
4743c85d82 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck
c20ee1d593 make content warning button smaller 2017-12-01 22:15:26 +01:00
Conny Duck
bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Konrad Pozniak
41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
Conny Duck
7d7aeadd41 improve content warning background 2017-10-18 11:08:49 +02:00
torrentcome
87de285fe8 (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Vavassor
67f3ce6e4e Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21. 2017-08-11 16:34:43 -04:00
Vavassor
df07ab2600 Adjusts background colours and button colours on the dark theme. Also, adds a background to the main status in a thread. 2017-08-03 19:13:26 -04:00
Vavassor
309c89eefc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor
8559a6d75c Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Ivan Kupalov
240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Vavassor
fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Ivan Kupalov
90c1a83ba4 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor
b77d9934ab Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Vavassor
e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor
3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor
7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -04:00
Vavassor
3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
torrentcome
0a6a2e44c2 (view) create package view 2017-05-15 12:07:01 +02:00
Vavassor
aa2394748c Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00
Vavassor
3bf84f9b7d Cleaned up content descriptions and added the last missing ones. Closes #122 2017-04-12 21:54:37 -04:00
Vavassor
ea7f666062 Enlarged the touch areas of status action buttons slightly. 2017-04-12 16:17:29 -04:00
Vavassor
2e45a0bbff Adds missing content descriptions and fixes a bit of the follow button hiding code. 2017-04-12 04:32:05 -04:00
Vavassor
f6a165a50a Adds content descriptions and hints to non-textual elements so they can be described by screen readers. 2017-04-12 00:21:52 -04:00
Vavassor
1f798902b7 Spruces up the light theme.
Also, fixes a bug where the show more/less button for content warnings is sometimes already checked.
2017-03-29 00:22:14 -04:00
Eugen Rochko
60cef27c86 Rounded corners on avatars in statuses 2017-03-13 16:19:34 +01:00
Vavassor
e46731454d Fixes icons on statuses and notifications not being the right colour on the light theme.
Maybe could be a more elegant solution than drawable duplication but for now fine.
2017-03-07 23:52:17 -05:00
Vavassor
7519ad5455 Merge branch 'Gargron-master' 2017-03-07 22:35:02 -05:00
Vavassor
1ddb17f8d3 Fixes media attachments in the composer being un-removable, and long usernames overlapping time stamps in statuses.
Also added the MIT license notice to the EmojiOne code to comply with its usage terms.
2017-03-07 20:44:51 -05:00
Eugen Rochko
1db90db642 Spark animations for boost/favourite buttons 2017-03-07 22:23:17 +01:00
Eugen Rochko
d9f0b3c99e Attachment previews also use Picasso to load, fix their layout
Fix NSFW overlay
2017-03-07 11:59:54 +01:00
Eugen Rochko
b5c4339894 Switch dark color scheme to official Mastodon colors
Switch status icons to Material ones
Fix layouts on statuses
2017-03-07 01:31:05 +01:00
Vavassor
c4114b6be2 The block list is now its own functional piece, instead of just being a copy of the following/follows lists on account profiles. 2017-02-21 21:12:49 -05:00
Vavassor
0439fabd79 Fixed a crash under API level 21 on the main timeline due to trying to tint the status buttons with selectors. 2017-02-17 23:10:46 -05:00
Vavassor
96a5692717 Dark and light themes now exist and can be switched in preferences. 2017-02-16 13:52:55 -05:00
Vavassor
22a2a31afe Changed visual theme to a dark style. Also, set up things for a future switchable light/dark theme. 2017-02-13 00:18:17 -05:00
Vavassor
887e68700a Made wrapping behaviour of long names and long content warnings better on timelines. 2017-02-01 17:01:34 -05:00
Vavassor
2b6bc8a5c7 Content warnings now show/hide on all timelines. 2017-01-31 18:42:05 -05:00
Vavassor
60d68b0ae6 Partial account profile pages now in. Follows/Followers tabs are empty and block/follow does nothing yet. 2017-01-27 22:33:43 -05:00
Vavassor
b00a3cf443 Adds a toot thread viewing mode. Also, many files were missing and didn't push so the previous commits may have been very wrong? 2017-01-23 00:19:30 -05:00
Vavassor
6b684bceff Attaching media to toots is now possible. Images over the upload limit are automatically downsized, videos are not. 2017-01-16 13:15:42 -05:00
Vavassor
bab33a0715 sensitive media previews are now hidden and shown with a click 2017-01-10 15:41:50 -05:00
Vavassor
e551de7521 added media previews to timeline and media viewers 2017-01-10 01:14:27 -05:00
Vavassor
370b1e52aa added a basic compose screen, and the 3 main timelines in a tabbed layout 2017-01-07 17:24:02 -05:00
Vavassor
bba1b37fd8 initial commit 2017-01-02 18:30:27 -05:00