• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Add comments to your file

Scheduled Pinned Locked Moved Plugins
104 Posts 20 Posters 18.5k Views
Loading More Posts
  • 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.
  • I Offline
    inteloide
    last edited by 30 Mar 2014, 19:14

    Hello,

    I can't resist anymore ! Please find here version 1.2.0 for trial (not official for now).
    Is missing translation (to be added later) so all is in English.
    Your comments from previous version are not destroyed : they are in "General" tab.
    To delete a tab just click on red cross that appear when mosue is over a tab label.
    To add a tab, click on "+" tab
    Also one important improvements, is the undo stack is not filled with action of comments saving.

    To be added :

    • Translation
    • Tab rename function
    • Tab position change

    Please try to add/delete tab to check if all is ok. I spent lot of time to check, but please try yourself.

    For Aerilius : I try to keep code so big, I'm still ok I think. Let me bet that you will have a look ;o)

    For Glro/Box, I will try to implement a link between tab and scene (when clicking on a scene, a tab is shown). My main concern is to keep interface simple. Also for hyperlink, I cannot do it without nicEdit (through JQuery). The problem is to manage it, quite complex for me. I tried (some hours) to debug it, unsucessfully. Let's try again, starting from 0...

    Inteloide


    Version 1.2.0

    Humanity will do a huge step when the IT professionals will understand that computers are tools...

    1 Reply Last reply Reply Quote 0
    • B Offline
      Box
      last edited by 30 Mar 2014, 20:26

      Looks good but I managed to break it for you.

      If you create a new tab and Delete the General tab it gives you this error. Generally you wouldn't expect someone to delete the general tab, but I just had to do it to see.


      Bug1.JPG

      1 Reply Last reply Reply Quote 0
      • I Offline
        inteloide
        last edited by 30 Mar 2014, 20:53

        Well done ! Thanks for that !

        Here is the correction :
        Version 1.2.1

        Version history:
        1.2.1: Corrected : Avoid error when deleting tab placed before current tab

        1.2.0:	Added :		Added possibility to have different tabs
        		Optimzed :	Change toolbar name to "Comments (BGSketchup)"
        		Optimzed :	Avoid filling "undo" stack with comments saving operation.
        

        Humanity will do a huge step when the IT professionals will understand that computers are tools...

        1 Reply Last reply Reply Quote 0
        • G Offline
          glro
          last edited by 31 Mar 2014, 08:21

          @inteloide said:

          Well done ! Thanks for that !

          Here is the correction :
          [attachment=0:1thx4yvb]<!-- ia0 -->Comment v1_2_1.rbz<!-- ia0 -->[/attachment:1thx4yvb]

          Version history:
          1.2.1: Corrected : Avoid error when deleting tab placed before current tab

          1.2.0: Added : Added possibility to have different tabs
          Optimzed : Change toolbar name to "Comments (BGSketchup)"
          Optimzed : Avoid filling "undo" stack with comments saving operation.

          very efficient

          would be nice to be able to rename the title of the tabs

          "espanol" doesn't include "h"

          maybe i type rather fast, but the comment get written in the window very slowly; maybe it is my computer

          an internet link would be useful for me, because it would enable to attach a cloud hosted document to the model but a link to a scene would not; you can already switch scene using the native scene tabs

          the button (icon) doesn't show up the first time after installing the plugin; but it pops up the second time you launch sketcup after installing the plugin

          1 Reply Last reply Reply Quote 0
          • I Offline
            inteloide
            last edited by 31 Mar 2014, 17:54

            Hello

            Rename function added :
            Version 1.3.0

            Place your mouse on tab name, and a new button appear.
            I also added mouse title when over the button to discribe their function.

            For hyperlink... you have to be more patient 😉
            For linking a tab to a scene, I think that people wants to show a tab when user click on a scene. That is quite easy to do with an observer.

            For your slow key entry, I save the comment each time you press a key or you left the text area (to catch copy/paste events).
            That may slow down system but not as much as I understand from you...

            Inteloide

            Humanity will do a huge step when the IT professionals will understand that computers are tools...

            1 Reply Last reply Reply Quote 0
            • I Offline
              inteloide
              last edited by 31 Mar 2014, 21:13

              Hello,

              Just post (on first post) the last version of the plugins, with following improvments :
              Corrected : Allow the modification of tab name on first tab
              Corrected : Allow special characters in tab name
              Corrected : Remove prompt when deleting a tab
              Corrected : Hide tabs when showing options
              Optimized : Add translation possibility for last adding feature
              Optimized : Increase tab "+" size for more accessibility
              Optimized : Add border around tab for to distinguish tabs more easily

              Enjoy !

              Inteloide

              Humanity will do a huge step when the IT professionals will understand that computers are tools...

              1 Reply Last reply Reply Quote 0
              • G Offline
                glro
                last edited by 1 Apr 2014, 06:56

                @inteloide said:

                Hello

                Rename function added :
                [attachment=0:no9akdmn]<!-- ia0 -->Comment v1_3_0.rbz<!-- ia0 -->[/attachment:no9akdmn]

                Place your mouse on tab name, and a new button appear.
                ...

                Inteloide

                yes, it works; very nice plugin; i have been trying a few to comment easily and clearly a sketchup model scene by scene; this is the best so far

                thank you

                1 Reply Last reply Reply Quote 0
                • I Offline
                  inteloide
                  last edited by 3 Apr 2014, 21:56

                  Hello !

                  Just post a new version that can link tab a scene : when clicking on a scene, the tab appears.
                  For that, click on the new button icon when mouse on tab. A new window open asking for tab name and scene link.

                  Oh...just thinking that translation is missing...I'll correct soon...

                  Inteloide

                  Humanity will do a huge step when the IT professionals will understand that computers are tools...

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Box
                    last edited by 4 Apr 2014, 21:29

                    Hmmm, no, this version appears broken for me.
                    I can't change a name or link to a scene and deleting a tab throws the error attached.


                    Nothing.JPG

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      inteloide
                      last edited by 6 Apr 2014, 09:24

                      Hello Box,

                      I just see your post...after I upload version 1.5.0.

                      So please try version 1.5.0 add please tell me if your bug remains.

                      Regards
                      Inteloide

                      Humanity will do a huge step when the IT professionals will understand that computers are tools...

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Box
                        last edited by 6 Apr 2014, 12:25

                        Still getting the same error.


                        Same error.JPG

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Box
                          last edited by 6 Apr 2014, 12:53

                          Sorry, I just noticed that it has a second error, thought it was a repeat but it is a different line.


                          Error95.JPG

                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            inteloide
                            last edited by 6 Apr 2014, 15:29

                            @box said:

                            Sorry, I just noticed that it has a second error, thought it was a repeat but it is a different line.

                            There were a lot of bugs actually... Thanks for raising the error you had.
                            Version 1.5.1, just posted, corrects the tab deletion issue.

                            Inteloide

                            Humanity will do a huge step when the IT professionals will understand that computers are tools...

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              glro
                              last edited by 6 Apr 2014, 16:08

                              just downloaded the 1.5.1 version

                              found out you have to press on "TAB" to link a tab to a scene

                              but actually no link seems to be made on my computer, because when i clic on the tab in comment window, it doesn't show the linked scene in sketchup, and when i clic on the scene tab in sketchup, it does'nt show the linked tab comment

                              i am probably missing something...

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                glro
                                last edited by 6 Apr 2014, 16:13

                                error
                                @inteloide said:

                                @box said:

                                Sorry, I just noticed that it has a second error, thought it was a repeat but it is a different line.

                                There were a lot of bugs actually... Thanks for raising the error you had.
                                Version 1.5.1, just posted, corrects the tab deletion issue.

                                Inteloide

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  inteloide
                                  last edited by 6 Apr 2014, 16:44

                                  Hello Glro,

                                  Actually, the plugin should works like this : when selecting a scene in Sketchup, the linked (if defined) tab in plugin is shown.

                                  The opposite (when clicking on a tab in plugin, show the scene in Sketchup) is not implemented yet. I could, if you need it.

                                  About the javascript error you have, could you please tell me more : when do you have this error, what did you do before ?

                                  Inteloide

                                  Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    glro
                                    last edited by 6 Apr 2014, 17:16

                                    @inteloide said:

                                    Hello Glro,

                                    Actually, the plugin should works like this : when selecting a scene in Sketchup, the linked (if defined) tab in plugin is shown.

                                    The opposite (when clicking on a tab in plugin, show the scene in Sketchup) is not implemented yet. I could, if you need it.

                                    About the javascript error you have, could you please tell me more : when do you have this error, what did you do before ?

                                    Inteloide

                                    when i clic on a scene tab in sketchup, it doesn't change anything in the comment window, even if i previously set a link between a comment tab and a scene tab

                                    the error message i sent, i don't remember how it popped up

                                    here is a new one: it appeared when i clicked on the comment button to show again the comment window, after closing it using the cross in the upper left corner


                                    2014-04-06 19_07_21-Commentaires v1.5.1.png

                                    1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      inteloide
                                      last edited by 6 Apr 2014, 17:38

                                      tiiuuuu !!!!
                                      I've same bug when changing the language.... not good

                                      Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        inteloide
                                        last edited by 6 Apr 2014, 18:14

                                        okay, version 1.5.2 should solve javascript issue.
                                        About your tab-scene issue, I tried from an empty file : it works.

                                        Could you please open the ruby consol window (Window/Ruby Consol) to see if error appear Inside, when setting the link and changing the scene in SU ?

                                        Thank you.
                                        Inteloide

                                        Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          glro
                                          last edited by 6 Apr 2014, 18:36

                                          @inteloide said:

                                          okay, version 1.5.2 should solve javascript issue.
                                          About your tab-scene issue, I tried from an empty file : it works.

                                          Could you please open the ruby consol window (Window/Ruby Consol) to see if error appear Inside, when setting the link and changing the scene in SU ?

                                          Thank you.
                                          Inteloide

                                          no error message in the ruby console ... because it works perfectly!

                                          i clic on the scene tab and the comment window shows the corresponding tab, as said

                                          after installation, i had to close sketchup and open it again, though; just after the installation, it didn't work

                                          thank you, seems operational; i am not sure about the use of a backward link between the comment window and the scenes...

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 1 / 6
                                          1 / 6
                                          • First post
                                            36/104
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement