mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-01 06:53:18 -07:00
Display SurveyMonkey survey (#867)
* Display SurveyMonkey survey via FAB - add Floating Action Button lib: react-tiny-fab - enable Internal Page Survey with ?flags=ips - update snapshots * Add location to state - update snapshots * Fix build error - remove react-tiny-fab - remove location state - create custom FAB component - remove feature flag - update snapshots * Add SurveyFab snapshot test * Remove embedded survey page - add intl * Remove conditional render logic on SurveyFab * Remove cypress test around starting map via URL - increase component code coverage to 83%
This commit is contained in:
parent
b0dbc90064
commit
54bdda0f02
15 changed files with 161 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
import { LngLatBoundsLike } from 'maplibre-gl';
|
||||
import { isMobile as isMobileReactDeviceDetect } from 'react-device-detect';
|
||||
import {LngLatBoundsLike} from 'maplibre-gl';
|
||||
import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect';
|
||||
|
||||
const XYZ_SUFFIX = '{z}/{x}/{y}.pbf';
|
||||
export const featureURLForTilesetName = (tilesetName: string): string => {
|
||||
|
|
|
@ -21,6 +21,11 @@ export const PAGE_INTRO = defineMessages({
|
|||
defaultMessage: 'Email us',
|
||||
description: 'contact page sub header text',
|
||||
},
|
||||
SURVEY_TEXT: {
|
||||
id: 'fab.survey.text',
|
||||
defaultMessage: 'Take our survey!',
|
||||
description: 'text for floating action button',
|
||||
},
|
||||
});
|
||||
|
||||
export const CONTACT_VIA_EMAIL = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue