Advanced analytics, better blog dashboard, inline commenting, real-time collaborative editing, and a new API mutation.

Author

Fazle Rahman

·

new
changelog banner

Last week, we made a bunch of updates and added some new features at Hashnode. These changes aim to simplify collaboration on the Hashnode Enterprise Plan and offer authors more detailed information and greater functionality with our GraphQL API.

API Updates

We consistently enhance our API to provide more ways to engage with Hashnode. This week, we introduced new mutations for managing Series CRUD operations.

A "Series" allows you to group related articles on Hashnode, enabling your readers to view them in chronological order. You could already create a series using the Hashnode editor, and now you can do it with our GraphQL API.

  • createSeries: This mutation lets you create a new series on your blog. To do so, you need to provide the series name, slug, and publicationId. After that, you can start adding articles to your series.

Here is an example to try on our API playground:

mutation CreateSeries($input: CreateSeriesInput!) {
  createSeries(input: $input) {
    series {
      id
      name
      createdAt
      description {
        html
        markdown
      }
      slug
    }
  }
}
  • updateSeries: This mutation lets you change the details of an existing series. You can update the series name, slug, description, cover image, and sorting order. Here's how you might implement it:
mutation UpdateSeries($updateSeriesInput: UpdateSeriesInput!) {
  updateSeries(input: $updateSeriesInput) {
    series {
      id
      name
      createdAt
      description {
        html
        markdown
      }
    }
  }
}
  • removeSeries: If you need to delete a series, this mutation lets you do that. You only need to pass the ID of the series you want to remove. Here's an example:
mutation UpdateSeries($input: RemoveSeriesInput!) {
  removeSeries(input: $input) {
    series {
      id
      name
      createdAt
      description {
        markdown
        html
      }
    }
  }
}

New Inline Commenting and Real-Time Collaborative Editing

Now, you can add comments directly to your Hashnode article drafts and collaborate with other authors in real-time. This new feature is similar to what you might find in Google Docs, providing smoother editing.

  • You can collaborate with multiple authors on a draft simultaneously.

  • Editors can select text and attach inline comments, similar to Google Docs or Notion. To try this, open a draft in the editor (if you are on the enterprise plan), and select a piece of text. A comment icon will appear, allowing you to leave comments.

  • You can resolve and delete comment threads.

  • Comments appear in real-time as they are added.

Upcoming features will include mentions within inline comments and notifications for comments via email.

Currently, this feature is in an invite-only beta. To access it, sign up for the Hashnode Enterprise plan.

New Advanced analytics

Hashnode's advanced analytics is now powered by Amazon Timestream, providing a more robust data analysis solution.

Here are some updates:

  • Previously, advanced analytics were available only to users with Umami activated. Now, they are open to all Hashnode users.

  • The analytics data is now integrated into our GraphQL API, allowing you to customize your UI as you like.

  • The new system offers more accurate analytics, allowing you to filter by individual posts, series, or page IDs.

  • Enhanced grouping options let you sort by factors like country, device, host, and region.

New Blog Dashboard Additions

We have updated our blog dashboard with a new Imports page. Now, you can easily import articles from other platforms like Medium or Substack directly to Hashnode using our revamped UI.

Miscellaneous Bug Fixes

  • We fixed a bug that prevented users from inserting links with underscores.

  • The bug preventing team members from creating posts from GitHub using the publishAs command has been resolved.

  • Your comments and replies are now viewable in the activity feed on your profile page.

  • We also fixed a bug where a post's SEO title and description didn't properly appear in the headline and description fields of the post page schema.

Conclusion

We are always working to make your experience at Hashnode better. We believe these updates will improve your overall experience. If you have any feedback or suggestions, reach out to us on Discord.