Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68380

Script console input box is not sizeable, yet the box looks like it is (regression in 2.321)

    • 2.357

      The script console input (available on yourJenkins/script) shows the drag symbol in the lower right bottom of the box, similar to how it does for other input boxes:

      However, you can't drag it smaller or larger, as opposed to any other text input, e.g. project descriptions.
      I didn't take a closer look at it yet, but this seems to be down to the adjuncts in scriptConsole.jelly, importing a couple of presets from stapler-adjunct-codemirror.

      I'm not sure whether this is needed still, because f:textarea supports specific Codemirror language support out of the box via "codemirror-mode", according to the documentation.

          [JENKINS-68380] Script console input box is not sizeable, yet the box looks like it is (regression in 2.321)

          Alexander Brandes created issue -
          Alexander Brandes made changes -
          Description Original: The script console input (available on yourJenkins/script) shows the drag symbol in the lower right bottom of the box, similar to how it does for other input boxes:

          !https://i.imgur.com/oxtBkOo.png!

          However, you can't drag it smaller or larger, as opposed to any other text input, e.g. project descriptions.
          I didn't take a closer look at it yet, but this seems to be down to the adjuncts in scriptConsole.jelly, importing a couple of presets from stapler-adjunct-codemirror.

          I'm not sure whether this is needed still, because f:textarea supports Codemirror language support out of the box via "codemirror-mode", according to the documentation.
          New: The script console input (available on yourJenkins/script) shows the drag symbol in the lower right bottom of the box, similar to how it does for other input boxes:

          !https://i.imgur.com/oxtBkOo.png!

          However, you can't drag it smaller or larger, as opposed to any other text input, e.g. project descriptions.
          I didn't take a closer look at it yet, but this seems to be down to the adjuncts in scriptConsole.jelly, importing a couple of presets from stapler-adjunct-codemirror.

          I'm not sure whether this is needed still, because f:textarea supports specific Codemirror language support out of the box via "codemirror-mode", according to the documentation.
          Alexander Brandes made changes -
          Labels Original: ux New: ux ux-untriaged
          Adrien Lecharpentier made changes -
          Labels Original: ux ux-untriaged New: regression ux ux-untriaged

          I found out this was introduced by https://github.com/jenkinsci/jenkins/pull/5923.

          janfaracik couid you have a look into this? Thank you very much.

          Adrien Lecharpentier added a comment - I found out this was introduced by https://github.com/jenkinsci/jenkins/pull/5923 . janfaracik couid you have a look into this? Thank you very much.
          Adrien Lecharpentier made changes -
          Remote Link New: This issue links to "jenkinsci/jenkins#5923 (Web Link)" [ 27825 ]
          Adrien Lecharpentier made changes -
          Labels Original: regression ux ux-untriaged New: regression ux
          Jan Faracik made changes -
          Assignee New: Jan Faracik [ janfaracik ]
          Jan Faracik made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jan Faracik made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            janfaracik Jan Faracik
            notmyfault Alexander Brandes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: