Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1 Penguins
    • Fix Version/s: 2.2 Penguins
    • Labels:
      None
    • Sprint:
      2.2 Penguins

      Description

      As an Owner I'd like to set instance name so that it represents my resource

      Acceptance Criteria

      • Admin user should have Administration menu item at the top bar near its username. There should be a sub-menu Admin Mode.
      • After entering Admin Mode, instead of previous Admin Mode menu item he should see Exit Admin Mode
      • If user is in Admin Mode, when hovering the instance name at the top left corner, he should see a pen which would mean that it is editable.
      • Then if user presses on the instance name, he should see an input right in place where he can enter the instance name.
      • Name applies after clicking on Enter
      • If the input is left blank, then default instance name is written into DB. Default is: Antarcticle (right now it's JavaTalks Articles which is incorrect)
      • Max title length - 256.
      • If title is too long and doesn't fit the bar, the end should be cut and '…' should be shown

        Attachments

        Structure

        (does not include ANTARCTICLE-276)
        History

          Activity

          Hide
          AndreySurzhan Andrey Surzhan added a comment -

          Also if user (admin mode ON) click on "pen" symbol - page refreshes. But expected result is - instance name box becomes an input text box.

          Show
          AndreySurzhan Andrey Surzhan added a comment - Also if user (admin mode ON) click on "pen" symbol - page refreshes. But expected result is - instance name box becomes an input text box.
          Hide
          jk1 Evgeniy Naumenko added a comment -

          It was agreed to omit input field and allow direct on-page editing

          Show
          jk1 Evgeniy Naumenko added a comment - It was agreed to omit input field and allow direct on-page editing
          Hide
          AndreySurzhan Andrey Surzhan added a comment - - edited

          Scenario 1
          Environment:
          Antarcticle 2.2.473.614ed55 (QA)
          Pre-condition:
          User is logged in as admin
          Go to Administration->Enter admin Mode
          Steps:

          1. Click on instance name
          2. Enter instance name (Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis p)

          AR: See attachment1 and attachment2
          ER: lines should have a distance between each other and fit into page viewport without horizontal scroll bar

          Scenario 1.1
          Pre-condition:
          Do steps from Scenario 1
          Steps
          Press Enter button on keyboard

          AR: Instance name is successfully saved. Instance name is displayed entirely
          ER:

          If title is too long and doesn't fit the bar, the end should be cut and '…' should be shown

          Show
          AndreySurzhan Andrey Surzhan added a comment - - edited Scenario 1 Environment: Antarcticle 2.2.473.614ed55 (QA) Pre-condition: User is logged in as admin Go to Administration->Enter admin Mode Steps: Click on instance name Enter instance name ( Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis p ) AR : See attachment1 and attachment2 ER : lines should have a distance between each other and fit into page viewport without horizontal scroll bar Scenario 1.1 Pre-condition: Do steps from Scenario 1 Steps Press Enter button on keyboard AR : Instance name is successfully saved. Instance name is displayed entirely ER : If title is too long and doesn't fit the bar, the end should be cut and '…' should be shown
          Hide
          AndreySurzhan Andrey Surzhan added a comment - - edited

          Scenario 2
          Environment:
          Antarcticle 2.2.473.614ed55 (QA)
          Pre-condition:
          User is logged in as admin
          Go to Administration->Enter admin Mode
          Steps:

          1. Click on instance name
          2. Enter instance name with 255 symbols
          3. Press Enter button on keyboard

          AR: Red pop-up box without text is appeared after pressing Enter button. Instance name is not saved.
          ER: Pop-up box with submission text is appeared after pressing Enter button. Instance name is successfully saved.

          Why don't we validate invalid data?

          If i try to copy some text from some text editor to instance name input i cannot past in there. As result there is empty input.

          Show
          AndreySurzhan Andrey Surzhan added a comment - - edited Scenario 2 Environment: Antarcticle 2.2.473.614ed55 (QA) Pre-condition: User is logged in as admin Go to Administration->Enter admin Mode Steps: Click on instance name Enter instance name with 255 symbols Press Enter button on keyboard AR : Red pop-up box without text is appeared after pressing Enter button. Instance name is not saved. ER : Pop-up box with submission text is appeared after pressing Enter button. Instance name is successfully saved. Why don't we validate invalid data? If i try to copy some text from some text editor to instance name input i cannot past in there. As result there is empty input.
          Hide
          AndreySurzhan Andrey Surzhan added a comment -

          Environment: Antarcticle 2.2.476.d73baea (QA)

          Acceptance tests are passed
          Regression tests are passed - look at Structure

          Tests result: Issue can be closed

          Show
          AndreySurzhan Andrey Surzhan added a comment - Environment: Antarcticle 2.2.476.d73baea (QA) Acceptance tests are passed Regression tests are passed - look at Structure Tests result: Issue can be closed

            People

            • Assignee:
              julik Julia Atlygina
              Reporter:
              ctapobep Stanislav Bashkyrtsev
            • Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel