Skip to content
Snippets Groups Projects

Draft: Resolve "Migrate element with 'btn-link' class in in app/views/help/index.html.haml to Pajamas compliant component"

Open Sujal Gupta requested to merge heysujal/gitlab:479792-migrate-btn-link-class into master
1 unresolved thread
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

This MR tries to remove element which is using btn-link class and use Pajamas::ButtonComponent instead in app/views/help/index.html.haml

Some useful links I referred to,

6aafac76

!125005 (diffs)

https://gitlab-org.gitlab.io/frontend/tailwind-documentation/padding

https://design.gitlab.com/components/button/

https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-button--docs

On design.gitlab.com, I could not find the syntax for button for .html.haml files. HTML, Vue, Ruby syntax is available. I still believe that more classes which I have added can be eliminated by leveraging the options/props in component.

Screenshots

TBA

Closes to #479792

Edited by Sujal Gupta

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading