Commit Graph

30 Commits

Author SHA1 Message Date
aza@More-Better-Internet.local
d089ac6ea8 + Added a zoom animation using CSS transitions.
When you click on a page (both in zoomgroups and original)
  the page zooms to the foreground before the tab switch happens
  giving the appearance of having the tab zoom to life.
  Just after the switch the page resumes its normal size and
  position.

  It is so very pretty.

+ TODO: Add the reverse animation when switching back from
  a tab.
2010-03-19 13:21:21 -07:00
aza@More-Better-Internet.local
610edfafbb Added the concept of a menu bar on mouseover.
We are now part of the way towards getting namable spaces, as well as spaces that close a number of tabs.
2010-03-18 21:49:24 -07:00
aza@More-Better-Internet.local
6b89ee3f34 Forgot to commit the graphic for doing resizing of groups. 2010-03-18 15:06:30 -07:00
Ian Gilman
baf88f8812 IAN1 CANDY:
+ Cleaned up the text location when shrunk down
+ Gave the groups rounded corners on all but the resize corner
+ Liberal use of overflow:hidden
+ Removed lasso (for now)
+ The "site" feature now uses grouping. Each site that has multiple pages gets its own group; the remaining pages are grouped together (unless there's only one remaining page, in which case it's just left alone (though maybe it should get a group too))

GROUPS:
+ Although the animation is chunky to non-existent, the Groups object now has an arrange() function that breaks the window into equal sections
+ Fixed a bug where dragging a tab within a group and dropping it again would add it  a second time. Related to this bug, found that tabs were being added to the Group._children sometimes as DOM elements and sometimes as jQuery objects. Standardized on DOM objects
+ The Group class is now available from the Groups object, so outside code can create new groups
2010-03-17 17:32:49 -07:00
Ian Gilman
ae7247ac17 + merge from depot 2010-03-17 14:21:29 -07:00
Ian Gilman
f4fa5c8cca + Moved my work on the stacks candy to the ian1 candy, and added groups to it
+ added automatic thumbnail repainting for resized thumbnails
+ updated the original and ian1 candies so the thumbnail scales automatically with the jquery animation of the whole tab
2010-03-17 14:06:07 -07:00
aza@More-Better-Internet.local
1c0af40847 * Groups are now resizable!
* Added a stop-gap measure for scaling tabs better. (Ian has a better, automatic solution?)
* Ported changes over to the original candy
** TODO: the .arrange() method doesn't work all that well in the original candy
2010-03-17 11:53:03 -07:00
aza@More-Better-Internet.local
59ccf4f8de Added a new style of interaction called a zoom group. It is rather hot. I believe this is how we will be doing all future designs. 2010-03-17 01:07:00 -07:00
aza@More-Better-Internet.local
b501b31c12 Merge. 2010-03-16 22:32:05 -07:00
aza@More-Better-Internet.local
b3d495c605 * Better sizing of groups (fixed a bug with min)
* Added new double-click handler for more zui-like groups
2010-03-16 22:29:36 -07:00
aza@localhost
43f5103de0 Fixed some bugs with the sizing of the spaces. I hate Javascript: it uses string comparison even on numeric arrays when you use .sort(). 2010-03-16 19:01:44 -07:00
Ian Gilman
bd1bf6bcb9 + More major cleanup in mirror.js (especially in the painting code)
+ New tabs in the stacks candy now find an empty hole rather than piling up at the top
+ The stacks candy now has a "site" feature (upper right) that groups the tabs by domain
+ TabMirror now has a feature to allow pausing paint updates. This allows you to fly things around the screen without getting stutter from paint calls. The stacks candy is currently the only candy that takes advantage of this.
+ The stacks candy was not visually deselecting a group that had been lassoed once the menu went away; it is now.
+ Added assert() to Utils
2010-03-15 17:15:27 -07:00
aza@More-Better-Internet.local
ec26f49080 (1) Added Firebuglite to the add-on, making it a much more pleasent debugging experience.
(2) Greatly increased the functionality of the group candy.
2010-03-11 15:45:58 -08:00
aza@More-Better-Internet.local
56b611606c Gave all .tab's a z-index which solves some issues with stacking in groups. 2010-03-09 16:04:36 -08:00
Ian Gilman
6312dbb70b + Grouping now works in the original candy
+ Updated to jQuery 1.4.2
+ Nice menu fadeout behavior in the stacks candy (fades out faster for a click than a mouse out; pops back in if you mouse back over while it's fading out)
2010-03-09 15:46:39 -08:00
Ian Gilman
58689c6bf3 + merge from depot 2010-03-09 14:22:04 -08:00
Ian Gilman
1b1a4d59d1 + Added a "close" feature to the group menu in the stacks candy
+ Added a tab() feature to window.Tabs, to get a tab object from one of the tab's elements
+ Stacks now pile up directly on top of each other in the stacks candy (rather than being offset a little)
+ Added Utils.isRightClick() for weeding out right clicks in mousedown
+ The Lasso now only starts for left clicks, not both left or right
2010-03-09 14:21:08 -08:00
aza@More-Better-Internet.local
a00f20af51 Began work on alternative interfaces for grouping. 2010-03-09 13:57:45 -08:00
aza@More-Better-Internet.local
8484649b97 Added a TODO to fix a very strange behavior in the customization of new tabs added. 2010-03-09 13:50:26 -08:00
Ian Gilman
31117c4961 + removed a stray file left over from last merge 2010-03-05 15:34:40 -08:00
Ian Gilman
94c745dd0d + merged from Aza
--HG--
rename : browser/base/content/tabcandy/app/jquery.lasso.js => browser/base/content/tabcandy/shared/jquery.lasso.js
rename : content/ian1/ui.js => content/candies/ian1/js/ui.js
rename : content/tab.html => content/candies/original/index.html
2010-03-05 15:31:45 -08:00
Ian Gilman
e0745abe2c + removed files that are now in the "shared" folder 2010-03-05 15:17:03 -08:00
Ian Gilman
8f5edff379 + Major reorg: moved all visualizations into "candies" folder, moved core js files into "core" folder, and js files shared by a couple of visualizations into "shared" folder
+ the top level index.html now automatically grabs all the different visualizations and lists them
+ Added a visualization switcher that can be dropped into any visualization; drop down in the upper left of the window
+ The Utils routines log(), trace() and error() now take in any number of parameters. If a parameter is an object, its first level is automatically expanded
+ Fixed lasso in the "original" visualization

--HG--
rename : browser/base/content/tabcandy/jquery-ui.js => browser/base/content/tabcandy/app/jquery-ui.js
rename : browser/base/content/tabcandy/jquery.js => browser/base/content/tabcandy/core/jquery.js
rename : browser/base/content/tabcandy/app/jquery.lasso.js => browser/base/content/tabcandy/shared/jquery.lasso.js
rename : content/ian1/index.html => content/candies/ian1/index.html
rename : content/ian1/ui.js => content/candies/ian1/js/ui.js
rename : content/line/index.html => content/candies/line/index.html
rename : content/line/js/jquery.line.js => content/candies/line/js/jquery.line.js
rename : content/line/js/jquery.select.js => content/candies/line/js/jquery.select.js
rename : content/tab.html => content/candies/original/index.html
rename : content/select/index.html => content/candies/select/index.html
rename : content/stacks/index.html => content/candies/stacks/index.html
rename : content/stacks/js/jquery.select.js => content/candies/stacks/js/jquery.select.js
rename : content/stacks/js/ui.js => content/candies/stacks/js/ui.js
2010-03-05 15:14:10 -08:00
aza@More-Better-Internet.local
6ebf6e2e09 Fixed the lasso selection for my tab.html page. And added functionality that let you say if the lasso colors in or not. 2010-03-04 12:06:37 -08:00
Ian Gilman
30d686e566 + Got rid of Utils.logger and replaced it with Utils.log, Utils.trace and Utils.error
+ Fixed "new tabs create 2 thumbnails" bug
2010-03-03 17:21:44 -08:00
Ian Gilman
812688ddb0 + added 2 new experiences: stacks and line
+ updated main index.html to point to all experiences
+ did some file reorganization

--HG--
rename : content/select/js/jquery.lasso.js => browser/base/content/tabcandy/app/jquery.lasso.js
rename : browser/base/content/tabcandy/overlay.js => browser/base/content/tabcandy/app/overlay.js
rename : browser/base/content/tabcandy/pixastic.js => browser/base/content/tabcandy/app/pixastic.js
2010-03-01 17:11:51 -08:00
aza@173-138-80-177.pools.spcsdns.net
fb5632e797 Integrated selections into my tab demo. 2010-03-01 04:15:19 -08:00
aza@173-138-80-177.pools.spcsdns.net
10e78f5646 Added a first draft of the lasso and selection menu.
Go to chrome://tabcandy/content/select/index.html to try it out!
2010-03-01 01:18:05 -08:00
Ian Gilman
a3a431e0cb + initial messing around; started a new page for my experiments, as well as a branching page to get between experiments 2010-02-26 10:25:20 -08:00
aza@70-7-150-98.pools.spcsdns.net
f90716db0f First commit. 2010-02-24 01:47:55 -08:00