-
Notifications
You must be signed in to change notification settings - Fork 14
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
Benchmark creation #298
Benchmark creation #298
Conversation
c8d3907
to
b3fe5cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, @codetheweb. Other than maybe cleaning up any minor "this variable was defined but never used" github messages which are noted in your changed files here, this is good as is for this step. Nice work!
OF COURSE, me writing that includes that I agree with the "future fixes" you mentioned in the notes on your PR. :D
@@ -51,7 +52,7 @@ const Goals = ({ goal }: GoalProps) => { | |||
gap: "8px", | |||
}} | |||
> | |||
<button | |||
<Link | |||
// standin for tertiary button style | |||
style={{ | |||
display: "inline-flex", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☀️ We may add to a future ticket to move all this CSS into the sibling CSS file rather than having it in the components, but that goes for the whole app. Plus behavior may vary when combined with MUI components, so we can put that off a bit longer.
<div> | ||
{goal && ( | ||
<GoalHeader | ||
name="[placeholder] 1st Goal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☀️ Future functions may track which goal and change wording to "Goal 1" etc.
const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => { | ||
e.preventDefault(); | ||
const form = e.currentTarget as HTMLFormElement; | ||
const formData = new FormData(form); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☀️ This is cool
</Stack> | ||
</Stack> | ||
|
||
<Divider /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☀️ ok, these are cool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mild conflict with the [goal_id] page in PR #272 which was just merged. Quick summary of those differences from the perspective of what was just merged:
- Clicking on a goal goes to
goals/[goal_id]
instead ofstudents/[student_id]/goals/[goal_id]
. What you have here seems much better to me, especially considering that breadcrumbs are now working. - The [goal_id] page recently merged in was largely following this design, which contains the goal editing functionality. Nothing in the benchmark section has been implemented yet aside from the selectable tabs, but according to that original design this is where that add benchmark button should go.
…compass into feat-create-benchmark
…als/[goal_id] and students/[student_id]/goals/[goal_id], edit Iep component to temporarily redirect to new combination page
… temp_goals and goals pages folder
There's a bit of a bug on github's end where I can only view the file changes for the 7 total commits (the 3 original ones, plus the 4 recent ones). Alternatively, is it possible to submit the PR to only include the changes that are within the scope of the issue? (I believe there are 9 commits for other PR's, since this PR references 16 commits) |
I'm not quite sure I understand....it sounds like you can see Max's original 3 commits, can't see the commits from merging main back into this branch to re-sync, and then you can see the 4 commits that I made since then? |
For my review, I wanted to isolate the file changes to just the 4 commits you've made, because Max's commits already had reviews. I would assume it's a bug, because I can do a number of other combinations within the selections. |
I re-ran the migrations file and the feature worked for me. I took a look at the three latest commits, and don't have any suggestions. |
… to prevent clicking through two pages
Screen.Recording.2024-03-03.at.8.27.03.PM.mov
Future improvements:
/goals/[goal_id]
)