1. 04 Oct, 2019 6 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Blocks display fixes · ccc2446d
      Cecilia Vela Gurovic authored
      - assessment block: tinymce and the asseesment js
      need to be initialized after the block is loaded
      - signoff block: sing-off modal is showing now
      - embedded media init functions need to be loaded after
      the blocks are added to the grid
      - wall post block initializes the tinyMCE after it's loaded
      and refreshes the content of the block after a new post is made
      - comment block: update block size when adding a comment
      - scrolling to the block when a new one is added
      - modified the text for button to add a new block to the page
        'Drag to add a new block' for normal mode
        'Click to add a new block' for accessibility mode
      - add a block to the bottom of the page by default so it won't
      break the layout
      - add SE annotation to the bottom of the page
      - added 'Add block' button event handlers after trnaslating a view
      - annotation feedback loads the tinyMCE
      
      behatnotneeded
      
      Change-Id: I7642cacde729a2a85b497e077452de792ec72eb7
      ccc2446d
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Making magic block work with gridstack layout · 66c08ce0
      Cecilia Vela Gurovic authored
      In view edit mode, dragging the button '+' on the
      right top menu, will add a block in the page
      with dimensions height=3 and width=4
      
      behatnotneeded
      
      Change-Id: I5f4334886f6685bd047cb5bfbf0d59dd3880109a
      66c08ce0
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Remove edit layout section · d45aed8d
      Cecilia Vela Gurovic authored
      - also remove the layout pieform
      and the custom layout javascript code
      
      behatnotneeded
      
      Change-Id: I3e2e2b3f09106dd2a341a40d178feca693194e64
      d45aed8d
    • Robert Lyon's avatar
      fixing - need to put back removed tasks · 308fae17
      Robert Lyon authored
      but now make them all in the future
      
      Change-Id: I79741ceee5f686cf11947f2a63a14d19c997075f
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      308fae17
    • Lisa Seeto's avatar
      Bug 1844470: Move "Display page" and "Return to pages and collections" · 466b4a8a
      Lisa Seeto authored
      to right-hand side on "Edit" screen
      
      - create new edit page action buttons for return to <location> button
      - delete references to the old display page link created in file editviewtabs.tpl
      - delete file editviewtabs.tpl
      - change the edit button in editviewpageactions.tpl into a display button
      - change behat tests to reflect the change from Edit to Display page
      - change the Behat instruction for And I display the page to target updated element
      - delete the old display button styling from the style guide
      - move url, title display logic into new func get_return_to_url_and_title in lib/view.php
      - adjust blocks.php, access.php, editlayout.php to assign url, title using new func
      
      behatnotneeded
      
      Change-Id: Iedf2882c42fa1d204e438a23842834fbb9a709f9
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      466b4a8a
    • Cecilia Vela Gurovic's avatar
      Container name changed in html for add_tags.feature · fbfbb80e
      Cecilia Vela Gurovic authored
      Change-Id: Ia9ec91a5a5c93ec4117337d111cdfb97ee8ff720
      fbfbb80e
  2. 03 Oct, 2019 3 commits
  3. 25 Sep, 2019 1 commit
    • Lisa Seeto's avatar
      Bug 1827811: Move "Add comment" and "Details" into modal with "Comments" · be7af61f
      Lisa Seeto authored
      create modal using configureblock id, update various templates to use the modal for blocks:
      Image
      Note
      File(s) to download
      Journal/blogs
      add JS to open/close modal, add comments, delete comments, reply to comments, paginate comments.
      add JS to handle url that redirects to view/view.php with modal open and populated.
      Further changes to each block will be completed in child patches.
      Add segment headings to the modal. Fix display of comments to cover width of modal.
      Show comment removed msg in modal/page appropriately.
      Fix behat test to close modal before continuing.
      do not show existing comments if comments not allowed on artefact.
      add validation to modal for comments/attachments
      disable image as link when editing for image block
      trigger focus on modal for accessibility
      close modal on escape keydown event
      fix merge conflict in view/view.php
      fix merge conflict with master
      make configureblock modal play nicely when comment block is on the page
      update display of error messages to always show at top of modal so user doesn't have to scroll
      add accesibility to close modal on escape key down
      handle dock show/hide events for paginated pages in modal during validation
      create block-comments-details-header template file
      create details button and custom scss file with js to show and hide header
      update comment links to save add comment and details when commentcount == 0
      add active-block class to colour the block-header when active
      toggle the details-btn active css
      add _block-comments-details-header.scss to patch
      change class invisble to class d-none
      add block-comments-details-header.tpl to blocktypecontainerviewing.tpl
      code review changes
      add .no-modal class to links on group home page, dashboard and profile page.
      add block header to appear above the title
      change assessbtn from anchor tag to button to prevent scrolling.
      make all clickable links clickable on page load (ignore assess mode)
      fix js issues surrounding assessbtn move and show/hide blocks
      change cursor on dashboard, my profile page, group homepage to default when over disabled modal links
      update assessbtn to details btn
      create tooltip for hover over file download block titles
      fix containerElm console log error by not reattaching tinymce unneccessarily.
      fix null named attributes issues on e.target when span (icons) instead of anchor is clicked.
      
      Change-Id: I2e5218c040f8a9e252f785165ce9c566ecc2f56e
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      be7af61f
  4. 14 Sep, 2019 1 commit
  5. 27 Aug, 2019 1 commit
  6. 04 Aug, 2019 4 commits
    • Robert Lyon's avatar
      Bug 1829940: Create plugin base config form / system · 62e432fb
      Robert Lyon authored
      And create a form for the blocktype class
      Allow the blocktype_installed to have a sort order
      
      behatnotneeded
      
      Change-Id: I2e11274a36dba59dfc193b2f5b504303a7e21a54
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      62e432fb
    • Robert Lyon's avatar
      Bug 1829940: Restrict the chooser to one 'add' button · 4d9a5645
      Robert Lyon authored
      Done in this patch:
      - restricted the list to one shortcut button (the placeholder one)
      - cleaned up old code where one could edit the block on the without
      modal
      - moved the button to be above content layout and next to the
      instructions section
      - move the block help link to within placeholder block and be an 'i'
      on 'Content types' heading
      
      behatnotneeded
      
      Change-Id: I8a85842ffef5e50c62aca73a4b33c22579b160ca
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      4d9a5645
    • Robert Lyon's avatar
      Bug 1829940: Placeholder option update page with block of choice · 882259ee
      Robert Lyon authored
      This patch does the following:
      - Make 'placeholder' configure options clickable so that on clicking
      an option updates the block on the page and changes the configure form
      to the form of the blocktype chosen
      - On 'add placeholder' -> 'choose option' we have 'remove' option on
      form and it removes the block from the page
      - On 'add placeholder' -> 'save' -> 'configure block' -> 'choose option'
      we have 'cancel' option on form and it reverts the block back to
      'placeholder'
      
      behatnotneeded
      
      Change-Id: I1681ef92c5ccc14cda2167a040bb751501bfdbcd
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      882259ee
    • Robert Lyon's avatar
      Bug 1829940: Placeholder block · 0f8d5b31
      Robert Lyon authored
      This patch does the following:
      - Create new blocktype 'placeholder'
      - Make sure it is copyable
      - Make sure it is versionable
      - Allow tags for it and that it works with create page via tags
      - Populate instance config with content types using 'showmore' pagination
      
      behatnotneeded
      
      Change-Id: I8437fbab587b5dc8661512ce8d227161f0129475
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      0f8d5b31
  7. 22 Jul, 2019 1 commit
  8. 09 Jul, 2019 1 commit
    • Rebecca Blundell's avatar
      Bug 1811904: Fontawesome - final name changes · c3479dc6
      Rebecca Blundell authored
      icon-clipboard      -> icon-clipboard-check
      icon-eye            -> icon-regular icon-eye
      icon-eye-slash      -> icon-regular icon-eye-slash
      icon-file-archive-o -> icon-regular
      icon-comments-o     -> icon-comments
      icon-external-link  -> icon-external-link-alt
      icon-tachometer     -> icon-tachometer-alt
      icon-rotate-right   -> icon-redo
      icon-file-archive-o -> icon-file-archive
      icon-comments-o     -> icon-comments
      icon-send           -> icon-paper-plane
      icon-lightbulb-o    -> icon-regular icon-lightbulb
      icon-code-fork      -> icon-code-branch  - changed versioning to
      'history' icon
      icon-file-o         -> icon-regular icon-file
      
      also changed some icons to new ones
      used text-align, width and margin-right to centre list items.
      
      behatnotneeded
      
      Change-Id: I4d27e450a281dc49716d97de309a3c99b89a0bc1
      c3479dc6
  9. 21 Jun, 2019 1 commit
  10. 16 Jun, 2019 1 commit
  11. 12 Jun, 2019 2 commits
  12. 08 Jun, 2019 1 commit
  13. 05 Jun, 2019 1 commit
  14. 04 Jun, 2019 4 commits
  15. 20 May, 2019 1 commit
  16. 08 May, 2019 5 commits
  17. 06 May, 2019 1 commit
  18. 02 May, 2019 1 commit
  19. 23 Apr, 2019 1 commit
  20. 17 Apr, 2019 1 commit
  21. 10 Apr, 2019 1 commit
  22. 27 Mar, 2019 1 commit