rr-
0df3ceb439
client/build: work around uglifyjs bug #1308
...
https://github.com/mishoo/UglifyJS2/issues/1308
2016-09-29 11:16:18 +02:00
rr-
119c2449cd
client/tags: fix tagging with aliases
...
Fixes #93
2016-09-18 10:50:13 +02:00
rr-
5eb130b02a
client/tags: blind fix for tags.json race
...
I don't want to make the UI wait for tags.json to load, I'd rather not
color categories on some pages instead.
2016-09-16 21:34:38 +02:00
rr-
988664117a
client/posts: don't show notes on flash posts
2016-08-31 22:20:21 +02:00
rr-
4bfdd4c5cb
client/notes: don't steal arrow keys in textarea
2016-08-28 23:40:28 +02:00
rr-
22342a29ad
client/file-dropper: fix URL validation
2016-08-27 23:45:07 +02:00
rr-
9dc438c391
client/expanders: fix setting empty expander title
2016-08-27 22:19:01 +02:00
rr-
63ec28ddb3
client/posts: don't show notes on videos
2016-08-27 22:19:01 +02:00
rr-
f63d024777
client/css: improve comment edit form background
...
If text area was bigger than the post, switching to preview mode
showed gray space under the text. Now the preview pane's background
should fill the whole edit box size.
2016-08-27 22:19:01 +02:00
rr-
c64453a15c
client/tag-input: scroll suggestions up on refresh
2016-08-24 10:58:58 +02:00
rr-
2ef63fcc7a
client/tag-input: move removal links to left
2016-08-24 00:47:15 +02:00
rr-
7f4a2c1ceb
client/posts: show tag/note counters in expanders
2016-08-23 23:19:40 +02:00
rr-
f9754edcce
client/general: fix autocomplete control
...
Regression from d5e197e
.
2016-08-23 23:14:21 +02:00
rr-
e90b8972c7
client/auth: fix being able to rate/fav things
2016-08-23 23:12:29 +02:00
rr-
d8d4654849
client/events: adjust event names
...
1. "change" should be used to passive changes.
2. "submit" should be used to form submits.
These are not interchangeable.
2016-08-22 21:36:45 +02:00
rr-
d5e197e6ea
client/general: add empty href for link buttons
...
In e464e69
I removed href='#' but I noticed that it broke some things.
Readding href serves two purposes:
- it makes links reachable with Tab key
- it makes links clickable with Enter key
The alternative to this approach was to introduce [tabindex] and [role]
attributes. But not only using tabindex=0 with <a/> is questionable,
it'd require adding a keyboard handler that'd intercept space and return
key presses and simulated link clicks. Since it's best to leave this
kind of thing to the native UI, I went with readding hrefs instead. I
believe that hash hrefs, even though being a common practice, are silly,
so I decided to settle down with empty hrefs.
As a bonus, I added a snippet that prevents middle mouse clicks from
opening such links/buttons in new tabs, which was the motivation for
e464e69
.
2016-08-22 01:40:30 +02:00
rr-
c7f36c893f
client/expanders: extract HTML
2016-08-22 01:40:30 +02:00
rr-
0a326972c3
client/tag-input: add 'add' button
2016-08-22 00:54:11 +02:00
rr-
d0c0652720
client/tag-input: extract HTML template
2016-08-22 00:54:11 +02:00
rr-
03b5e933bf
client/file-dropper: add URL support
2016-08-20 22:47:45 +02:00
rr-
ecd50f5c88
client/file-dropper: refactor to use events
2016-08-20 22:47:45 +02:00
rr-
8feac2950b
client/file-dropper: fix selecting multiple files
2016-08-20 22:47:45 +02:00
rr-
70a65cc0a3
client/notes: fix saving post breaking selection
...
The problem was with dangling references - the saved post has been
replacing the note collection with entirely new class instances, whereas
the notes control clung onto old references. Now the control detects
such reloads and acts accordingly.
2016-08-05 23:04:29 +02:00
rr-
8e9ddf796f
client/notes: add exit prompt for polygon changes
2016-08-05 23:04:29 +02:00
rr-
3235d70b1b
client/notes: make content appear at centroids
...
Previously it used the centroid of polygon's bounding box, not the
polygon's centroid.
2016-08-05 23:04:21 +02:00
rr-
b7149ba7d6
client/notes: make keyboard scaling use centroids
...
Previously it used first polygon point.
2016-08-05 23:04:11 +02:00
rr-
9013f15c1a
client/notes: add scaling notes with shift key
2016-08-05 23:03:43 +02:00
rr-
d5a00fe4b9
client/posts: add note editing
2016-08-05 23:02:41 +02:00
rr-
7f53abb498
client/tags: remove unused cruft
2016-08-04 00:30:24 +02:00
rr-
0c64d1fe1c
client/posts: add post deleting
2016-08-02 12:27:01 +02:00
rr-
179cf57cb9
client/posts: add post featuring
2016-08-02 12:27:01 +02:00
rr-
51ea06d837
client/posts: add expanders to edit sidebar
2016-08-02 12:27:01 +02:00
rr-
b9f2db1c63
client/tags: add toggle suggestions opacity
2016-08-01 21:50:00 +02:00
rr-
3176709288
client/posts: clear messages before submit
...
Saving the post twice resulted in two 'Post saved!' messages.
2016-07-31 23:55:22 +02:00
rr-
9ee973ce1c
client/posts: add custom thumbnail discarding
2016-07-31 23:54:29 +02:00
rr-
673bb52d4a
client/tags: add ability to turn off suggestions
2016-07-31 23:07:01 +02:00
rr-
97b217dc31
client/tags: add [delete] key support in tag input
2016-07-31 22:35:09 +02:00
rr-
6e3462187d
client/tags: disable relations for pasted tags
2016-07-30 23:12:31 +02:00
rr-
e464e69b36
client/general: remove faux href='#' from links
2016-07-30 23:12:31 +02:00
rr-
29bc41f5da
client/tags: don't mark duplicated implications
2016-07-30 23:12:31 +02:00
rr-
245ce258a9
client/tags: improve copying tag list
...
- Don't copy tag count
- Don't copy × button
- Copy spaces between tags
2016-07-30 23:12:08 +02:00
rr-
72072db078
client/tags: show tag suggestions in tag input
2016-07-30 23:10:58 +02:00
rr-
4b75aab816
client/posts: implement exit confirmation
2016-07-30 23:10:58 +02:00
rr-
193e34aff8
client/posts: improve form behavior when saving
...
- Disable and enable the form
- Notify about success in the sidebar
- Notify about errors in the sidebar rather than using a native alert
2016-07-30 23:10:58 +02:00
rr-
dbf44ed58f
client/tags: mark used tags in autocomplete
2016-07-30 23:10:58 +02:00
rr-
81afd383fa
client/tags: fade out tag colors after 2.5s
2016-07-30 23:10:58 +02:00
rr-
af455b901f
client/tags: make implications yellow
2016-07-30 23:10:58 +02:00
rr-
e4954140f8
client/tags: rewrite tag input
...
Suggestions will be reimplemented in separate commit
2016-07-30 23:10:38 +02:00
rr-
ef4806e142
client/posts: display edit link for tagless posts
2016-07-28 23:10:41 +02:00
rr-
1ed7ad4173
client/posts: add simple thumbnail editing
2016-07-28 23:10:40 +02:00