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

425 metadata tab edit page #2338

Merged
merged 2 commits into from
Sep 26, 2024
Merged

425 metadata tab edit page #2338

merged 2 commits into from
Sep 26, 2024

Conversation

syed-ali-tw
Copy link
Contributor

@syed-ali-tw syed-ali-tw commented Sep 23, 2024

Trello

Move Metadata tab to new design system

Screenshot_metadata_tab

@syed-ali-tw syed-ali-tw force-pushed the 425-metadata-tab-edit-page branch 5 times, most recently from b03df60 to fa994b5 Compare September 23, 2024 11:56
@syed-ali-tw syed-ali-tw force-pushed the 425-metadata-tab-edit-page branch 3 times, most recently from 9d7ad89 to 384856f Compare September 23, 2024 15:55
@syed-ali-tw syed-ali-tw marked this pull request as ready for review September 23, 2024 15:56
Copy link
Contributor

@mtaylorgds mtaylorgds left a comment

Choose a reason for hiding this comment

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

This could be done in a subsequent PR (as part of the same story), but the validation needs work—there should be inline validation messages, and the message at the top should be more readable, and should be in an error summary, with links to the appropriate field.

I thought we were transitioning by content type—so you would only see the design system tabs for help pages and answers, but would still see the old bootstrap UI for other content types—has this changed?

Is there any test coverage for the validation messages?

app/helpers/tabbed_nav_helper.rb Outdated Show resolved Hide resolved
app/helpers/tabbed_nav_helper.rb Outdated Show resolved Hide resolved
app/helpers/tabbed_nav_helper.rb Outdated Show resolved Hide resolved
app/models/artefact.rb Outdated Show resolved Hide resolved
test/functional/editions_controller_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
@syed-ali-tw syed-ali-tw force-pushed the 425-metadata-tab-edit-page branch 5 times, most recently from 13c9bca to 7a86066 Compare September 24, 2024 14:51
app/helpers/tabbed_nav_helper.rb Outdated Show resolved Hide resolved
app/helpers/tabbed_nav_helper.rb Outdated Show resolved Hide resolved
@syed-ali-tw syed-ali-tw force-pushed the 425-metadata-tab-edit-page branch 3 times, most recently from 3130caa to 8fb9944 Compare September 24, 2024 16:17
Copy link
Contributor

@mtaylorgds mtaylorgds left a comment

Choose a reason for hiding this comment

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

A few comments related to the test file structure.

test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
test/integration/edition_edit_test.rb Outdated Show resolved Hide resolved
@syed-ali-tw syed-ali-tw force-pushed the 425-metadata-tab-edit-page branch 2 times, most recently from 893fa22 to f753276 Compare September 25, 2024 15:32
@syed-ali-tw syed-ali-tw merged commit c4c5528 into main Sep 26, 2024
12 checks passed
@syed-ali-tw syed-ali-tw deleted the 425-metadata-tab-edit-page branch September 26, 2024 12:30
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