Dev Diary Ep76 - Revenue Update and Top Pages

Hello again,

It’s been two months since our last revenue review, when we hit 250 paying subscribers! This week, we reached our next big milestone: 500 subscribers :tada: In today’s dev diary, I give a tour of our MRR dashboard and explore what’s possible with the updated Top Pages Component :sweat_smile:

A new build of Elements, featuring the Top Pages component, will be available later this week. In the meantime, check out Dev Diary Ep76 below…

Get Elements for macOS

Elements is available in Early Access. You can visit the elementsapp.io website to purchase a license today.

Thanks for Your Feedback

As always, keep the feedback coming. Your input has made all the difference so far.

Thank you!

See you soon,
Dan & Team Realmac.

4 Likes

Hi @dan,

wow you must be able to read thought. What you showing here is actually what I tried to achieve with that post I had but not for links but page summaries.

When selecting a link it does not hold those sub pages. Do you map the folder over the title and search for it in the pages property?

In the hooks file I simply do a find on the rw.pages object.

Something like: rw.pages.find((page) => page.title === selectedFolder.title) - where selectedFolder is the id of the link control for selecting a folder.

Hope that helps! :blush:

Hi @ben,

yeah I assumed so. Trying that out with the pagination component I send you guys in the other threat.

But that would break if you rename the folder. Since the title does not get update. The link would hold but the title does not change when updating.

A unique identifier for the pages that could be compared with the links. Links support the absolute path, but that one is not available in the pages. That would be a way to compare for being equal.

The code I posted won’t break if the folder name is updated.

I agree that an ID on each page could be a good idea!

Hi @ben,

please have a look why I said the code would break. I added a “link” prop in the component and show all the available properties there is.

  • The only thing that can be used to track the result in the pages is title as far as I know. And if you look over all folders there could be another one with the same name.
  • At the end you can see how I change the title in the GUI and the title in the props does not get upated. Thats what I mean with that would break. You would need to reselect the folder so that the title gets updated.