Skip to content

feat: add professor workspace front-end - #4

Merged
Linoux-re merged 1 commit into
mainfrom
codex/build-comprehensive-web-application-11unkk
Sep 30, 2025
Merged

feat: add professor workspace front-end#4
Linoux-re merged 1 commit into
mainfrom
codex/build-comprehensive-web-application-11unkk

Conversation

@Linoux-re

Copy link
Copy Markdown
Owner

Summary

  • create the new ui-prof shell with shared layout, theming, and accessibility foundations
  • implement professor workflows for dashboard, homework, notes, competencies, attendance, timetable, messaging, documents, and meetings using modular JS controllers
  • provide mock JSON datasets and documentation for running the static professor demo

Testing

  • not run (static assets)

https://chatgpt.com/codex/tasks/task_e_68dc28a98ffc83298dc7428b4c2d8710

@Linoux-re
Linoux-re merged commit a6c7ac3 into main Sep 30, 2025
1 check failed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines +10 to +17
const onSubmit = async (event: FormEvent) => {
event.preventDefault();
const res = await fetch('http://localhost:4000/auth/login', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email, password }),
});
const data = await res.json();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid hard‑coding API host in login form

The login page posts to http://localhost:4000/auth/login directly. When the web UI is served from Docker or a deployed environment, the API will rarely be reachable at localhost, so form submissions will fail with network errors. The rest of the code already uses environment variables for API URLs; this client component should do the same or proxy through the Next.js server instead of baking a development host into the bundle.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant