[Merge] lp:~rpadovani/webbrowser-app/no-duplicates-address-bar into lp:webbrowser-app

Riccardo Padovani riccardo at rpadovani.com
Mon Jul 6 17:22:24 UTC 2015


Sorry, I'm not sure I understand how to create a generic approach. We have 3 model to merge here: bookmarks, history, and suggestions on google. We want to limit bookmarks and history to two elements, suggestions on google to 5. I need to pass more elements to be sure the aren't doublons (4 is perfect for history, because at least two are different from the two of bookmarks), but how can I limit how many of them I display without counting how many I've already added in that section? 

Maybe I've to do a more generic approach creating an array of how many of each section I added? But again, how could I choose if I have to display 5 or 2 without verifing which model it is?
-- 
https://code.launchpad.net/~rpadovani/webbrowser-app/no-duplicates-address-bar/+merge/262586
Your team Ubuntu Phablet Team is subscribed to branch lp:webbrowser-app.



More information about the Ubuntu-reviews mailing list