Fixing the New Editor

Happy 4 years of CEP!

Alright so I’m very sorry for the rushjob I pulled on the editor when I was moving the entire wiki over to the new CEP-JS system. I got burnt out fixing the readable website to where I asked AI to sloperate something together with a few wishes I had.

While its more reliable than Decap, users still really don’t like it and especially the use of GitHub in general. I’ve been at a hard rule that ‘all the site needs to be open, even the editor and commits’ and that’s had me rely on things that were pointless like GitHub so that ‘other people could host CEP and just change the project link in the editor script’.

Instead, I’m just gonna build the editor to run fully on the site, and then have your browser send the edited page contents over to the CEP host and me just review the changes through my machine. This means nobody can see when commits are sent, only when I approve it- but it does mean I can perform operations from those commits, such as having changes to the article title have all mentions of it across the wiki be updated- something the current system (and the decap system) bars you from doing.

Since I’ve got free reign to decide how this is set up and bundled, I can do more useful things for the user. First order is to have a raw editor just like MediaWiki allowed, so if the markdown system or file uploader screws up- you can manually fix it. Next is a way to download all your changes, that way if (eventually) this system screws up or your computer falls apart, you can save it all and just send the zip to me manually to merge in.

The only thing this will require is a login to the forum. I know- another login setup- but if you don’t have a forum login it allows you to use your GitHub account to sign up. This time it won’t be as jank as finding and inserting a token though, Discourse allows a proper API and login, which I’m just going to use to ensure spam doesn’t happen, since you won’t be able to submit anything without a valid account.

If this goes well I intend on moving some of the features of profiles on CEP to just be the forum profile. It depends on if I’ll be able to automate badges based on contribution count, alongside some way to handle reviews. We’ll see.

Currently if you visit any page with v=cep-editor it will let you look around the files and download them all. I’ll update with things as they get added, but I won’t introduce it anywhere on the site until a significant chunk is done, no more rushing.

1 Like

Getting together the main editor and trying to pretty up the CSS as much as possible. Found a reliable way to force ToastUI into dark mode too.

A lot of the parameters are easy to display but some like stages and bots get tricky with multiple parts. I’m hoping to have both dropdowns for easy selection while also giving a way to insert custom text when needed.

Having a ‘Reupload Edits’ button will also be really useful, that way messing up doesn’t mean just downloading and sending it to me, but being able to try again later too.

I also want to add a ‘Download Article’ button on the main page too, or atleast something to quick grab all the images if a user needs it.

2 Likes

This looks really nice!Also I LOVE Dark mode,it looks so good!:999017603408343120:

Okay, so there is now a WIP submit system for anyone trying the new editor. This will log you in using your forum account only. Nothing is passed through GitHub and I receive the changes for review.

Anyone is welcome to try this system and submit feedback. This will not be replacing the current system until it is done and rolled out properly.

image

For now the featureset is focused on singular page editing and using ‘edit raw’ mode to upload a linked image if the article you’re working on is a photo article. Otherwise no ways to make new pages yet and some parameters are missing. If people like this system more I will work on it faster.

1 Like

Update

  • There’s a new ‘Help’ tab which answers stuff.
  • You can create new pages: https://cheeseepedia.org/?v=cep-editor
  • A proper article thumbnail will display when you copy/paste the filename.
  • Certain parameters now only show if you’ve set a particular article type.
  • A Go Back button that takes you back to the main site
  • Fixed some CSS
1 Like

I’m not sure if I did it right but I tried something

Works great! I got your image and article changes, and my local tool saw you changed the title and fixed that across the site (though it was never linked but it would have done something). I did notice your image got submitted twice though.

If you plan on adding images like that all I ask is you do some keyboard spam as the title for formatting reasons. Soon I’ll have a way to auto add images.

1 Like

That’s good to hear!And I think I pressed the upload button on that image twice lol.Good to know it works well!Really liking this new editor!:hampters-cec-art-v0-71ivjolu9iwf1:

I’m integrating more of the functionality found on user pages into the forum. Everyone has been granted badges for their profile correlating to the ranks on the wiki. You can check badges in the top left corner.

I’ve also modified contributors to be automatically added when you make a submission in the new system, and its based on your forum handle.

1 Like

Just submitted a new article. The new editor’s definitely easier to use and very cleanly laid out, which I appreciate. (I’ll admit I went to the raw editor to add myself as a contributor, having overlooked the last message explaining it would be handled automatically - hope that didn’t cause any problems!)

1 Like

These are cool!

Also heads up there’s a visual glitch in the new editor in the section where you add links to pages,the text is nearly the same color as the box behind it :1017636634524655627:

Are there any plans to add any sort of way of tracking if an edit is review and/or approved like the old editor?

Maybe just a little dropdown that’ll have the page with text next to it saying “in review” “approved” “rejected” Yk?

In terms of what I’m comfortable with probably not. I want as little interaction with the web server itself, all it is meant to do is store commits until I perform a manual review. You’ll know when your submission happens when you see it go live on the site.

EDIT:

by the way the ‘tags’ of a photo are strictly of other pages, not literal tags. This should just be the animatronic, the character, and CEI tagged.

"tags": [
+    "Nellie of the Nile",
+    "Nellie (of the Nile)",
+    "Nellie of the Nile (Animatronic)",
+    "Creative Engineering",
+    "Nancy",
+    "Mask Sculpts",
+    "Masks",
+    "Clay Sculpt"
+  ],,
1 Like

Alight!Makes sense!

And sorry!Will try to make future edits better!

@TutorialTimeYt If you can send that photo you submitted over rq, the system incorrectly flagged it and deleted it before it reached the server cause I didn’t account for the new batch uploader lol. Will manually fix

1 Like

if the tags were also deleted it’s

Parkersburg, WV (3500 Murdoch Ave)

And it’s dated february of 1996.Would there be any issues if I added any more images like…right now or should I waitt?

Nah it should work now

1 Like

@ThatRockHistorian76

Thanks on your recent submissions and using the new editor! Just wanted to point out a few things.

  1. I noticed you bolded every link and citation in the articles. No need. Links already get special CSS, if anything use italics on important companies or people but don’t bold anything outside of the title in the first paragraph.
  2. Be sure to use [1] [3] whatever to link to your citations. Its great you have some but better to have them link up with most.
  3. “Though the Penfield store does not have a huge amount of information on it, there is enough to document its history.”
    This is redundant info, if the store only has a sentence worth of info currently you just put one sentence.
  4. Thanks for bringing full citations to the articles, keep in mind to try not using double quotes " in those text boxes as the wiki has had formatting troubles with it before, replace with single quotes

I went ahead and fixed any of these issues in your submissions, just letting you know for future ones!

2 Likes

Thank you so much! Thanks for letting me know on some of my formatting mistakes. I took the editing guidelines word-for-word, my bad!

I went onto CEP and saw that the pages weren’t updated yet, when will they be updated?

1 Like

@sudo-trans-pony I re-submitted my edited version of the page.