Commit Graph

54 Commits (e92d3dcf1013ab340fdef514b41ebf790f79e04c)

Author SHA1 Message Date
Leslie Linden 6c12a5ca55 EXP-919 FIX -- Items not shown in Received Items panel
EXP-929 FIX -- First Direct Delivery item purchased while logged in: Received Items folder visible in inventory and item not visible in Received items panel - no badge count update

* Inbox and Outbox inventory panels now live in their own XML files and are hot loaded into place when appropriate, like when the "Received Items" folder is first created, for example.
* The Inbox and Outbox panels now show relevant default messages when the folders are empty or do not exist
* Added LLInventoryCategoryAddedObserver, a new inventory observer type to observe added folders
* Hacked LLInventoryPanel to properly set up inbox and outbox inventory views for the "Received Items" folder and the "Merchant Outbox" folder that aren't created with the proper system folder type
* Changed inventory badge count computation to use LLFolderView rather than the inventory directly
* Applied various focus, selection and other inbox fixes to the outbox

Reviewed by Richard.
2011-06-30 16:25:19 -07:00
Leyla Farazha 3a3d0661b8 EXP-962 Share button in Inventory Recent tab blinks when no recent items are listed 2011-06-30 14:58:36 -07:00
Leslie Linden e74f9fcc14 EXP-919 FIX -- Toggling InventoryDisplayInbox value to True in Viewer on Agni creates Inbox and Outbox system folders
* The badge no longer displays (2) when the folder does not exist.
* The inbox panel no longer displays the inventory and library folders.
* The inbox is supposed to display a string for the item not being found, but doesn't for an unknown reason.
2011-06-23 18:11:55 -04:00
Leyla Farazha b84881382b merge and fixing linux build issues 2011-06-22 16:18:23 -07:00
Leyla Farazha 5999574c10 making it so that inbox shows up quicker 2011-06-22 16:12:01 -07:00
Leslie Linden 57017a7a6e EXP-920 FIX -- Received Items panel is not opened if closed when a new Direct Delivery items is delivered when user has Inventory panel open
* Mac build fix by removing an unused variable
* Inbox panel now auto-expands when new item delivered

Reviewed by Richard
2011-06-22 14:26:15 -04:00
Leyla Farazha e2f9276a08 EXP-877 Profile button not active when selecting items in Marketplace inbox 2011-06-21 15:18:05 -07:00
Leyla Farazha 149b160a6d EXP-872 Hide inbox unless applicable 2011-06-20 18:14:26 -07:00
Leslie Linden 6215e6ba25 EXP-872 PROGRESS -- Hide inbox unless applicable
* Updated to use the current user's agent id instead of Pup's

Reviewed by Leyla :)
2011-06-17 13:22:13 -07:00
Leslie Linden 0d246c0c5f EXP-872 PROGRESS -- Hide Inbox unless applicable
EXP-910 FIX -- Newness badge shown on suitcase inventory icon when InventoryDisplayInbox is set to False
EXP-895 FIX -- Selecting items in Marketplace Inbox does not change focus in inventory panel away from items selected in inventory panel

* Main inventory, outbox and inbox all clear the selection of the others when they gain focus
* The Fresh Item Count badge is no longer displayed on the inventory side tab button when the inbox is disabled
* The New Item Count text is no longer displayed.  (we will enable it again when freshness is supported)
2011-06-16 17:14:51 -07:00
Leslie Linden 5e3d344fba EXP-872 FIX -- Hide inbox and outbox unless applicable
EXP-893 FIX -- Single order purchases not sorted with most recent item delivered at top of list
EXP-904 FIX -- Newness/Freshness value out of synch with new items in Inbox on next login when ordering in bulk with Inventory window open

* Inbox and outbox can now be forced on by setting the debug variables "InventoryDisplayInbox" and "InventoryDisplayOutbox"
* Inbox is only displayed when logging into a grid that has a marketplace that returns pup as a merchant
* Inbox contents is now a forced download when the user logs in, rather than the typical lazy load of the rest of the inventory

Reviewed by Leyla
2011-06-15 16:21:19 -07:00
Leslie Linden 142c2fc29c EXP-896 FIX -- Inbox not opened by default when new items are received
EXP-894 FIX -- When scrolling to the bottom of the inbox, the last item is c...
EXP-856 FIX -- Inbox item count reflected as badge on inventory button

* Inbox auto-expands when "fresh" items are reported
* Logic for "fresh" item determination is still in progress but works for purchases while logged in
* Badges now only displayed when the inventory side panel is collapsed or when inventory not visible

Reviewed by Leyla
2011-06-14 16:35:15 -07:00
Leslie Linden de78d17e91 Merge from viewer-experience 2011-06-08 13:41:40 -07:00
Leslie Linden 98bcd9e2ef EXP-859 FIX -- Save setting for last time inbox expanded
EXP-841 PROGRESS -- Create outbox sync button with basic enable/disable logic and animation
EXP-866 PROGRESS -- Create inbox observer to dynamically update inbox item count and badge value
EXP-872 PROGRESS -- Hide inbox and outbox unless applicable

Inbox expansion time is now saved as setting variable "LastInventoryInboxExpand".

New outbox sync button art.

Observers for items and categories are now implemented in the LLSidepanelInventory but the exact
method of use is still to be determined.

Functions are in place to show and hide the inbox and outbox panels but the logic around the
decision is TBD.

The resize bar for the inbox/outbox is now disabled when both inbox and outbox are collapsed.

Reviewed by Leyla.
2011-06-06 17:00:59 -07:00
Leslie Linden 651a9587f8 EXP-862 FIX -- Disable marketplace inbox/outbox panel separator when inbox and outbox are collapsed
Marketplace panel is only resizable now when inbox or outbox is expanded.

Reviewed by Leyla
2011-06-01 13:50:14 -07:00
Leslie Linden 33e4a2c7b1 Updated Marketplace Inbox & Outbox panel to maintain size when one is expanded vs the other 2011-05-25 10:39:34 -07:00
Leyla Farazha 95b8020d21 adding marketplace inbox and outbox
reviewed by Leslie
2011-05-23 16:11:50 -07:00
Tofu Linden cb3042d84d merge storm-248 2010-09-29 15:43:34 +01:00
Vadim ProductEngine 16a973feea STORM-249 FIXED The Wear button in My Inventory now respects multiple selection.
- The button is now enabled only when all selected items can be worn.
- Pressing it wears all selected items.
2010-09-28 22:49:45 +03:00
Vadim ProductEngine b0cadec6fb STORM-248 FIXED The 'Share' button in My Inventory now respects multiple selection.
- The button is now enabled only if all selected items are shareable.
  (it had checked only one currently selected item)
- Eliminated some copy&paste.
2010-09-28 22:14:22 +03:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson 6bbd490107 merge 2010-08-20 10:15:37 -07:00
Richard Nelson 02d8197019 changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
2010-08-20 10:14:28 -07:00
Richard Linden af108e324a DEV-52669 FIX Inventory notification not given if first item comes from buying contents 2010-08-19 13:24:37 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Richard Linden 2c999688c4 added remaining hints and fade in/fade out behavior 2010-08-12 15:18:25 -07:00
Richard Linden bd897431e1 remaining hints defined 2010-08-12 12:20:38 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Vadim Savchuk 7598015945 EXT-8491 FIXED Crash in LLAppearanceMgr::addCOFItemLink().
Reason:
When you click on a clothing link in COF, LLAppearanceMgr::wearItemOnAvatar() removes
all COF links of the clicked wearable type -- thus invalidating all previously
obtained LLViewerInventoryItems for those links -- and then passes such an
invalid item (item_to_wear) to addCOFItemLink() which of course crashes.

Fix:
1. Handle this case in wearItemOnAvatar(): don't try wearing COF items.
2. Disable the Wear button in the inventory SP when a COF item is selected.
3. Fixed get_can_item_be_worn() to return FALSE for items which are in COF or have links in COF.

Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/811/

--HG--
branch : product-engine
2010-07-27 22:34:34 +03:00
Andrew Polunin 216ef01f09 EXT-7614 FIXED (\"Shop\" button's title is overlaid with new title)
- Added member mShopBtn (which corresponds to the 'Shop' button) to the LLSidepanelInventory class.
- Added code to the LLSidepanelInventory::updateVerbs() which makes this button visible and enabled by default and hides it when any other button should appear on it's place ('Wear', 'Play' or 'Teleport').

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/630/

--HG--
branch : product-engine
2010-06-24 15:32:36 +03:00
Mike Antipov 81e2aad388 EXT-7475 FIXED Added callback to update verbs in My Inventory SP when tab in inventory panel is changed.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/597/

--HG--
branch : product-engine
2010-06-16 16:11:19 +03:00
Andrew Polunin 53505bd225 EXT-7223 FIXED (Add \"Shop\" Button in bottom of Inventory panel)
- Added 'MarketplaceURL' setting in settings.xml to represent URL which points to the Marketplace.
- Added member mShopBtn in the class LLSidepanelInventory.
- Added handler LLSidepanelInventory::onShopButtonClicked() which handles a click on the 'Shop' button
- Added corresponding widget in the sidepanel_inventory.xml

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/408/

--HG--
branch : product-engine
2010-05-20 21:16:16 +03:00
Loren Shih 1d6ebfbb57 EXT-4088 : FIXED : INFRASTRUCTURE : Change LLFolderView::getSelectionList to return a selection
Function signature change to return a selection instead of taking one as an argument.
2010-05-13 16:53:29 -04:00
Eugene Mutavchi 27b457f2ce Implemented major task EXT-6710(Feature request: Allow drag and drop from Inventory panel to Resident Picker)
- added handling the drag add drop inventory items to resident picker
 - added "Share" verb button to the inventory panel which opens resident picker
 - added "Share" menu item to the individual inventory context menu which acts as verb button
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/215/

--HG--
branch : product-engine
2010-04-12 17:02:16 +03:00
Loren Shih 1ec47c39a6 EXT-6679 : INFRASTRUCTURE : Have LLInvFVBridge contain a LLFolderView *mRoot instead of passing it along everywhere such as in performAction
mRoot is now stored for all LLInventoryBridge types.
Did some superficial formatting cleanup for LLInventoryBridge.
2010-04-01 17:50:48 -04:00
Loren Shih 7e19328785 EXT-4846 : [NUX] Inventory Side Panel - Can we suppress the "Landmarks" and "My FavoriteS" folder since they have their own Task Panel?
Adding simple infrastructure for supporting ability to hide folder types from inventory panels, but NOT exercising this code.  This will be deferred for 2.1.
Also did some very superficial header file cleanup for LLInventoryPanel.
2010-02-08 14:52:24 -05:00
angela b428711814 EXT-4603) Right-clicking a sound and choosing Play doesn't actually play it 2010-02-03 15:43:07 +08:00
Dmitry Zaporozhan c679ae3546 Fixed normal bug EXT-4768 - 'Play' btn does nothing to gesture in Inventory side panel.
--HG--
branch : product-engine
2010-02-01 17:11:31 +02:00
Nyx (Neal Orman) 152010b8c6 EXT-3063 cleanup of inventory item properties sidepanel
step 1: kill the edit button
step 2: disable info button on main inventory panel if more than one item is
selected.

other steps to be done will be filed as separate jiras

code reviewed by seraph

--HG--
branch : avatar-pipeline
2009-12-09 20:26:20 -05:00
Loren Shih e23d517007 EXT-2410 : Accepting an offered notecard should open the inventorySP
Added logic to choose the side panel if it's open, or open the side panel if no other inventory panels are open.

--HG--
branch : avatar-pipeline
2009-12-03 14:06:08 -05:00
Loren Shih 2adf9d6b04 EXT-2410 : Accepting an offered notecard should open the inventorySP
Preliminary checkin to improve this infrastructure.

--HG--
branch : avatar-pipeline
2009-12-03 11:18:59 -05:00
Loren Shih 8fdd2e0b28 EXT-3028 : "Find Original" does nothing if floater inventory isn't open
Changed logic for getActiveInventory so that it considers InventorySP.
Removed getActiveInventory and replaced with getActiveInventoryPanel since that follows its current usage.
This currently contains a bug because the InventorySP always thinks it's open.

--HG--
branch : avatar-pipeline
2009-12-01 21:12:34 -05:00
Bryan O'Sullivan 699eac4ee3 Switch some files to Unix line endings 2009-11-18 17:52:03 -08:00
Eugene Kondrashev fce52249ab Particial fix for normal bug EXT-2410- Accepting an Offered Notecard Should Open the Side Bar Inventory Tab. Added select command while opening inventory sidetray panel
--HG--
branch : product-engine
2009-11-18 16:04:41 +02:00
Steve Bennetts 5e85642650 Temp fix to prevent crash while missing sidepanel_task_info.xml. 2009-11-06 18:04:29 -08:00
Loren Shih 7615ec497e EXT-2216 : Task properties sidepanel
EXT-2224 : Edit item then delete item -- edit panel still active
EXT-2228 : Buy/Pay/Open buttons for Task sidepanel

--HG--
branch : avatar-pipeline
2009-11-04 20:30:11 -05:00
Loren Shih ec9da605c1 EXT-2216 : Task properties sidepanel
Subclassing sidepanel item/task info with llsidepanelinventorysubpanel.
Some bug fixing and cleanup.

--HG--
branch : avatar-pipeline
2009-11-04 16:25:13 -05:00
Loren Shih 7383cfe14b EXT-2216 : Task properties sidepanel
Guts of task properteis sidepanel created.

--HG--
branch : avatar-pipeline
2009-11-04 13:18:29 -05:00
Loren Shih f263d119c4 EXT-2130 : XUI cleanup
Reformatted sidepanel_inventory
Took out tab container from both sidepanel_inventory and sidepanel_item_info

--HG--
branch : avatar-pipeline
2009-11-03 19:46:57 -05:00
Loren Shih b7d020e744 EXT-2168 : Rename ObjectInfo to ItemInfo
Renaming for better clarity as to what llsidepaneliteminfo does.
Also fixed an error where Edit was not enabling the panel.
Also did some superficial cleanup and reorganization of llsidepanel- files.

--HG--
branch : avatar-pipeline
2009-11-03 16:28:52 -05:00