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

Added link to entity and dataset from submission activity feed #790

Merged
merged 2 commits into from
May 11, 2023

Conversation

ktuite
Copy link
Member

@ktuite ktuite commented May 10, 2023

Closes #773. Adds links from an entity create event in the submission feed directly to the entity and dataset. Also adds a entityPath route in useRoutes.

Screen Shot 2023-05-10 at 4 10 24 PM

What has been done to verify that this works as intended?

Tests, trying it in action.

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Does this change require updates to user documentation? If so, please file an issue here and include the link below.

Before submitting this PR, please make sure you have:

  • run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

@ktuite ktuite force-pushed the ktuite/submission-feed-entity-link branch from a656ffd to ffa7e65 Compare May 10, 2023 23:14
Copy link
Member

@matthew-white matthew-white 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!

Comment on lines 218 to 233
"create": "Created Entity {label} in {dataset} Dataset",
"create": "Created Entity {label} in Dataset {dataset}",
Copy link
Member

@matthew-white matthew-white May 11, 2023

Choose a reason for hiding this comment

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

Do we definitely want to make this change? I know it's "Dataset {dataset}" in the current release criteria, but I'm not sure that's intentional. I think we landed on "{dataset} Dataset" during 2022.3 after considering both options: https://docs.google.com/document/d/1naxyzFU8EjcWKfYzE_mEF5cY38l1QRNUZ_0VW2Gp-r0/edit?disco=AAAAZ-n7VuE

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't definitely want to make it, so i'll put it back.

Just saw it in the release criteria and felt drawn to it... We have more formatting than we did before and it's also weird how Entity X and Y Dataset are not following the same pattern.

Copy link
Member

Choose a reason for hiding this comment

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

I see what you mean about the inconsistency. I think it works this way only because {dataset} is a single word, so "{dataset} Dataset" becomes almost like a compound noun.

@ktuite ktuite merged commit 1e7902b into master May 11, 2023
@ktuite ktuite deleted the ktuite/submission-feed-entity-link branch May 11, 2023 19:17
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 links for entity.create event in submission feed
2 participants