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

Update tables with new Action Column pattern (Deploy Branch) (#989) #1020

Draft
wants to merge 10 commits into
base: release-149
Choose a base branch
from

Conversation

martha
Copy link
Contributor

@martha martha commented Jan 6, 2025

Description

Please don't merge yet!

This is a deploy branch for https://github.com/open-path/Green-River/issues/6825 and https://github.com/open-path/Green-River/issues/6761, so these features can get plenty of review on QA with design (without being tied to regular releases).

Should merge with warehouse PR to update tests: greenriver/hmis-warehouse#5039

Type of change

  • Bug fix
  • New feature (adds functionality)
  • Code clean-up / housekeeping
  • Dependency update

Checklist before requesting review

  • I have performed a self-review of my code
  • I have run the code that is being changed under ideal conditions, and it doesn't fail
  • My code includes comments and/or descriptive variable names to help other engineers understand the intent (or not applicable)
  • My code follows the style guidelines of this project (eslint)
  • I have updated the documentation (or not applicable)
  • If it's not obvious how to test this change, I have provided testing instructions in this PR or the related issue

* Update Project Enrollment tables

* fix a11y

* More accessibility fixes

* Simplify and resolve todos

* Add storybook story

* Remove errant comment

* Add comments

* Update api of TableRowActions

* Fix issue with fulColSpan

* Right-align table row actions

Co-authored-by: Gig <[email protected]>

* Remove comment

* Replace overrideTableBody with more understandable API

* Implement PR suggestion of moving table row to column def

* Cleanup and add comments

* Port over relevant changes from other PR

* Refactor to use renderCellContents

* Revert out-of-scope change

* Add todo

* Remove circular dependency

* Clean up

* Centralize action column base attrs

* PR feedback

* Fix typescript problems

* Implement Table Actions pattern and default columns (#998)

* Implement Table Actions pattern and default columns

* Add random comment

* Add storybook for table actions and fix cde story

* Implement PR suggestion of moving table row to column def

* add todo

* Finish refactor to use column def instead of getTableAction

* Fix bulk services loading

* Provide a visually hidden header when header isnt provided

* Keep existing behavior of individual/household assessment viewing

* Fix typescript

* Add accessible text for RelativeDateDisplay

* implement one possible approach for client ID typescript

* Remove unnecessary cast

---------

Co-authored-by: Gig Ashton <[email protected]>
@martha martha changed the title Update Project Household Enrollments table with new designs (#989) Update tables with new Action Column pattern (Deploy Branch) (#989) Jan 7, 2025
@gigxz gigxz marked this pull request as draft January 9, 2025 16:06
@gigxz
Copy link
Collaborator

gigxz commented Jan 9, 2025

Converting to draft to avoid early merge

Copy link
Collaborator

@gigxz gigxz left a comment

Choose a reason for hiding this comment

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

Reviewed in #998 and #989

martha and others added 3 commits January 15, 2025 14:15
* Update Project Enrollment tables

* fix a11y

* More accessibility fixes

* Simplify and resolve todos

* Add storybook story

* Remove errant comment

* Add comments

* Update api of TableRowActions

* Fix issue with fulColSpan

* Implement Table Actions pattern and default columns

* Add random comment

* Add storybook for table actions and fix cde story

* Right-align table row actions

Co-authored-by: Gig <[email protected]>

* Remove comment

* Replace overrideTableBody with more understandable API

* Implement PR suggestion of moving table row to column def

* Implement PR suggestion of moving table row to column def

* Cleanup and add comments

* add todo

* Port over relevant changes from other PR

* Refactor to use renderCellContents

* Revert out-of-scope change

* Add todo

* Remove circular dependency

* Clean up

* Centralize action column base attrs

* Finish refactor to use column def instead of getTableAction

* Fix bulk services loading

* Provide a visually hidden header when header isnt provided

* Keep existing behavior of individual/household assessment viewing

* PR feedback

* Fix typescript problems

* Fix typescript

* Add accessible text for RelativeDateDisplay

* implement one possible approach for client ID typescript

* Improve a11y of autofill assessment table

* Improve and clean up

* PR feedback

* Revert unneeded

---------

Co-authored-by: Gig Ashton <[email protected]>
* Restore blank cells DataNotCollected relationship

* Fix visual and performance bugs with AssignServiceButton

* Rename Name to Client Name

* Revert the reversion!
* Implement sticky columns in GenericTable

* Apply sticky columns to all tables in scope

* Mitigate column width issue

* Include primary action in secondary action menu

* Fix typescript

* Keep sx inline?

* Make checkbox always sticky

* Clarify type signature for sticky styles
@gigxz
Copy link
Collaborator

gigxz commented Jan 16, 2025

@martha can you pull 148 into here and deploy it to QA again when you get a chance? thanks 🙏
I am going to deploy over it when pushing out 148 momentarily

@gigxz
Copy link
Collaborator

gigxz commented Jan 16, 2025

actually just realized there is nothing in 148, I can re deploy this

@martha
Copy link
Contributor Author

martha commented Jan 16, 2025

Thanks @gigxz , I re-deployed #1025, the row hover behavior.

@gigxz
Copy link
Collaborator

gigxz commented Jan 17, 2025

@martha thanks! I am liking this change a lot personally!

@gigxz gigxz changed the base branch from release-147 to release-148 January 17, 2025 15:04
@martha martha changed the base branch from release-148 to release-149 January 22, 2025 21:23
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