diff --git a/src/components/Action/ActionView.tsx b/src/components/Action/ActionView.tsx index 7b5fbab5d6852111c2d6781d1045870ecc459227..091cdba3b5da961493e1e580bd7e314a9e3b7f8d 100644 --- a/src/components/Action/ActionView.tsx +++ b/src/components/Action/ActionView.tsx @@ -9,6 +9,9 @@ import ActionChoose from './ActionChoose/ActionChoose' import ActionDone from './ActionDone/ActionDone' import ActionOnGoing from './ActionOnGoing/ActionOnGoing' +/** + * http://ecolyo.cozy.tools:8080/#/challenges/ + */ const ActionView = () => { const { currentChallenge } = useAppSelector(state => state.ecolyo.challenge) diff --git a/src/components/Analysis/AnalysisView.tsx b/src/components/Analysis/AnalysisView.tsx index 85e543aca28f0ce4ed04e8fab04ce12505fd3326..34230d6ca8220b8c498fbabfc902936058c1d28c 100644 --- a/src/components/Analysis/AnalysisView.tsx +++ b/src/components/Analysis/AnalysisView.tsx @@ -17,6 +17,9 @@ import { updateProfile } from 'store/profile/profile.slice' import { isLastDateReached } from 'utils/date' import './analysisView.scss' +/** + * http://ecolyo.cozy.tools:8080/#/analysis + */ const AnalysisView = () => { const client = useClient() const { diff --git a/src/components/Challenge/ChallengeView.tsx b/src/components/Challenge/ChallengeView.tsx index 6affdfee88aa882dd7fa7bd22f07be87ee98b64e..ed1ba020cada27c3d8c549ff585e434ed7cdbc3b 100644 --- a/src/components/Challenge/ChallengeView.tsx +++ b/src/components/Challenge/ChallengeView.tsx @@ -13,6 +13,9 @@ import { useAppSelector } from 'store/hooks' import ChallengeCard from './ChallengeCard/ChallengeCard' import './challengeView.scss' +/** + * http://ecolyo.cozy.tools:8080/#/challenges/ + */ const ChallengeView = () => { const { t } = useI18n() const { userChallengeList } = useAppSelector(state => state.ecolyo.challenge) diff --git a/src/components/Connection/GRDFConnect/GrdfConnectView.tsx b/src/components/Connection/GRDFConnect/GrdfConnectView.tsx index 8923b875d3b8e77182357bb2436d6e260e856fc5..75770f05ab53e98679f2793bb56a2a08ccb8fba7 100644 --- a/src/components/Connection/GRDFConnect/GrdfConnectView.tsx +++ b/src/components/Connection/GRDFConnect/GrdfConnectView.tsx @@ -18,7 +18,9 @@ export enum GrdfStep { Identity, Consent, } - +/** + * http://ecolyo.cozy.tools:8080/#/connect/gas + */ export const GrdfConnectView = () => { const navigate = useNavigate() const { instanceSettings } = useUserInstanceSettings() diff --git a/src/components/Connection/SGEConnect/SgeConnectView.tsx b/src/components/Connection/SGEConnect/SgeConnectView.tsx index 2b8a84e087e34da4a116f7981ef9e70ee1360518..6c8305bf5bb4d86823c1c7a876b667dce05f0508 100644 --- a/src/components/Connection/SGEConnect/SgeConnectView.tsx +++ b/src/components/Connection/SGEConnect/SgeConnectView.tsx @@ -28,6 +28,9 @@ export type SGEKeysForm = | 'dataConsent' | 'pdlConfirm' +/** + * http://ecolyo.cozy.tools:8080/#/connect/electricity + */ const SgeConnectView = () => { const navigate = useNavigate() const dispatch = useAppDispatch() diff --git a/src/components/Consumption/ConsumptionView.tsx b/src/components/Consumption/ConsumptionView.tsx index a4f19def0cade308dfb53d0597f1b755ae28729e..bb953c0e85c5df4945ca9ee8fc0cc99ad6571527 100644 --- a/src/components/Consumption/ConsumptionView.tsx +++ b/src/components/Consumption/ConsumptionView.tsx @@ -34,6 +34,12 @@ import { import ConsumptionDetails from './ConsumptionDetails/ConsumptionDetails' import FluidButtons from './FluidButtons/FluidButtons' +/** + * http://ecolyo.cozy.tools:8080/#/consumption + * http://ecolyo.cozy.tools:8080/#/consumption/electricity + * http://ecolyo.cozy.tools:8080/#/consumption/water + * http://ecolyo.cozy.tools:8080/#/consumption/gas + */ const ConsumptionView = ({ fluidType }: { fluidType: FluidType }) => { const client = useClient() const dispatch = useAppDispatch() diff --git a/src/components/Duel/DuelView.tsx b/src/components/Duel/DuelView.tsx index b4004e0732b552ae5393eaa7b1ab0d8b32630ec3..3da01109c7ddec8e9df9694b39424b9b514a64a0 100644 --- a/src/components/Duel/DuelView.tsx +++ b/src/components/Duel/DuelView.tsx @@ -11,6 +11,9 @@ import DuelError from './DuelError/DuelError' import DuelOngoing from './DuelOngoing/DuelOngoing' import DuelUnlocked from './DuelUnlocked/DuelUnlocked' +/** + * http://ecolyo.cozy.tools:8080/#/challenges/ + */ const DuelView = () => { const navigate = useNavigate() const { userChallengeList } = useAppSelector(state => state.ecolyo.challenge) diff --git a/src/components/Ecogesture/EcogestureTabsView.tsx b/src/components/Ecogesture/EcogestureTabsView.tsx index 4553e7e28f64f8b65a13a62d021d51dc6f72cfca..c8c629b958e1d4b318f792f1b0e12e22782ed0b9 100644 --- a/src/components/Ecogesture/EcogestureTabsView.tsx +++ b/src/components/Ecogesture/EcogestureTabsView.tsx @@ -37,6 +37,11 @@ const TabPanel = ({ children, tab, value }: TabPanelProps) => { ) } +/** + * http://ecolyo.cozy.tools:8080/#/ecogestures + * http://ecolyo.cozy.tools:8080/#/ecogestures?tab=1 + * http://ecolyo.cozy.tools:8080/#/ecogestures?tab=2 + */ const EcogestureTabsView = () => { const { t } = useI18n() const client = useClient() diff --git a/src/components/Ecogesture/SingleEcogestureView.tsx b/src/components/Ecogesture/SingleEcogestureView.tsx index 077faf8d5fec72da43606d17b8c54a9739085be5..e35c2b387ea3f4155e3350adae410847db38f97b 100644 --- a/src/components/Ecogesture/SingleEcogestureView.tsx +++ b/src/components/Ecogesture/SingleEcogestureView.tsx @@ -25,6 +25,9 @@ import { importIconById } from 'utils/utils' import EfficiencyRating from './EfficiencyRating/EfficiencyRating' import './singleEcogestureView.scss' +/** + * http://ecolyo.cozy.tools:8080/#/ecogesture/ECOGESTURE0001 + */ const SingleEcogestureView = () => { const { t } = useI18n() const client = useClient() diff --git a/src/components/EcogestureForm/EcogestureFormView.tsx b/src/components/EcogestureForm/EcogestureFormView.tsx index 456b90389af80f009f2c7bfa4cd039e96e02267c..8f7a8303c242ae1b3c943bd219367f8f77ad4135 100644 --- a/src/components/EcogestureForm/EcogestureFormView.tsx +++ b/src/components/EcogestureForm/EcogestureFormView.tsx @@ -11,10 +11,13 @@ import ProfileEcogestureFormService from 'services/profileEcogestureForm.service import { useAppDispatch, useAppSelector } from 'store/hooks' import { updateProfile } from 'store/profile/profile.slice' import { newProfileEcogestureEntry } from 'store/profileEcogesture/profileEcogesture.slice' +import EcogestureInitModal from '../Ecogesture/EcogestureInitModal/EcogestureInitModal' import EcogestureFormEquipment from './EcogestureFormEquipment/EcogestureFormEquipment' import EcogestureFormSingleChoice from './EcogestureFormSingleChoice/EcogestureFormSingleChoice' -import EcogestureInitModal from '../Ecogesture/EcogestureInitModal/EcogestureInitModal' +/** + * http://ecolyo.cozy.tools:8080/#/ecogesture-form + */ const EcogestureFormView = () => { const navigate = useNavigate() const dispatch = useAppDispatch() diff --git a/src/components/EcogestureSelection/EcogestureSelectionView.tsx b/src/components/EcogestureSelection/EcogestureSelectionView.tsx index df6806976153c93b8bfd98da3c1eda7d5ec3b3d4..dd47ee2243d5ecd4e306de86920d3f1359b527d6 100644 --- a/src/components/EcogestureSelection/EcogestureSelectionView.tsx +++ b/src/components/EcogestureSelection/EcogestureSelectionView.tsx @@ -15,6 +15,9 @@ import EcogestureSelectionModal from './EcogestureSelectionModal/EcogestureSelec import EcogestureSelectionRestart from './EcogestureSelectionRestart/EcogestureSelectionRestart' import './ecogestureSelectionView.scss' +/** + * http://ecolyo.cozy.tools:8080/#/ecogesture-selection + */ const EcogestureSelectionView = () => { const { t } = useI18n() const client = useClient() diff --git a/src/components/Exploration/ExplorationView.tsx b/src/components/Exploration/ExplorationView.tsx index ccde8fdb71798e3b0d362c581504a822cdfee278..14f8737b614059261b2fd0c281c862b1dc624a28 100644 --- a/src/components/Exploration/ExplorationView.tsx +++ b/src/components/Exploration/ExplorationView.tsx @@ -9,6 +9,9 @@ import ExplorationError from './ExplorationError' import ExplorationFinished from './ExplorationFinished' import ExplorationOngoing from './ExplorationOngoing' +/** + * http://ecolyo.cozy.tools:8080/#/challenges/ + */ const ExplorationView = () => { const { currentChallenge } = useAppSelector(state => state.ecolyo.challenge) diff --git a/src/components/Options/GCU/GCUView.tsx b/src/components/Options/GCU/GCUView.tsx index 9f4e06c97017ace8a703e8db29d4229e106b950a..9dd174eba76e8d3e33f3277c6270838135515e5f 100644 --- a/src/components/Options/GCU/GCUView.tsx +++ b/src/components/Options/GCU/GCUView.tsx @@ -4,6 +4,9 @@ import Header from 'components/Header/Header' import GCUContent from 'components/Options/GCU/GCUContent' import React from 'react' +/** + * http://ecolyo.cozy.tools:8080/#/options/gcu + */ const GCUView = () => { return ( <> diff --git a/src/components/Options/LegalNotice/LegalNoticeView.tsx b/src/components/Options/LegalNotice/LegalNoticeView.tsx index 660a1f14806934a8e5db9378dc5aed686b227709..4a2683fbc9f24823b591a77353b02aa57cd216a1 100644 --- a/src/components/Options/LegalNotice/LegalNoticeView.tsx +++ b/src/components/Options/LegalNotice/LegalNoticeView.tsx @@ -5,6 +5,9 @@ import React from 'react' import LegalNoticeContent from './LegalNoticeContent' import './legalNoticeView.scss' +/** + * http://ecolyo.cozy.tools:8080/#/options/legalnotice + */ const LegalNoticeView = () => { return ( <> diff --git a/src/components/Options/OptionsView.tsx b/src/components/Options/OptionsView.tsx index 54e5e694ea399046539b9ed80c440aec418ae30d..efe08aa6f042af7d5cb00fb81c78f99acabf7fe8 100644 --- a/src/components/Options/OptionsView.tsx +++ b/src/components/Options/OptionsView.tsx @@ -14,6 +14,9 @@ import ProfileTypeOptions from './ProfileTypeOptions/ProfileTypeOptions' import ReportOptions from './ReportOptions/ReportOptions' import Version from './Version/Version' +/** + * http://ecolyo.cozy.tools:8080/#/options + */ const OptionsView = () => { const { t } = useI18n() diff --git a/src/components/ProfileType/ProfileTypeView.tsx b/src/components/ProfileType/ProfileTypeView.tsx index 0e3369a047fba8d9cfe4a8108920b9730cf3885a..e7ce6980a5672cb544a43187022a587bde708abc 100644 --- a/src/components/ProfileType/ProfileTypeView.tsx +++ b/src/components/ProfileType/ProfileTypeView.tsx @@ -32,6 +32,9 @@ import ProfileTypeFormNumber from './ProfileTypeFormNumber/ProfileTypeFormNumber import ProfileTypeFormNumberSelection from './ProfileTypeFormNumberSelection/ProfileTypeFormNumberSelection' import ProfileTypeFormSingleChoice from './ProfileTypeFormSingleChoice/ProfileTypeFormSingleChoice' +/** + * http://ecolyo.cozy.tools:8080/#/profileType + */ const ProfileTypeView = () => { const { profile, profileType, profileEcogesture } = useAppSelector( state => state.ecolyo diff --git a/src/components/Quiz/QuizView.tsx b/src/components/Quiz/QuizView.tsx index fc45df655cf53bcc4fc6851edb1b6ecb2d87a4b0..f6b2a39c6e37e54bc2a916c29446cb2d971b5b02 100644 --- a/src/components/Quiz/QuizView.tsx +++ b/src/components/Quiz/QuizView.tsx @@ -9,6 +9,9 @@ import QuizBegin from './QuizBegin/QuizBegin' import QuizFinish from './QuizFinish/QuizFinish' import QuizQuestion from './QuizQuestion/QuizQuestion' +/** + * http://ecolyo.cozy.tools:8080/#/challenges/ + */ const QuizView = () => { const { currentChallenge } = useAppSelector(state => state.ecolyo.challenge) diff --git a/src/components/Routes/Routes.tsx b/src/components/Routes/Routes.tsx index a6cdf99bbd9d30ea9d8342544d664a61d6b70e0f..a1a55f5ce7708c662e9da033e65de53b044f09fe 100644 --- a/src/components/Routes/Routes.tsx +++ b/src/components/Routes/Routes.tsx @@ -89,7 +89,6 @@ const AppRoutes = ({ termsStatus }: { termsStatus: TermsStatus }) => { <Route path="/ecogestures" element={<EcogestureTabsView />} /> <Route path="/options/legalnotice" element={<LegalNoticeView />} /> <Route path="/options/gcu" element={<GCUView />} /> - <Route path="/options/:connectParam" element={<OptionsView />} /> <Route path="/options" element={<OptionsView />} /> <Route path="/analysis" element={<AnalysisView />} /> <Route path="/profiletype" element={<ProfileTypeView />} />