Comments (7)
from boxtribute.
@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.
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.
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, andmanage_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.
@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.
@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.
2.0 EPIC: public sharing of embedded viz and/or single number data
from boxtribute.
Related Issues (20)
- [5th viz] Propose GraphQL interface
- [C] Implement routes (set the url address) and authorization in Boxtribute FE HOT 2
- [C] Update Menues in Boxtribute FE and dropapp to include links to visualizations HOT 1
- [C] create infra-structure to use shared components in both Boxtribute and Statviz
- [C] move visualizations over to be shared components
- [C] import shared components in Boxtribute v2
- [C] Add cross-organisational authorization
- [6th viz] Sunburst of Moved Boxes FE HOT 1
- [6th viz] create user story / spec for 6th viz HOT 1
- [6th viz] BE and GraphQL interface
- Implement Dashboard in V2
- Statviz Frontend Testing
- Error and loading State
- Erliest date in time range select should be 01.01.2023
- [C] Enable beta-access (back-end)
- [C] Finalize moved-boxes resolver
- Statviz 1st live test Bugs/Improvements HOT 4
- Programming challenge: sharing of public link/embed live data&viz's HOT 1
- 2nd iteration bugfixes/improvements HOT 5
- Sankey - "Negative Box Flow" Legend at the bottom of the graph should instead say "Red targets indicate an incoming/reverse flow, i.e. a removal of items/boxes from that location to instock storage."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boxtribute.