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

CDS Hook Cards UI Updates #88

Merged
merged 8 commits into from
May 20, 2024
Merged

CDS Hook Cards UI Updates #88

merged 8 commits into from
May 20, 2024

Conversation

zacharyrobin
Copy link
Contributor

@zacharyrobin zacharyrobin commented Apr 12, 2024

Describe your changes

Updated CDS Hooks Card UI based off of mockup styling.

Old:
Screenshot 2024-04-12 at 7 48 58 AM

Updated:

Screenshot 2024-04-12 at 7 49 39 AM

Issue ticket number and Jira link

REMS-579

Checklist before requesting a review

  • [x ] I have performed a self-review of my code
  • [x ] Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

  • Review the code changes and make sure they all make sense and are necessary.
  • Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

Workflow

Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.

@KeeyanGhoreshi
Copy link
Contributor

Looks fine and works as is, the only thing I'll mention is that I think we could maybe get it to look a little nicer by adopting a more "square" look for the card internals, to avoid stacking all the options on top of each other. When the cards are side by side, they have a difference in height of components so you're left with a big gap on the bottom of one of them, for example:
image

It might look a bit more homogenous if we have them square so they line up into the same row. I'm also a big proponent of getting rid of the "Add ____ to task list" from the task buttons if they're going to be under a section called "Add to task list".

@KeeyanGhoreshi
Copy link
Contributor

just needs linting errors fixed

Copy link
Contributor

@plarocque4 plarocque4 left a comment

Choose a reason for hiding this comment

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

It would be nice to hide the document list if there are no documents available.

plarocque4
plarocque4 previously approved these changes May 17, 2024
Copy link
Contributor

@plarocque4 plarocque4 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

@plarocque4 plarocque4 merged commit 4f5e358 into dev May 20, 2024
3 checks passed
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