Skip to content
Permalink
Tree: fb596620b6
Commits on Nov 9, 2018
  1. ci: update travis builds (#210)

    varl committed Nov 9, 2018
Commits on Oct 23, 2018
  1. chore: remove package.json copy from build step

    varl committed Oct 23, 2018
Commits on Sep 28, 2018
  1. chore: update to version 31 for master because of new build pipeline

    varl committed Sep 28, 2018
  2. Remove maven as deploy mechanism (#208)

    varl committed Sep 28, 2018
    * Remove maven as deploy mechanism
    
    * fix: update dhis2 instance names
    
    * fix: package name should match deploy name
    
    * chore: use the right package names for plugins
    
    * chore: remove dep on deploy-build
Commits on Sep 21, 2018
  1. 30.0.10

    edoardo committed Sep 21, 2018
  2. DHIS2-4749: fix comparison for finding app widget (#209)

    edoardo committed Sep 21, 2018
    It seems that by coincidence folderName was matching appKey. But
    folderName has changed now, and in any case it was wrong to compare
    folderName with appKey as key is what is actually read and written in
    dashboardItems and comes from the same object present in both api/apps and api/dashboard/q responses.
Commits on Aug 30, 2018
  1. 30.0.9

    edoardo committed Aug 30, 2018
  2. DHIS2-4079: rich text support for interpretations/comments (#207)

    edoardo committed Aug 30, 2018
Commits on Jul 6, 2018
  1. v30.0.8

    janhenrikoverland committed Jul 6, 2018
  2. Enable mentions support in interpretations (#206)

    edoardo committed Jul 6, 2018
Commits on Jul 5, 2018
  1. v30.0.7

    janhenrikoverland committed Jul 5, 2018
  2. Toggle interpretation/comment edit button text (DHIS2-4208) (#205)

    janhenrikoverland committed Jul 5, 2018
    * Toggle between edit/cancel for interpretations and comments
    
    * Make edit/delete buttons stateless function components
    
    * Update all DeleteButton instances
Commits on Jul 4, 2018
  1. v30.0.6

    janhenrikoverland committed Jul 4, 2018
  2. v30.0.5

    janhenrikoverland committed Jul 4, 2018
Commits on Jul 2, 2018
  1. v30.0.4

    janhenrikoverland committed Jul 2, 2018
  2. Cancel request if type is already active (#203)

    janhenrikoverland committed Jul 2, 2018
Commits on Jun 27, 2018
  1. fix/no-access - Clearly separate between new and edit mode [DHIS2-409…

    jenniferarnesen committed Jun 27, 2018
    …1] (#201)
    
    Fix bug where user could not create a new dashboard, because the access check was based on the access level for the dashboard being viewed when the new button was clicked. The solution was to clearly separate new and edit mode when rendering the dashboard.
    
    The fix involved a bit of refactoring to have similar components for View, Edit, and New states.
Commits on Jun 26, 2018
  1. v30.0.3

    janhenrikoverland committed Jun 26, 2018
  2. v30.0.2

    janhenrikoverland committed Jun 26, 2018
  3. Set item min-height to 4 rows to avoid weird resize behaviour (#200)

    janhenrikoverland committed Jun 26, 2018
    * Set item min-height to 4 rows to avoid weird resize behaviour
    
    * Removed unused import
Commits on Jun 22, 2018
  1. Feature/message-item-style Improve styling of messages item [DHIS2-28…

    jenniferarnesen committed Jun 22, 2018
    …24] (#197)
    
    Update styling of the dashboard messages item according to the sketch and comments in the Jira issue
    
    Remove 'All' and 'unread' filters
    Show unread messages first
    Include a link at the bottom of the scrolling to redirect to the messaging app
    Load up to 200 messages
Commits on Jun 21, 2018
  1. Adding Vietnamese translations. (#199)

    jason-p-pickering committed Jun 21, 2018
Commits on Jun 20, 2018
  1. translations(ur) (#196)

    adeelshahid committed Jun 20, 2018
Commits on Jun 19, 2018
  1. DHIS2-4056 Pass dashboard filters in the App's iframe URL (#195)

    edoardo committed Jun 19, 2018
    Only userOrgUnits for now.
Commits on Jun 15, 2018
  1. Implement routing by hash (DHIS2-3668) (#192)

    jenniferarnesen committed Jun 15, 2018
    User can now navigate the dashboard using routes. The following routes have been implemented:
    / - navigate to user's default preferred dashboard
    /{dashboardId} - navigate to a specific dashboard
    /{dashboardId}/edit - navigate to edit view of a specific dashboard
    /new - navigate to create new dashboard
    
    Since the route info now contains the source of truth regarding edit mode, the check for sGetIsEditing has been removed. There is still more refactoring needed to cleanly separate edit and view mode, but that will be done later.
  2. Feature/edit interpretations [DHIS2-3430] (#191)

    Joakim Amundsen
    Joakim Amundsen committed Jun 15, 2018
    This feature enables editing of posted interpretations, and interpretation comments (replies) on analytic objects in the dashboard app.
    The edit functionality are only available for the owner of the submitted interpretation.  
    
    d2 version have been bumped from 29 to 30.0.2 in the package.json file, in order to dispatch plain text of updated interpretations through d2's .update() function.
    
    What was added in this PR:
    
    Interpretation.js
    - this.state.editId (Keeping track of which interpretation, or interpretation comment that have pressed the edit button)
    -  editButton
    - toggleCommentField (earlier: showCommentField)
    - submitComment (editing original interpretations, or interpretation comment)
    - renderCommentOrEditField (Rendering InputField, or actual interpretation text, depending whether the edit button is pressed or not)
    - toggleEdit (Assigning the id of the relevant interpretation, or interpretation comment to state variable editId)
    
    - hasDeleteAccess (earlier: canDeleteInterpretation)
    removed conditional check of evaluating whether access.delete is set to true or not.
    
    actions.js (interpretations)
    - tUpdateInterpretation (dispatching the action, updating the API endpoint, and the redux store)
    - tUpdateInterpretationComment (dispatching the action, and update redux store)
    
    interpretations.js (reducer)
    - action type RECEIVED_INTERPRETATION (earlier: ADD_INTERPRETATION)
    Responsible for both adding an interpretation, or edit an existing. 
    
    Additionally, deleting interpretations are now only available for the owner, and super user (earlier, deleting interpretations were enabled if the access.delete property of the interpretation were set to true).
  3. Fix AppItem iframe url (DHIS2-4019) (#194)

    edoardo committed Jun 15, 2018
    Widgets like scorecard won't work if the dashboard item id is not
    passed.
    That's because the widgets stores data per dashboard item, as there
    might be more than 1 dashboard item with the same widget but showing
    different data.
Commits on Jun 14, 2018
  1. Change message url and add translated names + Remove grey button back…

    janhenrikoverland authored and jenniferarnesen committed Jun 14, 2018
    …ground (#193)
    
    * Changed message url to work with the new app
    * Set transparent button background by removing "important" which is not supported as inline style in the latest React versions
    * Moved button style construction out of render and made sure it is not reconstructed every time
    * Changed "Email" to "Messages" and added i18n for text box, messages and spacer
Commits on Jun 7, 2018
  1. Reduce App renders by moving connect to Snackbar (DHIS2-3897) (#190)

    jenniferarnesen committed Jun 7, 2018
    Move the redux connect to the Snackbar component to restrict updating to the snackbar itself. The App shouldn't have to worry about the Snackbar props from the redux store.
Commits on Apr 26, 2018
  1. v30.0.1

    janhenrikoverland committed Apr 26, 2018
  2. Fix buggy dashboards selector (DHIS2-3563) (#186)

    janhenrikoverland committed Apr 26, 2018
    * Fix buggy dashboards selector
    
    * update to specific node version
Older
You can’t perform that action at this time.