Skip to content

Minor changes in ProjectDetailModal.jsx - #11

Merged
ekoslow1-creator merged 2 commits into
mainfrom
feature/sc-46687/new-design-changes-for-the-dashboard
Aug 27, 2026
Merged

Minor changes in ProjectDetailModal.jsx#11
ekoslow1-creator merged 2 commits into
mainfrom
feature/sc-46687/new-design-changes-for-the-dashboard

Conversation

@ekoslow1-creator

Copy link
Copy Markdown
Collaborator

created_at reflects when the row was written in Django admin, not when the project was actually made, so it's misleading as the headline date. submission_date (which is when the project was completed or created) is now what "Created" displays; created_at is kept as a secondary "Project logged" note.

created_at reflects when the row was written in Django admin, not when
the project was actually made, so it's misleading as the headline date.
submission_date is now what "Created" displays; created_at is kept as
a secondary "Project logged" note.
@gitvelocity-reviewer

Copy link
Copy Markdown

📊 Code Quality Score: 1/100

Base Score 8 × ESF 0.1 = 0.8, rounded to 1

Category Score Factors
🔭 Scope 2/20 One file changed (ProjectDetailModal.jsx), 5 effective lines, confined to the metaParts array in a single display component.
🏗️ Architecture 0/20 No module boundary changed. No new dependency introduced.
⚙️ Implementation 2/20 The change reorders three entries in the metaParts array, removes one (updated_at), and changes two string literals ('Submitted' → 'Created', 'Created' → 'Project logged').
⚠️ Risk 2/20 Affects only the display labels and ordering of metadata in ProjectDetailModal. The updated_at field is silently removed from display; a wrong value here misrepresents project metadata to users but carries no data or logic risk.
✅ Quality 2/15 No test accompanies this change. No documentation or comment explains why updated_at was removed.
🔒 Perf / Security 0/5 No performance or security work present in this diff.

Was this score accurate? 👍 Yes · 👎 No

How this was scored →

Scored by GitVelocity · How are scores calculated?

@saengel saengel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two tiny copy changes! Thanks for addressing!

Comment thread src/components/ProjectDetailModal.jsx Outdated
hasValue(project.submission_source) && `via ${project.submission_source}`,
hasValue(project.created_at) && `Created ${formatDate(project.created_at)}`,
hasValue(project.updated_at) && `Updated ${formatDate(project.updated_at)}`,
hasValue(project.submission_date) && `Created ${formatDate(project.submission_date)}`,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Project Submission Date:

Comment thread src/components/ProjectDetailModal.jsx Outdated
hasValue(project.created_at) && `Created ${formatDate(project.created_at)}`,
hasValue(project.updated_at) && `Updated ${formatDate(project.updated_at)}`,
hasValue(project.submission_date) && `Created ${formatDate(project.submission_date)}`,
hasValue(project.created_at) && `Project logged ${formatDate(project.created_at)}`,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added to database:

Notes that "in the wild" submission dates come from the last Github
commit or site URL, and renames the modal's date labels for clarity.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@saengel
saengel self-requested a review August 27, 2026 07:34
@ekoslow1-creator
ekoslow1-creator merged commit a8b60b6 into main Aug 27, 2026
1 check passed
@gitvelocity-reviewer

Copy link
Copy Markdown

📊 Code Quality Score: 3/100

10 × 0.25 (Micro ESF) = 2.5, rounded to 3

Category Score Factors
🔭 Scope 4/20 Three files are modified: Dashboard.jsx receives a new static paragraph element, ProjectDetailModal.jsx has its metaParts array reordered and relabeled, and index.css gains a .dashboard-footnote rule. All changes are within the same UI subsystem.
🏗️ Architecture 1/20 No module boundary changed. No new component, hook, or dependency is introduced.
⚙️ Implementation 2/20 Dashboard.jsx adds a static

element. ProjectDetailModal.jsx reorders entries in the metaParts array, renames two label strings ('Submitted' to 'Project Submission Date:', 'Created' to 'Added to database:'), and removes the updated_at entry. The .dashboard-footnote CSS rule sets max-width, margin, padding, font-size, and opacity.

⚠️ Risk 2/20 Removing updated_at from the modal metadata display changes what date information users see. A mislabeled date field could mislead users about when a project was submitted versus added to the database. The change is fully reversible with no migration or API contract impact.
✅ Quality 1/15 No test file accompanies the change. No documentation is updated.
🔒 Perf / Security 0/5 No performance or security work is present in this diff.

Was this score accurate? 👍 Yes · 👎 No

How this was scored →

Scored by GitVelocity · How are scores calculated?

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.

2 participants