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

[TTAHUB-3437] Modals should be immediately after the control that spawned them #2465

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thewatermethod
Copy link
Collaborator

Description of change

Move some modals near their triggers. A few remain in the app that aren't inline. I will itemize these in another Jira for a larger refactor.

How to test

Confirm that you can still unlock reports, change an objective's status from the RTR, and delete an event from the training report landing page.

Issue(s)

Checklists

Every PR

  • Meets issue criteria
  • JIRA ticket status updated
  • Code is meaningfully tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • API Documentation updated
  • Boundary diagram updated
  • Logical Data Model updated
  • Architectural Decision Records written for major infrastructure decisions
  • UI review complete

Before merge to main

  • OHS demo complete
  • Ready to create production PR

Production Deploy

  • Staging smoke test completed

After merge/deploy

  • Update JIRA ticket status

@@ -260,12 +251,22 @@ function EventCard({
<p className="usa-prose margin-y-0">{checkForDate(data.endDate)}</p>
</div>
<div className="ttahub-event-card__event-column ttahub-event-card__event-column__menu position-absolute right-0">
{true && (
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this hard coded ....

Copy link
Collaborator

Choose a reason for hiding this comment

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

doh

Copy link
Collaborator

@AdamAdHocTeam AdamAdHocTeam left a comment

Choose a reason for hiding this comment

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

Looks good one thing I noticed not sure if its part of this JIRA.

I can set 'Complete' on an objective that is already marked 'Complete'.

image

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.

3 participants