Changelog page that pulls from Github Release notes #867
Reference in New Issue
Block a user
Delete Branch "feature/changelog-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #831
https://github.com/maybe-finance/maybe/assets/15941778/153a4235-357b-4f81-9801-639d2d736131
I'm not 100% sure that I wrote the CSS correctly using Tailwind. Any suggestions are welcome!
I also think it could be a good idea to rename "changelog" to "what's new" in the menu that opens when clicking the avatar image.
Looks great, thanks for tackling this!
Visually it all looks good. I left some suggestions around how we can consolidate some of the "prose" styles and leverage the Tailwind typography plugin a bit.
Definitely a tricky one here. I think this is a good opportunity for us to evaluate the usage of typography within the app.
Ideally, I think what we should probably consider here is an API like so:
We have
proseas the "base" styling mechanism, and thenprose--github-release-notesas a "specialization" where we can add styles for things like.user-mention,.octicon, and.dropdown-caretwhich don't exist anywhere else.That way, in
tailwind.config.js, we can do all of our "base" prose overrides:And then in our global Tailwind CSS file, we can apply the "specializations":
So in summary, the changes required here would be:
.proseclass in Tailwind CSS file (it's not being used anywhere).prose--github-release-notesand all the "specializations" to the Tailwind CSS filetailwind.config.js.release-notes-row, etc.)Let me know what you think!
@@ -2,11 +2,27 @@<%= render "settings/nav" %><% end %><div class="space-y-4">Small nitpick here, but we should probably change to an
h2to avoid duplicate H1s on the page.@mattia-malnis for those "base" prose styles for the Tailwind Config file, I worked with @justinfar to standardize this a bit and included it in the updated design file:
https://www.figma.com/design/lonJmVk3HYkwZoIO7xYP2w/Maybe-App-(Community)?node-id=3789-202&t=UY4qtUbF3hRvnpp1-0
Please note—this is an example that we should try to be as "generic" as possible with when applying to those "base" styles in the Tailwind config. These "base" styles should work with any HTML we need to render.
Thanks for doing this!
@zachgoll thanks for the feedback! I think I can finish it tomorrow!
@zachgoll your solution is definitely better, I didn't know about this possibility with Tailwind! I reviewed the code, let me know if everything is ok
@@ -2,11 +2,27 @@<%= render "settings/nav" %><% end %><div class="space-y-4">I've changed it to an h2 to avoid duplicate H1s on the page!
Awesome work, this looks great!
@@ -2,11 +2,27 @@<%= render "settings/nav" %><% end %><div class="space-y-4">I know other spots in the codebase are still lacking this, but we should probably include an i18n
t(".title")here@@ -2,11 +2,27 @@<%= render "settings/nav" %><% end %><div class="space-y-4">Sure, I updated it!