Commit Graph

38 Commits

Author SHA1 Message Date
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