Skip to content
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

The Flying Dutchmen

  1. Home
  2. Development
  3. To-do List

To-do List

Scheduled Pinned Locked Moved Development
90 Posts 0 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    snoopy
    wrote on last edited by
    #81

    Not sure if this has been brought up but sometimes after I post, the page refreshes and I'm thrown back to the first post on page one. Most of the time it properly refreshed to my freshly posted post. Also, sometimes the page numbers are sometimes missing from the top of the thread pages.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      snoopy
      wrote on last edited by
      #82

      Weird. I just finished posting the above post and then it refreshed to the top of page 3. LOL.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Skull
        wrote on last edited by
        #83

        Re notifications: I get notifications of new threads but not for any comments added. Is there a way to get the comment notifications, too?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Josh
          wrote on last edited by
          #84

          Is there a way to get the comment notifications, too?

          You can hit the green 'Subscribe' button or leaving a comment will auto-subscribe you (unless you've hit the 'Unsubscribe' button I think).

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Skull
            wrote on last edited by
            #85

            Roger

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Josh
              wrote on last edited by
              #86

              Here's my dream quote button.

              function getSelectionHtml(){
              var html = '';
              if (typeof window.getSelection != "undefined") {
              var sel = window.getSelection();
              if (sel.rangeCount) {
              var container = document.createElement("div");
              for (var i = 0, len = sel.rangeCount; i < len; ++i) {
              container.appendChild(sel.getRangeAt(i).cloneContents());
              }
              html = container.innerHTML;
              }
              }
              else if (typeof document.selection != "undefined") {
              if (document.selection.type == "Text") {
              html = document.selection.createRange().htmlText;
              }
              }
              return html;
              }

              $("#quotebutton").on('click', ()=>{

              var postURL = // get the URL with the post# somehow
              var author = // get the author's name somehow
              var selectedHtml = getSelectionHtml();
              if (selectedHtml == ''){ // nothing selected
              selectedHtml = // get the trix document of the entire post somehow
              }

              var html = "<blockquote>";
              html += selectedHtml;
              html += ` - <a href="${postURL}">${author}</a>`;
              html += "</blockquote><br>";

              $("#commentbox").append(html).focus();

              });

              Each post would have its own quote button. Clicking the button gets

              1. the selected html (not just text) from the window object or, if nothing is selected, the entire trix document of the post.
              2. the name of the poster
              3. a URL to that specific post

              It automatically adds everything you selected (or the entire post) to a blockquote and appends the name of the poster as a hyperlink to the post that the quote came from. Then it pastes that into the comment area and focusses on it so you can bang away. Ideally, you could go back and quote any number of things and they'll be appended but that's only going to work for comments on the same page as the content of the trix editor does not persist across pages.

              I didn't write the function but I tested it and it works fine. I just don't know how to get the poster's name, the link to the post or the trix document programmatically.

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cozy
                wrote on last edited by
                #87

                That is dope AF. We can make it happen, the gears are turning as we speak. BUT, I am just too swamped. I had an hour here to do as I pleased, but I have spent it all on content instead of upgrades/updates. But, there will be time again, may be a bit though. December is our busiest online-sales month in oyster land, which means a lot of little tasks for me.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Skull
                  wrote on last edited by
                  #88

                  On the notifications issue, I've noticed it unsubscribes me when I comment on a thread I was previously subscribed to. Anyone else had this?

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    Josh
                    wrote on last edited by
                    #89

                    I seem to be getting notifications fine.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      cozy
                      wrote on last edited by
                      #90

                      Errr, I think this is a bug, I kinda lazily implemented a subscription toggle thing here. I need to think through it, it may be toggling every time a post is made...But then, this post should unsubscribe...unless maybe there was an explicit "subscribe" click.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        cozy
                        wrote on last edited by
                        #91

                        So, there are no errors now for the to-do list (as you can see). Logs show now errors for emails on subscribed threads. Posts can be deleted again. File storage should be working again throughout.

                        -no errors in logs regarding email, the server on this is processing them and your server isn't giving me any errors, but the emails don't seem to be arriving...Fidel can you check your server?

                        -js needs to be move to Hotwired controllers. see https://stimulus.hotwired.dev/
                        -the profile page needs fixing up visually, it's not using bootstrap right now. and for some reason when i try to set my username it fails, I'll check that next.
                        -there's probably some optimizing that could be done in the old fora controllers to make it more rails-turbo-y
                        -images aren't working...
                        -Could move from Trix to Editor.js for entry (it stores all the posts as json), https://editorjs.io/ There's a guide here: https://www.youtube.com/watch?v=JLJFpD89ZaI hmmm... Then would have to insure all our old posts still show up, too. I dunno. Ah there's Rhino as well: https://rhino-editor.vercel.app/ It looks like Rails will be switching to something else soon so...I just wish I knew what they were moving towards to save myself the time of figuring out how to fix this problem for the long haul.

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post