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

Add additional search view pages to the Nuxt app #3140

Merged
merged 21 commits into from Dec 5, 2023

Conversation

obulat
Copy link
Contributor

@obulat obulat commented Oct 5, 2023

This PR is based on #3136, and will be undrafted after that PR is merged.

Fixes

Fixes #2858 by @obulat
Fixes #2774 by @obulat

Description

With this PR, you can view the tag/source/creator collections in the Nuxt app.

To show the collections, we add _tag.vue and _source.vue pages to both image and audio, with dynamic routes. These pages check the path to make sure that the path has the necessary parameters: tag name for the tag page; an existing source for source/creator pages; /creator/ path part and the creator name for the creator pages.

In the first iteration, I used a single page with a fully-dynamic path (/_mediaType/_collection/_.vue) that would then validate the mediaType, collection and the collection parameters. However, because _mediaType can accept any string path, it would also match the locale routes such as /ar/non_existent_page), so I split this single page into 4.

The collection pages have the collection headers (using VCollectionHeader from #3365) and either a VAudioCollection or VImageGrid, as well as the "Load more" button. When you navigate from the collection page to a single result page, you also get the "Back to results" link at the top that goes back to the collection page.

This PR adds a strategy and collectionParams props to the search store. Whenever we set the searchTerm (which is only available for search, not collection), we reset the strategy to default and nullify the collectionParams.

The API service had to be updated to accept a slug for paths like /tag/tag_name, /source/source_name, /source/source_name/creator/creator_name, which are added to the /<mediaType> path.
The media store was updated to use the necessary slug from the search store collectionParams.

Testing Instructions

Run the app using just frontend/run dev. Go to /preferences page and turn on the additional_search_views feature flag.

The easiest way to land on a collection page is from the single result page. Click on the source, creator or tag buttons - and you will be taken to the corresponding page.
Check that in non-English locales, the links have the correct locale path, and when navigating, the locale is kept.
Check that if you go from a collection page to a single result page, you can go back to the collection page using "Back to results" page.
Check that if you go back to homepage from the collection page, you can search for something.

Checklist

  • My pull request has a descriptive title (not a vague title likeUpdate index.md).
  • My pull request targets the default branch of the repository (main) or a parent feature branch.
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added or updated tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no visible errors.
  • I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@obulat obulat changed the title Additional search views/add to store and api service Add additional search views to store and api service Oct 5, 2023
@github-actions github-actions bot added the 🧱 stack: frontend Related to the Nuxt frontend label Oct 5, 2023
@openverse-bot openverse-bot added the 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work label Oct 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Size Change: +58.4 kB (+6%) 🔍

Total Size: 1.07 MB

Filename Size Change
./frontend/.nuxt/dist/client/247.js 0 B -343 B (removed) 🏆
./frontend/.nuxt/dist/client/247.modern.js 0 B -346 B (removed) 🏆
./frontend/.nuxt/dist/client/248.js 0 B -1.85 kB (removed) 🏆
./frontend/.nuxt/dist/client/app.js 136 kB +4.32 kB (+3%)
./frontend/.nuxt/dist/client/app.modern.js 127 kB +4.33 kB (+4%)
./frontend/.nuxt/dist/client/components/v-all-results-grid.js 6.88 kB +30 B (0%)
./frontend/.nuxt/dist/client/components/v-all-results-grid.modern.js 6.71 kB +33 B (0%)
./frontend/.nuxt/dist/client/components/v-audio-collection.js 4.54 kB +35 B (+1%)
./frontend/.nuxt/dist/client/components/v-audio-collection.modern.js 4.42 kB +38 B (+1%)
./frontend/.nuxt/dist/client/components/v-by-line.js 2.3 kB -33 B (-1%)
./frontend/.nuxt/dist/client/components/v-by-line.modern.js 2.29 kB -25 B (-1%)
./frontend/.nuxt/dist/client/components/v-collection-header.js 1.53 kB +41 B (+3%)
./frontend/.nuxt/dist/client/components/v-collection-header.modern.js 1.54 kB +38 B (+3%)
./frontend/.nuxt/dist/client/components/v-copy-license.js 1.34 kB -997 B (-43%) 🎉
./frontend/.nuxt/dist/client/components/v-copy-license.modern.js 1.34 kB -966 B (-42%) 🎉
./frontend/.nuxt/dist/client/components/v-error-image.js 1.56 kB -952 B (-38%) 🎉
./frontend/.nuxt/dist/client/components/v-error-image.modern.js 1.54 kB -926 B (-37%) 🎉
./frontend/.nuxt/dist/client/components/v-error-section.js 4.3 kB -922 B (-18%) 👏
./frontend/.nuxt/dist/client/components/v-error-section.modern.js 3.67 kB -901 B (-20%) 🎉
./frontend/.nuxt/dist/client/components/v-full-layout.js 3.73 kB -34 B (-1%)
./frontend/.nuxt/dist/client/components/v-full-layout.modern.js 3.71 kB -30 B (-1%)
./frontend/.nuxt/dist/client/components/v-image-grid.js 4.56 kB +36 B (+1%)
./frontend/.nuxt/dist/client/components/v-image-grid.modern.js 4.44 kB +32 B (+1%)
./frontend/.nuxt/dist/client/components/v-load-more.js 1.22 kB +45 B (+4%)
./frontend/.nuxt/dist/client/components/v-load-more.modern.js 1.11 kB +43 B (+4%)
./frontend/.nuxt/dist/client/components/v-media-info.js 2.53 kB -35 B (-1%)
./frontend/.nuxt/dist/client/components/v-media-info.modern.js 2.52 kB -26 B (-1%)
./frontend/.nuxt/dist/client/components/v-media-reuse.js 2.02 kB -974 B (-32%) 🎉
./frontend/.nuxt/dist/client/components/v-media-reuse.modern.js 2.03 kB -944 B (-32%) 🎉
./frontend/.nuxt/dist/client/components/v-related-audio/pages/search/audio.js 0 B -4.5 kB (removed) 🏆
./frontend/.nuxt/dist/client/components/v-related-audio/pages/search/audio.modern.js 0 B -4.37 kB (removed) 🏆
./frontend/.nuxt/dist/client/components/v-related-images.js 4.89 kB +4.09 kB (+510%) 🆘
./frontend/.nuxt/dist/client/components/v-related-images.modern.js 4.74 kB +4.02 kB (+560%) 🆘
./frontend/.nuxt/dist/client/components/v-sources-table.js 15.2 kB +14 B (0%)
./frontend/.nuxt/dist/client/components/v-sources-table.modern.js 15.2 kB +14 B (0%)
./frontend/.nuxt/dist/client/pages/audio/_id/index.js 29.4 kB +8.41 kB (+40%) 🚨
./frontend/.nuxt/dist/client/pages/audio/_id/index.modern.js 28.5 kB +8.76 kB (+44%) 🚨
./frontend/.nuxt/dist/client/pages/image/_id/index.js 16.9 kB -1.19 kB (-7%)
./frontend/.nuxt/dist/client/pages/image/_id/index.modern.js 15.6 kB -1.13 kB (-7%)
./frontend/.nuxt/dist/client/pages/image/_id/report.js 4.04 kB -962 B (-19%) 👏
./frontend/.nuxt/dist/client/pages/image/_id/report.modern.js 3.82 kB -930 B (-20%) 🎉
./frontend/.nuxt/dist/client/pages/search.js 4.89 kB -925 B (-16%) 👏
./frontend/.nuxt/dist/client/pages/search.modern.js 7.26 kB -873 B (-11%) 👏
./frontend/.nuxt/dist/client/pages/search/image.js 4.67 kB +4.22 kB (+933%) 🆘
./frontend/.nuxt/dist/client/pages/search/image.modern.js 4.55 kB +4.1 kB (+903%) 🆘
./frontend/.nuxt/dist/client/runtime.js 2.9 kB +33 B (+1%)
./frontend/.nuxt/dist/client/runtime.modern.js 2.9 kB +31 B (+1%)
./frontend/.nuxt/dist/client/vendors/app.modern.js 68.6 kB +22 B (0%)
./frontend/.nuxt/dist/client/252.js 343 B +343 B (new file) 🆕
./frontend/.nuxt/dist/client/252.modern.js 346 B +346 B (new file) 🆕
./frontend/.nuxt/dist/client/253.js 1.85 kB +1.85 kB (new file) 🆕
./frontend/.nuxt/dist/client/components/v-collection-page.js 4.2 kB +4.2 kB (new file) 🆕
./frontend/.nuxt/dist/client/components/v-collection-page.modern.js 4.18 kB +4.18 kB (new file) 🆕
./frontend/.nuxt/dist/client/components/v-copy-license/components/v-error-image/components/v-error-section/components/v-media-reu/6931f79d.js 12.5 kB +12.5 kB (new file) 🆕
./frontend/.nuxt/dist/client/components/v-copy-license/components/v-error-image/components/v-error-section/components/v-media-reu/6931f79d.modern.js 12.5 kB +12.5 kB (new file) 🆕
./frontend/.nuxt/dist/client/pages/audio/source/_.js 727 B +727 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/audio/source/_.modern.js 645 B +645 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/audio/tag/_tag.js 560 B +560 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/audio/tag/_tag.modern.js 487 B +487 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/image/source/_.js 726 B +726 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/image/source/_.modern.js 642 B +642 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/image/tag/_tag.js 559 B +559 B (new file) 🆕
./frontend/.nuxt/dist/client/pages/image/tag/_tag.modern.js 486 B +486 B (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./frontend/.nuxt/dist/client/commons/app.js 105 kB -4 B (0%)
./frontend/.nuxt/dist/client/commons/app.modern.js 87.4 kB -1 B (0%)
./frontend/.nuxt/dist/client/commons/components/v-error-section/components/v-external-search-form/components/v-external-source-li/4e2d09e1.js 5.18 kB +1 B (0%)
./frontend/.nuxt/dist/client/commons/components/v-error-section/components/v-external-search-form/components/v-external-source-li/4e2d09e1.modern.js 5.62 kB +2 B (0%)
./frontend/.nuxt/dist/client/components/loading-icon.js 732 B +1 B (0%)
./frontend/.nuxt/dist/client/components/loading-icon.modern.js 733 B -1 B (0%)
./frontend/.nuxt/dist/client/components/table-sort-icon.js 515 B +1 B (0%)
./frontend/.nuxt/dist/client/components/table-sort-icon.modern.js 519 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-audio-list.js 1.43 kB 0 B
./frontend/.nuxt/dist/client/components/v-audio-list.modern.js 1.4 kB -2 B (0%)
./frontend/.nuxt/dist/client/components/v-audio-result.js 1.12 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-audio-result.modern.js 1.1 kB 0 B
./frontend/.nuxt/dist/client/components/v-audio-track-skeleton.js 957 B 0 B
./frontend/.nuxt/dist/client/components/v-audio-track-skeleton.modern.js 960 B 0 B
./frontend/.nuxt/dist/client/components/v-audio-track.js 5.15 kB +3 B (0%)
./frontend/.nuxt/dist/client/components/v-audio-track.modern.js 5.11 kB +7 B (0%)
./frontend/.nuxt/dist/client/components/v-back-to-search-results-link.js 632 B 0 B
./frontend/.nuxt/dist/client/components/v-back-to-search-results-link.modern.js 639 B 0 B
./frontend/.nuxt/dist/client/components/v-bone.js 632 B 0 B
./frontend/.nuxt/dist/client/components/v-bone.modern.js 636 B 0 B
./frontend/.nuxt/dist/client/components/v-box-layout.js 1.16 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-box-layout.modern.js 1.16 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-content-link.js 1.06 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-content-link.modern.js 1.06 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-content-page.js 531 B 0 B
./frontend/.nuxt/dist/client/components/v-content-page.modern.js 536 B 0 B
./frontend/.nuxt/dist/client/components/v-content-report-button.js 493 B 0 B
./frontend/.nuxt/dist/client/components/v-content-report-button.modern.js 497 B 0 B
./frontend/.nuxt/dist/client/components/v-content-report-form.js 3.35 kB +2 B (0%)
./frontend/.nuxt/dist/client/components/v-content-report-form.modern.js 3.23 kB +2 B (0%)
./frontend/.nuxt/dist/client/components/v-content-report-popover.js 3.82 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-content-report-popover.modern.js 3.7 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-copy-button.js 3.8 kB -3 B (0%)
./frontend/.nuxt/dist/client/components/v-copy-button.modern.js 3.81 kB 0 B
./frontend/.nuxt/dist/client/components/v-copy-license/components/v-license-tab-panel/components/v-media-reuse/pages/image/_id/index.js 3.8 kB -2 B (0%)
./frontend/.nuxt/dist/client/components/v-copy-license/components/v-license-tab-panel/components/v-media-reuse/pages/image/_id/index.modern.js 3.81 kB 0 B
./frontend/.nuxt/dist/client/components/v-dmca-notice.js 795 B 0 B
./frontend/.nuxt/dist/client/components/v-dmca-notice.modern.js 800 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-external-search-form.js 4.11 kB +4 B (0%)
./frontend/.nuxt/dist/client/components/v-external-search-form.modern.js 3.44 kB 0 B
./frontend/.nuxt/dist/client/components/v-external-source-list.js 2.63 kB 0 B
./frontend/.nuxt/dist/client/components/v-external-source-list.modern.js 2 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-get-media-button.js 622 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-get-media-button.modern.js 628 B 0 B
./frontend/.nuxt/dist/client/components/v-grid-skeleton.js 1.55 kB -1 B (0%)
./frontend/.nuxt/dist/client/components/v-grid-skeleton.modern.js 1.55 kB 0 B
./frontend/.nuxt/dist/client/components/v-hide-button.js 594 B 0 B
./frontend/.nuxt/dist/client/components/v-hide-button.modern.js 591 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-home-gallery.js 4.28 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-home-gallery.modern.js 4.26 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-homepage-content.js 1.82 kB 0 B
./frontend/.nuxt/dist/client/components/v-homepage-content.modern.js 1.79 kB 0 B
./frontend/.nuxt/dist/client/components/v-image-cell.js 2.24 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-image-cell.modern.js 2.23 kB +3 B (0%)
./frontend/.nuxt/dist/client/components/v-license-tab-panel.js 641 B 0 B
./frontend/.nuxt/dist/client/components/v-license-tab-panel.modern.js 648 B 0 B
./frontend/.nuxt/dist/client/components/v-media-details.js 5.89 kB +7 B (0%)
./frontend/.nuxt/dist/client/components/v-media-details.modern.js 5.74 kB +5 B (0%)
./frontend/.nuxt/dist/client/components/v-media-license.js 930 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-media-license.modern.js 939 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-media-tag.js 416 B 0 B
./frontend/.nuxt/dist/client/components/v-media-tag.modern.js 420 B 0 B
./frontend/.nuxt/dist/client/components/v-media-tags.js 884 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-media-tags.modern.js 885 B +2 B (0%)
./frontend/.nuxt/dist/client/components/v-metadata-value.js 604 B 0 B
./frontend/.nuxt/dist/client/components/v-metadata-value.modern.js 609 B 0 B
./frontend/.nuxt/dist/client/components/v-metadata.js 1.32 kB -4 B (0%)
./frontend/.nuxt/dist/client/components/v-metadata.modern.js 1.32 kB -2 B (0%)
./frontend/.nuxt/dist/client/components/v-modal.js 982 B 0 B
./frontend/.nuxt/dist/client/components/v-modal.modern.js 973 B 0 B
./frontend/.nuxt/dist/client/components/v-no-results.js 2.67 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-no-results.modern.js 2.03 kB 0 B
./frontend/.nuxt/dist/client/components/v-old-icon-button.js 854 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-old-icon-button.modern.js 846 B 0 B
./frontend/.nuxt/dist/client/components/v-radio.js 1.02 kB 0 B
./frontend/.nuxt/dist/client/components/v-radio.modern.js 1.02 kB 0 B
./frontend/.nuxt/dist/client/components/v-related-audio.js 825 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-related-audio.modern.js 743 B -2 B (0%)
./frontend/.nuxt/dist/client/components/v-report-desc-form.js 996 B 0 B
./frontend/.nuxt/dist/client/components/v-report-desc-form.modern.js 1 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-row-layout.js 2.05 kB +1 B (0%)
./frontend/.nuxt/dist/client/components/v-row-layout.modern.js 2.05 kB 0 B
./frontend/.nuxt/dist/client/components/v-safety-wall.js 1.45 kB +2 B (0%)
./frontend/.nuxt/dist/client/components/v-safety-wall.modern.js 1.45 kB -4 B (0%)
./frontend/.nuxt/dist/client/components/v-scroll-button.js 891 B 0 B
./frontend/.nuxt/dist/client/components/v-scroll-button.modern.js 892 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-scroller.js 596 B 0 B
./frontend/.nuxt/dist/client/components/v-scroller.modern.js 592 B 0 B
./frontend/.nuxt/dist/client/components/v-search-results-title.js 618 B +2 B (0%)
./frontend/.nuxt/dist/client/components/v-search-results-title.modern.js 622 B +1 B (0%)
./frontend/.nuxt/dist/client/components/v-single-result-controls.js 1.18 kB 0 B
./frontend/.nuxt/dist/client/components/v-single-result-controls.modern.js 1.18 kB 0 B
./frontend/.nuxt/dist/client/components/v-sketch-fab-viewer.js 1.02 kB 0 B
./frontend/.nuxt/dist/client/components/v-sketch-fab-viewer.modern.js 915 B -1 B (0%)
./frontend/.nuxt/dist/client/components/v-snackbar.js 1.06 kB -2 B (0%)
./frontend/.nuxt/dist/client/components/v-snackbar.modern.js 1.07 kB 0 B
./frontend/.nuxt/dist/client/components/v-source-creator-button.js 547 B 0 B
./frontend/.nuxt/dist/client/components/v-source-creator-button.modern.js 550 B 0 B
./frontend/.nuxt/dist/client/components/v-tag.js 411 B 0 B
./frontend/.nuxt/dist/client/components/v-tag.modern.js 416 B 0 B
./frontend/.nuxt/dist/client/components/v-warning-suppressor.js 307 B 0 B
./frontend/.nuxt/dist/client/components/v-warning-suppressor.modern.js 311 B 0 B
./frontend/.nuxt/dist/client/pages/about.js 1.42 kB 0 B
./frontend/.nuxt/dist/client/pages/about.modern.js 1.42 kB 0 B
./frontend/.nuxt/dist/client/pages/feedback.js 1.36 kB -1 B (0%)
./frontend/.nuxt/dist/client/pages/feedback.modern.js 1.36 kB +1 B (0%)
./frontend/.nuxt/dist/client/pages/index.js 6.41 kB -1 B (0%)
./frontend/.nuxt/dist/client/pages/index.modern.js 6.35 kB -3 B (0%)
./frontend/.nuxt/dist/client/pages/preferences.js 1.46 kB 0 B
./frontend/.nuxt/dist/client/pages/preferences.modern.js 1.46 kB +1 B (0%)
./frontend/.nuxt/dist/client/pages/privacy.js 1.26 kB -1 B (0%)
./frontend/.nuxt/dist/client/pages/privacy.modern.js 1.26 kB +1 B (0%)
./frontend/.nuxt/dist/client/pages/search-help.js 1.08 kB 0 B
./frontend/.nuxt/dist/client/pages/search-help.modern.js 1.08 kB -1 B (0%)
./frontend/.nuxt/dist/client/pages/search/audio.js 498 B -1 B (0%)
./frontend/.nuxt/dist/client/pages/search/audio.modern.js 502 B +1 B (0%)
./frontend/.nuxt/dist/client/pages/search/index.js 317 B +1 B (0%)
./frontend/.nuxt/dist/client/pages/search/index.modern.js 320 B 0 B
./frontend/.nuxt/dist/client/pages/search/model-3d.js 243 B +1 B (0%)
./frontend/.nuxt/dist/client/pages/search/model-3d.modern.js 246 B 0 B
./frontend/.nuxt/dist/client/pages/search/video.js 241 B +1 B (0%)
./frontend/.nuxt/dist/client/pages/search/video.modern.js 245 B +2 B (+1%)
./frontend/.nuxt/dist/client/pages/sensitive-content.js 1.52 kB 0 B
./frontend/.nuxt/dist/client/pages/sensitive-content.modern.js 1.53 kB 0 B
./frontend/.nuxt/dist/client/pages/sources.js 1.53 kB -1 B (0%)
./frontend/.nuxt/dist/client/pages/sources.modern.js 1.54 kB 0 B
./frontend/.nuxt/dist/client/vendors/app.js 69 kB +6 B (0%)

compressed-size-action

@obulat obulat added 🟨 priority: medium Not blocking but should be addressed soon 🌟 goal: addition Addition of new feature 💻 aspect: code Concerns the software code in the repository and removed 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work labels Oct 5, 2023
@obulat obulat force-pushed the additional_search_views/store-remove-searchby branch from 3db4968 to 37f6245 Compare October 5, 2023 10:41
@obulat obulat self-assigned this Oct 6, 2023
@obulat obulat force-pushed the additional_search_views/store-remove-searchby branch 2 times, most recently from 351b8c8 to eddeee5 Compare October 6, 2023 13:29
@obulat obulat force-pushed the additional_search_views/store-remove-searchby branch 6 times, most recently from 033cc95 to e7a091e Compare October 23, 2023 11:32
Base automatically changed from additional_search_views/store-remove-searchby to main October 23, 2023 11:51
@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch from 96d3a42 to e6dd537 Compare October 23, 2023 12:08
@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch 5 times, most recently from b8d488e to 085c94d Compare November 10, 2023 12:33
@obulat obulat changed the base branch from main to additional_search_views/collection_routes November 10, 2023 12:48
@obulat obulat force-pushed the additional_search_views/collection_routes branch from 5728670 to 2e7540c Compare November 13, 2023 09:27
@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch from 085c94d to 8af4d49 Compare November 13, 2023 09:29
@obulat obulat force-pushed the additional_search_views/collection_routes branch from 2e7540c to b48b865 Compare November 14, 2023 04:32
@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch from a5db8b1 to cb01698 Compare December 1, 2023 12:45
Copy link
Contributor

@fcoveram fcoveram left a comment

Choose a reason for hiding this comment

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

I noticed one odd spacing in VCollectionHeader that can look better with the following two changes:

  • Audio results of source, tag, and author in all breakpoints, margin-bottom looks better with 8px. I refer to this area.
  • Image results of source, tag, and author in all breakpoints, margin-bottom looks better with 16px. I refer to this area.

Pardon the picky territory my suggestions belong to, but QA is the perfect stage for adjustments.

@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch from cb01698 to f1c64be Compare December 2, 2023 10:55
@obulat
Copy link
Contributor Author

obulat commented Dec 2, 2023

I noticed one odd spacing in VCollectionHeader that can look better with the following two changes:

  • Audio results of source, tag, and author in all breakpoints, margin-bottom looks better with 8px. I refer to this area.
  • Image results of source, tag, and author in all breakpoints, margin-bottom looks better with 16px. I refer to this area.

Pardon the picky territory my suggestions belong to, but QA is the perfect stage for adjustments.

Thank you for re-reviewing! I've updated the paddings.

I also noticed that the collection pages really didn't render on the server at all, not just because of some local problems. Thank you for flagging that, @fcoveram. I fixed the logic of the collection page parameter validation, and now they do render on the server.
I've added the e2e tests, but didn't add visual regression tests to not make the tests run too long.

Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
@obulat obulat force-pushed the additional_search_views/add-to-store-and-api-service branch from e23b090 to f1c6cac Compare December 5, 2023 07:23
@obulat obulat requested a review from fcoveram December 5, 2023 08:09
Copy link
Contributor

@fcoveram fcoveram left a comment

Choose a reason for hiding this comment

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

It looks great ✨🚀

@obulat obulat merged commit 6102985 into main Dec 5, 2023
42 checks passed
@obulat obulat deleted the additional_search_views/add-to-store-and-api-service branch December 5, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: documentation Related to Sphinx documentation 🧱 stack: frontend Related to the Nuxt frontend
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Update the Nuxt store to allow for searches by source/creator/tag Create a page for tag/creator/source views
5 participants