1
0
Fork 0
Commit Graph

122 Commits

Author SHA1 Message Date
Nicolas Perriault 6f09a341e4
Move NSFW button to the draft action bar. 2017-05-18 23:23:44 +02:00
Nicolas Perriault 310fc2705e
Reduce draft status textarea size and shape. 2017-05-18 17:32:19 +02:00
Nicolas Perriault f8763f5cae
Ensure wmin width & height for medias. 2017-05-18 15:35:16 +02:00
Nicolas Perriault 89c5a62074
Reduce column margins, fix body scroll issue. 2017-05-18 15:31:59 +02:00
Nicolas Perriault 037d62114f
Use local bootstrap assets.
Tooty should try harder to not rely on external http dependencies,
this is a first step.
2017-05-18 10:37:55 +02:00
Thomas Parisot 5b83a55462 Remove body overflow (#173)
It enables vertical scrolling on mobile.
2017-05-18 09:18:40 +02:00
Nicolas Perriault d5f69c18fd
Fix #157: Make draft column scrollable on overflow. 2017-05-14 12:53:13 +02:00
Nicolas Perriault 60ba13158d
Reduce column and status entry padding. 2017-05-14 12:00:27 +02:00
Nicolas Perriault 7ace73ed83
Fix minor styling issue with column menus. 2017-05-14 11:30:38 +02:00
Nicolas Perriault 4d8757ad7c
Fix #168: List user favorites.
- Favorite timeline model and commands.
- 4th column navigation bar.
- Use of SetView for account selector.
- Move timeline views to their own view module.
- Handle favorite timeline updates.
- Integrate contextual menu in account selector view.
2017-05-13 22:16:57 +02:00
Nicolas Perriault 8e187efc10
Improve modalconfirm window placement. 2017-05-13 15:42:24 +02:00
Nicolas Perriault 9753efe7e8
Fix #27: Render universal emojis. 2017-05-13 11:21:29 +02:00
Nicolas Perriault d47a5ad7cc
Center confirm windows. 2017-05-13 10:27:32 +02:00
Nicolas Perriault 92b9e53b8f
Add a logout button. 2017-05-12 22:03:52 +02:00
Nicolas Perriault 3c7584306f
Fix long links may break a column. 2017-05-12 12:42:18 +02:00
Vincent Jousse 7f6bfce7ba Fix input file (attachment) styling for Firefox (#162)
The trick is to hide the input field and style the label instead.
2017-05-12 11:41:53 +02:00
Nicolas Perriault 2f856a8bc3
Inform about media uploading status. 2017-05-11 12:23:10 +02:00
Nicolas Perriault f25f560f8f
Improve media upload button styles. 2017-05-11 12:13:56 +02:00
Nicolas Perriault b7001eb8da Fix #78: Handle media upload. (#156) 2017-05-11 10:55:15 +02:00
Nicolas Perriault 7a053b9fa0 Fix #152: Multiple accounts. (#153)
* Update model to store multiple clients.

* Delete tmp registration data after client creation.

* Add minimal account selector view

* Update clients so they can have an account attached.

* List clients in the account selector.

* List accounts in the account selector view.

* It works™.

* Minor CSS fix.

* Reset server value when switching account.

* Fix empty black screen on reauth with new client format.

* Fix typo.

[skip-ci]
2017-05-09 18:43:12 +02:00
Nicolas Perriault 51a802f096
Updated favicon with somthing better. 2017-05-08 14:34:00 +02:00
Frank Taillandier f90f41571b change color on hover on action buttons (#148) 2017-05-07 19:41:29 +02:00
Nicolas Perriault c318be3aa2
Improve status action buttons styling. 2017-05-07 14:48:37 +02:00
Nicolas Perriault 8832b3156f Closes #132: Split model update functions to their own modules. (#147) 2017-05-07 14:31:51 +02:00
Nicolas Perriault 6746b21725 Fix #141: Hide error notifications after a delay. (#146) 2017-05-07 10:01:11 +02:00
Nicolas Perriault 68fc8e5bfd
Prevent thread view jiggling when scrolling to target toot. 2017-05-06 10:36:17 +02:00
Nicolas Perriault 28ec437644
Fix #87: Add a badge when an account follows you. 2017-05-06 00:06:32 +02:00
Nicolas Perriault fcfa767b91 Fix #29: Allow clearing notifications. (#137) 2017-05-05 23:36:16 +02:00
Nicolas Perriault 072991520c Fix #133: Show status visibility. (#135)
Also revisits the way we expose visibility choices (and their hierarchy) in the draft form.
2017-05-05 19:18:20 +02:00
Nicolas Perriault f542bcfc3b
Fix #130: Hide background buttons in the viewer. 2017-05-04 11:24:53 +02:00
Vincent Jousse 9b8293554f Add scrollIntoView port (#129)
* Add scrollIntoView port

* Fix js formatting

* @n1k0's review
2017-05-04 08:31:58 +02:00
Vincent Jousse 5a32881afd Fix global timeline display option #109 2017-05-03 20:53:12 +02:00
Nicolas Perriault 1403ee12fe
Fix broken visibility selector styles. 2017-05-03 17:24:31 +02:00
Nicolas Perriault e9ce22571f
Reduce char counter area size. 2017-05-03 17:20:03 +02:00
Nicolas Perriault cfb056d871
Fix erroneously linkable char count. 2017-05-03 17:11:41 +02:00
Vincent Jousse 69f0cfdc54 Closes #44: Autocomplete usernames. (#107)
* Get @mention in model

* Add autocomplete logic

* Get accounts to autocomplete from the server

* Add autocomplete css

* Check if we should show menu on account search

* Add keyboard events

* Update status with completed username

* Trigger autocomplete when getting accounts back

* Highlight choices on hover

* Put focus on textarea after updating it

* Fix clear draft

* Hit the server only on non empty query

* Lazzzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

* Add missing lazy

* Add keyboard subscriptions

* Add images and display name

* Better menu visibility handling

* Add lazy to notifications

* Js formatting.

* Improve styles.

* Add unique keys to costly lists.

* Fix tests.

* Coding style nits.

* Use the encodeUrl helper in ApiUrl.

* Nanonit.

* Improve autocomplete box styling.

* CamelCase draft record

* Move all autocomplete stuff to Draft

* Send status to ports with the reply prefix.

* Clear draft after posting a status.

* Move ports setStatus call to a dedicated Command helper.

* Naming.

* Fix navigation with arrow keys in textarea

* Always autoselect the first item of the menu
2017-05-01 22:10:34 +02:00
Nicolas Perriault 02425bdad4
Slightly better favicon. 2017-04-30 13:16:57 +02:00
Nicolas Perriault a59d0f4438
Add favicon. 2017-04-30 12:56:19 +02:00
Nicolas Perriault 45b6ad6d5e
Fix styles. 2017-04-30 12:33:27 +02:00
Nicolas Perriault 5da0c77551
it works™. 2017-04-30 12:15:33 +02:00
Nicolas Perriault dbb32037b7
Initial view and styling. 2017-04-30 11:40:32 +02:00
Nicolas Perriault b341f31b50
Adapt stylings. 2017-04-30 11:20:57 +02:00
Nicolas Perriault 059b2726e6 Fix #49: Denote account relationships, follow & unfollow actions. (#105)
* Check relationships.
* Follow & unfollow actions.
* Don't display follow button to ourselves.
* Profile view follow button.
* Added follow/unfollow button to viewed account profile.
2017-04-29 22:48:55 +02:00
Nicolas Perriault 57f7f0cc7c Fix #81: Account followers and followings (#104) 2017-04-29 18:05:06 +02:00
Nicolas Perriault 44f8caa1ea Fix #97: Allow deleting a toot. (#102) 2017-04-29 09:20:26 +02:00
Nicolas Perriault cfe0937a01
Fix wrong scrolling behavior for account timeline. 2017-04-28 19:35:14 +02:00
Nicolas Perriault 29b053b130
Fix #91: Reduce draft reply-to content size. 2017-04-28 15:12:21 +02:00
Nicolas Perriault 56932df177 Fix #85 : Add a link to column headings for scrolling to top. (#88)
gg @nicosomb
2017-04-28 14:06:00 +02:00
Nicolas Perriault cd50e6a59a
Increase scrollbars width. 2017-04-28 11:43:52 +02:00
Nicolas Perriault fc08b5c6a9 Exclude current user from draft reply mentions. (#86)
* Exclude current user from draft reply mentions.
* @nicosomb review.
2017-04-28 11:21:54 +02:00
Nicolas Perriault 50f74848e8
Open thread on status text click. 2017-04-28 09:19:55 +02:00
Nicolas Perriault 03bbda899c Scrollable timelines. (#75) 2017-04-27 19:40:45 +02:00
Nicolas Perriault 0ad2b59c32 Fix #65: Add a thread view. (#73)
* Add Mastodon.Http.context.
* Added thread events.
* Fix a few server endpoint urls.
* Added thread views.
2017-04-27 18:39:14 +02:00
Nicolas Lœuillet f983e00387 Fixed ellipsis and loong URL (finally) (#71) 2017-04-27 12:31:22 +02:00
Nicolas Lœuillet e0d22ba0b6 Fixed hashtags displayed as a block (#56) 2017-04-25 16:48:45 +02:00
Nicolas Lœuillet 09b52a2c7f Added date for each toot (#50) 2017-04-25 12:15:45 +02:00
Nicolas Lœuillet e77af2f6df
Added ellipsis for looong hashtags 2017-04-25 11:30:34 +02:00
Nicolas Perriault b5fa55f49d Fix #45: Add a media viewer. (#46) 2017-04-24 21:21:43 +02:00
Nicolas Perriault bbc3efeec8 Better follow notifications. (#38)
- improve the follow notification layout and displayed information of followers
- fixes an issue with them not being actually aggregated
- fixes a bug where reblog action button was highlighted when it was actually a fave
2017-04-24 11:46:14 +02:00
Nicolas Perriault 7f921591d2
Improve CW reveal styles. 2017-04-23 22:17:44 +02:00
Nicolas Perriault 6b75c90ef6 Aggregate notifications. (#37) 2017-04-23 21:49:04 +02:00
Nicolas Perriault e6ba007f18
Gain real estate with large notifications. 2017-04-23 14:39:11 +02:00
Nicolas Perriault 225a95a637 WiP: Add status action buttons. (#32)
* Add status action buttons.
* Handle favorite actions.
* Handle reblog actions.
* Optimistic updates for reblogs.
2017-04-23 10:18:47 +02:00
Nicolas Perriault 82ada5ede8
Add a button to close the account view. 2017-04-22 17:03:35 +02:00
Nicolas Perriault d8f5270128
Remove main page heading. 2017-04-22 16:43:45 +02:00
Nicolas Perriault 440806fa80 Fix #23: Render user mentions in the second column. (#31)
* Render user mentions in the second column.
* Add a timeline type toggler.
2017-04-22 16:39:19 +02:00
Nicolas Perriault 3a487d6e02 Render image attachments in statuses. (#24)
* Render image attachments in statuses.
* Add a doorhanger to NSFW images. Sorry Japan.
2017-04-22 13:50:02 +02:00
Vincent Jousse 201c6f48ce WIP: Display user account (#13)
* Display user account information in console

* Review's modifications

* Load user on mention click

* Display account information

* Reviews

* Undo messy refactoring

* Remove unused function
2017-04-22 10:16:14 +02:00
Nicolas Perriault 0a9abd449c Close #20: Render spoilers appropriately. (#21) 2017-04-21 14:07:55 +02:00
Nicolas Perriault 5e6bc42642 Improve timeline styles. (#17)
* Improve timeline styles.
* Add icons to column headings.
* Address a few typography issues.
* Handle long links.
* Linewrap attachment links.
2017-04-21 10:41:46 +02:00
Nicolas Perriault 347806877b
Fix deploy system. 2017-04-20 21:01:47 +02:00
Vincent Jousse 556fab7daa Put Elm files into src/ and assets into public/ (#4) 2017-04-20 14:38:52 +02:00