Fix local-rules/vue-no-web-url offenses in todos

What does this MR do and why?

Fixes the local-rules/vue-no-web-url offense in app/assets/javascripts/todos/components/todo_item_body.vue, and removes it from .eslint_todo.

The to-do author avatar and author name now link to author.webPath instead of the absolute webUrl. The CE and EE Todo fragments fetch webPath for the author. UserCore.webPath already exists in GraphQL, so this MR has no backend change.

When a to-do is hidden by SAML, the "Someone" author still links to the to-do targetUrl. Only the key name changes.

References

Verification

The video runs on a gdkbox with this diff applied. On the To-Do List it clicks the author name link, then the author avatar link. Both open the author profile at /myong. The SAML-hidden "Someone" link is not on video, because it needs a SAML group. The spec covers it. Subtitles describe each step.

Edited by Jorge Tomás

Merge request reports

Loading
Loading