Giter VIP home page Giter VIP logo

Comments (7)

aerinsol avatar aerinsol commented on September 14, 2024 2

from boxtribute.

HaGuesto avatar HaGuesto commented on September 14, 2024

@aerinsol @pylipp @seinig @MaikNeubert maybe have quick read. We should have a discussion call for Goal 2 and 3 during the hackathon to clarify a bit the requirements from the product side and we can say form the Tech side what is feasible.

from boxtribute.

seinig avatar seinig commented on September 14, 2024

Update after discussion with @aerinsol

Goal 1

  • we agree on that and it's already in process
  • downloading individual viz without bulk download is a fine start

Update Concerning Open Questions:

  • Permission to see and to download can be the same; (seeing enables screenshotting as pointed out by @pylipp )

Goal 2

We split that up into

2.1. visualizations can be shared via private links to other Boxtribute users within the same boxtribute base

  • this is already doable as @maik stores variables for filtering in URL
  • Use Case already exists insofar as it directly affects the user workflow within a single base: i.e. 1. Logistics coordinator dials in significant settings for specific viz 2. shares it to PR coordinator for publication across platforms in context of narratives for public impact (i.e. "these are the top products we ship & therefore need, please donate more of these items"...)
  • in this way it partly answers the open question on the specific workflow on the user side

Next Steps

  • finish on FE side

Open Questions

  • is authorization management needed here?

2.2. visualizations can be shared via private links to other Boxtribute users across different boxtribute bases

Next Steps

  • create viz with according to use case, that is 5th viz sunburst chart showing inStock items ('delivering base shares current stock to receiving base in order to show them what could be prepared for shipment')
  • get aligned on BE-FE interaction

Open questions

  • how to manage authorization (i.e. enabled between users of bases that have a shipping agreement)

Goal 3

we cancelled the method of snapshotting datacubes/SVGs for public sharing as this still means too much effort for too few of a benefit:

  • public sharing in general is a challenge in terms of security, needs research
  • snapshotting means there won't be live data; static data can already be published via Goal 1. (multiplied by 2.2.) by down- & uploading certain curated viz'

We shifted this goal and split it up into

3.1. public link for sharing/embedding of fully functional viz/datacubes

  • only brings a significant benefit with live data (see above)
  • turns out as out of scope for this project (due to security issues)
  • not only was a desideratum for this project but is also crucial to other projects ahead (availability mapping; 'which NGO at what base located where has which items in stock?'), therefore:

Next Up

  • formulate programming challenge, clear summary of the security concerns and technical challenges:

    • for public sharing of live data/public embedding of viz relying on live data
    • how to manage authorization flow between FE and BE
      (- how to make filtering possible in the embedded viz relyig on live data)
  • communicate this issue in the DSEE community

  • include this issue in the final report on the 100xDigital project (@seinig )

3.2. simplified version of 3.1.: public link for embedding of live data in format 'single number'

  • this might be still in scope of this project

Open Questions

  • how to realize this in a secure way
  • athorization management: i.e. 'head of operations' of certain base can agree & withdraw their agreement on sharing single number live data (on website)
  • manage agreement concerning different 'single numbers' data

possible data to start with

  • boxes/items currently in stock (as on boxtribute-base landing page)
  • boxes/items shipped out so far (or within the last year...) (priority)
  • boxes/items created so far ...
  • beneficaries currently 'active' ...

from boxtribute.

pylipp avatar pylipp commented on September 14, 2024

Goal 1

What permissions are needed to see visualizations? What permissions are needed to download visualizations?

  • FE needs to enforce view_inventory to view stock-related graphs, and manage_beneficiaries to view beneficiary-related graphs (@aerinsol this means a Warehouse volunteer can't see beneficiary graphs but a Freeshop volunteer can see both beneficiary and inventory graphs)
  • BE needs to enforce beneficiary/tag_relation read-RBP for beneficiary data, and the ones derived from view_inventory ABP for stock data

from boxtribute.

HaGuesto avatar HaGuesto commented on September 14, 2024

@seinig Here, a break-down of actual tasks we need to release (infra-structure related) the different goals:

Goal 1:

must have:

  • [Boxtribute FE] Implement routes (set the url address) and authorization in Boxtribute @HaGuesto #tiny
  • [Boxtribute FE / Dropapp ] Update Menues to show links to visualizations @HaGuesto #tiny
  • [shared] create infra-structure to use shared components in both Boxtribute and Statviz @HaGuesto #medium
  • [Statviz FE / shared] move visualizations over to be shared components @MaikNeubert #medium
  • [Boxtribute FE] import shared components in prepared route @HaGuesto #small

nice to have:

  • [Boxtribute BE] finish read-only replica set-up (e.g. update CI process) @pylipp
  • [all apps] some hygiene on linting, formatting, typescript, package mgmt. @HaGuesto
  • tests

Goal 2.1:

nothing extra needed for releasing / infra-structure

Goal 2.2:

  • align first on requirements what is needed to show sunburst to other organisations before we do more palnning

from boxtribute.

pylipp avatar pylipp commented on September 14, 2024

@HaGuesto re goal 2.2 I made a proposal on Slack some days ago that noone objected against in the last SU. The implementation is ready for review in this PR.

from boxtribute.

pylipp avatar pylipp commented on September 14, 2024

2.0 EPIC: public sharing of embedded viz and/or single number data

from boxtribute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.