Discuss Scratch

9gr
Scratcher
1000+ posts

signature history viewer

another one of my… well.. projects

i made a signature history viewer thanks to scratchdb's new apis.

todo:
get bbcode from the signatures
fix css


try it out

Last edited by 9gr (July 6, 2022 05:03:11)

SansStudios
Scratcher
1000+ posts

signature history viewer

This is really cool! Great work!
Raihan142857
Scratcher
1000+ posts

signature history viewer

Jeffalo
Scratcher
1000+ posts

signature history viewer

works really well! nice job!
9gr
Scratcher
1000+ posts

signature history viewer

Raihan142857 wrote:

you can get the bbcode with https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/:id/source
it's signatures

SansStudios wrote:

This is really cool! Great work!

Jeffalo wrote:

works really well! nice job!
thanks!
Socialix
Scratcher
1000+ posts

signature history viewer

nice!! april fools memory of MY AMONGUS FREE FOR PC GUIDE!!!! yes it's a topic id snipe, 500500


and it even knows my first ever siggy, great job scratchdb!

but pls dont use roboto for stuff, it's terrifying to view an android interface in windows 10, fluent design is better
9gr
Scratcher
1000+ posts

signature history viewer

Socialix wrote:

nice!! april fools memory of MY AMONGUS FREE FOR PC GUIDE!!!! yes it's a topic id snipe, 500500


and it even knows my first ever siggy, great job scratchdb!

but pls dont use roboto for stuff, it's terrifying to view an android interface in windows 10, fluent design is better
i used tailwind.css and materialize. ill remove roboto soon
PoIygon
Scratcher
1000+ posts

signature history viewer

9gr’s birthday is on 26/2. Noted
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

signature history viewer

Socialix wrote:

nice!! april fools memory of MY AMONGUS FREE FOR PC GUIDE!!!! yes it's a topic id snipe, 500500


and it even knows my first ever siggy, great job scratchdb!

but pls dont use roboto for stuff, it's terrifying to view an android interface in windows 10, fluent design is better
Roboto is just the font their using, lots of sites and programs use Roboto. Imo it's better to have a more unique design for a website rather than following OS-specific guidelines. Fluent in its current state also just feels a bit messy, but hopefully that'll change with .NET MAUI.
Raihan142857
Scratcher
1000+ posts

signature history viewer

9gr wrote:

Raihan142857 wrote:

you can get the bbcode with https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/:id/source
it's signatures
oh yeah, there's code for turning html into bbcode in the “better-quoter” script in the extension
9gr
Scratcher
1000+ posts

signature history viewer

PoIygon wrote:

9gr’s birthday is on 26/2. Noted
no it's not
Pufferfish_Test
Scratcher
500+ posts

signature history viewer

This is really nice! Great UI, hopefully responsiveness for mobile will come soon
It's slightly terrifying to think that all of my old siggies are now publicly available :o

Raihan142857 wrote:

9gr wrote:

Raihan142857 wrote:

you can get the bbcode with https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/:id/source
it's signatures
oh yeah, there's code for turning html into bbcode in the “better-quoter” script in the extension
Note that soon that code will be gone in favour of a better method that doesn't support siggies, so if you ever need it you'll have to look back through commits.
soon is relative, don't expect thatparticular update within the next couple of years
Also, I realised that that is currently missing support for [p] tags, and scratchblocks are a nono.
Also, I'msure that there's a better way of foing it that does accept arbitrary html, I'm þinking of trying to use node traversal rather than string matching at some point, as that would be a lot easier and faster(?) - the idea is that you go through each node, find the bbcode tage for it, stick the top level text nodes in it and insert child nodes where they need to go… maybe not the simplest thing ever but it could work.
9gr
Scratcher
1000+ posts

signature history viewer

done:

added ocular statuses
set favicon & shortcut icon to user's image when loaded
html2bbcode
ScratchCatHELLO
Scratcher
1000+ posts

signature history viewer

this looks really nice!

also, this was a trip down memory lane
I remember when my signature said “My signature ate a kumquat ᶜᶦᵗᵃᵗᶦᵒⁿ ⁿᵉᵉᵈᵉᵈ” like it was yesterday
gosoccerboy5
Scratcher
1000+ posts

signature history viewer

This is so cool! You make me insanely jealous of your coding skills
Pufferfish_Test
Scratcher
500+ posts

signature history viewer

I'm really loving the new responsive design

Would it be too much of a stretch to scroll the bbcode to the correct part of it where you were viewing the html, and vise versa?
That made no sense sorry
9gr
Scratcher
1000+ posts

signature history viewer

Pufferfish_Test wrote:

I'm really loving the new responsive design

Would it be too much of a stretch to scroll the bbcode to the correct part of it where you were viewing the html, and vice versa?
That made no sense sorry
not the best design, imma see if i can learn how tailwind css classes work so i can make something nicer

ill see if i can do anything about the bbcode scrolling thing
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

signature history viewer

when you drag your mouse across the “switch to bbcode” button, the text highlights, and it doesn't with the other buttons. can you fix this (make it not highlight on any of the buttons)?
Chiroyce
Scratcher
1000+ posts

signature history viewer

I love how the favicon changes to your PFP

This is epic!! Well done!!!

https://signature-history.9gr.repl.co/?user=fdreerf&time=4

Last edited by Chiroyce (May 8, 2021 13:13:30)

Powered by DjangoBB