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

finish-monitor-log-submissions #129

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

ctc-devops
Copy link
Contributor

  • fix human activity + sessionPartners
  • Drafts
  • Autosave ? or just saving in general
  • Editing
  • Redirect after submit

closes #126

import { React, useState, useEffect } from 'react';

const SubmitSurvey = ({ setModalStep, onClose, submit }) => {
console.log('entered');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

submitted: <Submitted onSubmit={submitForm} onClose={onClose} />,
};

console.log('Entered Popup');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

} from '@chakra-ui/react';
import PropTypes from 'prop-types';
import { FiCheck } from 'react-icons/fi';
import { React, useState, useEffect } from 'react';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-unused-vars> reported by reviewdog 🐶
'useEffect' is defined but never used.

@@ -323,17 +324,20 @@ const MonitorLogPage = ({ mode }) => {
<Button
colorScheme="cyan"
type="submit"
// onClick={handleSubmit}
onClick={() => {
console.log(formMethods.getValues());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

@ctian1 ctian1 force-pushed the 126-finish-monitor-log-submissions branch from 226a69f to cee24a3 Compare May 27, 2022 01:28
@@ -84,6 +87,7 @@ const MonitorLogPage = ({ mode }) => {
if (mode === 'edit' || mode === 'review') {
try {
const submission = await OCHBackend.get(`submission/${userData.id}`);
console.log(submission.data);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Finish monitor log submissions (frontend)
3 participants