Page MenuHomeSoftware Heritage

templates/layout: Add origins search form in right part of top navbar
ClosedPublic

Authored by anlambert on Fri, Jun 26, 6:45 PM.

Details

Summary

Add a quick way to perform software origins search on every displayed page by
adding a search form in the top navbar.

Users will be redirected to search page when submitting it.

Remove the "Beta version" Ribbon as it was overlapping the search form.

Closes T2319

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Fri, Jun 26, 6:45 PM

Build has FAILED

Patch application report for D3366 (id=11939)

Rebasing onto 04170796f4...

Current branch diff-target is up to date.
Changes applied before test
commit b95ced88ca4331f4069fa3de442032bffb5096d4
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Jun 26 18:37:44 2020 +0200

    templates/layout: Add origins search form in right part of top navbar
    
    Add a quick way to perform software origins search on every displayed page by
    adding a search form in the top navbar.
    
    Users will be redirected to search page when submitting it.
    
    Remove the "Beta version" Ribbon as it was overlapping the search form.
    
    Closes T2319

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/234/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/234/console

ardumont accepted this revision.Mon, Jun 29, 10:39 AM
ardumont added a subscriber: ardumont.

Nice ;)

This revision is now accepted and ready to land.Mon, Jun 29, 10:39 AM
anlambert updated this revision to Diff 11945.Mon, Jun 29, 11:08 AM

Update: Rebase and fix failing cypress test

Build is green

Patch application report for D3366 (id=11945)

Rebasing onto 7f8d2f0b2c...

Current branch diff-target is up to date.
Changes applied before test
commit 1f756f7fa747238fe40538ae552124b8da938780
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Jun 26 18:37:44 2020 +0200

    templates/layout: Add origins search form in right part of top navbar
    
    Add a quick way to perform software origins search on every displayed page by
    adding a search form in the top navbar.
    
    Users will be redirected to search page when submitting it.
    
    Remove the "Beta version" Ribbon as it was overlapping the search form.
    
    Closes T2319

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/236/ for more details.