Comments (3)
As far as I understand it, this issue includes everything required for an enterprise user to enable the new DFC anonymized orders data endpoint (which is hardcoded for a specified user for now).
It will always appear while the connected_app feature toggle is enabled (eg in Australia), but disabled by default. Hiding it will be done in (#12549)
So, from a technical point of view:
Build Plan
- Create new type of connected app.
- The WIP endpoint appears to be called
affiliate_sales_data
, so I'm thinkingclass AffiliateSalesData < ConnectedApp
. - I think the existing "Discover Regen" app will continue to be a
ConnectedApp
for now, but we'll probably need to give it a name soon.
- The WIP endpoint appears to be called
- Arrange the translations so these can exist side by side. IE:
connected_apps: legend: "Connected apps" connected_app: title: "Discover Regenerative" ... affiliate_sales_data: title: "INRAE / UFC QUE CHOISIR Research" ...
- Hardcode the Enterprise Settings view to include
ConnectedApp
andAffiliateSalesData
- Update
ConnectedAppsController
to accept the connected apptype
, and optionallydata
and save accordingly.- I think we can add a simple boolean value to the data to signify it is opted in/out.
- update the endpoint to respect this setting.
from openfoodnetwork.
As far as I understand it, this issue includes everything required for an enterprise user to enable the new DFC anonymized orders data endpoint (which is hardcoded for a specified user for now).
@dacook it enables an enterprise to opt-out from the new DC anonymized orders data end point. This endpoint being "hardcoded" to a specified user. I use "hardcoded" as I understand we would use flipper in this case, but maybe I've missunderstood and I should give the user ID in a new issue?
from openfoodnetwork.
This endpoint being "hardcoded" to a specified user. I use "hardcoded" as I understand we would use flipper in this case, but maybe I've missunderstood and I should give the user ID in a new issue?
Sorry, never mind, I didn't need to refer to the user accessing the endpoint. As you say, that is handled in the other issue, and this issue is about which enterprises will be included in the data from the endpoint.
from openfoodnetwork.
Related Issues (20)
- [BUU] review performance HOT 4
- [Flaky] spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb HOT 2
- [BUU, FR locale] Error 500 when accessing the products page
- v4.5.4 Orange roll HOT 2
- NoMethodError in Admin::ProductsV3#index - Only when using the hu.yml locale HOT 5
- [Admin] UX improvements for creation of new products HOT 1
- Reports not loading after multiple clicks/not loading on screen HOT 4
- Some products not showing on Hungarian instance shopfront HOT 2
- [BUU] Activate admin_style_v3 for 75% of users
- 500 error due to database connection pool being empty
- Release HOT 2
- Bugsnag is being rate limited HOT 1
- Bulk Coop supplier report broken
- Products not loading on shopfront: S3 exception HOT 1
- As an admin, I can preview how products will appear in the store
- [Subscriptions] Error 500 when clicking link to order of a failed subscription due to stock zero
- [Product Categories] Clearer error message and clean up
- [Admin] [Order cycles] Cancel button of popup should redirect to OC list
- [Admin] [Order Cycles] Add warning popup to order cycle list as well
- Display Unit As field is not displaying on invoice HOT 1
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 openfoodnetwork.