1. Forum submit button UX

Forum submit button UX

Home Forums FABRIC General Questions and Discussion Forum submit button UX

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #2234
    Fraida Fund
    Participant

      This is a minor detail, but it bothers me that the “submit” button in the forum is gray until you mouse over it. The longstanding UI convention is that a gray button is disabled. I keep assuming that it is disabled, and looking for a required field I may have missed or something to enable the “submit” button…

      #2235
      Fraida Fund
      Participant

        Also, both today (on this post) and yesterday, when I create a new topic on this forum, it takes a long time to load and then times out with nginx error 504 Gateway Time-out. (It does still create the topic.)

        #3222
        Fraida Fund
        Participant

          FYI – the 504 Gateway Time-out error is still happening for me when I create a new topic on this forum.

          #3255
          yoursunny
          Participant

            It’s very difficult to write/share code snippets on this forum. Python indentation is always messed up.

            Maybe operator should switch to a different forum software? Vanilla and Discourse have better UX.

            #3258
            Ilya Baldin
            Participant

              Fraida,

              504 error is a known issue, we are looking into it. There is an internal support ticket opened for it.

              #3261
              Ilya Baldin
              Participant

                @yoursunny,

                Thank you we will look to  see if this forum software can be tweaked to better support code snippets. As a workaround you can use github gists and link them into messages.

                #3396
                Yaxue Guo
                Keymaster

                  I just enabled BBCodes in the forum content editor and this is a test reply to try various tag options that BBCodes support. (BBCode tags reference).

                  Code Snippet

                  status, advertised_topology = slice_manager.resources()
                  
                  print(f"Status: {status}")
                  if status == Status.OK:
                      print(f"Toplogy: {advertised_topology}")
                  else:
                      print(f"Error: {advertised_topology}")
                  

                  Youtube Video

                  Quote

                  Hello World

                  Link to an existing forum topic by id
                  https://learn.fabric-testbed.net/forums/topic/quick-start-guide/

                  #3397
                  yoursunny
                  Participant

                    Can you enable Markdown too?
                    Both GitHub and Jupyter have Markdown, so more developers are already familiar with it.

                    #3426
                    Yaxue Guo
                    Keymaster

                      Hi, this forum is powered by the plugin bbPress and we use another plugin GD bbPress Toolbox to support the Code Snippet requirements in this topic/ reply editor, which currently only supports BBCodes but not markdown yet.

                      The good news is that there will be markdown support in the upcoming 7.0 version per the developer of GD bbPress Toolbox.

                      #3427
                      Yaxue Guo
                      Keymaster

                        This is a test reply with TinyMCE Rich Editor and use BBCodes for content formatting as well.

                        Code Snippet (using BBCodes “scode” tag)

                        
                        status, advertised_topology = slice_manager.resources()
                        
                        print(f"Status: {status}")
                        if status == Status.OK:
                        print(f"Toplogy: {advertised_topology}")
                        else:
                        print(f"Error: {advertised_topology}")
                        
                        

                        Item List/ Text Color/ Strikethrough (using TinyMCE editor toolbar)

                        • Item 1
                        • Item 2
                        • Item 3

                         

                         

                        • This reply was modified 2 years, 1 month ago by Yaxue Guo.
                        #3430
                        Ilya Baldin
                        Participant

                          Here is how to use the “scode” tag:

                          • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                          • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                          • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                          • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                          #3435
                          Ilya Baldin
                          Participant

                            This is a piece of python code:

                            def __init__(self):
                                super().__init__()
                                self.network_service_info = None
                            
                            def set_network_service_info(self, ns_info: NetworkServiceInfo):
                                self.network_service_info = ns_info
                            

                            And this is without the tag:

                            def __init__(self):
                                super().__init__()
                                self.network_service_info = None
                            
                            def set_network_service_info(self, ns_info: NetworkServiceInfo):
                                self.network_service_info = ns_info
                            • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                            • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                            • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                            • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                            • This reply was modified 2 years, 1 month ago by Yaxue Guo.
                            #3440
                            Yaxue Guo
                            Keymaster

                              Test reply with Ilya’s code:

                              
                              def __init__(self):
                              super().__init__()
                              self.network_service_info = None
                              
                              def set_network_service_info(self, ns_info: NetworkServiceInfo):
                              self.network_service_info = ns_info
                              
                              
                              • This reply was modified 2 years, 1 month ago by Yaxue Guo.
                              #3443
                              yoursunny
                              Participant

                                I see indentation errors in the two snippets above.

                                Also, there’s no Preview button so that it’s impossible to know whether my content would render correctly before publishing.

                                #3445
                                Ilya Baldin
                                Participant

                                  Yaxue and I are discussing it – this is unfortunately an imperfect solution. A simple cut-and-paste actually works preserving indentation, but doesn’t offer syntax highlighting or line numbers. scode tag does, but requires some manipulations to work correctly.

                                  • This reply was modified 2 years, 1 month ago by Ilya Baldin.
                                Viewing 15 posts - 1 through 15 (of 15 total)
                                • You must be logged in to reply to this topic.