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

Remove Jira table, improve side panel links #199

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

zbynek
Copy link
Contributor

@zbynek zbynek commented Apr 20, 2020

3 minor SEO related fixes

  • remove the Jira confluence macro which doesn't work anywhere and breaks usability on mobile
  • increase spacing for links in side panel (reported by Chrome audit)
  • meaningful description for the guidelines link (also from Chrome audit)

@zbynek zbynek requested a review from a team as a code owner April 20, 2020 21:29
@@ -96,8 +96,8 @@ function PluginPage({data: {jenkinsPlugin: plugin}}) {
<a href={plugin.wiki.url} target="_wiki">Jenkins Wiki</a>
{' the '}
<a href="https://groups.google.com/forum/#!msg/jenkinsci-dev/lNmas8aBRrI/eL3u7A6qBwAJ" rel="noopener noreferrer" target="_blank">read-only state</a>
{'. We recommend moving the plugin documentation to GitHub, see the guidelines '}
<a href="https://jenkins.io/blog/2019/10/21/plugin-docs-on-github/" rel="noopener noreferrer" target="_blank">here</a>
Copy link
Member

Choose a reason for hiding this comment

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

so 👍, "here" is such bad practice.

@@ -31,6 +31,8 @@ function getContentFromConfluencePage(url, content) {

// Remove any table of contents
$('.toc').remove();
// remove jira issue table
$('.jira-table.conf-macro.output-block').remove();
Copy link
Member

Choose a reason for hiding this comment

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

why not just .jira-table?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could anyone use jira-table in some other context where it makes sense to keep it? I wasn't 100% sure.

Copy link
Member

Choose a reason for hiding this comment

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

yea, more specific is good since its auto generated anyways.

Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure we can easily do it on plugins-api, but since all wiki fetching is done by plugin-site for now, i'm happy with this.

@halkeye halkeye added the bug label Apr 20, 2020
@halkeye halkeye merged commit 77c4472 into jenkins-infra:master Apr 20, 2020
@zbynek zbynek deleted the mobile-seo branch April 12, 2022 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants