Commit Graph

97 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Vladimir Pchelko a61c8d2272 EXT-7608 FIXED TeleportHistory and Landmarks panels now sets "enable" for "Map" bottom according to Design Spec.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/546/

--HG--
branch : product-engine
2010-06-10 13:16:54 +03:00
Yuri Chebotarev 4ac34230c1 EXT-6744 FIX add settigns variable "LandmarksSortedByDate"
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/489/

--HG--
branch : product-engine
2010-06-02 18:19:41 +03:00
Loren Shih d9f519d55c EXT-4088 FIXED (INFRASTRUCTURE) Change LLFolderView::getSelectionList to return a selection
Fixed issue where mCurrentSelectedList was being used before NULL check.
2010-05-14 11:27:29 -04: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
Andrew Polunin b46ba199ff EXT-7075 FIXED Map button now is always enabled and shows current user location if no other item is selected
- Added new pure virtual member function isSingleItemSelected() to the LLPanelPlacesTab. It is used in the LLPanelPlaces class inside onShowOnMapButtonClicked() to check if something was selected on the active panel. If so then selection is shown on the world map. Otherwise current agent position is shown on the world map.
- Implemented isSingleItemSelected() in the both LLPanelPlacesTab derived classes: LLLandmarksPanel and LLTeleportHistoryPanel
- Removed functionality which disables Map button if no selection is made

Reviewed by Sergey Litovchuk at https://codereview.productengine.com/secondlife/r/355/

--HG--
branch : product-engine
2010-05-11 11:34:36 +03:00
Mike Antipov 872b4d7ed0 Fixed critical bug EXT-4837 ( [NUX] When filter results in null state, provide a message suggesting the user try global search.)
Implemented passing of entered filter substring without head spaces to search URI in help message for null filtered results.
* Updated setting "no item message" to use search term from filter editor for avatar & group lists and for inventory panels.
* Updated appropriate translatable strings to get [SEARCH_TERM] substitution.
* Updated processing of filter substring to pass original string to methods applied new filter.

Additional necessary changes
* Changed place to set "no item message" for group list from refresh to where filter is updated (like in avatar lists)
* Removed converting of filter substring to upper case in Places & My Appearance sidepanels (this conversion has already been implemented in where filter is applied)
* Added a separate message for Landmarks to set search URI to secondlife:///app/search/places for Lanmarks panel;
 other inventory related panels have URL to all searched categories (secondlife:///app/search/all)

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/326/

--HG--
branch : product-engine
2010-04-28 11:00:53 +03:00
Mike Antipov 5c797555b3 Fixed normal bug EXT-6747 ('Favorites bar' folder became blank after part of landmarks were deleted by DnD on Trash button)
Reason: LLFolderView::removeSelectedItems() was used to delete dropped items in Places Landmarks Panel. This led to calling this method N times where N is count of selected items. Due to removeSelectedItems() select one of non-removed items each time after removing of selected ones (2*N - 1) items were really deleted.

Fix: updated removing in Landmarks panel to remove dropped items one by one.

Reviewed by Richard at https://codereview.productengine.com/secondlife/r/204/

--HG--
branch : product-engine
2010-04-09 11:50:32 +03:00
Paul Guslisty 66b3fbf176 Fixed major bug EXT-6605 (No profile verb button on Places panel)
- Added functionality of showing place profile to the LLPanelPlacesTab hierarchy. Use this functionality from LLPanelPlaces as callback for profile button click.

Reviewed my Mike Antipov at https://codereview.productengine.com/secondlife/r/191/

--HG--
branch : product-engine
2010-04-08 08:06:40 +03:00
Loren Shih 2854008e8e automated merge 2010-04-01 17:54:08 -04: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 5372782d50 EXT-4084 : Change LLInventoryBridge "LLFolderView* folder" to "LLFolderView *rootFolder"
Superficial cleanup - changed all instances to "LLFolderView* root".
2010-04-01 14:29:23 -04:00
Mike Antipov bba457e889 Merge from default branch
--HG--
branch : product-engine
2010-03-31 10:08:50 +03:00
Loren Shih 5861a2faf2 EXT-3414 : Move static backgroundfetch methods and variables to llinventorymodel subclass
Created LLInventoryModelBackgroundFetch file for handling background fetch.
2010-03-30 11:49:15 -04:00
Tofu Linden 7b9dc9f8d7 CID-452
Checker: FORWARD_NULL
Function: LLLandmarksPanel::isActionEnabled(const LLSD &) const
File: /indra/newview/llpanellandmarks.cpp
2010-03-23 13:57:42 +00:00
Vadim Savchuk d3a606f832 Manual merge from default branch.
Resolved conflicts in llpanellandmarks.cpp.

--HG--
branch : product-engine
2010-03-24 18:04:26 +02:00
Sergei Litovchuk c0ea363c86 Normal bug (EXT-6511) "Rename" item is enabled for multiple landmarks
- Fixed check to enable/disable "Rename" menu item if multiple items are selected.

Reviewed by Leyla Farazha and Mike Antipov
https://codereview.productengine.com/secondlife/r/85/

--HG--
branch : product-engine
2010-03-24 15:43:02 +02:00
Sergei Litovchuk f99fae6837 Fixed normal bug (EXT-5690) "delete" button is enabled for landmarks from trash
- Added check for landmarks already in trash to disable "delete" button for them.

--HG--
branch : product-engine
2010-03-23 21:36:27 +02:00
Igor Borovkov b240270552 added my landmarks auto-expansion when new folder gets created EXT-6289 (Clicking the plus button in the Places side panel only lets you add landmarks not folders)
added auto-expanding My landmarks Tab when it is closed and Add folder menu item is clicked

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

--HG--
branch : product-engine
2010-03-17 16:03:22 +02:00
Igor Borovkov d21980df98 fixed showstopper EXT-6289 (Clicking the plus button in the Places side panel only lets you add landmarks not folders)
- PLUS button works as GEAR button and PLUS button on inventory panel (show context menu on click)
- "Add a folder" menu item is always enabled (except for received folder)
- clicking "Add a folder" menu item creates a folder in My Landmarks tab no matter what has been selected in the Places panel before

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

--HG--
branch : product-engine
2010-03-16 16:34:41 +02:00
Sergei Litovchuk 56578ae0b0 Minor code cleanup.
--HG--
branch : product-engine
2010-02-22 20:58:50 +02:00
Sergei Litovchuk dcc39faab4 Fixed normal bug (EXT-5330) No way to collapse/expand accordions on My
Landmarks panel.
- "Expand All" and "Collapse All" now affect all accordions in "My Landmarks".

--HG--
branch : product-engine
2010-02-22 19:52:28 +02:00
Sergei Litovchuk e890055da3 Fixed reopened critical bug (EXT-4827) [NUX] The Places Panel should default to the Landmarks tab with the Library expanded.
- Added expanding "Landmarks" folder in the Library on startup.

--HG--
branch : product-engine
2010-02-12 22:08:55 +02:00
Tofu Linden d928ed69a9 CID-86
Checker: FORWARD_NULL
Function: LLLandmarksPanel::initLandmarksPanel(LLPlacesInventoryPanel *)
File: /indra/newview/llpanellandmarks.cpp
2010-02-10 18:00:06 +00:00
Sergei Litovchuk e918089f59 Fixed critical bug (EXT-4827) [NUX] The Places Panel should default to the Landmarks tab with the Library expanded.
- Added Library tab set open by default with Landmarks category fetch from Library.

--HG--
branch : product-engine
2010-02-04 17:04:27 +02:00
Sergei Litovchuk e2443ace95 Fixed low bug (EXT-4221) Select and display just created landmark in the
Landmarks panel after closing Create Landmark panel
- Added selecting landmark in landmarks panel after it was added or edited.
- Added expanding accordion tab containing the selected landmark.

--HG--
branch : product-engine
2010-01-21 16:58:05 +02:00
Sergei Litovchuk 0dac371e06 Fixed low bug (EXT-4310) '+' btn on My Landmarks tab of Places panel duplicates behavior of Star btn in nav bar
- Added alert if trying to create landmark for same location more than once.

--HG--
branch : product-engine
2010-01-18 22:20:11 +02:00
Sergei Litovchuk 3e7de89a6d Fixed normal bug (EXT-3714) No landmarks is shown in expanded accordeon after filter has been used.
- Added applying filter upon accordion expansion to update currently filtered items.

--HG--
branch : product-engine
2009-12-30 14:21:14 +02:00
Sergei Litovchuk f416e4a766 Fixed low bug EXT-3345 ""Expand all folders" ability is enabled while all folders are expanded in "My Landmarks" tab".
- Added check for folder view's folders being in expanded or collapsed state on "My Landmarks" tab.
- Added enabling/disabling of "Expand all folders" and "Collapse all folders" commands for landmark and folder "gear" menu.

--HG--
branch : product-engine
2009-12-26 18:33:45 +02:00
Mike Antipov 87aad0fe21 Work on low task EXT-1770 ( Places - Landmarks - Inventory Panels should be refactored to use LL implementation of possibility to show specified Inventory folder)
-- renamed files from llinventorysubtreepanel to llplacesinventorypanel
-- renamed class LLInventorySubTreePanel to LLPlacesInventoryPanel

--HG--
branch : product-engine
2009-12-25 19:43:45 +02:00
Sergei Litovchuk def2fe77ce Fixed normal bug EXT-3689 "Places/My Landmarks: "Collapse all folders" from gear menu closes root folder in landmarks accordions"
- Added reopening root folder after all folders are collapsed.

--HG--
branch : product-engine
2009-12-23 21:10:00 +02:00
Sergei Litovchuk 798ba45606 Fixed EXT-3348 "State of all folders (expanded/collapsed) in "My Landmarks" tab isn't saved after switching to "Teleport History" tab and back"
- Disabled restoring folder state when empty filter is not changed.

--HG--
branch : product-engine
2009-12-23 18:55:35 +02:00
Sergei Litovchuk 75f6bdb469 No ticket. Removed obsolete code for saving Places/My Landmarks folders state.
--HG--
branch : product-engine
2009-12-23 18:46:28 +02:00
Sergei Litovchuk 425fd9c6e0 Fixed normal bug EXT-3299 "Can't drag and drop landmarks into an empty favorites folder through landmarksSP"
- Added drag and drop for empty inventory panel. Dropped item gets to
the root folder.
- Fixed issue with empty "Landmarks" inventory panel not displaying "No
matching items..." message.
- Removed accordion updating and hiding in idle routine. This invalidates EXT-2346 "My Landmarks accordion panels shouldn't be displayed if there are no landmarks in respective folders"

--HG--
branch : product-engine
2009-12-23 18:35:27 +02:00
Loren Shih cd276a208b EXT-1607 : Trash and Gear buttons are enabled when nothing is selected
UI wasn't being updated when nothing is selected.
2009-12-17 21:16:54 -05:00
brad kittenbrink cb9b874b17 Merge of my old precompiled headers dependency cleanup with tip of viewer-2-0. 2009-12-14 11:07:29 -08:00
Loren Shih 99590047eb automated merge avp->avp
--HG--
branch : avatar-pipeline
2009-12-11 16:01:44 -05:00
Loren Shih d2b72fe018 EXT-3373 : Favorites folder disappears after canceling filter
Doing a more robust check to see if folders need to be refreshed.

--HG--
branch : avatar-pipeline
2009-12-11 15:57:41 -05:00
Vadim Savchuk 6f5b47a4e7 Merge from default branch.
--HG--
branch : product-engine
2009-12-10 16:06:01 +02:00
Sergei Litovchuk 96b8f71fa9 Re-fixed normal bug EXT-2346 \"My Landmarks accordion panels shouldn't be displayed if there are no landmarks in respective folders\"
--HG--
branch : product-engine
2009-12-09 21:58:13 +02:00
Loren Shih 96d5f52624 EXT-3274 : Landmarks or Favorites accordion panel shows up as empty
EXT-1609 : Strange behavior for accordions in Places panel, Landmarks tab

Forcing top-level folders open when accordion is active.  Removed logic that was saving and restoring initial folder state.

--HG--
branch : avatar-pipeline
2009-12-09 14:47:52 -05:00
Mike Antipov b1b9ef14f5 Fixed critical bug EXT-3094 (Content of accordions disappears after collapsing all folders in My "Landmarks" tab and switching to "Teleport history" tab and back)
Reason: Folder state of loaded folders was not saved before switching to Teleport history and back
Due to inventory loading was changed to fetch items in background it is impossible to save folder state while initializing of an Inventory panel.
Inventory observer was implemented to save folder states for Inventory Panels in all accordions.
Reviwed by Seth ProductEngine

--HG--
branch : product-engine
2009-12-09 09:56:34 +02:00
Loren Shih 9472608807 EXT-3256 : Show help message in Favorites bar if empty
--HG--
branch : avatar-pipeline
2009-12-08 18:19:39 -05:00
Loren Shih e9fcaa09e0 For EXT-3166 : MyInventory/Library Places accordions are causing massive inventory background fetch on startup
Took out line to start background fetch at start of filter; the background fetch will start when the filter is started.  This prevents the viewer from requesting a complete inventory fetch at login.

--HG--
branch : avatar-pipeline
2009-12-08 15:06:39 -05:00
brad kittenbrink 8e912657e8 Another merge of include dependency cleanup work with viewer-2-0. 2009-12-07 12:20:47 -08:00
Sergei Litovchuk 62dce8b425 Fix for critical bug EXT-3166 "MyInventory/Library Places accordions are causing massive inventory background fetch on startup"
- MyInventory/Library Places accordions aren't expanded on startup now.

--HG--
branch : product-engine
2009-12-07 16:45:14 +02:00
Sergei Litovchuk fe284981ab Fixed normal bug EXT-3004 "Created landmark isn't saved in "Favorite" folder and isn't shown in "Fav" bar".
- Added enabling "Save" landmark button only after landmark is loaded.

Minor cleanup of fix for EXT-2346 "My Landmarks accordion panels shouldn't
be displayed if there are no landmarks in respective folders".

--HG--
branch : product-engine
2009-12-03 16:16:21 +02:00
Vadim Savchuk abb23ff312 Manual merge from default branch.
--HG--
branch : product-engine
2009-12-02 18:17:51 +02:00
Kent Quirk f496c2b164 DEV-43622 : API change (no functionality change) to fix a design error in LLSD
I made it about a year and a half ago; Zero found it while reading code. I had added a return value to LLSD::insert(), but a) did it wrong, and b) broke the STL-like semantics of insert(). So I've put insert() back to returning void and created LLSD::with(), which does what my earlier insert() did. The compiler then caught all the cases where insert()'s return value were being used, and I changed those to use with() instead.
2009-12-01 20:59:08 -05:00
Andrew Dyukov 3485182552 Fixed normal bug EXT-2786 (My Landmarks: context menu updates after second right-click).
--HG--
branch : product-engine
2009-12-01 21:26:02 +02:00
Sergei Litovchuk 56504054d8 Fixed normal bug EXT-2346 "My Landmarks accordion panels shouldn't be displayed if there are no landmarks in respective folders".
- Added updating accordions contents in idle routine.
- Removed inventory observer.

--HG--
branch : product-engine
2009-12-01 20:25:01 +02:00