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

Data users new design #1088

Merged
merged 19 commits into from
Dec 16, 2024
Merged

Data users new design #1088

merged 19 commits into from
Dec 16, 2024

Conversation

hectorcorrea
Copy link
Member

@hectorcorrea hectorcorrea commented Dec 5, 2024

Got the Data Users section in the new and edit form to mimic the new design.

Closes #984

Empty table

empty-table

Table with users

with-users

Modal to add new users

add-users

There are a few styling issues still pending that I documented on issue #1102

@coveralls
Copy link

coveralls commented Dec 16, 2024

Coverage Status

coverage: 83.443% (+0.01%) from 83.431%
when pulling 259f57b on 984-data-users
into ae89907 on main.

@hectorcorrea hectorcorrea marked this pull request as ready for review December 16, 2024 19:40
Comment on lines 193 to 195
// Notice that we are keeping this JavaScript on the page rather than on application.js
// because otherwise we don't have access to $(elementId).autocomplete()
// This is due to the way we are loading the autocomplete plug-in outside of application.js
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the reason I moved the script from application.js to the Rails view.

Copy link
Contributor

@leefaisonr leefaisonr left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you!!

@leefaisonr leefaisonr merged commit 3f6f9e4 into main Dec 16, 2024
2 checks passed
@leefaisonr leefaisonr deleted the 984-data-users branch December 16, 2024 22:23
kelynch pushed a commit that referenced this pull request Dec 17, 2024
* WIP

* First sort-of runnig version. Still WIP but much more advanced

* Got the delete to work, fixed a few validation issues.

* Adjusted the save logic to account for the new way we represent RO vs RW users

* Display the initial list of rw and ro users

* Fix merge conflict

* Minor clean up

* Moved CSS to the application level

* Started re-creating the data users tests

* Adjusted test to use new HTML FORM keys

* Bye byebug

* Adjust the test for the new keys

* Adjust the test for the new HTML FORM keys

* Adjust test to new UI for data users

* Added test for invalid data users entered

* Removed commented lines
carolyncole pushed a commit that referenced this pull request Dec 17, 2024
* refreshing the logged out state of the home page

* updating tests

* Adjusted display for fixed margins width (#1130)

* Fixed bug in download link in modal (#1131)

* Fixed bug in download link in modal

* Fixed breaking test

---------

Co-authored-by: Robert-Anthony Lee-Faison <[email protected]>

* WIP getting image flush to bottom of page

* Fixed logged out layout, adjusted flash warning placement, fixed link color for logout button

* Applied heading font across the application

* Replaced image

* Adjustments based on feedback from PO

* Data users new design (#1088)

* WIP

* First sort-of runnig version. Still WIP but much more advanced

* Got the delete to work, fixed a few validation issues.

* Adjusted the save logic to account for the new way we represent RO vs RW users

* Display the initial list of rw and ro users

* Fix merge conflict

* Minor clean up

* Moved CSS to the application level

* Started re-creating the data users tests

* Adjusted test to use new HTML FORM keys

* Bye byebug

* Adjust the test for the new keys

* Adjust the test for the new HTML FORM keys

* Adjust test to new UI for data users

* Added test for invalid data users entered

* Removed commented lines

---------

Co-authored-by: Kate Lynch <[email protected]>
Co-authored-by: Robert-Anthony Lee-Faison <[email protected]>
Co-authored-by: Hector Correa <[email protected]>
Co-authored-by: Bess Sadler <[email protected]>
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.

Add user component: Multiple users, multiple roles
3 participants