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

Task/14272: disable betaNotice in site header #360

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Deprecated::SiteHeader @responsiveNav={{true}} as |banner|>
<Deprecated::SiteHeader @betaNotice={{false}} @responsiveNav={{true}} as |banner|>
<banner.title>
<LinkTo @route="application" class="site-title">Street Map <small class="site-subtitle show-for-medium"><span class="show-for-xlarge">The</span> Status &amp; History of N<span class="show-for-xlarge">ew </span>Y<span class="show-for-xlarge">ork </span>C<span class="show-for-xlarge">ity</span>&rsquo;s Streets</small></LinkTo>
</banner.title>
Expand Down Expand Up @@ -34,20 +34,20 @@
{{search.result.label}} ({{moment-format search.result.effective 'DD MMMM YYYY'}})
{{/if}}
</LabsSearch>
{{labs-bbl-lookup onSuccess=this.flyTo}}

Check warning on line 37 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{labs-bbl-lookup}} with curly component syntax. You should use <LabsBblLookup> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['labs-bbl-lookup'] }`.
</div>
<div class="map-container cell medium-auto large-order-2">
<LabsMap @id="main-map" @initOptions={{this.initMapOptions}} @mapLoaded={{this.handleMapLoad}} as |map|>

<map.labs-layers @onLayerMouseMove={{this.handleLayerMouseMove}} @layerGroups={{this.model.layerGroups}} as |layers|>
<layers.tooltip as |tooltip|>
{{tooltip-renderer feature=tooltip.feature template=tooltip.layer.tooltipTemplate}}

Check warning on line 44 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{tooltip-renderer}} with curly component syntax. You should use <TooltipRenderer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['tooltip-renderer'] }`.
</layers.tooltip>
</map.labs-layers>

{{#if (not-eq this.popupFeatures null)}}
<map.popup @lngLat={{this.popupLocation}}>
{{map-popup-content

Check warning on line 50 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{map-popup-content}} with curly component syntax. You should use <MapPopupContent> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['map-popup-content'] }`.
onHoverListItem=this.handlePopupLinkOver
onMouseLeave=this.clearAmendmentHover
features=this.popupFeatures}}
Expand All @@ -55,7 +55,7 @@

{{#if this.highlightedAmendmentSource}}
<map.source @options={{this.highlightedAmendmentSource}} as |source|>
{{source.layer layer=(hash

Check warning on line 58 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="#ffff00"
Expand All @@ -68,7 +68,7 @@
)
before='boundary_country'
}}
{{source.layer layer=(hash

Check warning on line 71 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="rgba(60, 133, 210, 1)"
Expand Down Expand Up @@ -96,7 +96,7 @@

{{#if this.highlightedStreetSource}}
<map.source @options={{this.highlightedStreetSource}} as |source|>
{{source.layer layer=(hash

Check warning on line 99 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="#ffff00"
Expand All @@ -109,7 +109,7 @@
)
before='boundary_country'
}}
{{source.layer layer=(hash

Check warning on line 112 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="rgba(60, 133, 210, 1)"
Expand All @@ -132,7 +132,7 @@

{{#if this.highlightedAmendmentSource}}
<map.source @options={{this.highlightedAmendmentSource}} as |source|>
{{source.layer layer=(hash

Check warning on line 135 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="#ffff00"
Expand All @@ -145,7 +145,7 @@
)
before='boundary_country'
}}
{{source.layer layer=(hash

Check warning on line 148 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='line'
paint=(hash
line-color="rgba(60, 133, 210, 1)"
Expand All @@ -168,7 +168,7 @@

{{#if this.searchedAddressSource}}
<map.source @options={{this.searchedAddressSource}} as |source|>
{{source.layer layer=(hash

Check warning on line 171 in app/templates/application.hbs

View workflow job for this annotation

GitHub Actions / Tests

You are using the component {{source.layer}} with curly component syntax. You should use <Source.Layer> instead. If it is actually a helper you must manually add it to the 'no-curly-component-invocation' rule configuration, e.g. `'no-curly-component-invocation': { allow: ['source.layer'] }`.
type='circle'
paint=(hash
circle-radius=8
Expand Down
Loading