Skip to content

Fix buildSummary page notes API call#1430

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
josephsnyder:fix_notes_api_call
May 17, 2023
Merged

Fix buildSummary page notes API call#1430
josephsnyder merged 1 commit into
Kitware:masterfrom
josephsnyder:fix_notes_api_call

Conversation

@josephsnyder
Copy link
Copy Markdown
Member

Add a leading slash to the API URL string to avoid keeping the "/build/" part of the URL from being added to the API call. If it was included, the Laravel routing wouldn't recognize it as an API call and return a 404.

Add an icon to show that the content is clickable, like other examples later on in the page

Fixes: #1429

Add a leading slash to the API URL string to avoid keeping the
"/build/" part of the URL from being added to the API call.
If it was included, the Laravel routing wouldn't recognize it as an API
call and return a 404.

Add an icon to the notes "link".

Fixes: Kitware#1429
Comment thread resources/js/components/BuildSummary.vue
Copy link
Copy Markdown
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

Changes look good to me. If @zackgalbreath has time, it might be good to double-check that the route still works on CDash instances running from a sub path.

@josephsnyder josephsnyder merged commit d5e0d66 into Kitware:master May 17, 2023
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.

Cannot add build note on buildSummary page

2 participants