diff --git a/frontend/package.json b/frontend/package.json index 4834b88423..ba011492b3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ "@mapbox/mapbox-gl-geocoder": "^5.0.2", "@mapbox/mapbox-gl-language": "^0.10.1", "@placemarkio/geo-viewport": "^1.0.2", - "@rapideditor/rapid": "^2.3.1", + "@rapideditor/rapid": "^2.4.2", "@sentry/react": "^7.102.0", "@tanstack/react-query": "^4.29.7", "@tanstack/react-query-devtools": "^4.29.7", diff --git a/frontend/src/components/projectEdit/messages.js b/frontend/src/components/projectEdit/messages.js index ab293f6a61..ebdfac0e94 100644 --- a/frontend/src/components/projectEdit/messages.js +++ b/frontend/src/components/projectEdit/messages.js @@ -402,11 +402,11 @@ export default defineMessages({ }, rapidPowerUser: { id: 'projects.formInputs.rapid_power_user', - defaultMessage: 'Enable RapiD Power User Features', + defaultMessage: 'Enable Rapid Power User Features', }, rapidPowerUserDescription: { id: 'projects.formInputs.rapid_power_user.description', - defaultMessage: 'If checked, RapiD will load with the power user dialog enabled.', + defaultMessage: 'If checked, Rapid will load with the power user dialog enabled.', }, imagery: { id: 'projects.formInputs.imagery', diff --git a/frontend/src/components/taskSelection/action.js b/frontend/src/components/taskSelection/action.js index abe8b0258e..9b5166d282 100644 --- a/frontend/src/components/taskSelection/action.js +++ b/frontend/src/components/taskSelection/action.js @@ -37,7 +37,7 @@ import { MappingTypes } from '../mappingTypes'; import { usePriorityAreasQuery, useTaskDetail } from '../../api/projects'; const Editor = lazy(() => import('../editor')); -const RapiDEditor = lazy(() => import('../rapidEditor')); +const RapidEditor = lazy(() => import('../rapidEditor')); const MINUTES_BEFORE_DIALOG = 5; @@ -228,7 +228,7 @@ export function TaskMapAction({ project, tasks, activeTasks, getTasks, action, e gpxUrl={getTaskGpxUrlCallback(project.projectId, tasksIds)} /> ) : ( - { it('without filterList and without customEditor', () => { expect(getEditors()).toStrictEqual([ { - label: 'RapiD', + label: 'Rapid', value: 'RAPID', url: 'https://mapwith.ai/rapid', }, @@ -48,7 +48,7 @@ describe('test getEditors', () => { it('with customEditor and filterList including the CUSTOM value', () => { const customEditor = { - name: 'RapiD', + name: 'Rapid', description: null, url: 'https://mapwith.ai/rapid', }; @@ -64,7 +64,7 @@ describe('test getEditors', () => { url: 'http://127.0.0.1:8111', }, { - label: 'RapiD', + label: 'Rapid', value: 'CUSTOM', url: 'https://mapwith.ai/rapid', }, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 8b7906c261..b8d7812a68 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2644,7 +2644,7 @@ "@pixi/core" "7.4.0" "@pixi/math" "7.4.0" -"@rapideditor/rapid@^2.3.1": +"@rapideditor/rapid@^2.4.2": version "2.4.2" resolved "https://registry.yarnpkg.com/@rapideditor/rapid/-/rapid-2.4.2.tgz#fe8584525b28fb64cd6b411d588a9dbf22439e04" integrity sha512-GfjawLgO6CdzQFfeBhkuNPW5VcDKZ9FjGuLEo/6WwPU/qR3DMKAriE1LQW7jqzMv6UJeBh9QgsAQrUUe5uNWXQ==