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

adds substantial completion date tooltip #1454

Open
wants to merge 11 commits into
base: 19257_show_substantial_completion_date_plus_advanced_search
Choose a base branch
from

Conversation

tillyw
Copy link
Contributor

@tillyw tillyw commented Oct 11, 2024

Associated issues

fixes cityofaustin/atd-data-tech#19259

based off pr #1453

I believe the placement of this definition is centralized since we can import this helper object into the project view, but please let me know if there would be a better place to store it!

Testing

URL to test:

https://deploy-preview-1454--atd-moped-main.netlify.app/

Steps to test:

  • in the projects list view, hover over 'Substantial completion date'
  • note that a tooltip appears reading 'The earliest confirmed start date of a project phase that has a simple phase name of Complete (Complete or Post-Construction)'

Ship list

@tillyw tillyw changed the base branch from main to 19257_show_substantial_completion_date_plus_advanced_search October 11, 2024 21:14
@@ -315,6 +315,7 @@ export const useColumns = ({ hiddenColumns }) => {
{
headerName: "Substantial completion date",
field: "substantial_completion_date",
description: "The earliest confirmed start date of a project phase that has a simple phase name of Complete (Complete or Post-Construction)",
Copy link
Collaborator

@mddilley mddilley Oct 14, 2024

Choose a reason for hiding this comment

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

@tillyw Could you update the description to say Post-construction so it matches the capitalization in the data dictionary? I made a typo and then copy-pasta'd into every issue involving this date. I just fixed those in the issues. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

Copy link
Member

@chiaberry chiaberry left a comment

Choose a reason for hiding this comment

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

✅ and I copied this text for the tooltip in my branch im working on

@@ -315,6 +315,7 @@ export const useColumns = ({ hiddenColumns }) => {
{
headerName: "Substantial completion date",
field: "substantial_completion_date",
description: "The earliest confirmed start date of a project phase that has a simple phase name of Complete (Complete or Post-construction)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

🙌 @chiaberry @tillyw Could y'all coordinate for someone to make this description into a variable to hold this string so we can reference it in this PR and in #1456? We may end up adding this in the Data Dictionary too so it could help us update the definition if we ever need to in the future.

I looked in the codebase, and maybe we could add a new file in src/constants to hold tooltip text. What do y'all think?

Copy link
Member

Choose a reason for hiding this comment

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

I'll add this to my branch, trying to decide what to name the file, projects.js sound okay?

Copy link
Member

Choose a reason for hiding this comment

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

I did it here: a60747a

Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks, @chiaberry!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@chiaberry sorry i merged your entire branch into this one when i should have just merged this one commit! i'll just make sure to merge this one last out of the substantial completion date PRs

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.

Show tooltip on hover of substantial completion date in project list
3 participants