• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CenterForOpenScience / ember-osf-web / 6005086712
68%

Build:
DEFAULT BRANCH: develop
Ran 28 Aug 2023 09:41PM UTC
Jobs 1
Files 1248
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2023 09:41PM UTC coverage: 70.83% (-1.6%) from 72.473%
6005086712

push

github

web-flow
Feature/search improvements (#1967)

* Add new route for search (#1830)

* [ENG-4450] Add new share-search models (#1835)

-   Ticket: [ENG-4450]
-   Feature flag: n/a

## Purpose
- Add new models needed for SHARE-powered search page

## Summary of Changes
- Add new models
  - `metadata-record-search`
  - `metadata-property-search`
  - `metadata-value-search`
  - `metadata-record`
  - `search-match`
- New `ShareAdapter` and `ShareSerializer` to be used by these new models
- New mirage endpoint for metadata-record-search (other endpoints coming later)

* Add basic search page layout (#1850)

* [ENG-4465] Left panel facets manager (#1858)

-   Ticket: [ENG-4465] [ENG-4466]
-   Feature flag: n/a

## Purpose
- Add logic to search page controller to handle active filters and list of filterable properties
- Add a component to handle fetching values in a filterable properties in the search page

## Summary of Changes
- Add a `filter-facet` component
  - takes care of fetching filterable property values
  - `See more` modal

* Add route analytics metadata (#1865)

* [ENG-4469] Add object filter and sort dropdown to search (#1864)

-   Ticket: [ENG-4469]
-   Feature flag: n/a

## Purpose
- Add object type filter and sort dropdown to search page

## Summary of Changes
- Add tabs to filter by object type (All, Projects, Registrations, Preprints, Files, Users)
- Add dropdown to sort results by Relevance, Date modified/created ascending and descending
- Change model names to reflect more library-analogy based names
- Change how metadata properties are fetched from SHARE models

* [ENG-4470] Reroute to new search (#1870)

-   Ticket: [ENG-4470]
-   Feature flag: n/a

## Purpose
- reroute users to the new search page instead of registries discover
- Use OsfLink for navbar link to search page to avoid a full app reload
 
## Summary of Changes
- Change search behavior on registries landing page (osf.io/regi... (continued)

2608 of 3913 branches covered (0.0%)

Branch coverage included in aggregate %.

368 of 368 new or added lines in 33 files covered. (100.0%)

6017 of 8264 relevant lines covered (72.81%)

237.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
app/adapters/index-card.ts
1
50.0
16.67% app/home/-components/hero-banner/component.ts
1
33.33
-3.03% lib/osf-components/addon/components/editable-field/tags-manager/component.ts
1
81.82
-0.79% lib/osf-components/addon/components/tags-widget/component.ts
1
95.92
lib/osf-components/addon/helpers/sufficient-contrast.ts
1
61.9
-1.73% lib/registries/addon/drafts/draft/-components/tags-manager/component.ts
1
80.0
0.0% lib/registries/addon/index/controller.ts
2
73.33
app/helpers/get-localized-property.ts
2
50.0
-3.85% app/services/theme.ts
3
72.22
app/models/index-card.ts
3
40.0
lib/osf-components/addon/components/search-result-card/component.ts
4
0.0
0.0% lib/osf-components/addon/components/brand-color-inputs/component.ts
5
57.89
app/models/index-card-search.ts
5
58.06
lib/app-components/addon/components/branded-navbar/component.ts
6
0.0
app/preprints/discover/controller.ts
8
0.0
app/institutions/discover/controller.ts
9
0.0
app/preprints/discover/route.ts
12
71.88
lib/osf-components/addon/components/search-page/filter-facet/component.ts
17
74.56
lib/osf-components/addon/components/search-page/component.ts
55
36.3
app/models/search-result.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
50.0
-50.0% lib/registries/addon/discover/route.ts
1
81.44
-3.09% lib/registries/addon/services/share-search.ts
2
35.29
-17.65% lib/registries/addon/components/registries-discover-search/x-sidebar/component.ts
3
40.0
-16.0% lib/registries/addon/components/registries-header/component.ts
3
50.0
-50.0% lib/registries/addon/components/registries-search-result/component.ts
4
22.22
-38.89% lib/registries/addon/components/registries-provider-facet/component.ts
6
37.5
-16.67% lib/registries/addon/components/registries-registration-type-facet/component.ts
43
35.67
-43.27% lib/registries/addon/discover/controller.ts
Jobs
ID Job ID Ran Files Coverage
1 6005086712.1 28 Aug 2023 09:41PM UTC 1248
70.83
GitHub Action Run
Source Files on build 6005086712
  • Tree
  • List 1248
  • Changed 101
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e9c7912f on github
  • Prev Build on develop (#5883248725)
  • Next Build on develop (#6007006499)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc