Open comments for this post
Feature: /watch-project command
I added a command to watch a project for new devlogs. Its a job that runs every minute (for now), scraping each tracked project for devlogs that haven’t been tracked yet.
btw I hate slack, they don’t support full markdown so formatting can be a bit weird
Commit
Open comments for this post
View project in slack
Before, projects in the /user-project command had a view button that took you to the page in stardance. Now, it sends a message in slack
The most annoying part of this was of course the slack API. I was trying to ack the response with a message, for whatever reason that did not work. Instead i sent a new message.
Commit
Open comments for this post
Feature: View a project
You can now view a project and its devlogs using the /project [id] command.
It shows all the attachment of a devlog, including videos - which kind of work, its just a link to the file.
The most annoying part was again the slack message format, I had to use packages to convert the HTML into markdown, and then convert the the markdown into a slack compatible markdown format. I also had to truncate the devlogs to 199 characters, trying to fix a cryptic error message.
Next I’ll add the ability to view devlogs, images and videos in full from slack, using modals
Commit
Open comments for this post
Feature: List a users projects
I added a command /user-projects [username]!
Most annoying part was figuring out Slacks message format. Scraping was by far the easiest part, thanks to Stardance’s CSS class format.
Started working on a Stardance scraping library in go.
Commit
Open comments for this post
Improving UI/UX
Fixing issues from Stardance Scouts bug tracker!
- Fix wrong colour icon
- Make the entire link a hackatime project clickable
Attachments:
First shows the behaviour difference between Stardance and my updated version
Second shows the icon before,
Third shows the icon after
Open comments for this post
User projects page redesign
I got annoyed by how my banners were being displayed differently in different pages, so I redesigned the projects page to be more consistent!
Now the projects are listed in two columns on larger devices, with banners above and a fixed aspect ratio of 3
First screenshot is the new design,
Second is the mobile view,
Last screenshot is the old
Open comments for this post
Beep?
Boop!
Setup my first slack bot with golang, added a slash command /beep
I will make a /track command to pull from stardance devlogs automatically next