What's happening with the controls being pushed up once you close it?

Love this idea though, how does it work?

    luceos controls will appear again when someone start typing into the textarea

    it listen to the input and then use flarum api to perform a search for discussions based on title, if there's something similar, is showed in the box, otherwise nothing happen.

    0.1.2

    Html is now sanitized to prevent any kind of XSS injection.

    I think this is very useful in many communities. I really like this existing! Here's my initial feedback on the extension:

    • The interface is taking up a lot of space, leaving no realestate for writing the actual text. Personally I might even prefer if this would be something "out of the composer window" (maybe attached atop)

    • I think an option to close the duplicate notification would be beneficial

    • I'd change the default text to something more user-friendly like: "We want to highlight other discussion that might fit your topic. We'd appreciate if you would check them to avoid creating duplicate discussions in our community."

      Honestly you cannot go to a paid extension at pre-v1. In the OP vid alone I can see that there should be a close check-box but there isn't.

      Justoverclock 0.1.3

      New layout (or at least the first attempt)

      No, you had it right the first time - it should appear in the text area below the title and above the textarea.

      IMO this is NOT ready to be a paid extension.

        Valeyard IMO this is NOT ready to be a paid extension.

        Just a few thoughts to help you understand and to support someone who is doing so much good for our ecosystem.

        • Setting up an extension as premium offers people a way to fund development towards stable and beyond.
        • @Justoverclock currently published 15 out of 64 extensions as premium. So 49 extensions he published are free to use by the community. Those that are premium ask a very low (mostly one time if I remember correctly) fee. See the list of all the good he shared with us here; https://extiverse.com/team/justoverclock
        • Versioning is a pickle thing. What if he started with v99 as we've seen in the past as well? Flarum was in beta for seven years.
        • From my experience Marco has been extremely forthcoming with requested changes, especially those subscribed to premium extensions.

          luceos thx for your words Luceos, I can’t say how much I appreciate your support

          Valeyard im at work on this extension, so in these hours/days I will improve all

            I really like the adoptions that you have made. It's a lot less intrusive - which it should be. There are some quirks on the layouting though. First, the box does not have the same size as the text editor. If you make it smaller it should have the same gap on the left and right side. Also, the close button is in a different position than on the editor.

              If there is a discussion with the same title, can it completely prevent creating a new one or merging automatically? I think that would be cool.

                luceos Just a few thoughts to help you understand and to support someone who is doing so much good for our ecosystem.

                • Setting up an extension as premium offers people a way to fund development towards stable and beyond.
                • @Justoverclock currently published 15 out of 64 extensions as premium. So 49 extensions he published are free to use by the community. Those that are premium ask a very low (mostly one time if I remember correctly) fee. See the list of all the good he shared with us here; https://extiverse.com/team/justoverclock

                That's fine, but when you're selling a product it should be fully ready for the clients IMO with only minor bugs. I'm not saying he's doing something wrong, but remember the clients generally aren't technical and they're going to have an uphill battle explaining what's broken when a plugin has serious bugs (we see this all the time).

                Justoverclock im at work on this extension, so in these hours/days I will improve all

                I don't mean to sound harsh. Here's a quick mock-up:

                You need the warning inside the text area - what are you going to do if the person already expanded the post box to fill the entire screen?

                Well, in the next release:

                • box will be centered and with the same size of composer
                • Check for similarity of the title based on a score (for example if the title match user input up to 80%, prevent discussion submission) <-- here feedback are appreciated

                0.1.8

                • Box is now centered and fit the composer width (hopefully 😃)
                • If the discussion title match exactly an existent discussions, "post reply" button will be automatically disabled to prevent posting identical discussion.
                • Alert if the title is exact the same of an already posted discussions.

                15 days later

                Does this only search the titles or can it locate duplicate links (URLs) from within discussions? I want to identify if specific links have been shared on the forum already when a user makes a new discussion or replies to an existing one.

                Thanks for your efforts!