Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remembering search items per page #2175 #634

Merged
merged 5 commits into from
Apr 26, 2019

Conversation

Ldcabansay
Copy link
Contributor

dockstore/dockstore#2175

Selected number of items per page in search results table should stay consistent when navigating away and back to search page. For example selecting 20 items per page then click navigating to an entry and then navigating back to the search page should continue to show 20 items per page rather than defaulting back to 10.

… consistent when navigating away and back to search page
Copy link
Contributor

@garyluu garyluu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything else mentioned already

…ults table should stay consistent when navigating away and back to search page"

This reverts commit b588248.

# Conflicts:
#	cypress/integration/group2/searchTable.ts
@@ -21,6 +21,11 @@ import { DockstoreService } from '../../shared/dockstore.service';
import { Workflow } from '../../shared/swagger';
import { SearchEntryTable } from '../search-entry-table';
import { SearchQuery } from '../state/search.query';
import {SearchService} from '../state/search.service';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would have the same format as the line above it.

@@ -6,6 +6,11 @@ import { DockstoreService } from '../../shared/dockstore.service';
import { DockstoreTool } from '../../shared/swagger';
import { SearchEntryTable } from '../search-entry-table';
import { SearchQuery } from '../state/search.query';
import {SearchService} from '../state/search.service';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting same as previous line, ideally

@denis-yuen
Copy link
Member

Pending passing build (not sure if real failure or not)

@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #634 into develop will decrease coverage by <.01%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #634      +/-   ##
===========================================
- Coverage    61.74%   61.74%   -0.01%     
===========================================
  Files          238      238              
  Lines         7228     7241      +13     
  Branches       707      708       +1     
===========================================
+ Hits          4463     4471       +8     
- Misses        2592     2595       +3     
- Partials       173      175       +2
Impacted Files Coverage Δ
src/app/search/state/search.store.ts 100% <ø> (ø) ⬆️
src/app/search/state/search.query.ts 73.91% <100%> (+0.57%) ⬆️
src/app/search/state/search.service.ts 30.5% <33.33%> (+0.04%) ⬆️
...h/search-tool-table/search-tool-table.component.ts 76.47% <66.66%> (-4.78%) ⬇️
...-workflow-table/search-workflow-table.component.ts 76.47% <66.66%> (-4.78%) ⬇️
src/app/search/search-entry-table.ts 95.65% <90%> (-4.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f826e3...506336c. Read the comment docs.

@Ldcabansay
Copy link
Contributor Author

Ldcabansay commented Apr 26, 2019

Pending passing build (not sure if real failure or not)

@denis-yuen it looks like a flaky cypress test. Group 3 organizations.ts, the test is passing locally but failing on travis for some reason. Re-trying now.
image

@Ldcabansay Ldcabansay merged commit abe8207 into develop Apr 26, 2019
@denis-yuen denis-yuen deleted the feature/search_items_per_page branch April 26, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants