Commit Graph

105 Commits

Author SHA1 Message Date
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
Nicolas Perriault
b035879b0a Improve visibility selector. (#126) 2017-05-03 17:10:03 +02:00
Nicolas Lœuillet
ab5e7bfbaf Added link to external profile in account view (#125)
* Added link to external profile in account view

* Used helpers

* Added boolean parameter for accountLink / accountAvatarLink
2017-05-03 15:08:10 +02:00
Nicolas Perriault
3b67a20909 Reflect status events in thread view. (#123) 2017-05-03 11:47:42 +02:00
Nicolas Perriault
edf64977f2
Fix #124: Reload page after successful OAuth registration. 2017-05-03 09:19:36 +02:00
Nicolas Perriault
474c400f09
Fix double slash added to many endpoints. 2017-05-03 09:11:52 +02:00
Nicolas Perriault
89089b0ccf Fix #121: Refactor Mastodon.Http (#122)
* Drop use of Server args in ApiUrl.
* Generalize use of fetch to other Http functions.
* Leverage HttpBuilder.withQueryParams where applicable.
* Distinguish between request and authRequest.
2017-05-03 08:52:39 +02:00
Nicolas Perriault
e673edb871
Fix non-working non-breakable space replacements. 2017-05-03 08:25:47 +02:00
Nicolas Perriault
dc5ad2e670
leverage HttpBuilder.withQueryParams where applicable. 2017-05-02 22:31:15 +02:00
Nicolas Perriault
ce27e30297
Generalize use of fetch to other Http functions. 2017-05-02 22:26:13 +02:00
Nicolas Perriault
44843e0ccd
Drop use of Server args in ApiUrl. 2017-05-02 22:05:46 +02:00
Nicolas Perriault
1ad5dac7a1
Fix #108, fix #100, fix #98: Reflect status event in all timelines. 2017-05-02 19:46:02 +02:00
Nicolas Perriault
d130d684c9
Closes #110: Update notification filter buttons styling. 2017-05-02 17:36:10 +02:00
Nicolas Perriault
007179ba66
Fix #120: Open thread when clicking on a CW spoiler text. 2017-05-02 14:55:59 +02:00
Nicolas Perriault
f064c5d8d6 Fix #118: Render a draft char counter. (#119) 2017-05-02 12:26:17 +02:00
Nicolas Perriault
bf09b87215 Modularize views (#117)
* Part 1: Refactor views.

I'm in the middle of nowhere. It's cold, but I distinguish
lights.

It's dark, but my good ol' Elm keeps barking when something
looks wrong or dangerous.

I'm not afraid.

* Part 2: More views refactoring.

The night is deep, but I can see clear. The truth is
at the end of this path.

Perhaps.

* Part 3: The sun is rising.

The darkness is gently fading over, dawn is near. I can
now see mountains drawing in the horizon.

Elm is rather quiet, but keeps scrutating the shadows.

* Part 4: Moaar view splitting.

I follow some wrong path, but I'm back on track.

The sun is shining.

* Epilogue

That was actually fun.
2017-05-02 08:27:01 +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
Vincent Jousse
621427d124 Add warn flags to start and debug 2017-04-30 15:05:44 +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
3530f3c79d
NotificationFilter type. 2017-04-30 11:46:51 +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
8bb9adb307
Add more scroll events when navigating timelines. 2017-04-30 11:08:30 +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
017f07d45d Improve reply prefix computation. (#103) 2017-04-29 11:57:26 +02:00
Nicolas Perriault
44f8caa1ea Fix #97: Allow deleting a toot. (#102) 2017-04-29 09:20:26 +02:00
Nicolas Perriault
d32f12bf20 Slice timelines to 100 entries max. (#90) 2017-04-28 20:09:19 +02:00
Nicolas Perriault
cfe0937a01
Fix wrong scrolling behavior for account timeline. 2017-04-28 19:35:14 +02:00
Nicolas Perriault
3ea6aaade2 Dedupe multiple account references in notifs. (#101) 2017-04-28 19:08:46 +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
558f0295a5
Prevent opening thread view when clicking on ext. links. 2017-04-28 09:41:11 +02:00
Nicolas Perriault
9668e63f34
Open account when clicking on a follower's bio. 2017-04-28 09:24:14 +02:00
Nicolas Perriault
50f74848e8
Open thread on status text click. 2017-04-28 09:19:55 +02:00
Nicolas Perriault
5fbfe8e7cb
Fix #80: Include all mentions in draft replies. 2017-04-28 09:03:50 +02:00
Nicolas Perriault
75aa841ceb Fix #26: Load account timeline. (#77) 2017-04-27 22:01:51 +02:00
Nicolas Perriault
e77dca0692
Fix #76: Update current view when using timeline option. 2017-04-27 19:48:35 +02:00
Nicolas Perriault
1596085617
Fix duplicate account column view heading. 2017-04-27 19:44:19 +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 Perriault
f5b41aa155 Modularize the Mastodon package. (#70) 2017-04-27 16:34:27 +02:00
Nicolas Lœuillet
f983e00387 Fixed ellipsis and loong URL (finally) (#71) 2017-04-27 12:31:22 +02:00
Nicolas Perriault
2de53bd103 Handle WebSocket "delete" events. (#69)
* Handle WS delete events.
* Factor ws msg handlers to their own updater.
2017-04-27 08:11:24 +02:00