Skip to content

[Port dspace-7_x] Clean up spacing in input forms#4180

Merged
tdonohue merged 1 commit intoDSpace:dspace-7_xfrom
alanorth:port-4136-dspace-7
Sep 10, 2025
Merged

[Port dspace-7_x] Clean up spacing in input forms#4180
tdonohue merged 1 commit intoDSpace:dspace-7_xfrom
alanorth:port-4136-dspace-7

Conversation

@alanorth
Copy link
Copy Markdown
Contributor

@alanorth alanorth commented Apr 12, 2025

Manual port of #4136 by @gingyx to DSpace 7.x.

I think this is a faithful port of the original PR. DSpace 9 switched to Angular Control Flow syntax so the patch had to be adapted to use the old ngIf syntax. Below on my DSpace 7.6.3 instance (don't mind the green branding of my theme, the functionality is the same).

Before

Screenshot 2025-04-12 at 16-22-01 CGSpace Edit Submission-fs8

After

Screenshot 2025-04-12 at 16-22-13 CGSpace Edit Submission-fs8

The elements for each input are grouped together more coherently and the error text is aligned the same as the hint.

@alanorth alanorth force-pushed the port-4136-dspace-7 branch from 90981c8 to 377c703 Compare April 12, 2025 13:28
@alexandrevryghem alexandrevryghem requested review from alexandrevryghem and removed request for gingyx April 14, 2025 08:20
@tdonohue tdonohue moved this to 🙋 Needs Reviewers Assigned in DSpace Maintenance (9.x, 8.x, 7.6.x) Apr 14, 2025
@tdonohue tdonohue added this to the 7.6.4 milestone Apr 14, 2025
@tdonohue tdonohue removed this from the 7.6.4 milestone Jul 3, 2025
Copy link
Copy Markdown
Contributor

@nwoodward nwoodward left a comment

Choose a reason for hiding this comment

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

👍 Thanks @alanorth. This looks good.

@github-project-automation github-project-automation bot moved this from 🙋 Needs Reviewers Assigned to 👍 Reviewer Approved in DSpace Maintenance (9.x, 8.x, 7.6.x) Sep 10, 2025
Copy link
Copy Markdown
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

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

Thanks as well @alanorth ! The code changes look the same to me. I'll flag this as port to dspace-8_x as well so that we hopefully can also get this change synced to that branch (since it's already on 9.x, main and now 7.x in this PR)

@tdonohue tdonohue added the port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release label Sep 10, 2025
@tdonohue tdonohue added this to the 7.6.6 milestone Sep 10, 2025
@tdonohue tdonohue added the 1 APPROVAL pull request only requires a single approval to merge label Sep 10, 2025
@tdonohue tdonohue merged commit ccd8d43 into DSpace:dspace-7_x Sep 10, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from 👍 Reviewer Approved to ✅ Done in DSpace Maintenance (9.x, 8.x, 7.6.x) Sep 10, 2025
@dspace-bot
Copy link
Copy Markdown
Contributor

Backport failed for dspace-8_x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin dspace-8_x
git worktree add -d .worktree/backport-4180-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-4180-to-dspace-8_x
git switch --create backport-4180-to-dspace-8_x
git cherry-pick -x 377c7034ffe880fb32be9a8dfa2351a310f3050f

@tdonohue tdonohue removed the port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release label Sep 10, 2025
@tdonohue
Copy link
Copy Markdown
Member

Ported to 8.x in #4713

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

Labels

1 APPROVAL pull request only requires a single approval to merge component: submission

Projects

Development

Successfully merging this pull request may close these issues.

4 participants