Commit graph

603 commits

Author SHA1 Message Date
Tor Hveem
bebc1c7bce Remove duplicate bufferlist storage. Only use object 2014-02-26 19:39:48 +01:00
David Cormier
ef8a3ef343 Merge pull request #189 from torhve/optimize-nicklist
Makes buffer switching a little bit faster if you don't use nicklist
2014-02-26 08:16:02 -05:00
David Cormier
71a3f00479 Merge pull request #187 from torhve/master
call the right scope
2014-02-26 08:13:43 -05:00
David Cormier
9ae3ef1c63 Merge pull request #191 from creesch/patch-1
Make manifest.webapp point to cormier.github.io
2014-02-26 08:13:13 -05:00
creesch
f7097bdeb3 manifest.webapp was pointing to the wrong repo 2014-02-26 10:17:48 +01:00
Tor Hveem
3f1984859e Makes buffer switching a little bit faster if you don't use nicklist 2014-02-26 01:36:36 +01:00
David Cormier
1c3115660a Merge pull request #188 from lorenzhs/cleanup
Code cleanup
2014-02-25 16:30:26 -05:00
Lorenz Hübschle-Schneider
0cc693fe7d Move mobile device detection to a function
avoids code duplication
2014-02-25 21:17:29 +00:00
Lorenz Hübschle-Schneider
1664b34cc9 Reorder statements for easier reading 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
997fe91d3e Remove redundant line
localStorage triggers this on page load anyway
2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
3f68a156a4 Move initialisation code to functions 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
e301849a73 Remove unused functions and parameters 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
330942b111 Remove unused variable 2014-02-25 21:12:36 +00:00
Tor Hveem
d6a64b32b9 call the right scope 2014-02-25 17:33:05 +01:00
David Cormier
67d1e40013 Merge pull request #185 from cormier/fix-input-bar
Fix input bar
2014-02-25 10:01:29 -05:00
David Cormier
c85d22a587 Merge pull request #186 from torhve/container-panel
Set container to panel
2014-02-25 10:00:59 -05:00
Magnus Hauge Bakke
b17a48d446 Set container to panel 2014-02-25 15:18:55 +01:00
David Cormier
4451bff60d Move activeBufferChanged listener to WeechatCtrl
I don't believe that the inputBar directive should know about the
mobile cutoff we have set for GB. We should aim to make it as
reusable as possible
2014-02-25 09:14:08 -05:00
David Cormier
c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00
David Cormier
f3f5330aed Merge pull request #178 from cormier/fix-74
Fix nick completion issues
2014-02-24 12:20:05 -05:00
David Cormier
c163e9933f Merge pull request #171 from lorenzhs/fixduplicatenotifications
[WIP?] Fix an issue with notifications being shown when fetching old lines
2014-02-24 10:23:04 -05:00
David Cormier
dcfc2284ea Merge pull request #181 from tribut/notification-nick
Add nick to highlight notification from channels
2014-02-24 10:19:42 -05:00
Felix Eckhofer
c1c2297833 Add nick to highlight notification from channels 2014-02-24 15:41:15 +01:00
David Cormier
24234be451 Merge pull request #180 from tribut/nonmobile-focus
Focus input bar when not on mobile
2014-02-24 09:08:59 -05:00
Felix Eckhofer
18dd4eae1f Replace tabs with spaces 2014-02-24 11:41:25 +01:00
Felix Eckhofer
b3b4651e33 Remove trailing spaces 2014-02-24 11:41:25 +01:00
Felix Eckhofer
7a003f8227 Focus input bar when not on mobile
This improves the UX on desktop while avoiding the virtual keyboard
popping up on touch devices
2014-02-24 11:41:20 +01:00
David Cormier
41bdb90a5e Merge pull request #177 from lorenzhs/mobile
Further improve mobile layout
2014-02-23 11:58:04 -05:00
David Cormier
0578f54584 Merge pull request #179 from tribut/install-notes
Rework installation instructions
2014-02-23 11:36:16 -05:00
Felix Eckhofer
6d0dea1004 Rework installation instructions
- Add note on installation being optional
- Add some instruction how to create app shortcut for Chrome
2014-02-23 17:18:03 +01:00
David Cormier
b5afa48b54 Merge pull request #175 from cormier/asciinema
Implement asciinema plugin
2014-02-23 10:56:52 -05:00
David Cormier
5cd36f0779 Remove unnecessary id
Encapsulating the feature in a angular directive let us avoid
setting global ids for elements.
2014-02-23 10:56:04 -05:00
David Cormier
5f25a96b51 Work with inputNode element directly
Instead of using $scope.command, we work with the inputNode element
directly to have control over the caret position. This let us have
nick completition in the same way as WeeChat.

Fix #74
2014-02-23 10:55:59 -05:00
David Cormier
f141095312 Add method to retrieve inputNode element from directive 2014-02-23 10:48:21 -05:00
David Cormier
fb5a477b73 Implement asciinema plugin
Close #66
2014-02-23 10:04:14 -05:00
Lorenz Hübschle-Schneider
17cc3c9088 Disable swiping on desktop 2014-02-23 14:17:59 +00:00
Lorenz Hübschle-Schneider
5938bbb436 Further improve mobile layout
* Dynamic sidebar width
* Add padding so that entire sidebar is shown when scrolling is needed
  * this also applies to desktop, btw
2014-02-23 13:39:26 +00:00
David Cormier
335e31fa1f Merge pull request #173 from lorenzhs/mobilescroll
Improve mobile behaviour
2014-02-22 22:27:15 -05:00
David Cormier
6b38be4121 Merge pull request #174 from tribut/webapp
Install Firefox Webapp from local checkout
2014-02-22 09:34:32 -05:00
Felix Eckhofer
fa01c0a53f Install Firefox Webapp from local checkout
Ask Firefox to install the currently running copy of glowing bear
instead of the copy from torhve.github.io

This also fixes a bug when glowing bear is not running from a
subdirectory (or one other than /glowing-bear) which would lead to a 404
because of torhve.github.io/original_subdir being loaded instead of
/glowing-bear.

Note that installing to a different subdirectory than /glowing-bear will
lead to the icons not being found due to the fact that all icon paths
inside manifest.webapp have to be absolute.
2014-02-22 13:46:45 +01:00
Lorenz Hübschle-Schneider
40492cf519 Adaptive nicklist width 2014-02-22 11:48:58 +00:00
Lorenz Hübschle-Schneider
6cfabdd0bd Extend swipe region. Still not optimal.
It would be nice if we could scroll on the whole `content` div, but then the
open sidebar and close nicklist swipes collide
2014-02-22 11:40:22 +00:00
Lorenz Hübschle-Schneider
5a7ed13c70 Increase size of bufferlines on mobile
We had 10px+2% space on the bottom, that's pretty wasteful
2014-02-22 11:38:45 +00:00
Lorenz Hübschle-Schneider
4c56d096ac Thinner scrollbars and larger buttons on mobile
Give those buttons a size where there's at least a chance to hit them with a finger
2014-02-22 11:14:37 +00:00
Lorenz Hübschle-Schneider
0d580cc1d2 Fix scrolling on mobile devices
Previously, we were scrolling the div, not its contents, as it grew infinitely.
2014-02-22 11:14:07 +00:00
David Cormier
efda3d4963 Merge pull request #170 from lorenzhs/fixactivityswitch
Fix "Switch to buffer with activity" skipping buffers with notifications
2014-02-21 13:49:23 -05:00
Lorenz Hübschle-Schneider
4736da2d92 Fix an issue with notifications being shown when fetching old lines
@xt, does this fix the issue for you?

While we're at it, fix the annoying jump-to-bottom when loading more lines.
2014-02-21 16:33:10 +00:00
Lorenz Hübschle-Schneider
d4a5218922 Fix "Switch to buffer with activity" skipping buffers with notifications
This caused two buffer switches in a row, in effect forgetting the notifications
2014-02-21 16:03:35 +00:00
David Cormier
a28ee6033b Merge pull request #163 from lorenzhs/flashtitle
Flash title when receiving lines in the background & make use of favico configurable
2014-02-21 09:58:28 -05:00
David Cormier
e468fe57f0 Merge pull request #169 from cormier/fix-73
Reinitialize context when relay closes connection
2014-02-21 09:47:04 -05:00