Skip to content

Conversation

@williamjallen
Copy link
Collaborator

@williamjallen williamjallen commented Jun 9, 2023

We currently have a handful of things which get added to almost every view. By adding a custom view() function in this PR, we can share more code and reduce the number of locations which have to get updated if the need for more "common" data arises.

I skipped over a few controllers which need more extensive work when making these changes, and will fix those in a separate PR.

@williamjallen williamjallen marked this pull request as draft June 12, 2023 14:10
@williamjallen williamjallen force-pushed the common-view-function branch from a642695 to 5c36e78 Compare June 13, 2023 19:04
@williamjallen williamjallen force-pushed the common-view-function branch from 5c36e78 to 5ddbf42 Compare July 12, 2023 14:23
@williamjallen williamjallen marked this pull request as ready for review July 12, 2023 16:48
@williamjallen williamjallen force-pushed the common-view-function branch from 5ddbf42 to 210874b Compare July 21, 2023 17:25
@williamjallen
Copy link
Collaborator Author

A bunch of view() calls have been added since I made this PR. A few more new ones are coming down the pipeline in other refactor PRs. I plan to create a separate PR to update the rest of the view() calls once this PR is merged.

github-merge-queue bot pushed a commit that referenced this pull request Aug 16, 2023
This PR removes a view composer which was rendered obsolete by #1351. In
the future, it might be reasonable to consider adding a view composer
which adds global information to the `cdash` view. That said, much of
the work of a view composer is already done by simply embedding required
information in our controller inheritance hierarchy, particularly by the
method utilized in #1483.
@josephsnyder josephsnyder added this pull request to the merge queue Aug 16, 2023
Merged via the queue into Kitware:master with commit f3b6a62 Aug 16, 2023
@williamjallen williamjallen deleted the common-view-function branch August 16, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants