3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 12:29:26 +01:00
Commit Graph

190 Commits

Author SHA1 Message Date
Douglas Gardner
1a2595aaf2 increment size with image count
This commit adds functionality to the loading callout in the imgur
module.

The size of the font used in the loading callout now increases in a
linear fashion in proportion to the number of images viewed in a row.

The size starts at 12px, and will increase to 72px at image 2000, with
round figures at most "standard" font sizes.

This is largely an experiment to see what it looks like: it might not be
as nice looking now that the callout contains extra information (such as
the view count). It may be worth experimenting with just increasing the
count number and leaving the "a w with x views (y*z)" message at a
static size, or perhaps by editing the colour variant, or even the
position on the screen.

I really just wanted some feedback to make it a bit more interesting for
a heavy user that has reached high numbers of images.

Some figures:
 * 12px is reached after 0 images
 * 14px is reached after 66 images
 * 16px is reached after 133 images
 * 18px is reached after 200 images
 * 21px is reached after 300 images
 * 24px is reached after 400 images
 * 36px is reached after 800 images
 * 48px is reached after 1,200 images
 * 60px is reached after 1,600 images
 * 72px is reached after 2,000 images
 * 144px is reached after 4,400 images.
2013-04-16 17:22:09 +00:00
reality
3b5ef9f55e Show info about the imgur url on the random page 2013-04-16 16:42:57 +00:00
reality
37a37c97b9 img count 2013-04-15 21:55:50 +00:00
Daniel Evans
af1e357df4 Improved HCI 2013-04-15 02:50:50 +01:00
Thomas Menari
b7dad66a26 random imgur 2013-04-15 02:10:29 +01:00
Dan
8a9256c838 [rejected] 2013-04-09 16:45:11 +01:00
reality
cecfd781d6 Add provisional flashy module which doesnt work yet 2013-04-09 15:20:07 +00:00
reality
31cd3b5995 Given quotes its own error view to solve [#288] 2013-03-26 09:05:39 +00:00
Sam Nicholls
13e24bbdbb Testing rolling week [#216] 2013-01-27 23:37:35 +00:00
Sam Nicholls
3103e84ddb Fix slice for both sets of axis rules, idiot. 2013-01-26 18:59:57 +00:00
Sam Nicholls
e32553c23f Y-Axis Improvements [#216][Close #227] 2013-01-26 18:57:33 +00:00
Sam Nicholls
00f04a01a9 Fix Y-Ticks [#216] 2013-01-26 00:55:50 +00:00
Sam Nicholls
f34283a62d Basic Y-Labels and Ticks [#216] 2013-01-26 00:51:48 +00:00
Sam Nicholls
3db80f908f X-Labels [#216] 2013-01-25 21:39:13 +00:00
Sam Nicholls
97b27e4d78 Prevent profile breaking if no stats are returned [Fix #81] 2013-01-25 20:14:44 +00:00
Sam Nicholls
55c490f50f Return non-scaled value as title, idiot [#216] 2013-01-25 11:08:35 +00:00
Sam Nicholls
26a10513e0 d3.max domain [#216][Untested] 2013-01-25 11:05:40 +00:00
Thomas Menari
f03dfd9111 sort photos by primary 2013-01-25 00:30:09 +00:00
Thomas Menari
1c0e258c58 placeholder deserves img-polaroid too 2013-01-24 23:26:23 +00:00
Thomas Menari
8cd16c3296 prettier bio picture 2013-01-24 22:53:23 +00:00
Thomas Menari
6830ed73e1 Merge git://github.com/reality/depressionbot 2013-01-24 22:38:34 +00:00
Thomas Menari
114b0fd09c derp 2013-01-24 22:34:34 +00:00
Sam Nicholls
5796aed13e Back link to Connections 2013-01-24 22:30:52 +00:00
Sam Nicholls
1979ab15b0 Initial channel activity 'graph' [#167][#184] 2013-01-24 22:17:56 +00:00
Sam Nicholls
76ed899917 Moved back link on profile 2013-01-24 22:07:43 +00:00
Thomas Menari
9f72be10d1 hotlink masonry 2013-01-24 21:49:16 +00:00
Thomas Menari
3138bc8367 masonry 2013-01-24 21:46:42 +00:00
Thomas Menari
3c4974d5ef make more l33t 2013-01-24 19:39:28 +00:00
Thomas Menari
dbac28cad6 oops 2013-01-24 01:06:05 +00:00
Thomas Menari
278bc8b93c add initial yearbook feature 2013-01-24 01:02:50 +00:00
Sam Nicholls
f3771240a3 Basic Profiles [#184] 2013-01-23 19:13:10 +00:00
Sam Nicholls
098f19078d Return last seen string in tooltip 2013-01-23 18:00:27 +00:00
Sam Nicholls
612171d288 Preliminary Profiles [#183][#184][MADE BY @samstudio8 #185] 2013-01-22 20:44:45 +00:00
reality
dd9962d465 Fix [#173] by encoding # in uri and unescaping 2013-01-21 19:22:52 +00:00
Sam Nicholls
15eacfd446 User column sorts only multi-sorts by [Active,A-z] 2013-01-21 00:28:11 +00:00
Sam Nicholls
0343da92d5 Disable initial sort [#140][#161] 2013-01-20 23:25:00 +00:00
Sam Nicholls
b6c2c46f6a Fix for thousands seps [#140][#161] 2013-01-20 23:15:26 +00:00
Sam Nicholls
87841bd051 DataTables [#140][#161] 2013-01-20 23:07:33 +00:00
Sam Nicholls
078f3b943b Better users web 2013-01-15 20:44:15 +00:00
Sam Nicholls
44764cd2b3 Modified users web to call new stats API [Close #137] 2013-01-15 15:10:28 +00:00
Sam Nicholls
292b917527 Add stats to userlist [#117] 2013-01-11 22:39:32 +00:00
Sam Nicholls
c649439947 Improve online users UI [REQ Bootstrap] 2013-01-10 22:23:51 +00:00
reality
08f35f90f8 user pages now load again 2013-01-09 06:05:01 +00:00
reality
c28047efc1 Activity indicator [#111] 2013-01-09 05:53:45 +00:00
reality
5f563f6c26 show online status of known users in web + nick tracking fixes 2013-01-08 06:14:58 +00:00
Daniel Evans
046411f2c3 Update views/users/connections.jade 2013-01-04 21:43:40 +00:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
Daniel Evans
88d2abab58 Removed sass compiler usage from web.js, updated jade templates to use blocks 2012-12-24 04:06:04 +00:00
Luke Slater
8db0932c73 users not channels 2012-11-25 17:57:56 +00:00
Luke Slater
fc83487a5d Addition to the web interface to view currently connected users and interpolate some data. Little messy atm. 2012-11-25 17:56:30 +00:00
Daniel Evans
6c459c5b23 Slight web improvements
Cleaned up polls.jade
Added a link to the first interpolated quotes.
2012-06-17 01:16:58 +01:00
Daniel Evans
f7851f1ddb More links 2012-06-15 19:04:10 +01:00
Daniel Evans
befc20e713 Index page 2012-06-15 18:57:47 +01:00
Daniel Evans
806f9556bf Updated backlinks 2012-06-15 18:23:36 +01:00
Luke Slater
ad9a65375b fix link? 2012-06-15 17:58:33 +01:00
Luke Slater
75b627b3ee style on backlink 2012-06-15 17:57:47 +01:00
Luke Slater
11f7e91ba9 link back to poll list 2012-06-15 17:54:44 +01:00
Luke Slater
800faf5a88 nother space in thing? 2012-06-15 16:26:13 +01:00
Daniel Evans
f70c92c16d Web display for poll module 2012-06-15 16:15:02 +01:00
Psychedelic Squid
f3ab2e5e92 Auto-embed youtube videos, in much the same way as images are already done. 2012-03-12 21:38:09 +00:00
Luke Slater
c7fcb9fe18 do that in heading instead of just title 2012-03-10 17:51:24 +00:00
Luke Slater
59adda4221 name in title instead of dbot 2012-03-10 17:49:57 +00:00
Daniel Evans
53ad3f54ee New Theme 2011-11-25 14:44:18 +00:00
Dafydd Francis
6d00638f00 Whoops too many ='s 2011-11-10 00:31:05 +00:00
Dafydd Francis
b742e82f56 Images. In *my* quote page? More likely than you think! 2011-11-10 00:25:19 +00:00
Alexander D Brown
52cdddf3f7 Added in URL support for the web interface.
The Jade templating code in `views/quotes.jade` will now check against the Regular Expression which has been added to `snippets.js` and is delivered to the template by `modules/web.js`.

The reguar expression used should be able to handle any URL and ensure no non-URL elements are made into URLs. It may be worth adding checking for 4XX error codes at a later date.

This shouldn't affect any of the other modules; features have only been added, not modified.
2011-11-09 23:51:01 +00:00
Samuel Clements
d8cac5fe95 Better list pages 2011-11-08 20:43:52 +00:00
Samuel Clements
fd27c8a010 woot, a little bit more worky. 2011-11-08 20:28:46 +00:00
Samuel Clements
1b9fbdd894 Hopefully not another dumb error (TM). 2011-11-08 20:16:35 +00:00
Samuel Clements
885b56f09a Fixed id instead of class bug. 2011-11-08 20:12:49 +00:00
Samuel Clements
9f2f343bdb Cloudy quotelist page! 2011-11-08 20:10:55 +00:00
Samuel Clements
8107b72a1b Should fix jade throwing silly errors at me. 2011-11-08 19:34:27 +00:00
Samuel Clements
6ebedfd451 Finished adding the stuff from afals userscript. 2011-11-08 19:07:30 +00:00
Samuel Clements
e0dd59ac7d Css should work easy now. 2011-11-08 18:52:59 +00:00
Samuel Clements
68a450edb4 Use plain css, should work better. 2011-11-08 18:45:40 +00:00
Samuel Clements
87d2409574 Started improving the web interface. 2011-11-08 15:36:18 +00:00
Luke Slater
189e7bc4e0 layout changes 2011-09-15 20:00:16 +01:00
Luke Slater
0bb7615562 link to quotes 2011-09-15 19:57:57 +01:00
Luke Slater
c7d583a305 link to quotes 2011-09-15 19:57:32 +01:00
Luke Slater
d1ce8d99e0 link to quotes 2011-09-15 19:56:50 +01:00
Luke Slater
eb4d495dc5 quote list 2011-09-15 13:01:25 +01:00
Luke Slater
13f6c12330 quote list 2011-09-15 12:58:04 +01:00
Luke Slater
4f742a427b quote list 2011-09-15 12:57:24 +01:00
Luke Slater
08be931291 quote list 2011-09-15 12:56:47 +01:00
Luke Slater
139c9ebf3c quote list 2011-09-15 12:55:26 +01:00
Luke Slater
4698c9830e quote list 2011-09-15 12:53:53 +01:00
Luke Slater
6d13e4ee07 quote list 2011-09-15 12:50:40 +01:00
Luke Slater
d3659eea6e an li would have helped 2011-09-15 12:32:27 +01:00
Luke Slater
0ab31586e9 quote list and error page 2011-09-15 12:30:52 +01:00
Luke Slater
fdf576ae65 Moved views 2011-09-13 21:25:40 +01:00