Commit Graph

1335 Commits

Author SHA1 Message Date
Aza Raskin
3079520b79 + Not understanding why I had to merge when Mardak claims I shouldn't have to. 2010-07-02 16:17:55 -07:00
Aza Raskin
43c7f3136f + Changed the styling of the snap guides to be a little more architectural and a lot more subdued. 2010-07-02 16:16:16 -07:00
Ian Gilman
d2e5ab946e + Removed placebo hack from Storage.wipe()
+ Removed TabItems.reconstitute(), which we haven't actually needed for a while, but now it's also causing trouble
+ Removed Utils.activeWindow, which doesn't seem to work, and replaced its use in Utils.activeTab (the only remaining place it was being used) with Utils.getCurrentWindow(), which does seem to work
+ Utils.assert() now dumps a trace
+ Fixed paths to the edit pencil and new tab button images; they should now show up properly
2010-07-01 17:05:46 -07:00
Ian Gilman
ce235a0cf6 + merge 2010-06-30 11:49:31 -07:00
Aza Raskin
f3f62e0939 Change the style of the guide lines to feel lighter and more in-style.
--HG--
extra : rebase_source : c767971fc6c64e76201266fd52d1f52c2513c176
2010-06-30 10:30:55 -07:00
Michael Yoshitaka Erlewine
c5a2519830 updating styling of guide trenches
--HG--
extra : rebase_source : be6b4093122a9853879c835f04a93aa6b85a57b3
2010-06-29 19:37:52 -04:00
Ian Gilman
7dccaca304 + Fixed: Bug 575675 - FindChildWithRules aRelevantLinkVisited assertion when loading tabcandy page
+ The "code docs" item on the dev menu now opens the documentation from the repository into a new tab (used to open the local documentation, which doesn't exist in this new context, and replace the tab candy tab)
+ Removed the "tests" item from the dev menu, as they don't apply to this new context
+ Fixed an accidental comma in tabcandy.css (was disabling the pointer cursor for tabs)
2010-06-29 14:39:37 -07:00
Edward Lee
e46ce11140 Bug 574188 - Include individual js pieces into tabcandy.js and expose content and skin files with jar.mn
--HG--
rename : browser/base/content/tabcandy/tabcandy.xhtml => browser/base/content/tabcandy/tabcandy.html
2010-06-29 01:04:26 -07:00
Edward Lee
9470533a4d Bug 574188 - Add UI hooks to trigger tab candy 2010-06-29 01:04:22 -07:00
Edward Lee
3f0cdced0a Merge tabcandy to mozilla-central. 2010-06-28 15:47:09 -07:00
Ian Gilman
a71e6207a7 + Cleaned up inelegant box shadows per fryn's suggestion
+ Made the snap guides a little more subtle
2010-06-28 14:56:20 -07:00
Michael Yoshitaka Erlewine
d8c19dac06 move trench styling into CSS; fix trenches so that, if in showDebug mode, the trenches will stay drawn 2010-06-28 02:55:26 -04:00
Ian Gilman
611187d87b + merge 2010-06-25 16:10:52 -07:00
Ian Gilman
442793c33a + Removed icons that exist elsewhere in the browser; now using them instead
+ Our toolbar button now uses the standard toolbar button styling; we just apply a glyph to it
+ Went through the code with http://caja.appspot.com/tools/index and fixed a number of minor issues it found
+ Added "refresh" to the dev menu (since you won't be able to just refresh the tabcandy page once it's in the xul:deck)
2010-06-25 16:00:51 -07:00
Aza Raskin
98e3c972d2 + Cleaned up the code which changes the styling of a tabitems fav icon.
- The bite still exist, it just gets smaller.
2010-06-25 15:15:51 -07:00
Aza Raskin
0976054f8a + Updated the spec
+ Modified the tabitem layout code so that favicons are more sensibly handled at smaller sizes.
2010-06-24 23:59:32 -07:00
Aza Raskin
dca60ad651 + Fixed the minVersion of the XPI as per Mitcho's suggestion
+ Bumped XPI version to 0.4
+ Commented out the click-on-group to zoom into the last active tab
2010-06-21 14:49:38 -07:00
Aza Raskin
5b4e553b4b -- Stacked Group Behavior --
+ Removed the command-click quasimode for showing the tray version of stacked groups.
+ Added a new expand icon for showing the tray version of stacked groups
+ Refactored the Group.js code so that we now have both group.collapse() and group.expand()

-- Website Behavior --
+ Updated the website to pull the documentation section from the Etherpad
+ Some general DRY-based cleanup

-- Install.rdf --
+ Fiddled with the min/max version
2010-06-19 18:46:39 -07:00
Ian Gilman
da373acd31 + removed unused code and reorged remainder
--HG--
rename : browser/themes/pinstripe/browser/tabcandy/shared/candybutton.png => browser/themes/pinstripe/browser/tabcandy/candybutton.png
2010-06-16 15:46:05 -07:00
Ian Gilman
7ceb6f598e + Refactored zoom code into TabItem (was in TabItems and Page)
+ The "zoom prep", where the div is resized behind the scenes, is now much more robust; items can be rearranged while in this state (in response to new tabs opening, for instance), and everything still works out.
+ Group._activeTab is now a TabItem rather than a DOM element
+ Most of the old "mod" routine is now in the TabItem constructor; "mod" no longer exists
2010-06-14 15:43:02 -07:00
Ian Gilman
0ff4fd993c + Now using the "front" class when zooming down (was just when zooming up), hopefully to speed things up
+ Modified the  "front" class to remove unnecessary bits from the tab, and to turn on crisp edges, hopefully to speed things up
2010-06-11 16:35:47 -07:00
Ian Gilman
0c931296c2 + We are entirely jQuery-free in revision-a!
+ You can now drop tabs on tabs
+ Resize works once again, but with iQ
2010-06-09 14:45:48 -07:00
Jim Mathies
fadf8d1721 Bug 574821 - Add titlebar margin to browser-aero css for maximized windows - addresses issue with negative window origins on windows. r=Dao. 2010-06-28 01:03:47 -05:00
Dão Gottwald
8225317cb7 Bug 571871 - Hovering "Print" menuitem shows black on blue instead of white on blue. r=gavin 2010-06-27 16:00:14 +02:00
Marco Bonardo
355d5ef8a0 Bug 574708 - Deformed back button when bookmarks button is on navigation bar. r=dao 2010-06-26 18:24:03 +02:00
Marco Bonardo
1e5ec4980c Bug 574708 - bookmarks button looks ugly if not in icon mode. r=dao 2010-06-26 18:22:20 +02:00
Dão Gottwald
b8cc222d90 Bug 574434 - Move Firefox button to the left of the tabstrip when not using aero glass. r=gavin 2010-06-25 22:41:04 +02:00
Ian Gilman
195438b12d + Turned off -moz-crisp-edges
+ First use of iQ.animate(), which uses CSS transitions: tab zoom up and down, as well as phantom group disappearing when you drag in empty space but don't make it big enough
+ Consolidated onFocus call of UIClass into onFocus call of Page
+ ui.js is jQuery-free
+ The zoom down animation happens after a setTimeout(…, 1), which causes an unfortunate delay, but without it, the animation doesn't happen at all
+ Added val, resize, change to iQ.fn and isAnimating to iQ
2010-06-03 15:31:18 -07:00
Aza Raskin
d28b12e3a9 + Removed an old unused image. 2010-05-27 17:24:38 -07:00
Aza Raskin
9ba5fce234 + Compressed default.png 2010-05-27 17:23:08 -07:00
Aza Raskin
c2e5e8fc47 + Default icon when there is no favicon. 2010-05-27 17:19:45 -07:00
Aza Raskin
b6fa45056b + Made the css for debug-related buttom buttons more generic.
+ Added a more discoverable reset button.
2010-05-27 01:40:45 -07:00
Aza Raskin
837f79367e + Added UserVoice back to TabCandy, but this time without pulling in untrusted code from the web into a privledged context.
+ UserVoice now links from a button near the bottom of the screen. Styled with CSS3 goodness.
2010-05-25 15:04:46 -07:00
Aza Raskin
62cf6a56a6 + Remove the title of the "New Tabs" at the suggestion of Beltzner
+ Made the titles more beautiful in the new tabs group.
2010-05-25 14:21:23 -07:00
Aza Raskin
f6eac0953a + New visual styling for the new tab group. So very very pretty. 2010-05-25 01:20:44 -07:00
Ian Gilman
5840bbdc76 + New "new tabs" group behavior and position
+ New "new tab" button position for the  "new tabs" group
+ Misc bug fixes
2010-05-24 17:14:10 -07:00
Aza Raskin
4c2258c2fa + Better indication of groups as drop targets
+ Using the new-tab buttons no longer cause a jarring shift due to window chrome appearing.
2010-05-22 11:42:23 -07:00
Aza Raskin
b29d117630 + Groups now have gentle drop shadows. 2010-05-21 20:06:37 -07:00
Aza Raskin
744b1edc64 + Made TabCandy pretty a la http://www.stephenhorlander.com/pages/incontent-ui-mockups/incontent-ui-mockups.html#tabCandy
Note that this only works on the Mac.
2010-05-21 04:05:55 -04:00
Aza Raskin
1027bf1b00 + Fixed a bug whereby the navbar and tabstrip weren't being properly hidden
+ Fixed a typo where errors in onFocus weren't being logged. (When you  go back to the TabCandy from a tab, the tab strip get hidden late,  causing a jarring jump)
+ Also: fixed bug 567010
2010-05-21 03:13:53 -04:00
Aza Raskin
46b07c659e + Updated the hover-state for dropping a tab into a group: * [P] The indication that you are dropping a tab onto a group should not be on the tab, but on the group.[Aza]
+ Made the focus ring slightly prettier.
2010-05-14 22:50:12 -07:00
Aza Raskin
b32f21134e + Removed the code that drew into the toolbar button (no longer needed)
+ Changed the button image to not include a circle with a one in it
2010-05-13 11:00:44 -07:00
Aza Raskin
cc60577ba9 + Added the concept of the "focused" tab.
+ The last tab you were viewing is now highlighted as the focused tab.
+ You can get back to the tab you were looking at now by hitting the escape key.
+ You can navigate to the focused tab by hitting the return key.
+ You can select other tabs via the keyboard with the arrow keys.
2010-05-12 19:56:35 -07:00
Ian Gilman
ad1dfd1097 + Trying -moz-crisp-edges… doesn't seem to improve speed much on 3.6, and looks worse
+ Created Utils.copy to make duplicating objects cleaner
+ Fixed a number of issues with pulling tabs out of a tray. Temporarily disabled the delay on drag as well.
+ Improved the threshold for switching from grid to stack; only happens when the grid fills up.
+ No longer announcing "bad storage data" when there is in fact no storage data (fresh start)
+ A couple more asserts
2010-05-11 17:22:06 -07:00
Ian Gilman
c2da60b151 + You can now drag a group by its title. If you click on the title instead, it selects the whole title (which, it turns out, it was doing anyway) and allows you to edit it.
+ Reenabled the ability to exit title editing by clicking in empty space
2010-05-10 17:17:48 -07:00
Ian Gilman
abfb4e3fda + Removed tab bar control
+ Group title box now grows when you type into it, but always stays smaller than the width of the group
2010-05-06 17:01:53 -07:00
Aza Raskin
ca381f7e4c + Moved back to black overlay look for stacks
+ Grappling with a correct new-tab animation
2010-05-04 13:52:25 -07:00
Aza Raskin
fb5b82e3e4 + Added some code that, when you zoom into a group, moves all of the tabs to the end of the tabstrip (in the order which they appear in the group). This does two things:
(1) It means that the tabs are shown in the order which they appear in the group. Keeps the mental model clean.
 (2) When you close a tab, the next tab that is focused is sane (i.e., it is in the group not some random tab)
2010-05-03 16:48:10 -07:00
Aza Raskin
d73a4856d3 + Added a first-pass at a new-tab interface for groups.
+ TODOs (see the code)
 + (1) There is a potential race condition groups.js:line 121
 + (2) The new tab animation is to the wrong place groups.js:line 96
2010-05-03 15:24:22 -07:00
Aza Raskin
064ee2bebe +Styling for groups to make it less apple-like 2010-04-30 17:26:28 -07:00