made-with-future / django-inbox Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Build support for message preferences for multi-tenant structures where you may have global preferences plus per tenant preferences. Initial thought for approaching this problem would be a settings value where you can define a method that receives the User and/or Message Preferences object and appends any multi-tenant specific preferences... when we do this we'll need to probably allow for groups of groups in the preferences structure, possibly by just using dot-notation on keh naming so that it's backwards compatible? Not sure yet on this.
Further thoughts on this are in multi-tenancy situations there will/should probably be objects that associate a shared user to a particular tenant (eg organization, project, etc) so if there are segmented inbox needs for that then we should probably make it where the inbox <-> user and pref <-> user connection is configurable to inbox <-> user-tenant (ie profile) and pref <-> pref <-> user-tenant <-> user instead.
This would still allow pulling all inbox messages and prefs for a user across all tenants. This seems like a better approach and probably a lot more flexible.
Primary purpose would be to make it easier to update the templates for the subject/title/body of the messages, secondarily it would allow us to have revisioned message templates so that we could denormalize storing the content for every message for every user and instead store the message once and just store their merge data in the user message table.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.