Merge lp://staging/~artmello/webbrowser-app/webbrowser-app-bookmark_folders into lp://staging/webbrowser-app
- webbrowser-app-bookmark_folders
- Merge into trunk
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Olivier Tilloy | ||||||||
Approved revision: | 1125 | ||||||||
Merged at revision: | 1077 | ||||||||
Proposed branch: | lp://staging/~artmello/webbrowser-app/webbrowser-app-bookmark_folders | ||||||||
Merge into: | lp://staging/webbrowser-app | ||||||||
Diff against target: |
2658 lines (+1979/-70) 27 files modified
src/app/webbrowser/AddressBar.qml (+7/-0) src/app/webbrowser/BookmarkOptions.qml (+166/-0) src/app/webbrowser/BookmarksFolderListView.qml (+157/-0) src/app/webbrowser/Browser.qml (+64/-4) src/app/webbrowser/CMakeLists.txt (+2/-0) src/app/webbrowser/Chrome.qml (+2/-0) src/app/webbrowser/NewTabView.qml (+27/-9) src/app/webbrowser/UrlsList.qml (+2/-2) src/app/webbrowser/bookmarks-folder-model.cpp (+84/-0) src/app/webbrowser/bookmarks-folder-model.h (+60/-0) src/app/webbrowser/bookmarks-folderlist-model.cpp (+217/-0) src/app/webbrowser/bookmarks-folderlist-model.h (+79/-0) src/app/webbrowser/bookmarks-model.cpp (+164/-8) src/app/webbrowser/bookmarks-model.h (+15/-3) src/app/webbrowser/webbrowser-app.cpp (+2/-0) tests/autopilot/webbrowser_app/emulators/browser.py (+52/-0) tests/autopilot/webbrowser_app/tests/test_addressbar_bookmark.py (+3/-0) tests/autopilot/webbrowser_app/tests/test_bookmark_options.py (+243/-0) tests/autopilot/webbrowser_app/tests/test_keyboard.py (+6/-2) tests/autopilot/webbrowser_app/tests/test_new_tab_view.py (+150/-22) tests/autopilot/webbrowser_app/tests/test_suggestions.py (+2/-2) tests/unittests/CMakeLists.txt (+2/-0) tests/unittests/bookmarks-folder-model/CMakeLists.txt (+6/-0) tests/unittests/bookmarks-folder-model/tst_BookmarksFolderModelTests.cpp (+123/-0) tests/unittests/bookmarks-folderlist-model/CMakeLists.txt (+6/-0) tests/unittests/bookmarks-folderlist-model/tst_BookmarksFolderListModelTests.cpp (+269/-0) tests/unittests/bookmarks-model/tst_BookmarksModelTests.cpp (+69/-18) |
||||||||
To merge this branch: | bzr merge lp://staging/~artmello/webbrowser-app/webbrowser-app-bookmark_folders | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Bill Filler (community) | Needs Fixing | ||
Review via email:
|
Commit message
Implement bookmark folders
Description of the change
Implement bookmark folders
- 1032. By Arthur Mello
-
Remove empty line
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
- 1033. By Arthur Mello
-
Merge with trunk
- 1034. By Arthur Mello
-
Move the Folder data to a specific table in Database
- 1035. By Arthur Mello
-
Update models to handle the new bookmarks folders table
- 1036. By Arthur Mello
-
Add support to the default empty folder
- 1037. By Arthur Mello
-
Fix QML issues
- 1038. By Arthur Mello
-
Revert chnages in NewTabView
- 1039. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1039
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
Merged in the latest trunk, and tst_BookmarksMo
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
After resolving the trivial build issue pointed out above, I’m doing some quick functional testing, and creating a new bookmark folder doesn’t seem to work: I’m bookmarking a page that wasn’t previously bookmarked, the popover appears, I click on "New Folder", enter a new name (btw pressing the Enter key should validate), click "Choose Folder", but the dropdown list still has only "All Bookmarks".
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
"CREATE TABLE IF NOT EXISTS bookmarks_folders" …
Can the table be named "folders", please? The "bookmarks_" prefix is redundant, given that the database name is "bookmarks" already.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
33 + if (state == "exisitngFolder") {
typo
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
A few remarks/
189 + function show() {
190 + sourceComponent = bookmarkOptions
191 + }
This is unnecessary: instead of a custom show() function, where you would call it just do "bookmarkOption
For BookmarkOptions
376 + Q_PROPERTY(
Do we really need this "lastAddition" property (and role)? I was under the impression that we would always display the list of bookmarks sorted alphabetically, not by recency. BookmarksFolder
790 + Empty
I’m not sure this role is very useful. Since there is an "Entries" role already, it’s easy to check whether the list of entries is empty. I’d remove it.
903 + emit folderInserted("");
Can you please use Q_EMIT everywhere instead of emit?
Can you rename the "folderInserted" signal to "folderAdded"? Similarly, "insertNewFolder" should be renamed to "addFolder".
The SQL "bookmarks" table should probably have a foreign key constraint on folderId. See https:/
- 1040. By Arthur Mello
-
Merge with trunk
- 1041. By Arthur Mello
-
Fix build issue
- 1042. By Arthur Mello
-
Change the bookmarks folders table name
- 1043. By Arthur Mello
-
Fix typo
- 1044. By Arthur Mello
-
Remove unnecessary show function
- 1045. By Arthur Mello
-
Remove both the lastAddition property and the folder list chronological model
- 1046. By Arthur Mello
-
Remove empty property
- 1047. By Arthur Mello
-
Use Q_EMIT instead of emit
Rename methods names
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1047
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1048. By Arthur Mello
-
Use the Popover component from the SDK for the BookmarkOptions
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1048
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1049. By Arthur Mello
-
Add a new Dialog to add a new folder in BookmarkOptions
- 1050. By Arthur Mello
-
Create API in the foldersListModel to create a new folder
- 1051. By Arthur Mello
-
Add new unittest for the createNewFolder function
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
> The SQL "bookmarks" table should probably have a foreign key constraint on
> folderId. See https:/
It seems that Foreign Key support is disabled by default and need to be enabled setting the PRAGMA foreign_keys. But it is not possible to enable it in a multi-statement transaction so we would need to set it before each relevant transaction in the bookmarks-model. I think that could be error prone but can be done for sure. What do you think? Or maybe there is another way to do it that I am missing.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1051
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
> After resolving the trivial build issue pointed out above, I’m doing some
> quick functional testing, and creating a new bookmark folder doesn’t seem to
> work: I’m bookmarking a page that wasn’t previously bookmarked, the popover
> appears, I click on "New Folder", enter a new name (btw pressing the Enter key
> should validate), click "Choose Folder", but the dropdown list still has only
> "All Bookmarks".
The BookmarkOptions component had 2 states: choosing an existing folder and creating a new folder. We would only create a new folder if the user dismiss the component in the "creating a new folder" state. So when you clicked "Choose Folder" you cancelled the creation of the new folder. But, as we can see, that is not user friendly. I changed to show a dialog when you click "New Folder" and when it is confirmed we will create the folder and it will show up in the dropdown. Please, let me know what you think about it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
> > The SQL "bookmarks" table should probably have a foreign key constraint on
> > folderId. See https:/
>
> It seems that Foreign Key support is disabled by default and need to be
> enabled setting the PRAGMA foreign_keys. But it is not possible to enable it
> in a multi-statement transaction so we would need to set it before each
> relevant transaction in the bookmarks-model. I think that could be error prone
> but can be done for sure. What do you think? Or maybe there is another way to
> do it that I am missing.
Looks like too much hassle for little benefit. Let’s forget about it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
> > After resolving the trivial build issue pointed out above, I’m doing some
> > quick functional testing, and creating a new bookmark folder doesn’t seem to
> > work: I’m bookmarking a page that wasn’t previously bookmarked, the popover
> > appears, I click on "New Folder", enter a new name (btw pressing the Enter
> key
> > should validate), click "Choose Folder", but the dropdown list still has
> only
> > "All Bookmarks".
>
> The BookmarkOptions component had 2 states: choosing an existing folder and
> creating a new folder. We would only create a new folder if the user dismiss
> the component in the "creating a new folder" state. So when you clicked
> "Choose Folder" you cancelled the creation of the new folder. But, as we can
> see, that is not user friendly. I changed to show a dialog when you click "New
> Folder" and when it is confirmed we will create the folder and it will show up
> in the dropdown. Please, let me know what you think about it.
This looks better, although I would prefer not to have an extra button. Maybe a special entry in the dropdown to create a new folder? In any case design will have to comment on this, so let’s leave it as is for now, it works.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
A few more comments/remarks from a functional review and partial code review:
- When adding a bookmark, creating a new folder should auto-select it (supposedly when creating a new folder the user wants to save the current bookmark in it).
- The arrow of the bookmark dialog popover should point at the star, not at the center of the chrome.
- The dialog title says "bookmark added", however the bookmark is not actually added until after the dialog is closed. If the app crashes or is killed for whatever reason while the dialog is shown, the bookmark will be lost, which is unexpected. Can we add the bookmark right away (by default without a folder, and when changing the folder from the dropdown update it)?
- The font size of all elements in the bookmark dialog should probably decreased, except maybe that of the title.
- There should probably be top and bottom margins for the contents of the bookmark dialog.
- The inclusion of QDateTime in bookmarks-
- In BookmarksFolder
- 1052. By Arthur Mello
-
Set the optionSelector to the new created folder
- 1053. By Arthur Mello
-
Point the arrow of the bookmark dialog popover should at the star
- 1054. By Arthur Mello
-
Add the bookmark as soon as the toggle is clicked and update the data after
- 1055. By Arthur Mello
-
Add a top and a bottom margin to the bookmarkOptions
- 1056. By Arthur Mello
-
Remove unnecessary include
- 1057. By Arthur Mello
-
Stop connecting to unnecessary signal
- 1058. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1058
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
> - The font size of all elements in the bookmark dialog should probably
> decreased, except maybe that of the title.
The "Save in" text is inside the OptionSelector component and it seems it does not provide anyway to set the fontSize for the text.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
> The "Save in" text is inside the OptionSelector component and it seems
> it does not provide anyway to set the fontSize for the text.
Have you asked the UITK folks about that? What about the other widgets in the popover?
When creating a new folder from the popover, the new folder is selected as expected, but the dropdown remains expanded. I think it should be collapsed.
The __bookmarkToggle property is not a good idea, it breaks encapsulation. Instead, can you add an empty item that is anchored to the bookmark toggle, and have that item exposed as a top-level property? Properties whose names start with a double underscore "__" are not meant to be used in QML, they exist only for testing purposes.
Why does BookmarksModel:
If BookmarksModel:
Can you please rename BookmarksFolder
- 1059. By Arthur Mello
-
Do not change the icon and the created roles when updating bookmark
- 1060. By Arthur Mello
-
Rename method
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1060
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1061. By Arthur Mello
-
Expose an item to work as a place holder for the bookmark toggle
- 1062. By Arthur Mello
-
Colapse the OptionSelector after we add a new folder
- 1063. By Arthur Mello
-
Reduce font size of tex
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1061
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1063
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1063
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1064. By Arthur Mello
-
Merge with trunk
- 1065. By Arthur Mello
-
Limit the size of the OptionSelector when expanded
- 1066. By Arthur Mello
-
Show the bookmarks folders when the user click in see more bookmarks
- 1067. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
Following some Bill's suggestions, I am showing the bookmark folders when the user click in the "see more" bookmarks button. Now, when the user click in the "see more" we show all the bookmarks separated by folder. All the folders are expanded and we can collapse them if we click in the folder name. Since that was not specified by the design team any feedback about the UX will be really appreciated
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1067
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
Revision 1066 breaks autopilot tests. Please run the tests locally before pushing new revisions.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
When expanding the list of favorites to display the bookmarks grouped by folder, empty folders should probably not be displayed (including "All Bookmarks" if it’s empty).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
238 + text: {
239 + var ret
240 + if (bookmarksFolde
241 + ret = "- "
242 + } else {
243 + ret = "+ "
244 + }
245 +
246 + if (folder) {
247 + return ret + folder
248 + } else {
249 + return ret + i18n.tr("All Bookmarks")
250 + }
251 + }
This should be properly internationalized: exotic languages might have different ways of signifying that a section is expanded/collapsed than a minus/plus sign (not to mention RTL languages where the sign would probably be incorrectly placed).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Bill Filler (bfiller) wrote : | # |
Some comments that need to be fixed (some dupes of Olivier's). You should run on the device to see some of these.
1) turn off predictive text hint for entry field in Save dialog
2) pressing the Save button in the dialog doesn't close it on the device, it only dismisses the keyboard but doesn't close the dialog
3) I think we really need a "Dismiss" button in the initial popover. Not clear how to close it, especially on device
4) On device, if the list of bookmark folders is too big it pushes the popover above the url field
5) On the bookmarks page, the "More" button is too big. I thought this was supposed to be a "See more.." link at the bottom of the bookmarks list, not a button to the right? If we leave it a button, please reduce the size. Same with less button.
6) Hide folders that are empty in the more view
7) Instead of using the + -, use right arrow and down arrow icons if we have them, if not don't show anything. Just allow clicking the section to expand/collapse.
- 1068. By Arthur Mello
-
Merge with trunk
- 1069. By Arthur Mello
-
Merge with trunk
- 1070. By Arthur Mello
-
Do not display empty folders
Show icons instead of +/- as symbols for folders names - 1071. By Arthur Mello
-
Turn off predictive text hint for entry field in Save dialog
- 1072. By Arthur Mello
-
Add a dismiss button to the BookmarkOptions dialog
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1070
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1073. By Arthur Mello
-
Change how the top and the bottom margin is handled in the BookmarkOptions so it will not push above the url field
- 1074. By Arthur Mello
-
Reduce the overall size of the BookmarkOptions component so it will not override url bar
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1072
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1075. By Arthur Mello
-
Dismiss BookmarkOptions during AP tests
- 1076. By Arthur Mello
-
Get delegates from the "All Bookmarks" folder to fix AP test
- 1077. By Arthur Mello
-
Fix AP test to work with new bookmarks folder list view
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
> 5) On the bookmarks page, the "More" button is too big. I thought this was
> supposed to be a "See more.." link at the bottom of the bookmarks list, not a
> button to the right? If we leave it a button, please reduce the size. Same
> with less button.
Thanks a lot for reviewing this. If you agree, I think it would be better handle this in a different MR. The button was not changed by this, but was applied during the changes for the new tab view. I will talk with the design team about it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1074
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1077
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Bill Filler (bfiller) wrote : | # |
Good fixes, still seeing 2 problems:
1) pressing the Save button in the dialog doesn't close it on the device, it only dismisses the keyboard but doesn't close the dialog. You have to press it twice to make it go away
2) after pressing it a second time, the popover is shown but you see the selection in the list switching to the new folder name and it takes a while. I would expect the new folder name to already be selected in the list before the popover becomes visible
- 1078. By Arthur Mello
-
Make sure that the clicked signal is triggered in the new folder dialog
- 1079. By Arthur Mello
-
Reduce BookmarkOptions space
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1078
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1079
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1080. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1080
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
124 + text: i18n.tr("Ok")
Spelling is incorrect, this should be "OK" (see https:/
- 1081. By Arthur Mello
-
Fix text
- 1082. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1082
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1082
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1083. By Arthur Mello
-
Merge with trunk
- 1084. By Arthur Mello
-
Fix AP test and Ctrl-D call to bookmark URL
- 1085. By Arthur Mello
-
Fix creation of bookmark folder in suggestions AP test
- 1086. By Arthur Mello
-
Add AP tests to the NewTabView
- 1087. By Arthur Mello
-
Add Bookmark Options AP tests
- 1088. By Arthur Mello
-
Merge with trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1088
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
Test failure:
- webbrowser_
Functional issues:
- Pressing Ctrl+D to bookmark a page should bring up the popover too.
- When the popover is visible, pressing ESC should dismiss it and remove the bookmark, Return should dismiss it and save the bookmark (similar to desktop chromium’s behaviour).
UX issue, which I discussed with James earlier today:
- Clicking the star or pressing Ctrl+D for a page that is already bookmarked should allow editing the bookmark, instead of removing it. This requires further design work though, so let’s keep it as it is for now.
Tests coverage:
- bookmarks-
- bookmarks-model.cpp has 93.8% coverage, which is ok, but we’re not testing initially populating a model with existing folders. This should be tested.
Code remarks:
- In BookmarkOptions
* It doesn’t look like selectorDelegate is used in several places, perhaps it doesn’t need to be enclosed in a separate component, but rather be set directly as folderOptionSel
* Can you add translator comments for the "Name" and "Save in" strings? Without context it’s not necessarily obvious how to translate those.
* In titleTextField (and other places), please define anchors instead of setting width to parent.width.
* Not sure why newFolderButton and okButton are inside a Row, but if you want to ensure that one is anchored to the left and the other one to the right, that’s not the right solution.
* In newFolderDialog
- In BookmarksFolder
* objectName doesn’t need to include the folderName. Instead, in autopilot tests, you can filter both on 'objectName' ("bookmarkFolde
* There are two references to bookmarksFolder
- In BookmarksFolder
* The BookmarksFolder
- In Browser.qml:
* In the BookmarkOptions instance, the binding of bookmarkTitle to browser.
- In bookmarks-
* The documentation says that each item has three roles, but they have two.
* BookmarksFolder
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Arthur Mello (artmello) wrote : | # |
> * In newFolderDialog
> the issue with onClicked not being triggered?
I was not able to find one. I will talk with Sheldon and check if there is one, since he was the one that pointed out the issue. If there is not I will create one
- 1089. By Arthur Mello
-
Merge with trunk
- 1090. By Arthur Mello
-
Show the Bookmark Options popup when using Ctrl + D shortcut
- 1091. By Arthur Mello
-
Make the ESC key to close the BookmarkOptions popup
- 1092. By Arthur Mello
-
Improve unit test coverage for BookmarksFolder
ListModel - 1093. By Arthur Mello
-
Add unittest to verify that bookmark model is populated with existing folders
- 1094. By Arthur Mello
-
Do not make OptionSelectorD
elegate be inside another component - 1095. By Arthur Mello
-
Add translator comments
- 1096. By Arthur Mello
-
Use anchors instead of setting width
- 1097. By Arthur Mello
-
Remove unnecessary Row
- 1098. By Arthur Mello
-
Does not set the folderName to the objectName
- 1099. By Arthur Mello
-
Remove BookmarksFolder
Delegate and move code to inside BookmarksFolder ListView - 1100. By Arthur Mello
-
Does not enclose the delegate inside a Component
- 1101. By Arthur Mello
-
Do not bind the Bookmark Title in Bookmark Options to the currentWebView.
title - 1102. By Arthur Mello
-
Update doc for BookmarksFolder
ListModel - 1103. By Arthur Mello
-
Call checkValidFolde
rIndex to ensure that the row is valid in BookmarksFolder ListModel - 1104. By Arthur Mello
-
Stop querying the value of populateFolderQuery more than once
- 1105. By Arthur Mello
-
Make the if statement more explicit
- 1106. By Arthur Mello
-
Make the if statement more explicit
- 1107. By Arthur Mello
-
Fix AP tests
- 1108. By Arthur Mello
-
Add AP test to check if "ESC" will unbookmark the URL
- 1109. By Arthur Mello
-
Skip test based in bug opened against SDK
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1109
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
There are two remaining places in Browser.qml where a bookmark is created without the popover being displayed: HUD actions (which is defunct code, but until we remove it it should be kept up-to-date) and contextual actions.
The BookmarkOptions component should gain an additional 'url' property, whose value would be set to browser.
It’s wrong to skip test_set_
If I press Ctrl+D to create a bookmark, then Ctrl+D again to remove it, the BookmarkOptions popover doesn’t disappear. If I then press Ctrl+D again to re-create the bookmark, I end up with two instances of the same popover.
- 1110. By Arthur Mello
-
Add bug report for the not emitted clicked signal issue
- 1111. By Arthur Mello
-
Call the BookmarkOptions popover for all the actions that add a bookmark
- 1112. By Arthur Mello
-
Add a bookmarkUrl property to BookmarkOptions set to the bookmarked url in construction time
- 1113. By Arthur Mello
-
Hide the BookmarkOptions if the Ctrl+D is pressed again
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1112
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1113
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1114. By Arthur Mello
-
Remove unecessary code
- 1115. By Arthur Mello
-
Use a single function to add bookmark and show popover
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1115
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1116. By Arthur Mello
-
Bookmark name field should have predictive text turned off
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1116
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1117. By Arthur Mello
-
Do not show BookmarkOptions for the contextual action
- 1118. By Arthur Mello
-
Improve skip message for AP test
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1117
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1119. By Arthur Mello
-
Fix add to bookmark call
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1118
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1119
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
I tested again modifying a bookmark’s title on krillin, and while the experience is poor with the OSK moving the popover out of the way, I think it’s acceptable (as long as it’s only very temporary, and because the title field remains partly visible). No need to disable the title field.
A handful of minor remarks, and we’ll be good to land the feature I think:
- When the bookmark options popover is displayed, pressing Return should dismiss it and save the bookmark (so that Ctrl+D followed by Return allows bookmarking quickly with the keyboard only).
- In BookmarkOptions
- In TestBookmarkOpt
- Looking at BookmarkOptions
- In all new autopilot tests, after clicking the dismiss button, you should call bookmark_
- tst_BookmarksFo
- 1120. By Arthur Mello
-
Add missing include to unittests
- 1121. By Arthur Mello
-
Add check to make sure that bookmark options is closed
- 1122. By Arthur Mello
-
Change get buttons methods click buttons
- 1123. By Arthur Mello
-
Remove populate_config call
- 1124. By Arthur Mello
-
Change icon color
- 1125. By Arthur Mello
-
Accept return key to close bookmark options
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1125
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Olivier Tilloy (osomon) wrote : | # |
This looks good now.
FAILED: Continuous integration, rev:1032 jenkins. qa.ubuntu. com/job/ webbrowser- app-ci/ 1832/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 2999/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- amd64-ci/ 589/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- armhf-ci/ 589/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- i386-ci/ 589/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 2997/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/webbrowser- app-ci/ 1832/rebuild
http://