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

ui: Per Service Intentions Tab #7615

Merged
merged 6 commits into from
Apr 16, 2020
Merged

Conversation

johncowen
Copy link
Contributor

This PR adds a new tab under a Service detail page to show the intentions relevant to that service.

Notes:

History

We went with a temporary fake history addition here so that the intentions edit page returns to where-ever you came from, and shows where you come from in our breadcrumblike-submenu. Future work should add an intention form directly into the same tab listing, so this is likely to be a temporary measure until that work is complete.

Component Page Objects

Now that we are moving all our components to nested folders, and adding more components as we go, it would be nice to add page objects to each of those folders, instead of split off in the tests folder.

If you try this, then the page-object is complied into the production source code and it seems to be less that trivial to avoid this (we tried using ember-cli-funnel but that seems to not work for excluding file any more).

We left some comments around this to look into at a future date.

@johncowen johncowen added the theme/ui Anything related to the UI label Apr 8, 2020
@johncowen johncowen requested a review from a team April 8, 2020 17:02
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

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

LGTM ✨

@johncowen johncowen merged commit 5d75cab into ui-staging Apr 16, 2020
@johncowen johncowen deleted the ui/feature/per-service-intentions branch April 16, 2020 14:15
kaxcode pushed a commit that referenced this pull request Apr 20, 2020
* Add model layer support for filtering intentions by service

* Add Route, Controller and template for services.show.intentions tab

We are still loading the intentions themselves in the parent Route for
the moment

* Load the intentions in in the parent route for the moment

* Temporarily add support for returning to history -1

Once we have an intention form underneath the service/intention tab this
will no longer be needed

* Add the new tab and enable blocking queries for it

* Add some further acceptance testing around intention listings
johncowen added a commit that referenced this pull request Apr 30, 2020
* Add model layer support for filtering intentions by service

* Add Route, Controller and template for services.show.intentions tab

We are still loading the intentions themselves in the parent Route for
the moment

* Load the intentions in in the parent route for the moment

* Temporarily add support for returning to history -1

Once we have an intention form underneath the service/intention tab this
will no longer be needed

* Add the new tab and enable blocking queries for it

* Add some further acceptance testing around intention listings
kaxcode pushed a commit that referenced this pull request May 11, 2020
* Add model layer support for filtering intentions by service

* Add Route, Controller and template for services.show.intentions tab

We are still loading the intentions themselves in the parent Route for
the moment

* Load the intentions in in the parent route for the moment

* Temporarily add support for returning to history -1

Once we have an intention form underneath the service/intention tab this
will no longer be needed

* Add the new tab and enable blocking queries for it

* Add some further acceptance testing around intention listings
johncowen added a commit that referenced this pull request May 12, 2020
* Add model layer support for filtering intentions by service

* Add Route, Controller and template for services.show.intentions tab

We are still loading the intentions themselves in the parent Route for
the moment

* Load the intentions in in the parent route for the moment

* Temporarily add support for returning to history -1

Once we have an intention form underneath the service/intention tab this
will no longer be needed

* Add the new tab and enable blocking queries for it

* Add some further acceptance testing around intention listings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants