netizenorg / netnet.studio

netnet.studio is a hypermedia higherEd cyberspace for fully realizing the Web’s creative potential.
https://netnet.studio
GNU General Public License v3.0
30 stars 8 forks source link

Issue #236: DemoExampleMaker: re-order steps functionality #245

Closed Cthomp7 closed 9 months ago

Cthomp7 commented 10 months ago

Finished the working version of the custom reorderable list! 🎉

Reorderable list additions:

Additional changes made:

I am sure my code is not the most simplified, so let me know if there is anything I should change. I did run it through a JS standard checker and it looked good to go. (There were some flags on the DEM index.js, but not on things I added, so I left them alone) Additionally, I tried to troubleshoot this element to make sure everything was working. If you decide to merge this, in the future, if there is an issue feel free to ping me in the issue. :)

Hope you like it!! 🐸 #236

Cthomp7 commented 10 months ago

Also! I made those new svg files myself, so they should be good to use.

nbriz commented 10 months ago

@Cthomp7 this is rad! i'm already using it to make demos for one of my classes (^__^)

i'm noticing some issues though, i'll leave a comment here with all the bugs i find after i spend a bit more time using it.

@sarahrooney maybe u can give the CSS a look over && make sure it conforms to the BEM/CSS Style Guide (which we probably need to document at some point)

Cthomp7 commented 9 months ago

@nbriz I believe I fixed all the bugs we encountered.

Side note: my branch was really messy for some reason so my commits are mushed with pulling my original commit and resolving any conflicts. If you have any questions about that let me know.

nbriz commented 9 months ago

awesome @Cthomp7 ! seems like most the issues we talked about are fixed! except i'm still getting the "null" titles showing up on steps that get re-ordered (see attached video)

https://github.com/netizenorg/netnet.studio/assets/2506806/34305638-3905-45e8-b48a-334883761043

Cthomp7 commented 9 months ago

@nbriz This should be working now. Have the prettier code extension for work so it added a bunch of semicolons and additional non-standard JS formatting, so I had to go back and fix that. Let me know if you have any issues and I will try to knock them out quick today/tomorrow!

nbriz commented 9 months ago

@Cthomp7 looks great! gonna merge it!